WO2018082213A1 - Display method and electronic terminal - Google Patents

Display method and electronic terminal Download PDF

Info

Publication number
WO2018082213A1
WO2018082213A1 PCT/CN2017/071936 CN2017071936W WO2018082213A1 WO 2018082213 A1 WO2018082213 A1 WO 2018082213A1 CN 2017071936 W CN2017071936 W CN 2017071936W WO 2018082213 A1 WO2018082213 A1 WO 2018082213A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame rate
interface
mode
current
current display
Prior art date
Application number
PCT/CN2017/071936
Other languages
French (fr)
Chinese (zh)
Inventor
孙文涌
胡军
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780005641.8A priority Critical patent/CN108431724A/en
Publication of WO2018082213A1 publication Critical patent/WO2018082213A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a display method and an electronic terminal.
  • MIPI Mobile Industry Processor Interface
  • MIPI includes two display modes: Display Serial Interface Command Mode and Display Serial Interface Video Mode.
  • the processor of the electronic terminal sends the updated pixel data to the display, the frame buffer area of the display buffers the pixel data, and the frame buffer area is fixed at a refresh cycle.
  • the data in the data is refreshed to the display screen.
  • the processor of the electronic terminal continuously refreshes the pixel data to the screen of the display in accordance with a fixed refresh cycle.
  • the electronic terminal When the frame rate of the pixel data update is low, the electronic terminal adopts the command mode for display with lower power consumption than the video mode; and when the frame rate of the pixel data update is high, the electronic terminal adopts the video with respect to the command mode. The mode is displayed and the power consumption is lower.
  • the frame rate of the pixel data update in the electronic terminal is either high or low, and a display mode is separately adopted to increase the power consumption of the electronic terminal.
  • the embodiment of the invention provides a display method and an electronic terminal, which can automatically switch between a video mode and a command mode, and reduce energy consumption of the electronic terminal.
  • an embodiment of the present invention provides a display method, where the method includes: an electronic terminal acquires a current frame rate, where a current frame rate is a frame number of a pixel data change per unit time at a current time, and the current frame rate is greater than In the case of the first frame rate threshold, the display is performed by the video mode; when the current frame rate is less than the second frame rate threshold, the display is performed by the command mode; wherein the first frame rate threshold is not less than the second frame rate threshold.
  • the electronic terminal acquires the current frame rate, where the current frame rate is the number of frames in which the pixel data changes in the unit time at the current time, and is displayed in the video mode when the current frame rate is greater than the first frame rate threshold.
  • the display is performed by the command mode, and the first frame rate threshold is not less than the second frame rate threshold, so that the electronic terminal passes the command mode at a lower frame rate. Displaying, at a higher frame rate, displaying through the video mode, thereby realizing automatic switching of the video mode and the command mode based on the current frame rate, and reducing the power consumption of the electronic terminal.
  • an implementation manner in which the electronic terminal performs display by using a video mode may be: at a current frame rate When the first frame rate threshold is greater than the first and the current display mode is not detected as the video mode, the current display mode is switched to the video mode.
  • an implementation manner in which the electronic terminal performs display by using the command mode may be: when the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not a command In the case of the mode, the current display mode is switched to the command mode.
  • the electronic terminal may further determine the time T 0 to the time T 1 before switching the current display mode to the video mode. Whether the frame rate acquired internally is greater than the first frame rate threshold, and if so, triggers the operation of switching the current display mode to the video mode. or,
  • the electronic terminal may further determine the time T 0 to the time T 1 before switching the current display mode to the command mode. Whether the frame rate acquired internally is less than the second frame rate threshold, and if so, triggers the operation of switching the current display mode to the video mode.
  • the current time T 0, T 1 is the time after the 00 first duration of time T from the time T time.
  • the display mode corresponding to the current frame rate is inconsistent with the current display mode
  • the display mode corresponding to the frame rate acquired within the first time period after the current time is inconsistent with the current display mode
  • the display mode is performed. Switching to avoid frequent switching of electronic terminals and improve the stability of the display mode of the electronic terminal.
  • the electronic terminal may: obtain the current location by using the positioning system before switching the current display mode to the video mode.
  • the operation of switching the current display mode to the video mode is triggered. or,
  • the electronic terminal may: obtain the current position by using the positioning system, before the electronic terminal switches the current display mode to the command mode.
  • the current position is not the power supply position, the operation of switching the current display mode to the command mode is triggered.
  • the display mode corresponding to the current frame rate is inconsistent with the current display mode and the current location is not a power supplyable location, such as a home address or a company address, the display mode is switched to save energy consumption of the electronic terminal.
  • the first frame rate threshold may be equal to the second frame rate threshold, where the first frame rate threshold is an electronic terminal
  • the power consumption in video mode is equal to the frame rate at power consumption in command mode.
  • the method further includes: the electronic terminal obtaining the first frame rate threshold by using a machine learning algorithm according to historical conversion data And a second frame rate threshold.
  • the historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  • the electronic terminal learns the user's habits by the machine, sets the first frame rate threshold and the second frame rate threshold, and is more suitable for the user's habits and improves the user experience.
  • the method before the acquiring the current frame rate, the method further includes: receiving, by the electronic terminal For the open command of the target application, the operation of acquiring the current frame rate is triggered according to the open command.
  • the electronic terminal after receiving an open instruction for the target application, such as an open instruction of the video application, the electronic terminal is triggered to collect the current frame rate, thereby preventing the electronic terminal from continuously collecting the current frame rate and improving the working efficiency of the electronic terminal.
  • an embodiment of the present invention further provides a display method, where the method includes:
  • the electronic terminal identifies the interface type of the current display interface, and the interface type of the current display interface is the first interface type. In the case of the video mode, if the interface type of the current display interface is the second interface type, the command mode is used for display.
  • the electronic terminal identifies the interface type of the current display interface.
  • the interface type of the current display interface is the first interface type
  • the display is performed by the video mode
  • the interface type of the current display interface is the second interface type.
  • the command mode the video mode and the command mode are automatically switched based on the current display interface, and the first interface type of the high energy consumption interface is displayed through the video mode, and the second interface type of the high energy consumption interface is displayed. , display by command mode to reduce the energy consumption of the electronic terminal.
  • an implementation manner in which the electronic terminal performs display by using the video mode may be: When the interface type of the display interface is the first interface type and the current display mode is not the video mode, the electronic terminal switches the current display mode to the video mode.
  • an implementation manner in which the electronic terminal displays in the command mode may be: the interface type of the current display interface is the second interface type and the current display mode is detected. In the case of the command mode, the electronic terminal switches the current display mode to the command mode.
  • the first interface type includes a video play interface
  • the second interface type includes a video pause interface
  • the electronic terminal identifies the current display interface.
  • An implementation manner of the interface type may include: when the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is a video playing interface; the currently displayed application is a video application and the system does not perform video When encoding and decoding, the current display interface is a video pause interface.
  • the display mode when the electronic terminal is in the video playing interface, the display mode is the video mode, and when the video pauses the interface, the display mode is the command mode, which reduces the energy consumption of the electronic terminal, and can also implement different display modes in the same application. Conversion.
  • the first interface type includes a game play interface; the second interface type includes a game pause interface; and the electronic terminal identifies the current display
  • An implementation manner of the interface type of the interface may include: when the currently displayed application is a game application and detecting that the click frequency for the current display interface is not less than a frequency threshold, then the current display interface is a game interface; the currently displayed application When the game is applied and it is detected that the click frequency for the current display interface is less than the frequency threshold, the current display interface is the game pause interface.
  • the display mode when the electronic terminal performs the interface, the display mode is the video mode, and when the game pauses the interface, the display mode is the command mode, which reduces the energy consumption of the electronic terminal, and can also implement different display modes in the same application. Conversion.
  • the first interface type includes a camera shooting interface; the second interface type includes a desktop interface; the electronic terminal identifies the current
  • An embodiment of the interface type of the display interface may include: when the camera is in an active state, the current display interface is a camera shooting interface.
  • An implementation manner of the electronic terminal identifying the interface type of the current display interface may include: when the current display interface is a desktop, the current display interface is a desktop interface.
  • an embodiment of the present invention further provides an electronic terminal, where the electronic terminal includes a functional unit for performing the display method described in the first aspect.
  • an embodiment of the present invention further provides an electronic terminal, where the electronic terminal includes a functional unit for performing the display method described in the second aspect.
  • an embodiment of the present invention further provides an electronic terminal, including: a processor, a memory, and a display, the processor being connected to the memory and the display, wherein the electronic terminal can implement a video mode And the switching of the command mode, the memory is used to store the program code, data, and the like involved in the display method of the first aspect, and the processor is configured to call the instruction code stored in the memory to perform part or all of the flow of the first aspect.
  • an embodiment of the present invention further provides an electronic terminal, including: a processor, a memory, and a display, the processor being connected to the memory and the display, wherein the electronic terminal can implement a video mode And the switching of the command mode, the memory is used to store the program code, data, and the like involved in the display method of the second aspect, and the processor is configured to call the instruction code stored in the memory to perform part or all of the flow of the second aspect.
  • FIG. 1 is a schematic flow chart of a display method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a display principle of a video mode according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing a display principle of a command mode according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a frame rate prompting interface according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another display method according to an embodiment of the present disclosure.
  • FIG. 6 is a structural structural diagram of an electronic terminal according to an embodiment of the present invention.
  • FIG. 7 is a structural structural diagram of another electronic terminal according to an embodiment of the present invention.
  • FIG. 8 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • FIG. 9 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • the embodiments of the present invention may be implemented based on an electronic terminal, which may include, but is not limited to, a smart phone, a tablet computer, a desktop computer, a mobile computer, a smart TV, a smart bracelet, and a personal digital assistant (English: Personal Digital Assistant, PDA) ), media playback equipment, etc.
  • the electronic terminal includes a display, which may be a liquid crystal display (LCD), an LED (light emitting diode) display, a plasma display panel (PDP), etc., and the electronic terminal and the like
  • the display of the electronic terminal supports the video mode and the command mode, and the video mode and the command mode can be switched. It can be understood that the display of the electronic terminal includes a frame buffer area and a display controller.
  • FIG. 1 is a schematic flowchart of a display method according to an embodiment of the present invention. As shown in FIG. 1 , the display method includes the following steps:
  • Step S110 The electronic terminal acquires the current frame rate.
  • the current frame rate is the number of frames of pixel data change per unit time (per second) at the current time.
  • FIG. 2 is a schematic diagram of a display principle of a video mode according to an embodiment of the present invention.
  • the video mode requires the electronic terminal to include a processor, a memory, a display, etc., and the memory includes a display data buffer for buffering pixel data for display. Regardless of whether the pixel data in the data buffer changes, the processor continuously reads the pixel data in the display data buffer according to a fixed refresh period (such as 16.6 ms) and sends it to the screen of the display.
  • a fixed refresh period such as 16.6 ms
  • FIG. 3 is a schematic diagram of a display principle of a command mode according to an embodiment of the present invention.
  • the command mode requires the electronic terminal to include a processor, a memory, a display, etc., and the memory includes a display data buffer for buffering pixel data for display, a display configuration display controller, and a frame buffer area, when displaying pixel data in the data buffer area
  • the processor reads the pixel data in the display data buffer area and sends it to the display.
  • the frame buffer area of the display buffers the pixel data, and the display controller displays the pixel data in the frame buffer area according to a fixed refresh period (such as 16.6 ms). Refresh to the monitor's screen.
  • the display of data in the electronic terminal is in units of frames, and one frame includes image data of a display interface.
  • the frame rate in this application is the number of frames in which the pixel data in the data buffer is displayed in unit time (per second).
  • the current frame rate is the number of frames in which the pixel data in the display data buffer changes in unit time (per second) at the current time.
  • the electronic terminal can obtain the current frame rate.
  • the method for the electronic terminal to obtain the current frame rate may be that the electronic terminal detects the writing speed of the pixel data in the display data buffer area, and the electronic terminal detects the first time period including the current time.
  • the number of frames in which the pixel data is written in the data buffer is displayed (for example, 5s, 8s, or 10s, etc.), and the number of frames written in the pixel data per unit time is calculated according to the number of frames written in the pixel data in the first time period, and the calculation is performed.
  • the number of frames in which pixel data is written per unit time is the current frame rate.
  • the processor can control the switching of the display mode.
  • the processor of Figures 2 and 3 will generate a control signal to the display to cause the display to configure the display mode in real time.
  • the processor also configures the display data buffer to transfer data to the display to avoid display problems.
  • Step S120 Displaying in a video mode if the current frame rate is greater than the first frame rate threshold.
  • the electronic terminal prestores the first frame rate threshold and the second frame rate threshold.
  • the electronic terminal may compare the current frame rate with the first frame rate threshold and the second frame rate threshold respectively, in the current frame. When the rate is greater than the first frame rate threshold, the electronic terminal can display in the video mode.
  • the first frame rate threshold is not less than the second frame rate threshold.
  • the first frame rate threshold is equal to the second frame rate threshold.
  • the electronic terminal may compare the current frame rate with the first frame rate threshold. When the current frame rate is greater than the first frame rate threshold, Displayed by the video mode, and displayed in the command mode when the current frame rate is less than the first frame rate threshold.
  • step S120 may include: switching the current display mode to the video mode if the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode.
  • the electronic terminal may determine the electronic terminal before switching the current display mode to the video mode. Whether the frame rate acquired in time T 0 to time T 1 is greater than the first frame rate threshold, and if so, triggering the operation of switching the current display mode to the video mode; otherwise, the electronic terminal may only increase the frame rate in an instant. The electronic terminal may not switch the display mode, thereby avoiding frequent conversion of the display mode. At this time, the electronic terminal may end the process, do not perform any operation, or return to step S110 to reacquire the current frame rate.
  • the current time T 0, T 1 is the time period after the time period T 0 time period T 0 from the first duration (for example, 10s, 20s, 25s, etc.).
  • Step S130 In the case that the current frame rate is smaller than the second frame rate threshold, the display is performed by the command mode.
  • step S130 may include: switching the current display mode to the command mode if the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode.
  • the electronic terminal may further determine the time T before switching the current display mode to the command mode. Whether the frame rate obtained from 0 to time T 1 is less than the second frame rate threshold, and if so, triggering the operation of switching the current display mode to the video mode; otherwise, the electronic terminal may only become an instantaneous frame rate, the electronic terminal The switching of the display mode may not be performed, thereby avoiding frequent conversion of the display mode. At this time, the electronic terminal may end the flow, do not perform any operation, or return to step S110 to reacquire the current frame rate.
  • the current time T 0, T 1 is the time period after the time period T 0 time period T 0 from the first duration (for example, 10s, 20s, 25s, etc.).
  • the electronic terminal may display through the video mode, may also display through the command mode, or may perform no operation.
  • the current display mode is displayed, and the present invention is not limited.
  • the first frame rate threshold and the second frame rate threshold may be set empirical values, for example, the first frame rate threshold is 40 Hz, the second frame rate threshold is 30 Hz, and when the frame rate is greater than the first frame rate threshold, The power consumption of the electronic terminal in the video mode is less than the power consumption in the command mode; when the frame rate is less than the second frame rate threshold, the power consumption of the electronic terminal in the command mode is smaller than the power consumption in the video mode; When the threshold is not greater than the first frame rate and not less than the second frame rate threshold, the power consumption of the electronic terminal in the video mode is equal to or less than the power consumption in the command mode.
  • the first frame rate threshold may be equal to the second frame rate threshold.
  • the electronic terminal can perform power consumption test on different display modes under the same conditions, and the first frame rate threshold may also be a frame rate when the power consumption of the electronic terminal in the video mode is equal to the power consumption in the command mode. It can be understood that the power consumption of the electronic terminal increases with the increase of the frame rate in any display mode.
  • the power consumption of the electronic terminal in the command mode is smaller than that of the electronic terminal in the video mode.
  • Power consumption when the frame rate is greater than the first frame rate threshold, the power consumption of the electronic terminal in the command mode is greater than the power consumption of the electronic terminal in the video mode; when the frame rate is equal to the first frame rate threshold, the electronic terminal in the command mode The power consumption is equal to the power consumption of the electronic terminal in the video mode.
  • the user of the electronic terminal can actively switch the display mode, or the electronic terminal can prompt the user of the electronic terminal to switch the display mode, and the user of the electronic terminal can perform or not switch the display mode.
  • the electronic terminal can record the conversion data when the display mode is changed by the electronic terminal to form historical conversion data, and the historical conversion data can include a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  • the electronic terminal can obtain the first frame rate threshold and the second frame rate threshold by using a machine learning algorithm according to historical conversion data. For example, the historical conversion data recorded by the electronic terminal is as shown in Table 1 below:
  • the electronic terminal obtains the first frame rate threshold by using a machine learning algorithm according to historical conversion data:
  • the sub-terminal statistics the average frame rate of the electronic terminal when switching from the command mode to the video mode, and the first frame rate threshold calculated according to Table 1 is 40 Hz.
  • the method for obtaining the second frame rate threshold by the electronic learning terminal according to the historical conversion data may be: the electronic terminal statistics the average frame rate of the electronic terminal when switching from the video mode to the command mode, and the calculated according to Table 1
  • a frame rate threshold is 25 Hz.
  • the electronic terminal may obtain the first frame rate threshold by using the machine learning algorithm according to the historical conversion data, and the electronic terminal may calculate the average conversion time frame in each case. Rate, the calculated average value is set as the first frame rate threshold, for example, the first frame rate threshold obtained according to the calculation of Table 1 is 31 Hz.
  • the electronic terminal can prompt the user for the current frame rate.
  • the method of prompting includes, but is not limited to, at least one of a voice prompt, a display prompt message, an opening indicator, and the like. Please refer to FIG. 4.
  • FIG. 4 is a schematic structural diagram of a frame rate prompting interface according to an embodiment of the present invention.
  • the current display interface pop-up dialog box 310 of the electronic terminal displays a prompt message such as “the current frame rate is 10 Hz!
  • the current display mode is Video mode! Is it switched to command mode?", when the electronic terminal receives a click operation for the "OK" button, the electronic terminal switches the current display mode to the command mode.
  • the electronic terminal when the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode, the electronic terminal may pass the electronic terminal before switching the current display mode to the video mode.
  • the positioning system acquires the current position; when the current position is not the power supply position, triggering the operation of switching the current display mode to the video mode.
  • the electronic terminal After the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode, the electronic terminal may acquire the current location by using the positioning system before switching the current display mode to the command mode.
  • the operation of switching the current display mode to the command mode is triggered.
  • the power supply location may be a location set by the user of the electronic terminal to facilitate charging by the electronic terminal, such as a home address, a company address, a private car, etc., and when the electronic terminal is in a power supplyable position, the electronic terminal may be charged at any time, and the electronic terminal The terminal may not perform the switching of the display mode; and when the current frame rate of the electronic terminal is greater than the first frame rate threshold and the current display mode is not detected as the video mode or the current frame rate of the electronic terminal is less than the second frame rate threshold When it is detected that the current display mode is not in the command mode, and the electronic terminal is not in the power supplyable position, the electronic terminal can perform the display mode switching, and display in the most energy-saving mode to save the energy consumption of the electronic terminal. To extend the use time of the electronic terminal.
  • the history conversion data may further include at least one of a conversion time, a conversion location, and a remaining power amount during conversion
  • the electronic terminal may learn the habit of the electronic terminal to perform display mode switching according to the historical conversion data.
  • the electronic terminal may acquire at least one of a current time, a current address, a current remaining power, and the like while acquiring the current frame rate, and further comprehensively determine whether the display mode needs to be switched.
  • the historical conversion data includes the remaining power during the conversion, and the electronic terminal learns that when the remaining power is less than the power threshold (for example, 30%) and the electronic terminal satisfies other switching conditions (for example, the current frame rate is greater than the first frame rate threshold and the detection Until the current display mode is not the video mode, the electronic terminal switches the display mode to display in the display mode with the lowest power consumption at the current frame rate.
  • the power threshold for example, 30%
  • other switching conditions for example, the current frame rate is greater than the first frame rate threshold and the detection Until the current display mode is not the video mode, the electronic terminal switches the display mode to display in the display mode with the lowest power consumption at the current frame rate.
  • the display method may further include: the electronic terminal receiving an open instruction for the target application, and triggering the step S110 according to the opening instruction to prevent the electronic terminal from detecting the current frame rate in real time, and reducing the electronic The energy consumption of the terminal.
  • the target application may be any application, or may be a set application such as a video application (such as iQiyi, YouTube, etc.), a shopping application (Amazon, eBay, etc.), or an e-book application, etc. At least one of them.
  • the electronic terminal can also periodically trigger the flow of the display method, such as triggering the flow of the display method every 10 minutes, half an hour or one hour.
  • the frame rate collected by the electronic terminal may be higher or lower, when the detected current frame rate is greater than the first frame rate threshold.
  • the electronic terminal can display through the video mode; when detecting that the current frame rate is less than the second frame rate threshold, the electronic terminal can display in the command mode, so that the electronic terminal is used in the same application for different frame rates. Different display modes are displayed to reduce the power consumption of the smart terminal.
  • the electronic terminal obtains the current frame rate, where the current frame rate is the number of frames in which the pixel data changes per unit time at the current time, and when the current frame rate is greater than the first frame rate threshold, The video mode is displayed, and when the current frame rate is less than the second frame rate threshold, the display is performed by the command mode, so that the electronic terminal displays in the command mode at a lower frame rate, at a higher frame rate.
  • the video mode is displayed to realize automatic switching of the video mode and the command mode based on the current frame rate, thereby reducing the energy consumption of the electronic terminal.
  • FIG. 5 is a schematic flowchart diagram of another display method according to an embodiment of the present invention. As shown in FIG. 5, the display method includes the following steps:
  • Step S510 The electronic terminal identifies the interface type of the current display interface.
  • the interface type of the display interface includes a first interface type and a second interface type, wherein the first interface type corresponds to the video mode, and the second interface type corresponds to the command mode.
  • the video playback interface may be included, and the second interface type may include a video pause interface, a game play interface, a game pause interface, a camera capture interface, a desktop interface, and other interfaces.
  • the first interface type may include a video play interface
  • the second interface type may include a video pause interface.
  • the video playing interface is an interface of the electronic terminal when the video content is playing;
  • the video pause interface is an interface of the electronic terminal when the video content is paused.
  • the video playback interface corresponds to the video mode, and the video pause interface corresponds to the command mode.
  • the method for the electronic terminal to identify whether the current display interface is a video play interface or a video pause interface may be: when the currently displayed application is a video application and the system is performing video codec, the current display interface is the video play interface; When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
  • the electronic terminal may further determine the interface type by determining whether the sound stream output is included. For example, if the currently displayed application is a video application and the system is performing video encoding and decoding, if the electronic terminal includes the sound stream output, the current display interface For the video playing interface; if the electronic terminal does not include the sound stream output, the current display interface is the video pause interface.
  • the first interface type may include a game play interface
  • the second interface type may include a game pause interface.
  • the game interface is the interface of the electronic terminal when the game is in progress;
  • the game pause interface is the interface of the electronic terminal when the game is paused.
  • the game interface corresponds to the video mode;
  • the game pause interface corresponds to the command mode.
  • the method for the electronic terminal terminal to recognize whether the current display interface is the game play interface or the game pause interface may be: when the currently displayed application is a game application and the click frequency for the current display interface is not less than the frequency threshold, the current display interface is The game performs an interface; the currently displayed application is a game application and detects that the click frequency for the current display interface is less than When the frequency threshold is used, the current display interface is the game pause interface.
  • the first interface type may include a camera shooting interface
  • the second interface type may include a desktop interface.
  • the camera shooting interface is a preview interface or a recording interface that is entered after the electronic terminal turns on the camera. At this time, the camera continuously collects image information of the current scene and displays it.
  • the camera capture interface can correspond to the video mode.
  • the method for the electronic terminal terminal to recognize whether the current display interface is the camera shooting interface may be: the electronic terminal can determine the working state of the camera, and when the camera is in the working state, that is, when the camera is turned on, the current display interface is the camera shooting interface.
  • the desktop interface is an interface where the electronic terminal enters when the electronic terminal enters the desktop (also referred to as the main interface), and the desktop interface corresponds to the command mode; the method for the electronic terminal terminal to recognize whether the current display interface is the desktop interface may be: the electronic terminal can recognize the current Whether the display interface is a desktop.
  • the current display interface is a desktop
  • the current display interface is a desktop interface.
  • Step S520 In the case that the interface type of the current display interface is the first interface type, the display is performed by the video mode.
  • the step S520 may include: switching the current display mode to the video mode if the interface type of the current display interface is the first interface type and detecting that the current display mode is not the video mode.
  • Step S530 In the case that the interface type of the current display interface is the second interface type, the display is performed by the command mode.
  • the step S530 may include: switching the current display mode to the command mode if the interface type of the current display interface is the second interface type and detecting that the current display mode is not the command mode.
  • the electronic terminal can preset the correspondence between the storage interface type and the display mode, for example, as shown in Table 2:
  • the electronic terminal After identifying the interface type of the current display interface, the electronic terminal determines whether the display mode corresponding to the interface type of the current display interface is consistent with the current display mode according to the correspondence between the interface type and the display mode. If yes, the electronic terminal may end the process. No operation is performed, or return to step S510 to re-recognize the interface type of the current display interface; otherwise, the display mode corresponding to the interface type of the current display interface is inconsistent with the current display mode, and the electronic terminal can switch the current display mode to the current display interface. The display mode corresponding to the interface type.
  • an electronic terminal such as a smart phone
  • the interface type of the current display interface is a video interface
  • the smart phone passes the video.
  • the mode is displayed; when the user of the smartphone needs to leave and pauses the video, the interface type of the current display interface of the smart phone is the video pause interface, and the smart phone displays through the command mode, thereby making the electronic terminal in the same
  • display by its corresponding display mode reduces the power consumption of the smart terminal.
  • the electronic terminal may prompt the user.
  • the method of prompting includes, but is not limited to, at least one of a voice prompt, a display prompt message, an opening indicator, and the like.
  • the electronic terminal recognizes the interface type of the current display interface, and displays the video mode in the case where the interface type of the current display interface is the first interface type; the interface type of the current display interface is In the case of the second interface type, the display is performed by the command mode, thereby automatically switching between the video mode and the command mode based on the current display interface, and the first interface type of the high energy consumption interface is displayed through the video mode, and the high energy consumption interface is The second interface type is displayed by the command mode to reduce the power consumption of the electronic terminal.
  • FIG. 6 is a structural diagram of an electronic terminal according to an embodiment of the present invention. As shown in FIG. 6, the electronic terminal includes:
  • the obtaining unit 610 is configured to obtain a current frame rate, where the current frame rate is a frame number of pixel data changes per unit time in the current time;
  • the processing unit 620 is configured to perform display by using a video mode if the current frame rate is greater than a first frame rate threshold, and display by using a command mode if the current frame rate is less than a second frame rate threshold ;
  • the first frame rate threshold is not less than the second frame rate threshold.
  • the processing unit 620 is specifically configured to: when the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, switch the current display mode to the video mode; When the current frame rate is less than the second frame rate threshold and it is detected that the current display mode is not the command mode, the current display mode is switched to the command mode.
  • processing unit 620 is further configured to:
  • the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, determining whether the frame rate acquired in the time T 0 to the time T 1 is greater than the first frame rate threshold And triggering, when the determination result of the determining unit is YES, an operation of switching the current display mode to a video mode; or
  • the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, determining whether the frame rate acquired in the time T 0 to the time T 1 is less than the second frame rate threshold And when the determination result of the determining unit is YES, triggering an operation of switching the current display mode to the command mode.
  • T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
  • processing unit 620 is further configured to:
  • the current location is acquired by the positioning system, and when the current location is not the powerable location, the current Display mode switches to video mode operation; or,
  • the current location is obtained by the positioning system, and when the current location is not the power supplyable location, the current The display mode switches to the command mode operation.
  • the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is an electronic terminal
  • the power consumption in the video mode is equal to the frame rate at the power consumption in the command mode.
  • the processing unit is further configured to obtain, by using a machine learning algorithm, the first frame rate threshold and the second frame rate threshold according to historical conversion data;
  • the historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  • processing unit 620 is configured to:
  • the electronic terminal obtains the current frame rate, where the current frame rate is the number of frames of the pixel data changed per unit time at the current time, and in the case that the current frame rate is greater than the first frame rate threshold, the video mode is performed. Displaying, in the case that the current frame rate is less than the second frame rate threshold, displaying by the command mode, so that the electronic terminal displays in the command mode at a lower frame rate, and passes the video at a higher frame rate. The mode is displayed to realize automatic switching of the video mode and the command mode based on the current frame rate, thereby reducing the energy consumption of the electronic terminal.
  • FIG. 7 is a structural structural diagram of another electronic terminal according to an embodiment of the present invention. As shown in FIG. 7, the electronic terminal includes:
  • the identifying unit 710 is configured to identify an interface type of the current display interface.
  • the processing unit 720 is configured to: display, by using a video mode, when the interface type of the current display interface is the first interface type; and, if the interface type of the current display interface is the second interface type, The command mode is displayed.
  • processing unit 720 is specifically configured to:
  • the interface type of the current display interface is the first interface type and detecting that the current display mode is not the video mode, switching the current display mode to the video mode;
  • the current display mode is switched to the command mode.
  • the first interface type includes a video play interface
  • the second interface type includes a video pause interface
  • the identification unit 710 is specifically configured to:
  • the current display interface is the video playing interface
  • the current display interface is the video pause interface.
  • the first interface type includes a game play interface
  • the second interface type includes a game pause interface
  • the identification unit 710 is specifically configured to:
  • the current display interface When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
  • the current display interface is the game pause interface.
  • the first interface type includes a camera shooting interface
  • the second interface type includes a desktop interface
  • the identifying unit 710 is specifically configured to:
  • the current display interface is the camera shooting interface
  • the current display interface is a desktop
  • the current display interface is a desktop interface
  • the electronic terminal identifies the interface type of the current display interface, and displays the video mode in the case that the interface type of the current display interface is the first interface type; the interface type of the current display interface is the second interface.
  • the command mode is used to display, thereby automatically switching between the video mode and the command mode based on the current display interface, and the first interface type of the high energy consumption interface is displayed through the video mode, and the second is the high energy consumption interface.
  • the type of interface is displayed in command mode to reduce the energy consumption of the electronic terminal.
  • FIG. 8 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • the electronic terminal is used to implement the display method shown in FIG. 1.
  • the electronic terminal includes: a processor 810, a memory 820, an input device 830, and an output device 840, wherein the output device 840 includes a display 841,
  • Processor 810 is coupled to memory 820, input device 830, and output device 840 via bus 850.
  • the electronic terminal can switch between two display modes (ie, video mode and command mode).
  • the processor 810 is a control center of the electronic terminal, and connects various parts of the entire electronic terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 820, and calling the storage in the The data in the memory 820 performs various functions and processing data of the electronic terminal, thereby performing overall monitoring of the electronic terminal.
  • the processor 810 may include one or more processors or processing modules; preferably, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications.
  • the processor 810 may further include an image processor GPU.
  • the GPU can be combined with a dedicated circuit board and accessory components to form a graphics card, or a single chip can be directly embedded in the motherboard, or built into the chip of the motherboard, or can be built into the CPU to form a system on chip (SoC),
  • SoC system on chip
  • the memory 820 can be used to store software programs and modules, and the memory 820 includes a display data buffer for buffering pixel data for display.
  • the processor 810 executes various functional applications of the mobile terminal and implements data processing by running software programs and modules stored in the memory 820.
  • the memory 820 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the mobile terminal. Use the created data (such as audio data, phone book, etc.).
  • the memory 820 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM), a phase change random access memory (PRAM), or a phase change random access memory (PRAM).
  • NVRAM nonvolatile volatile random access memory
  • PRAM phase change random access memory
  • PRAM phase change random access memory
  • a magnetoresistive random access memory (MRAM) may also include a non-volatile memory, such as at least one disk storage device, and an electrically erasable programmable read-only memory (EEPROM). ), flash memory devices, such as NOR flash memory or NAND flash memory.
  • the input device 830 is used to implement user interaction with the electronic terminal and/or information input into the electronic terminal.
  • input device 830 can receive numeric or character information input by a user to generate a signal input related to user settings or function controls.
  • the input device 830 may be a touch panel, or may be other human-computer interaction interfaces, such as physical input keys, microphones, etc., and may also be other external information capture devices, such as a camera.
  • Touch A control panel also known as a touch screen or touch screen, collects the actions that the user touches or approaches on.
  • the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program.
  • the input device 830 is not a device that is necessary for the electronic terminal.
  • Output device 840 can include, but is not limited to, an image output unit, a sound output, and a tactile output unit.
  • the image output unit is used to output text, pictures, and/or video.
  • the image output unit may include a display 841, for example, configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a field emission display (FED), or the like. Display.
  • the input device 830 and the output device 840 are used as two independent components to implement the input and output functions of the mobile terminal in FIG. 8, in some embodiments, the touch panel and the display 841 can be integrated into one. Input and output functions of the mobile terminal.
  • the display 841 includes a frame buffer area and a display controller to enable the electronic terminal to display through the command mode.
  • the frame buffer area may be a full-frame-length data buffer area or a non-full-frame length data buffer area.
  • the pixel data stored in the frame buffer area is stored. Need to be compressed.
  • the display controller refreshes the pixel data in the frame buffer area to the screen of the display, the pixel data may be decompressed or other operations, which are not limited in the present invention.
  • the processor 810 can send control signals and pixel data to the display 841 to implement display of data and switching of display modes.
  • the processor 810 is configured to invoke the instruction code stored in the memory 820 to execute:
  • the current frame rate is a frame number of pixel data changes per unit time at a current time
  • the first frame rate threshold is not less than the second frame rate threshold.
  • the processor 810 performs, when the current frame rate is greater than the first frame rate threshold, performing the display by using the video mode, including: when the current frame rate is greater than the first frame rate threshold, and detecting that the current display mode is not In the case of video mode, the current display mode is switched to the video mode;
  • the processor 810 performs the displaying by using the command mode if the current frame rate is less than the second frame rate threshold, including: when the current frame rate is less than the second frame rate threshold, and detecting that the current display mode is not In the case of the command mode, the current display mode is switched to the command mode.
  • the processor 810 further before the processor 810 performs the switching of the current display mode to the video mode, where the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode. For performing: determining whether a frame rate acquired in time T 0 to time T 1 is greater than the first frame rate threshold, and if yes, triggering the processor 810 to perform the switching of the current display mode to a video mode. Operation; or,
  • the processor 810 further before the processor 810 performs the switching of the current display mode to the command mode, where the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode. For performing: determining whether a frame rate acquired in time T 0 to time T 1 is less than the second frame rate threshold, and if yes, triggering the processor 810 to perform the switching of the current display mode to a video mode. Operation
  • T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
  • the processor 810 when the display mode corresponding to the current frame rate is inconsistent with the current display mode, switching the current display mode to the display mode corresponding to the current frame rate includes:
  • the processor 810 further before the processor 810 performs the switching of the current display mode to the video mode, where the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode. For performing: acquiring a current location by using a positioning system, and triggering, by the processor 810, the operation of switching the current display mode to a video mode when the current location is not a power supplyable location; or
  • the processor 810 further before the processor 810 performs the switching of the current display mode to the command mode, where the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode. For performing: acquiring a current location by the positioning system, and when the current location is not a powerable location, triggering the processor 810 to perform the operation of switching the current display mode to the command mode.
  • the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is a frame when the power consumption of the electronic terminal in the video mode is equal to the power consumption in the instruction mode. rate.
  • processor 810 is further configured to:
  • the historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  • the electronic terminal further includes an input device 830, the input device 830 is connected to the processor 810; the processor 810 is further configured to perform before the processor 810 performs the acquiring a current frame rate :
  • An open command for the target application is received by the input device 830, and an operation of acquiring the current frame rate is triggered according to the open command.
  • FIG. 9 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • the electronic terminal is used to implement the display method shown in FIG. 5.
  • the electronic terminal includes: a processor 910, a memory 920, an input device 930, and an output device 940, wherein the output device 940 includes a display 941,
  • the processor 910 is coupled to the memory 920, the input device 930, and the output device 940 via a bus 950.
  • the electronic terminal can switch between two display modes (ie, video mode and command mode).
  • the processor 810 is a control center of the electronic terminal, and connects various parts of the entire electronic terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 820, and calling the storage in the The data in the memory 820 performs various functions and processing data of the electronic terminal, thereby performing overall monitoring of the electronic terminal.
  • the processor 810 may include one or more processors or processing modules; preferably, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications.
  • the processor 810 may further include an image processor GPU.
  • the GPU can be combined with a dedicated circuit board and accessory components to form a graphics card, or a single chip can be directly embedded in the motherboard, or built into the chip of the motherboard, or can be built into the CPU to form a system on chip (SoC),
  • SoC system on chip
  • the memory 820 can be used to store software programs and modules, and the memory 820 includes display data.
  • the memory 920 can be used to store software programs and modules, and the processor 910 executes various functional applications of the mobile terminal and implements data processing by running software programs and modules stored in the memory 920.
  • the memory 920 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the mobile terminal. Use the created data (such as audio data, phone book, etc.).
  • the memory 920 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM), a phase change random access memory (PRAM), or a phase change random access memory (PRAM).
  • NVRAM nonvolatile volatile random access memory
  • PRAM phase change random access memory
  • PRAM phase change random access memory
  • a magnetoresistive random access memory (MRAM) may also include a non-volatile memory, such as at least one disk storage device, and an electrically erasable programmable read-only memory (EEPROM). ), flash memory devices, such as NOR flash memory or NAND flash memory.
  • the input device 930 is configured to implement user interaction with the electronic terminal and/or information input into the electronic terminal.
  • input device 930 can receive numeric or character information input by a user to generate a signal input related to user settings or function controls.
  • the input device 930 may be a touch panel, or may be other human-computer interaction interfaces, such as physical input keys, microphones, etc., and other external information extraction devices, such as cameras.
  • a touch panel also known as a touch screen or touch screen, collects operational actions that the user touches or approaches on.
  • the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program.
  • the input device 930 is not a device that is necessary for the electronic terminal.
  • Output device 940 can include, but is not limited to, an image output unit, a sound output, and a tactile output unit.
  • the image output unit is used to output text, pictures, and/or video.
  • the image output unit may include a display 941, for example, configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a field emission display (FED), or the like. Display.
  • the input device 930 and the output device 940 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel can be integrated with the display 941 to achieve Input and output functions of the mobile terminal.
  • the display 941 includes a frame buffer area and a display controller to enable the electronic terminal to display through the command mode.
  • the frame buffer area may be a full frame length data buffer area or a non-full frame length data buffer area.
  • the display controller will use the frame buffer area.
  • the operation of the pixel data may be compressed and decompressed or other operations before the pixel data is refreshed to the screen of the display, which is not limited in the present invention.
  • the processor 910 can send control signals and pixel data to the display 941 to implement display of data and switching of display modes.
  • the processor 910 is configured to invoke the instruction code stored in the memory 920 to execute:
  • the interface type of the current display interface is the first interface type, displaying by using a video mode
  • the display is performed by the command mode.
  • the processor 910 performs the displaying, by the video mode, that the interface type of the current display interface is the first interface type, and the interface type of the current display interface is the first interface.
  • the current display mode is switched to the video mode;
  • displaying by using the command mode includes: the interface type of the current display interface is the second interface type, and detecting When the current display mode is not the command mode, the current display mode is switched to the command mode.
  • the first interface type includes a video play interface
  • the second interface type includes a video pause interface
  • the performing, by the processor 910, the interface type for identifying the current display interface includes:
  • the current display interface is the video playing interface
  • the current display interface is the video pause interface.
  • the first interface type includes a game play interface
  • the second interface type includes a game pause interface
  • the performing, by the processor 910, the interface type for identifying the current display interface includes:
  • the current display interface When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
  • the current display interface is the game pause interface.
  • the first interface type includes a camera shooting interface
  • the second interface type includes a desktop interface
  • the performing, by the processor 910, the interface type for identifying the current display interface includes:
  • the current display interface is the camera shooting interface
  • the current display interface is a desktop
  • the current display interface is a desktop interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The present invention provides a display method and an electronic terminal. The method comprises: an electronic terminal obtains the current frame rate, the current frame rate being the number of changed frames of pixel data within the unit time of the current time; display in a video mode in the case that the current frame rate is greater than a first frame rate threshold; display in a command mode in the case that the current frame rate is less than a second frame rate threshold so that the electronic terminal is displayed in the command mode in a lower frame rate and in the video mode in a higher frame rate so as to achieve automatic switch between the video mode and the command mode based on the current frame rate and reduce the energy consumption of the electronic terminal. The present invention provides a display method and an electronic terminal, which can achieve automatic switch between a video mode and a command mode based on the current display interface to reduce the energy consumption of the electronic terminal.

Description

一种显示方法以及电子终端Display method and electronic terminal 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种显示方法以及电子终端。The present invention relates to the field of computer technologies, and in particular, to a display method and an electronic terminal.
背景技术Background technique
移动产业处理器接口(Mobile Industry Processor Interface,MIPI)是MIPI联盟发起的为移动应用处理器制定的开放标准。MIPI包括的显示模式有两种,分别是的命令模式(Display Serial Interface Command Mode)和视频模式(Display Serial Interface Video Mode)。The Mobile Industry Processor Interface (MIPI) is an open standard developed by the MIPI Alliance for mobile application processors. MIPI includes two display modes: Display Serial Interface Command Mode and Display Serial Interface Video Mode.
在命令模式下,当用于显示的像素数据更新时,电子终端的处理器将更新后的像素数据发送至显示器,显示器的帧缓存区缓存该像素数据,并以固定的刷新周期将帧缓存区中的数据刷新到显示器的屏幕。在视频模式下,电子终端的处理器按照固定的刷新周期持续不断地将像素数据刷新到显示器的屏幕。In the command mode, when the pixel data for display is updated, the processor of the electronic terminal sends the updated pixel data to the display, the frame buffer area of the display buffers the pixel data, and the frame buffer area is fixed at a refresh cycle. The data in the data is refreshed to the display screen. In the video mode, the processor of the electronic terminal continuously refreshes the pixel data to the screen of the display in accordance with a fixed refresh cycle.
当像素数据更新的帧率较低时,相对于视频模式,电子终端采用命令模式进行显示,功耗更低;而当像素数据更新的帧率较高时,相对于命令模式,电子终端采用视频模式进行显示,功耗更低。然而,电子终端中像素数据更新的帧率或高或低,单独地采用一种显示模式,增加电子终端的能耗。When the frame rate of the pixel data update is low, the electronic terminal adopts the command mode for display with lower power consumption than the video mode; and when the frame rate of the pixel data update is high, the electronic terminal adopts the video with respect to the command mode. The mode is displayed and the power consumption is lower. However, the frame rate of the pixel data update in the electronic terminal is either high or low, and a display mode is separately adopted to increase the power consumption of the electronic terminal.
发明内容Summary of the invention
本发明实施例提供了一种显示方法以及电子终端,能够实现视频模式和命令模式的自动切换,降低电子终端的能耗。The embodiment of the invention provides a display method and an electronic terminal, which can automatically switch between a video mode and a command mode, and reduce energy consumption of the electronic terminal.
第一方面,本发明实施例提供了一种显示方法,该方法包括:电子终端获取当前帧率,其中,当前帧率为当前时间下单位时间内像素数据变化的帧数,在当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示;在当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示;其中,第一帧率阈值不小于第二帧率阈值。In a first aspect, an embodiment of the present invention provides a display method, where the method includes: an electronic terminal acquires a current frame rate, where a current frame rate is a frame number of a pixel data change per unit time at a current time, and the current frame rate is greater than In the case of the first frame rate threshold, the display is performed by the video mode; when the current frame rate is less than the second frame rate threshold, the display is performed by the command mode; wherein the first frame rate threshold is not less than the second frame rate threshold.
本技术方案中,电子终端获取当前帧率,其中,当前帧率为当前时间下单位时间内像素数据变化的帧数,在当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示,在当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示,且第一帧率阈值不小于第二帧率阈值,以使电子终端在较低的帧率下,通过命令模式进行显示,在较高的帧率下,通过视频模式进行显示,进而实现基于当前帧率的视频模式和命令模式的自动切换,降低电子终端的能耗。In the technical solution, the electronic terminal acquires the current frame rate, where the current frame rate is the number of frames in which the pixel data changes in the unit time at the current time, and is displayed in the video mode when the current frame rate is greater than the first frame rate threshold. In the case that the current frame rate is less than the second frame rate threshold, the display is performed by the command mode, and the first frame rate threshold is not less than the second frame rate threshold, so that the electronic terminal passes the command mode at a lower frame rate. Displaying, at a higher frame rate, displaying through the video mode, thereby realizing automatic switching of the video mode and the command mode based on the current frame rate, and reducing the power consumption of the electronic terminal.
结合第一方面,在第一方面的第一种实现方式中,在当前帧率大于第一帧率阈值的情况下,电子终端通过视频模式进行显示的一种实施方式可以是:在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式。在当前帧率小于第二帧率阈值的情况下,电子终端通过命令模式进行显示的一种实施方式可以是:在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。With reference to the first aspect, in a first implementation manner of the first aspect, in a case that a current frame rate is greater than a first frame rate threshold, an implementation manner in which the electronic terminal performs display by using a video mode may be: at a current frame rate When the first frame rate threshold is greater than the first and the current display mode is not detected as the video mode, the current display mode is switched to the video mode. In an embodiment where the current frame rate is less than the second frame rate threshold, an implementation manner in which the electronic terminal performs display by using the command mode may be: when the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not a command In the case of the mode, the current display mode is switched to the command mode.
结合第一方面第一种实现方式,在第一方面的第二种实现方式中, In conjunction with the first implementation of the first aspect, in a second implementation of the first aspect,
在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,电子终端在将当前显示模式切换为视频模式之前,电子终端还可以判断在时间T0到时间T1内获取的帧率是否都大于第一帧率阈值,如果是,则触发将当前显示模式切换为视频模式的操作。或者,In the case that the current frame rate is greater than the first frame rate threshold and it is detected that the current display mode is not the video mode, the electronic terminal may further determine the time T 0 to the time T 1 before switching the current display mode to the video mode. Whether the frame rate acquired internally is greater than the first frame rate threshold, and if so, triggers the operation of switching the current display mode to the video mode. or,
在当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,电子终端在将当前显示模式切换为命令模式之前,电子终端还可以判断在时间T0到时间T1内获取的帧率是否都小于第二帧率阈值,如果是,则触发将当前显示模式切换为视频模式的操作。When the current frame rate is less than the second frame rate threshold and it is detected that the current display mode is not the command mode, the electronic terminal may further determine the time T 0 to the time T 1 before switching the current display mode to the command mode. Whether the frame rate acquired internally is less than the second frame rate threshold, and if so, triggers the operation of switching the current display mode to the video mode.
其中,T0为当前时间,时间T1为时间T0之后距离时间T0第一时长的时间。Wherein, the current time T 0, T 1 is the time after the 00 first duration of time T from the time T time.
本技术方案中,在当前帧率对应的显示模式与当前显示模式不一致时,且当前时间之后的第一时长内获取的帧率对应的显示模式都与当前显示模式不一致时,才进行显示模式的切换,避免电子终端频繁切换,提高电子终端显示模式的稳定性。In the technical solution, when the display mode corresponding to the current frame rate is inconsistent with the current display mode, and the display mode corresponding to the frame rate acquired within the first time period after the current time is inconsistent with the current display mode, the display mode is performed. Switching to avoid frequent switching of electronic terminals and improve the stability of the display mode of the electronic terminal.
结合第一方面第一种实现方式,在第一方面的第三种实现方式中,In conjunction with the first implementation of the first aspect, in a third implementation of the first aspect,
在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,电子终端在将当前显示模式切换为视频模式之前,电子终端还可以:通过定位系统获取当前位置,在当前位置不为可供电位置时,触发将当前显示模式切换为视频模式的操作。或,If the current frame rate is greater than the first frame rate threshold and the current display mode is not the video mode, the electronic terminal may: obtain the current location by using the positioning system before switching the current display mode to the video mode. When the current position is not the power supply position, the operation of switching the current display mode to the video mode is triggered. or,
在当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,电子终端在将当前显示模式切换为命令模式之前,电子终端还可以:通过定位系统获取当前位置,在当前位置不为可供电位置时,触发将当前显示模式切换为命令模式的操作。If the current frame rate is lower than the second frame rate threshold and the current display mode is not the command mode, the electronic terminal may: obtain the current position by using the positioning system, before the electronic terminal switches the current display mode to the command mode. When the current position is not the power supply position, the operation of switching the current display mode to the command mode is triggered.
本技术方案中,只有在当前帧率对应的显示模式与当前显示模式不一致且当前位置不是可供电位置,比如家庭地址、公司地址时,才进行显示模式的切换,以节约电子终端能耗。In the technical solution, only when the display mode corresponding to the current frame rate is inconsistent with the current display mode and the current location is not a power supplyable location, such as a home address or a company address, the display mode is switched to save energy consumption of the electronic terminal.
结合第一方面以及第一方面第一至三种实现方式,在第一方面的第四种实现方式中,第一帧率阈值可以等于第二帧率阈值,第一帧率阈值为电子终端在视频模式下的功耗等于在指令模式下的功耗时的帧率。With reference to the first aspect and the first to third implementation manners of the first aspect, in a fourth implementation manner of the first aspect, the first frame rate threshold may be equal to the second frame rate threshold, where the first frame rate threshold is an electronic terminal The power consumption in video mode is equal to the frame rate at power consumption in command mode.
结合第一方面以及第一方面第一至三种实现方式,在第一方面的第五种实现方式中,该方法还包括:电子终端根据历史转换数据,通过机器学习算法获得第一帧率阈值以及第二帧率阈值。其中,历史转换数据包括转换前显示模式、转换后显示模式以及转换时帧率。With reference to the first aspect and the first to third implementation manners of the first aspect, in a fifth implementation manner of the first aspect, the method further includes: the electronic terminal obtaining the first frame rate threshold by using a machine learning algorithm according to historical conversion data And a second frame rate threshold. The historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
本技术方案中,电子终端通过机器学习用户的习惯,设置第一帧率阈值以及第二帧率阈值,更贴合用户习惯,提高用户体验。In the technical solution, the electronic terminal learns the user's habits by the machine, sets the first frame rate threshold and the second frame rate threshold, and is more suitable for the user's habits and improves the user experience.
结合第一方面以及第一方面第一至五种实现方式中任一实现方式,在第一方面的第六种实现方式中,电子终端在获取当前帧率之前,该方法还包括:电子终端接收针对目标应用的打开指令,根据打开指令触发执行获取当前帧率的操作。With reference to the first aspect, and any one of the first to fifth implementation manners of the first aspect, in a sixth implementation manner of the first aspect, before the acquiring the current frame rate, the method further includes: receiving, by the electronic terminal For the open command of the target application, the operation of acquiring the current frame rate is triggered according to the open command.
本技术方案中,在接收到针对目标应用的打开指令,比如视频应用的打开指令,才触发电子终端采集当前帧率,避免电子终端不间断地采集当前帧率,提高电子终端的工作效率。In the technical solution, after receiving an open instruction for the target application, such as an open instruction of the video application, the electronic terminal is triggered to collect the current frame rate, thereby preventing the electronic terminal from continuously collecting the current frame rate and improving the working efficiency of the electronic terminal.
第二方面,本发明实施例还提供了一种显示方法,该方法包括:In a second aspect, an embodiment of the present invention further provides a display method, where the method includes:
电子终端识别当前显示界面的界面类型,在当前显示界面的界面类型为第一界面类型 的情况下,通过视频模式进行显示;在当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。The electronic terminal identifies the interface type of the current display interface, and the interface type of the current display interface is the first interface type. In the case of the video mode, if the interface type of the current display interface is the second interface type, the command mode is used for display.
本技术方案中,电子终端识别当前显示界面的界面类型,在当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;在当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示,进而实现基于当前显示界面进行视频模式与命令模式的自动切换,对高能耗界面的第一界面类型,通过视频模式进行显示,对高能耗界面的第二界面类型,通过命令模式进行显示,以降低电子终端的能耗。In the technical solution, the electronic terminal identifies the interface type of the current display interface. When the interface type of the current display interface is the first interface type, the display is performed by the video mode; and the interface type of the current display interface is the second interface type. In the case of the command mode, the video mode and the command mode are automatically switched based on the current display interface, and the first interface type of the high energy consumption interface is displayed through the video mode, and the second interface type of the high energy consumption interface is displayed. , display by command mode to reduce the energy consumption of the electronic terminal.
结合第二方面,在第二方面的第一种实现方式中,在当前显示界面的界面类型为第一界面类型的情况下,电子终端通过视频模式进行显示的一种实施方式可以是:在当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,电子终端将当前显示模式切换为视频模式;With reference to the second aspect, in a first implementation manner of the second aspect, in a case where the interface type of the current display interface is the first interface type, an implementation manner in which the electronic terminal performs display by using the video mode may be: When the interface type of the display interface is the first interface type and the current display mode is not the video mode, the electronic terminal switches the current display mode to the video mode.
在当前显示界面的界面类型为第二界面类型的情况下,电子终端通过命令模式进行显示的一种实施方式可以是:在当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,电子终端将当前显示模式切换为命令模式。In the case that the interface type of the current display interface is the second interface type, an implementation manner in which the electronic terminal displays in the command mode may be: the interface type of the current display interface is the second interface type and the current display mode is detected. In the case of the command mode, the electronic terminal switches the current display mode to the command mode.
结合第二方面或第二方面第一种实现方式,在第二方面的第二种实现方式中,第一界面类型包括视频播放界面;第二界面类型包括视频暂停界面,电子终端识别当前显示界面的界面类型的一种实施方式可以包括:在当前显示的应用为视频应用且系统正在进行视频编解码时,则当前显示界面为视频播放界面;在当前显示的应用为视频应用且系统未进行视频编解码时,则当前显示界面为视频暂停界面,With reference to the second aspect or the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the first interface type includes a video play interface, the second interface type includes a video pause interface, and the electronic terminal identifies the current display interface. An implementation manner of the interface type may include: when the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is a video playing interface; the currently displayed application is a video application and the system does not perform video When encoding and decoding, the current display interface is a video pause interface.
本技术方案中,电子终端在视频播放界面时,显示模式为视频模式,在视频暂停界面时,显示模式为指令模式,减少电子终端的能耗,而且在同一应用中也可以实现不同显示模式的转换。In the technical solution, when the electronic terminal is in the video playing interface, the display mode is the video mode, and when the video pauses the interface, the display mode is the command mode, which reduces the energy consumption of the electronic terminal, and can also implement different display modes in the same application. Conversion.
结合第二方面或第二方面第一种实现方式,,在第二方面的第三种实现方式中,第一界面类型包括游戏进行界面;第二界面类型包括游戏暂停界面;电子终端识别当前显示界面的界面类型的一种实施方式可以包括:在当前显示的应用为游戏应用且检测到针对当前显示界面的点击频率不小于频率阈值时,则当前显示界面为游戏进行界面;在当前显示的应用为游戏应用且检测到针对当前显示界面的点击频率小于频率阈值时,则当前显示界面为游戏暂停界面。In combination with the second aspect or the first implementation of the second aspect, in a third implementation manner of the second aspect, the first interface type includes a game play interface; the second interface type includes a game pause interface; and the electronic terminal identifies the current display An implementation manner of the interface type of the interface may include: when the currently displayed application is a game application and detecting that the click frequency for the current display interface is not less than a frequency threshold, then the current display interface is a game interface; the currently displayed application When the game is applied and it is detected that the click frequency for the current display interface is less than the frequency threshold, the current display interface is the game pause interface.
本技术方案中,电子终端在游戏进行界面时,显示模式为视频模式,在游戏暂停界面时,显示模式为指令模式,减少电子终端的能耗,而且在同一应用中也可以实现不同显示模式的转换。In the technical solution, when the electronic terminal performs the interface, the display mode is the video mode, and when the game pauses the interface, the display mode is the command mode, which reduces the energy consumption of the electronic terminal, and can also implement different display modes in the same application. Conversion.
结合第二方面或第二方面第一种实现方式,,在第二方面的第四种实现方式中,第一界面类型包括相机拍摄界面;所述第二界面类型包括桌面界面;电子终端识别当前显示界面的界面类型的一种实施方式可以包括:在摄像头处于工作状态时,则当前显示界面为相机拍摄界面。电子终端识别当前显示界面的界面类型的一种实施方式可以包括:在当前显示界面为桌面时,则当前显示界面为桌面界面。With reference to the second aspect or the first implementation of the second aspect, in a fourth implementation manner of the second aspect, the first interface type includes a camera shooting interface; the second interface type includes a desktop interface; the electronic terminal identifies the current An embodiment of the interface type of the display interface may include: when the camera is in an active state, the current display interface is a camera shooting interface. An implementation manner of the electronic terminal identifying the interface type of the current display interface may include: when the current display interface is a desktop, the current display interface is a desktop interface.
第三方面,本发明实施例还提供了一种电子终端,该电子终端包括用于执行第一方面描述的显示方法的功能单元。 In a third aspect, an embodiment of the present invention further provides an electronic terminal, where the electronic terminal includes a functional unit for performing the display method described in the first aspect.
第四方面,本发明实施例还提供了一种电子终端,该电子终端包括用于执行第二方面描述的显示方法的功能单元。In a fourth aspect, an embodiment of the present invention further provides an electronic terminal, where the electronic terminal includes a functional unit for performing the display method described in the second aspect.
第五方面,本发明实施例还提供了一种电子终端,该电子终端包括:处理器、存储器以及显示器,所述处理器连接到所述存储器以及所述显示器,所述电子终端可实现视频模式和命令模式的切换,所述存储器用于存储第一方面所述的显示方法涉及的程序代码、数据等,所述处理器用于调用存储器中存储的指令代码执行第一方面的部分或全部流程。In a fifth aspect, an embodiment of the present invention further provides an electronic terminal, including: a processor, a memory, and a display, the processor being connected to the memory and the display, wherein the electronic terminal can implement a video mode And the switching of the command mode, the memory is used to store the program code, data, and the like involved in the display method of the first aspect, and the processor is configured to call the instruction code stored in the memory to perform part or all of the flow of the first aspect.
第六方面,本发明实施例还提供了一种电子终端,该电子终端包括:处理器、存储器以及显示器,所述处理器连接到所述存储器以及所述显示器,所述电子终端可实现视频模式和命令模式的切换,所述存储器用于存储第二方面所述的显示方法涉及的程序代码、数据等,所述处理器用于调用存储器中存储的指令代码执行第二方面的部分或全部流程。In a sixth aspect, an embodiment of the present invention further provides an electronic terminal, including: a processor, a memory, and a display, the processor being connected to the memory and the display, wherein the electronic terminal can implement a video mode And the switching of the command mode, the memory is used to store the program code, data, and the like involved in the display method of the second aspect, and the processor is configured to call the instruction code stored in the memory to perform part or all of the flow of the second aspect.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below.
图1是本发明实施例提供的一种显示方法的流程示意图;1 is a schematic flow chart of a display method according to an embodiment of the present invention;
图2是本发明实施例提供的一种视频模式的显示原理示意图;2 is a schematic diagram of a display principle of a video mode according to an embodiment of the present invention;
图3是本发明实施例提供的一种命令模式的显示原理示意图;3 is a schematic diagram showing a display principle of a command mode according to an embodiment of the present invention;
图4是本发明实施例提供的一种帧率提示界面的结构示意图;4 is a schematic structural diagram of a frame rate prompting interface according to an embodiment of the present invention;
图5是本发明实施例提供的另一种显示方法的流程示意图;FIG. 5 is a schematic flowchart diagram of another display method according to an embodiment of the present disclosure;
图6是本发明实施例提供的一种电子终端的结构框架图;FIG. 6 is a structural structural diagram of an electronic terminal according to an embodiment of the present invention; FIG.
图7是本发明实施例提供的另一种电子终端的结构框架图;FIG. 7 is a structural structural diagram of another electronic terminal according to an embodiment of the present invention; FIG.
图8是本发明实施例提供的又一种电子终端的结构框架图;FIG. 8 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention; FIG.
图9是本发明实施例提供的又一种电子终端的结构框架图。FIG. 9 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
本发明各个实施例中可以基于电子终端来实施,电子终端可以包括但不限于智能手机、平板电脑、台式电脑、移动电脑、智能电视、智能手环、个人数字助理(英文:Personal Digital Assistant,PDA)、媒体播放设备等。该电子终端包括显示器,该显示器可以是液晶显示器(英文:Liquid Crystal Display,LCD)、LED(英文:light emitting diode)显示器、等离子显示器(英文:Plasma Display Panel,PDP)等,该电子终端以及该电子终端的显示器支持视频模式以及命令模式,且视频模式和指令模式之间可进行切换。可以理解,电子终端的显示器包括帧缓存区以及显示控制器。The embodiments of the present invention may be implemented based on an electronic terminal, which may include, but is not limited to, a smart phone, a tablet computer, a desktop computer, a mobile computer, a smart TV, a smart bracelet, and a personal digital assistant (English: Personal Digital Assistant, PDA) ), media playback equipment, etc. The electronic terminal includes a display, which may be a liquid crystal display (LCD), an LED (light emitting diode) display, a plasma display panel (PDP), etc., and the electronic terminal and the like The display of the electronic terminal supports the video mode and the command mode, and the video mode and the command mode can be switched. It can be understood that the display of the electronic terminal includes a frame buffer area and a display controller.
请参阅图1,图1是本发明实施例提供的一种显示方法的流程示意图,如图1所示,该显示方法包括下述步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a display method according to an embodiment of the present invention. As shown in FIG. 1 , the display method includes the following steps:
步骤S110:电子终端获取当前帧率。该当前帧率为当前时间下单位时间(每秒)内像素数据变化的帧数。 Step S110: The electronic terminal acquires the current frame rate. The current frame rate is the number of frames of pixel data change per unit time (per second) at the current time.
请参阅图2,图2是本发明实施例提供的一种视频模式的显示原理示意图。视频模式要求电子终端包括处理器、存储器以及显示器等,且存储器包括用于缓存用于显示的像素数据的显示数据缓存区。不论数据缓存区中像素数据是否变化,处理器按照固定的刷新周期(比如16.6ms)持续不断地读取显示数据缓存区中像素数据,并发送到显示器的屏幕。Referring to FIG. 2, FIG. 2 is a schematic diagram of a display principle of a video mode according to an embodiment of the present invention. The video mode requires the electronic terminal to include a processor, a memory, a display, etc., and the memory includes a display data buffer for buffering pixel data for display. Regardless of whether the pixel data in the data buffer changes, the processor continuously reads the pixel data in the display data buffer according to a fixed refresh period (such as 16.6 ms) and sends it to the screen of the display.
请参阅图3,图3是本发明实施例提供的一种命令模式的显示原理示意图。命令模式要求电子终端包括处理器、存储器以及显示器等,且存储器包括用于缓存用于显示的像素数据的显示数据缓存区,显示器配置显示控制器以及帧缓存区,当显示数据缓存区中像素数据变化时,处理器读取显示数据缓存区中像素数据,并发送至显示器,显示器的帧缓存区缓存该像素数据,显示控制器按照固定的刷新周期(比如16.6ms)将帧缓存区中像素数据刷新至显示器的屏幕。Referring to FIG. 3, FIG. 3 is a schematic diagram of a display principle of a command mode according to an embodiment of the present invention. The command mode requires the electronic terminal to include a processor, a memory, a display, etc., and the memory includes a display data buffer for buffering pixel data for display, a display configuration display controller, and a frame buffer area, when displaying pixel data in the data buffer area When changing, the processor reads the pixel data in the display data buffer area and sends it to the display. The frame buffer area of the display buffers the pixel data, and the display controller displays the pixel data in the frame buffer area according to a fixed refresh period (such as 16.6 ms). Refresh to the monitor's screen.
电子终端中数据的显示以帧为单位,一帧包括一个显示界面的图像数据。本申请中帧率即为显示数据缓存区中像素数据在单位时间(每秒)内变化的帧数。当前帧率即为当前时间下显示数据缓存区中像素数据在单位时间(每秒)内变化的帧数。The display of data in the electronic terminal is in units of frames, and one frame includes image data of a display interface. The frame rate in this application is the number of frames in which the pixel data in the data buffer is displayed in unit time (per second). The current frame rate is the number of frames in which the pixel data in the display data buffer changes in unit time (per second) at the current time.
其中,电子终端可以获取当前帧率,其中,电子终端获取当前帧率的方法可以是电子终端检测显示数据缓存区中像素数据的写入速度,电子终端检测包括当前时间在内的第一时间段内(比如5s、8s或10s等)显示数据缓存区中像素数据写入的帧数,根据第一时间段内像素数据写入的帧数计算单位时间内像素数据写入的帧数,计算获取的单位时间内像素数据写入的帧数即为当前帧率。The electronic terminal can obtain the current frame rate. The method for the electronic terminal to obtain the current frame rate may be that the electronic terminal detects the writing speed of the pixel data in the display data buffer area, and the electronic terminal detects the first time period including the current time. The number of frames in which the pixel data is written in the data buffer is displayed (for example, 5s, 8s, or 10s, etc.), and the number of frames written in the pixel data per unit time is calculated according to the number of frames written in the pixel data in the first time period, and the calculation is performed. The number of frames in which pixel data is written per unit time is the current frame rate.
可以理解的是,若电子终端的帧率发生变化,处理器可控制进行显示模式的切换。图2和图3中的处理器会向显示器发生控制信号,以使得显示器实时配置显示模式。同时处理器也会对显示数据缓存区将数据传输到显示器进行配置,避免出现显示问题。It can be understood that if the frame rate of the electronic terminal changes, the processor can control the switching of the display mode. The processor of Figures 2 and 3 will generate a control signal to the display to cause the display to configure the display mode in real time. At the same time, the processor also configures the display data buffer to transfer data to the display to avoid display problems.
步骤S120:在当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示。Step S120: Displaying in a video mode if the current frame rate is greater than the first frame rate threshold.
具体地,电子终端预存第一帧率阈值以及第二帧率阈值,在步骤S110之后,电子终端可以将当前帧率与第一帧率阈值和第二帧率阈值分别进行比对,在当前帧率大于第一帧率阈值的情况下,电子终端可以通过视频模式进行显示。其中,第一帧率阈值不小于第二帧率阈值。可选地,第一帧率阈值等于第二帧率阈值,此时,电子终端可以将当前帧率与第一帧率阈值进行比对,在当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示,在当前帧率小于第一帧率阈值的情况下,通过命令模式进行显示。Specifically, the electronic terminal prestores the first frame rate threshold and the second frame rate threshold. After step S110, the electronic terminal may compare the current frame rate with the first frame rate threshold and the second frame rate threshold respectively, in the current frame. When the rate is greater than the first frame rate threshold, the electronic terminal can display in the video mode. The first frame rate threshold is not less than the second frame rate threshold. Optionally, the first frame rate threshold is equal to the second frame rate threshold. At this time, the electronic terminal may compare the current frame rate with the first frame rate threshold. When the current frame rate is greater than the first frame rate threshold, Displayed by the video mode, and displayed in the command mode when the current frame rate is less than the first frame rate threshold.
本发明的一个实施例中,步骤S120可以包括:在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式。In an embodiment of the present invention, step S120 may include: switching the current display mode to the video mode if the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode.
本发明的一实施例中,在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,电子终端在将当前显示模式切换为视频模式之前,电子终端还可以判断在时间T0到时间T1内获取的帧率是否都大于第一帧率阈值,如果是,则触发将当前显示模式切换为视频模式的操作;否则,电子终端可能只是瞬间的帧率变大,电子终端可以不进行显示模式的切换,进而避免显示模式的频繁转换,此时,电子终端可以结束流程、不进行任何操作、或返回步骤S110重新获取当前帧率。其中,T0为当前时间,时间T1为时间T0之后距离时间T0第一时长(比如,10s、20s、25s等)的时间。In an embodiment of the present invention, when the current frame rate is greater than the first frame rate threshold and the current display mode is not the video mode, the electronic terminal may determine the electronic terminal before switching the current display mode to the video mode. Whether the frame rate acquired in time T 0 to time T 1 is greater than the first frame rate threshold, and if so, triggering the operation of switching the current display mode to the video mode; otherwise, the electronic terminal may only increase the frame rate in an instant. The electronic terminal may not switch the display mode, thereby avoiding frequent conversion of the display mode. At this time, the electronic terminal may end the process, do not perform any operation, or return to step S110 to reacquire the current frame rate. Wherein, the current time T 0, T 1 is the time period after the time period T 0 time period T 0 from the first duration (for example, 10s, 20s, 25s, etc.).
步骤S130:在当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示。 Step S130: In the case that the current frame rate is smaller than the second frame rate threshold, the display is performed by the command mode.
本发明的一实施例中,步骤S130可以包括:在当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。In an embodiment of the invention, step S130 may include: switching the current display mode to the command mode if the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode.
本发明的一实施例中,在当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式之前,电子终端还可以判断在时间T0到时间T1内获取的帧率是否都小于第二帧率阈值,如果是,则触发将当前显示模式切换为视频模式的操作;否则,电子终端可能只是瞬间的帧率变小,电子终端可以不进行显示模式的切换,进而避免显示模式的频繁转换,此时,电子终端可以结束流程、不进行任何操作、或返回步骤S110重新获取当前帧率。其中,T0为当前时间,时间T1为时间T0之后距离时间T0第一时长(比如,10s、20s、25s等)的时间。In an embodiment of the present invention, when the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode, the electronic terminal may further determine the time T before switching the current display mode to the command mode. Whether the frame rate obtained from 0 to time T 1 is less than the second frame rate threshold, and if so, triggering the operation of switching the current display mode to the video mode; otherwise, the electronic terminal may only become an instantaneous frame rate, the electronic terminal The switching of the display mode may not be performed, thereby avoiding frequent conversion of the display mode. At this time, the electronic terminal may end the flow, do not perform any operation, or return to step S110 to reacquire the current frame rate. Wherein, the current time T 0, T 1 is the time period after the time period T 0 time period T 0 from the first duration (for example, 10s, 20s, 25s, etc.).
可以理解,在当前帧率不大于第一帧率阈值且不小于第二帧率阈值的情况下,电子终端可以通过视频模式进行显示,也可以通过命令模式进行显示,也可以不进行任何操作以当前显示模式进行显示,本发明不作限制。It can be understood that, in a case that the current frame rate is not greater than the first frame rate threshold and not less than the second frame rate threshold, the electronic terminal may display through the video mode, may also display through the command mode, or may perform no operation. The current display mode is displayed, and the present invention is not limited.
可以理解,第一帧率阈值和第二帧率阈值可以是设置的经验值,比如,第一帧率阈值为40Hz、第二帧率阈值为30Hz,当帧率大于第一帧率阈值时,电子终端在视频模式下的功耗小于在指令模式下的功耗;当帧率小于第二帧率阈值时,电子终端在指令模式下的功耗小于在视频模式下的功耗;在帧率不大于第一帧率阈值且不小于第二帧率阈值时,电子终端在视频模式下的功耗与在指令模式下的功耗相等或差距不大。It can be understood that the first frame rate threshold and the second frame rate threshold may be set empirical values, for example, the first frame rate threshold is 40 Hz, the second frame rate threshold is 30 Hz, and when the frame rate is greater than the first frame rate threshold, The power consumption of the electronic terminal in the video mode is less than the power consumption in the command mode; when the frame rate is less than the second frame rate threshold, the power consumption of the electronic terminal in the command mode is smaller than the power consumption in the video mode; When the threshold is not greater than the first frame rate and not less than the second frame rate threshold, the power consumption of the electronic terminal in the video mode is equal to or less than the power consumption in the command mode.
可选地,第一帧率阈值可以等于第二帧率阈值。电子终端可以在同等条件下对不同显示模式进行功耗测试,第一帧率阈值也可以是电子终端在视频模式下的功耗等于在指令模式下的功耗时的帧率。可以理解,在任一显示模式下电子终端的功耗都随着帧率的增大而增大,当帧率小于第一帧率阈值时,命令模式下电子终端的功耗小于视频模式下电子终端的功耗;当帧率大于第一帧率阈值时,命令模式下电子终端的功耗大于视频模式下电子终端的功耗;当帧率等于第一帧率阈值时,命令模式下电子终端的功耗等于视频模式下电子终端的功耗。Optionally, the first frame rate threshold may be equal to the second frame rate threshold. The electronic terminal can perform power consumption test on different display modes under the same conditions, and the first frame rate threshold may also be a frame rate when the power consumption of the electronic terminal in the video mode is equal to the power consumption in the command mode. It can be understood that the power consumption of the electronic terminal increases with the increase of the frame rate in any display mode. When the frame rate is smaller than the first frame rate threshold, the power consumption of the electronic terminal in the command mode is smaller than that of the electronic terminal in the video mode. Power consumption; when the frame rate is greater than the first frame rate threshold, the power consumption of the electronic terminal in the command mode is greater than the power consumption of the electronic terminal in the video mode; when the frame rate is equal to the first frame rate threshold, the electronic terminal in the command mode The power consumption is equal to the power consumption of the electronic terminal in the video mode.
可以理解,电子终端的用户可以主动进行显示模式的切换,或者电子终端可以提示电子终端的用户进行显示模式的切换,电子终端的用户可以进行或不进行显示模式的切换。电子终端可以记录电子终端发生显示模式转换时的转换数据,形成历史转换数据,该历史转换数据可以包括转换前显示模式、转换后显示模式以及转换时帧率。电子终端可以根据历史转换数据,通过机器学习算法获得第一帧率阈值、第二帧率阈值。例如,电子终端记录的历史转换数据如下表1所示:It can be understood that the user of the electronic terminal can actively switch the display mode, or the electronic terminal can prompt the user of the electronic terminal to switch the display mode, and the user of the electronic terminal can perform or not switch the display mode. The electronic terminal can record the conversion data when the display mode is changed by the electronic terminal to form historical conversion data, and the historical conversion data can include a pre-conversion display mode, a converted display mode, and a conversion-time frame rate. The electronic terminal can obtain the first frame rate threshold and the second frame rate threshold by using a machine learning algorithm according to historical conversion data. For example, the historical conversion data recorded by the electronic terminal is as shown in Table 1 below:
转换前显示模式Display mode before conversion 转换后显示模式Display mode after conversion 转换时帧率Frame rate during conversion
视频模式Video mode 命令模式Command mode 20Hz20Hz
命令模式Command mode 视频模式Video mode 45Hz45Hz
视频模式Video mode 命令模式Command mode 30Hz30Hz
视频模式Video mode 命令模式Command mode 25Hz25Hz
命令模式Command mode 视频模式Video mode 35Hz35Hz
表1Table 1
电子终端根据历史转换数据,通过机器学习算法获得第一帧率阈值的方法可以是:电 子终端统计平均电子终端在进行命令模式切换为视频模式时的转换时帧率,根据表1计算获得的第一帧率阈值为40Hz。电子终端根据历史转换数据,通过机器学习算法获得第二帧率阈值的方法可以是:电子终端统计平均电子终端在进行视频模式切换为命令模式时的转换时帧率,根据表1计算获得的第一帧率阈值为25Hz。在第一帧率阈值等于第二帧率阈值的情况下,电子终端根据历史转换数据,通过机器学习算法获得第一帧率阈值的方法可以是,电子终端可以统计平均各个情况下的转换时帧率,将计算获得的平均值设定为第一帧率阈值,例如,根据表1计算获得的第一帧率阈值为31Hz。The electronic terminal obtains the first frame rate threshold by using a machine learning algorithm according to historical conversion data: The sub-terminal statistics the average frame rate of the electronic terminal when switching from the command mode to the video mode, and the first frame rate threshold calculated according to Table 1 is 40 Hz. The method for obtaining the second frame rate threshold by the electronic learning terminal according to the historical conversion data may be: the electronic terminal statistics the average frame rate of the electronic terminal when switching from the video mode to the command mode, and the calculated according to Table 1 A frame rate threshold is 25 Hz. In the case that the first frame rate threshold is equal to the second frame rate threshold, the electronic terminal may obtain the first frame rate threshold by using the machine learning algorithm according to the historical conversion data, and the electronic terminal may calculate the average conversion time frame in each case. Rate, the calculated average value is set as the first frame rate threshold, for example, the first frame rate threshold obtained according to the calculation of Table 1 is 31 Hz.
可选地,在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,或在当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,电子终端可以提示用户当前帧率。提示的方法包括但不限于语音提示、显示提示消息、开启指示灯等中的至少一种。请参阅图4,图4是本发明实施例提供的一种帧率提示界面的结构示意图,电子终端的当前显示界面弹出对话框310,显示提示消息比如“当前帧率为10Hz!当前显示模式为视频模式!是否切换为命令模式?”,当电子终端接收到针对“确定”按键的点击操作时,电子终端将当前显示模式切换至命令模式。Optionally, if the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, or when the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode In this case, the electronic terminal can prompt the user for the current frame rate. The method of prompting includes, but is not limited to, at least one of a voice prompt, a display prompt message, an opening indicator, and the like. Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a frame rate prompting interface according to an embodiment of the present invention. The current display interface pop-up dialog box 310 of the electronic terminal displays a prompt message such as “the current frame rate is 10 Hz! The current display mode is Video mode! Is it switched to command mode?", when the electronic terminal receives a click operation for the "OK" button, the electronic terminal switches the current display mode to the command mode.
本发明的另一个实施例中,在当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,电子终端在将当前显示模式切换为视频模式之前,电子终端可以通过定位系统获取当前位置;在当前位置不为可供电位置时,触发将当前显示模式切换至视频模式的操作。在当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,电子终端在将当前显示模式切换为命令模式之前,电子终端可以通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发将当前显示模式切换为命令模式的操作。其中,可供电位置可以是电子终端的用户设定的方便电子终端进行充电的位置比如,家庭地址、公司地址、私人汽车等,电子终端处于在可供电位置时,电子终端可以随时进行充电,电子终端可以不进行显示模式的切换;而在电子终端的当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下或在电子终端的当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,且电子终端不处于可供电位置时,电子终端可以进行显示模式的切换,使用最节约能耗的模式进行显示,以节约电子终端的能耗,延长电子终端的使用时间。In another embodiment of the present invention, when the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode, the electronic terminal may pass the electronic terminal before switching the current display mode to the video mode. The positioning system acquires the current position; when the current position is not the power supply position, triggering the operation of switching the current display mode to the video mode. After the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode, the electronic terminal may acquire the current location by using the positioning system before switching the current display mode to the command mode. When the current position is not the power supply position, the operation of switching the current display mode to the command mode is triggered. The power supply location may be a location set by the user of the electronic terminal to facilitate charging by the electronic terminal, such as a home address, a company address, a private car, etc., and when the electronic terminal is in a power supplyable position, the electronic terminal may be charged at any time, and the electronic terminal The terminal may not perform the switching of the display mode; and when the current frame rate of the electronic terminal is greater than the first frame rate threshold and the current display mode is not detected as the video mode or the current frame rate of the electronic terminal is less than the second frame rate threshold When it is detected that the current display mode is not in the command mode, and the electronic terminal is not in the power supplyable position, the electronic terminal can perform the display mode switching, and display in the most energy-saving mode to save the energy consumption of the electronic terminal. To extend the use time of the electronic terminal.
需要说明的是,历史转换数据还可以包括转换时间、转换地点、转化时剩余电量等中的至少一种,电子终端可以根据历史转换数据学习电子终端进行显示模式切换的习惯。对应地,电子终端可以在获取当前帧率的同时获取当前时间、当前地址、当前剩余电量等中的至少一种,进而,综合判断是否需要进行显示模式的切换。比如,历史转换数据包括转换时剩余电量,电子终端学习到,在当剩余电量小于电量阈值(比如,30%)且电子终端满足其他切换条件(比如,当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式),电子终端进行显示模式的切换,以通过当前帧率下功耗最低的显示模式进行显示。It should be noted that the history conversion data may further include at least one of a conversion time, a conversion location, and a remaining power amount during conversion, and the electronic terminal may learn the habit of the electronic terminal to perform display mode switching according to the historical conversion data. Correspondingly, the electronic terminal may acquire at least one of a current time, a current address, a current remaining power, and the like while acquiring the current frame rate, and further comprehensively determine whether the display mode needs to be switched. For example, the historical conversion data includes the remaining power during the conversion, and the electronic terminal learns that when the remaining power is less than the power threshold (for example, 30%) and the electronic terminal satisfies other switching conditions (for example, the current frame rate is greater than the first frame rate threshold and the detection Until the current display mode is not the video mode, the electronic terminal switches the display mode to display in the display mode with the lowest power consumption at the current frame rate.
本发明又一实施例中,步骤S110之前,该显示方法还可以包括:电子终端接收针对目标应用的打开指令,根据该打开指令触发执行步骤S110,以避免电子终端实时检测当前帧率,减少电子终端的能耗。其中,该目标应用可以是任一应用,也可以是设定的应用比如,视频应用(比如爱奇艺、YouTube等),购物应用(Amazon、eBay等),或电子书应用等中 的至少一个。In another embodiment of the present invention, before the step S110, the display method may further include: the electronic terminal receiving an open instruction for the target application, and triggering the step S110 according to the opening instruction to prevent the electronic terminal from detecting the current frame rate in real time, and reducing the electronic The energy consumption of the terminal. The target application may be any application, or may be a set application such as a video application (such as iQiyi, YouTube, etc.), a shopping application (Amazon, eBay, etc.), or an e-book application, etc. At least one of them.
可以理解,电子终端也可以定时触发该显示方法的流程,比如每10分钟、半小时或1小时触发一次该显示方法的流程。It can be understood that the electronic terminal can also periodically trigger the flow of the display method, such as triggering the flow of the display method every 10 minutes, half an hour or one hour.
可以理解,在本发明实施例中,电子终端在运行某一应用,比如视频程序的过程中,电子终端采集的帧率可能或高或低,当检测到的当前帧率大于第一帧率阈值时,电子终端可以通过视频模式进行显示;当检测到当前帧率小于第二帧率阈值时,电子终端可以通过命令模式进行显示,从而使得电子终端在同一应用中,对于不同的帧率,采用不同的显示模式进行显示,降低智能终端的功耗。It can be understood that, in the embodiment of the present invention, in the process of running an application, such as a video program, the frame rate collected by the electronic terminal may be higher or lower, when the detected current frame rate is greater than the first frame rate threshold. The electronic terminal can display through the video mode; when detecting that the current frame rate is less than the second frame rate threshold, the electronic terminal can display in the command mode, so that the electronic terminal is used in the same application for different frame rates. Different display modes are displayed to reduce the power consumption of the smart terminal.
图1所示的实施例,电子终端通过获取当前帧率,其中,当前帧率为当前时间下单位时间内像素数据变化的帧数,在当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示,在当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示,以使电子终端在较低的帧率下,通过命令模式进行显示,在较高的帧率下,通过视频模式进行显示,进而实现基于当前帧率的视频模式和命令模式的自动切换,降低电子终端的能耗。In the embodiment shown in FIG. 1 , the electronic terminal obtains the current frame rate, where the current frame rate is the number of frames in which the pixel data changes per unit time at the current time, and when the current frame rate is greater than the first frame rate threshold, The video mode is displayed, and when the current frame rate is less than the second frame rate threshold, the display is performed by the command mode, so that the electronic terminal displays in the command mode at a lower frame rate, at a higher frame rate. The video mode is displayed to realize automatic switching of the video mode and the command mode based on the current frame rate, thereby reducing the energy consumption of the electronic terminal.
请参阅图5,图5是本发明实施例提供的另一种显示方法的流程示意图,如图5所示,该显示方法包括下述步骤:Referring to FIG. 5, FIG. 5 is a schematic flowchart diagram of another display method according to an embodiment of the present invention. As shown in FIG. 5, the display method includes the following steps:
步骤S510:电子终端识别当前显示界面的界面类型。Step S510: The electronic terminal identifies the interface type of the current display interface.
具体地,显示界面的界面类型包括第一界面类型和第二界面类型,其中,第一界面类型与视频模式相对应,第二界面类型与命令模式相对应。可以包括视频播放界面,第二界面类型可以包括、视频暂停界面、游戏进行界面、游戏暂停界面、相机拍摄界面、桌面界面以及其他界面等。Specifically, the interface type of the display interface includes a first interface type and a second interface type, wherein the first interface type corresponds to the video mode, and the second interface type corresponds to the command mode. The video playback interface may be included, and the second interface type may include a video pause interface, a game play interface, a game pause interface, a camera capture interface, a desktop interface, and other interfaces.
可选地,第一界面类型可以包括视频播放界面,第二界面类型可以包括视频暂停界面。视频播放界面为视频内容正在播放时电子终端的界面;视频暂停界面为视频内容播放暂停时电子终端的界面。视频播放界面与视频模式相对应,视频暂停界面与命令模式的相对应。电子终端终端识别当前显示界面是否为视频播放界面或视频暂停界面的方法可以是:在当前显示的应用为视频应用且系统正在进行视频编解码时,则当前显示界面为所述视频播放界面;在当前显示的应用为视频应用且系统未进行视频编解码时,则当前显示界面为所述视频暂停界面。Optionally, the first interface type may include a video play interface, and the second interface type may include a video pause interface. The video playing interface is an interface of the electronic terminal when the video content is playing; the video pause interface is an interface of the electronic terminal when the video content is paused. The video playback interface corresponds to the video mode, and the video pause interface corresponds to the command mode. The method for the electronic terminal to identify whether the current display interface is a video play interface or a video pause interface may be: when the currently displayed application is a video application and the system is performing video codec, the current display interface is the video play interface; When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
进一步地,电子终端还可以通过判断是否包含声音流输出,进一步确定界面类型,比如若当前显示的应用为视频应用且系统正在进行视频编解码时,若电子终端包含声音流输出,则当前显示界面为所述视频播放界面;若电子终端不包含声音流输出,则当前显示界面为所述视频暂停界面。Further, the electronic terminal may further determine the interface type by determining whether the sound stream output is included. For example, if the currently displayed application is a video application and the system is performing video encoding and decoding, if the electronic terminal includes the sound stream output, the current display interface For the video playing interface; if the electronic terminal does not include the sound stream output, the current display interface is the video pause interface.
可选地,第一界面类型可以包括游戏进行界面,第二界面类型可以包括游戏暂停界面。游戏进行界面为游戏正在进行时电子终端的界面;游戏暂停界面为游戏暂停时电子终端的界面。游戏进行界面与视频模式相对应;游戏暂停界面与命令模式相对应。电子终端终端识别当前显示界面是否为游戏进行界面或游戏暂停界面的方法可以是:在当前显示的应用为游戏应用且检测到针对当前显示界面的点击频率不小于频率阈值时,则当前显示界面为游戏进行界面;在当前显示的应用为游戏应用且检测到针对当前显示界面的点击频率小于 频率阈值时,则当前显示界面为游戏暂停界面。Optionally, the first interface type may include a game play interface, and the second interface type may include a game pause interface. The game interface is the interface of the electronic terminal when the game is in progress; the game pause interface is the interface of the electronic terminal when the game is paused. The game interface corresponds to the video mode; the game pause interface corresponds to the command mode. The method for the electronic terminal terminal to recognize whether the current display interface is the game play interface or the game pause interface may be: when the currently displayed application is a game application and the click frequency for the current display interface is not less than the frequency threshold, the current display interface is The game performs an interface; the currently displayed application is a game application and detects that the click frequency for the current display interface is less than When the frequency threshold is used, the current display interface is the game pause interface.
可选地,第一界面类型可以包括相机拍摄界面,第二界面类型可以包括桌面界面。相机拍摄界面为电子终端开启相机后进入的预览界面或录像界面,此时相机不断地采集当前场景的图像信息并进行显示。相机拍摄界面可以与视频模式相对应。电子终端终端识别当前显示界面是否为相机拍摄界面的方法可以是:电子终端可以判断摄像头的工作状态,在摄像头处于工作状态时,即摄像头被开启时,则当前显示界面为相机拍摄界面。Optionally, the first interface type may include a camera shooting interface, and the second interface type may include a desktop interface. The camera shooting interface is a preview interface or a recording interface that is entered after the electronic terminal turns on the camera. At this time, the camera continuously collects image information of the current scene and displays it. The camera capture interface can correspond to the video mode. The method for the electronic terminal terminal to recognize whether the current display interface is the camera shooting interface may be: the electronic terminal can determine the working state of the camera, and when the camera is in the working state, that is, when the camera is turned on, the current display interface is the camera shooting interface.
桌面界面为电子终端进入桌面(也称主界面)时电子终端所处的界面,桌面界面与命令模式相对应;电子终端终端识别当前显示界面是否为桌面界面的方法可以是:电子终端可以识别当前显示界面是否为桌面,在当前显示界面为桌面时,则当前显示界面为桌面界面。The desktop interface is an interface where the electronic terminal enters when the electronic terminal enters the desktop (also referred to as the main interface), and the desktop interface corresponds to the command mode; the method for the electronic terminal terminal to recognize whether the current display interface is the desktop interface may be: the electronic terminal can recognize the current Whether the display interface is a desktop. When the current display interface is a desktop, the current display interface is a desktop interface.
步骤S520:在当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示。Step S520: In the case that the interface type of the current display interface is the first interface type, the display is performed by the video mode.
本发明一实施例中,步骤S520可以包括:在当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式。In an embodiment of the present invention, the step S520 may include: switching the current display mode to the video mode if the interface type of the current display interface is the first interface type and detecting that the current display mode is not the video mode.
步骤S530:在当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。Step S530: In the case that the interface type of the current display interface is the second interface type, the display is performed by the command mode.
本发明一实施例中,步骤S530可以包括:在当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。In an embodiment of the present invention, the step S530 may include: switching the current display mode to the command mode if the interface type of the current display interface is the second interface type and detecting that the current display mode is not the command mode.
可以理解,电子终端可以预先设置存储界面类型与显示模式的对应关系,例如,如表2所示:It can be understood that the electronic terminal can preset the correspondence between the storage interface type and the display mode, for example, as shown in Table 2:
界面类型Interface type 显示模式Display mode
视频播放界面Video playback interface 视频模式Video mode
视频暂停界面Video pause interface 命令模式Command mode
游戏进行界面Game interface 视频模式Video mode
游戏暂停界面Game pause interface 命令模式Command mode
相机拍摄界面Camera shooting interface 视频模式Video mode
桌面界面Desktop interface 命令模式Command mode
其他界面Other interface 命令模式Command mode
表2Table 2
电子终端在识别当前显示界面的界面类型后,根据界面类型与显示模式的对应关系,判断当前显示界面的界面类型对应的显示模式是否与当前显示模式相一致,如果是,则电子终端可以结束流程、不进行任何操作、或返回步骤S510重新识别当前显示界面的界面类型;否则,当前显示界面的界面类型对应的显示模式与当前显示模式不一致,电子终端可以将当前显示模式切换为当前显示界面的界面类型对应的显示模式。After identifying the interface type of the current display interface, the electronic terminal determines whether the display mode corresponding to the interface type of the current display interface is consistent with the current display mode according to the correspondence between the interface type and the display mode. If yes, the electronic terminal may end the process. No operation is performed, or return to step S510 to re-recognize the interface type of the current display interface; otherwise, the display mode corresponding to the interface type of the current display interface is inconsistent with the current display mode, and the electronic terminal can switch the current display mode to the current display interface. The display mode corresponding to the interface type.
可以理解,在本发明实施例中,电子终端,比如智能手机,在运行视频程序的过程中,若智能手机正在播放视频,则当前显示界面的界面类型为视频界面,此时,智能手机通过视频模式进行显示;当智能手机的用户需要离开,而暂停视频时,智能手机的当前显示界面的界面类型为视频暂停界面,智能手机通过命令模式进行显示,从而使得电子终端在同 一应用中,对于不同的界面类型,通过其对应的显示模式进行显示,降低智能终端的功耗。It can be understood that, in the embodiment of the present invention, an electronic terminal, such as a smart phone, in the process of running a video program, if the smart phone is playing a video, the interface type of the current display interface is a video interface, and at this time, the smart phone passes the video. The mode is displayed; when the user of the smartphone needs to leave and pauses the video, the interface type of the current display interface of the smart phone is the video pause interface, and the smart phone displays through the command mode, thereby making the electronic terminal in the same In an application, for different interface types, display by its corresponding display mode reduces the power consumption of the smart terminal.
本发明一实施例中,在当前显示界面的界面类型对应的显示模式与当前显示模式不一致时,电子终端可以提示用户。提示的方法包括但不限于语音提示、显示提示消息、开启指示灯等中的至少一种。In an embodiment of the invention, when the display mode corresponding to the interface type of the current display interface does not match the current display mode, the electronic terminal may prompt the user. The method of prompting includes, but is not limited to, at least one of a voice prompt, a display prompt message, an opening indicator, and the like.
图5所示的实施例中,电子终端通过识别当前显示界面的界面类型,在当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;在当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示,进而实现基于当前显示界面进行视频模式与命令模式的自动切换,对高能耗界面的第一界面类型,通过视频模式进行显示,对高能耗界面的第二界面类型,通过命令模式进行显示,以降低电子终端的能耗。In the embodiment shown in FIG. 5, the electronic terminal recognizes the interface type of the current display interface, and displays the video mode in the case where the interface type of the current display interface is the first interface type; the interface type of the current display interface is In the case of the second interface type, the display is performed by the command mode, thereby automatically switching between the video mode and the command mode based on the current display interface, and the first interface type of the high energy consumption interface is displayed through the video mode, and the high energy consumption interface is The second interface type is displayed by the command mode to reduce the power consumption of the electronic terminal.
请参阅图6,图6为本发明实施例提供的一种电子终端的结构框架图。如图6所示,该电子终端包括:Please refer to FIG. 6. FIG. 6 is a structural diagram of an electronic terminal according to an embodiment of the present invention. As shown in FIG. 6, the electronic terminal includes:
获取单元610,用于获取当前帧率;所述当前帧率为当前时间下单位时间内像素数据变化的帧数;The obtaining unit 610 is configured to obtain a current frame rate, where the current frame rate is a frame number of pixel data changes per unit time in the current time;
处理单元620,用于在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示,以及在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示;The processing unit 620 is configured to perform display by using a video mode if the current frame rate is greater than a first frame rate threshold, and display by using a command mode if the current frame rate is less than a second frame rate threshold ;
其中,所述第一帧率阈值不小于所述第二帧率阈值。The first frame rate threshold is not less than the second frame rate threshold.
可选地,所述处理单元620具体用于:在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。Optionally, the processing unit 620 is specifically configured to: when the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, switch the current display mode to the video mode; When the current frame rate is less than the second frame rate threshold and it is detected that the current display mode is not the command mode, the current display mode is switched to the command mode.
可选地,所述处理单元620还用于:Optionally, the processing unit 620 is further configured to:
在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,判断在时间T0到时间T1内获取的帧率是否都大于所述第一帧率阈值,在所述判断单元的判断结果为是时,触发所述当前显示模式切换为视频模式的操作;或If the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, determining whether the frame rate acquired in the time T 0 to the time T 1 is greater than the first frame rate threshold And triggering, when the determination result of the determining unit is YES, an operation of switching the current display mode to a video mode; or
在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,判断在时间T0到时间T1内获取的帧率是否都小于所述第二帧率阈值,在所述判断单元的判断结果为是时,触发所述当前显示模式切换为命令模式的操作。If the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, determining whether the frame rate acquired in the time T 0 to the time T 1 is less than the second frame rate threshold And when the determination result of the determining unit is YES, triggering an operation of switching the current display mode to the command mode.
其中,所述T0为当前时间,所述时间T1为所述时间T0之后距离所述时间T0第一时长的时间。Wherein the current time T 0, T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
可选地,所述处理单元620还用于:Optionally, the processing unit 620 is further configured to:
在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述将当前显示模式切换为视频模式的操作;或,When the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, the current location is acquired by the positioning system, and when the current location is not the powerable location, the current Display mode switches to video mode operation; or,
在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述将当前显示模式切换为命令模式的操作。When the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, the current location is obtained by the positioning system, and when the current location is not the power supplyable location, the current The display mode switches to the command mode operation.
可选地,所述第一帧率阈值等于所述第二帧率阈值,所述第一帧率阈值为电子终端在 视频模式下的功耗等于在所述指令模式下的功耗时的帧率。Optionally, the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is an electronic terminal The power consumption in the video mode is equal to the frame rate at the power consumption in the command mode.
可选地,所述处理单元还用于根据历史转换数据,通过机器学习算法获得所述第一帧率阈值以及所述第二帧率阈值;Optionally, the processing unit is further configured to obtain, by using a machine learning algorithm, the first frame rate threshold and the second frame rate threshold according to historical conversion data;
其中,所述历史转换数据包括转换前显示模式、转换后显示模式以及转换时帧率。The historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
可选地,所述处理单元620用于:Optionally, the processing unit 620 is configured to:
接收针对目标应用的打开指令,并根据所述打开指令触发执行所述获取当前帧率的操作。Receiving an open instruction for the target application, and triggering the performing the operation of acquiring the current frame rate according to the open instruction.
本发明实施例,电子终端通过获取当前帧率,其中,当前帧率为当前时间下单位时间内像素数据变化的帧数,在当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示,在当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示,以使电子终端在较低的帧率下,通过命令模式进行显示,在较高的帧率下,通过视频模式进行显示,进而实现基于当前帧率的视频模式和命令模式的自动切换,降低电子终端的能耗。In the embodiment of the present invention, the electronic terminal obtains the current frame rate, where the current frame rate is the number of frames of the pixel data changed per unit time at the current time, and in the case that the current frame rate is greater than the first frame rate threshold, the video mode is performed. Displaying, in the case that the current frame rate is less than the second frame rate threshold, displaying by the command mode, so that the electronic terminal displays in the command mode at a lower frame rate, and passes the video at a higher frame rate. The mode is displayed to realize automatic switching of the video mode and the command mode based on the current frame rate, thereby reducing the energy consumption of the electronic terminal.
请参阅图7,图7为本发明实施例提供的另一种电子终端的结构框架图。如图7所示,该电子终端包括:Please refer to FIG. 7. FIG. 7 is a structural structural diagram of another electronic terminal according to an embodiment of the present invention. As shown in FIG. 7, the electronic terminal includes:
识别单元710,用于识别当前显示界面的界面类型;The identifying unit 710 is configured to identify an interface type of the current display interface.
处理单元720,用于在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;以及在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。The processing unit 720 is configured to: display, by using a video mode, when the interface type of the current display interface is the first interface type; and, if the interface type of the current display interface is the second interface type, The command mode is displayed.
可选地,所述处理单元720具体用于:Optionally, the processing unit 720 is specifically configured to:
在所述当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;When the interface type of the current display interface is the first interface type and detecting that the current display mode is not the video mode, switching the current display mode to the video mode;
在所述当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。When the interface type of the current display interface is the second interface type and it is detected that the current display mode is not the command mode, the current display mode is switched to the command mode.
可选地,所述第一界面类型包括视频播放界面;所述第二界面类型包括视频暂停界面;所述识别单元710具体用于:Optionally, the first interface type includes a video play interface; the second interface type includes a video pause interface; the identification unit 710 is specifically configured to:
在当前显示的应用为视频应用且系统正在进行视频编解码时,则所述当前显示界面为所述视频播放界面;When the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is the video playing interface;
在当前显示的应用为视频应用且系统未进行视频编解码时,则所述当前显示界面为所述视频暂停界面。When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
可选地,所述第一界面类型包括游戏进行界面;所述第二界面类型包括游戏暂停界面;所述识别单元710具体用于:Optionally, the first interface type includes a game play interface; the second interface type includes a game pause interface; the identification unit 710 is specifically configured to:
在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率不小于频率阈值时,则当前显示界面为所述游戏进行界面;When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率小于频率阈值时,则当前显示界面为所述游戏暂停界面。When the currently displayed application is a game application and it is detected that the click frequency for the current display interface is less than the frequency threshold, then the current display interface is the game pause interface.
可选地,述第一界面类型包括相机拍摄界面;所述第二界面类型包括桌面界面;所述识别单元710具体用于: Optionally, the first interface type includes a camera shooting interface; the second interface type includes a desktop interface; and the identifying unit 710 is specifically configured to:
在摄像头处于工作状态时,则所述当前显示界面为所述相机拍摄界面;When the camera is in an active state, the current display interface is the camera shooting interface;
在当前显示界面为桌面时,则当前显示界面为桌面界面。When the current display interface is a desktop, the current display interface is a desktop interface.
本发明实施例中,电子终端通过识别当前显示界面的界面类型,在当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;在当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示,进而实现基于当前显示界面进行视频模式与命令模式的自动切换,对高能耗界面的第一界面类型,通过视频模式进行显示,对高能耗界面的第二界面类型,通过命令模式进行显示,以降低电子终端的能耗。In the embodiment of the present invention, the electronic terminal identifies the interface type of the current display interface, and displays the video mode in the case that the interface type of the current display interface is the first interface type; the interface type of the current display interface is the second interface. In the case of the type, the command mode is used to display, thereby automatically switching between the video mode and the command mode based on the current display interface, and the first interface type of the high energy consumption interface is displayed through the video mode, and the second is the high energy consumption interface. The type of interface is displayed in command mode to reduce the energy consumption of the electronic terminal.
请参阅图8,图8为本发明实施例提供的又一种电子终端的结构框架图。如图8所示,该电子终端用于实现图1所示的显示方法,该电子终端包括:处理器810、存储器820、输入装置830以及输出装置840,其中输出装置840包括显示器841,所述处理器810通过总线850连接到存储器820、输入装置830以及输出装置840。电子终端可实现两种显示模式(即视频模式与命令模式)的切换。Please refer to FIG. 8. FIG. 8 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention. As shown in FIG. 8, the electronic terminal is used to implement the display method shown in FIG. 1. The electronic terminal includes: a processor 810, a memory 820, an input device 830, and an output device 840, wherein the output device 840 includes a display 841, Processor 810 is coupled to memory 820, input device 830, and output device 840 via bus 850. The electronic terminal can switch between two display modes (ie, video mode and command mode).
需要说明的是,处理器810是电子终端的控制中心,利用各种接口和线路连接整个电子终端的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行电子终端的各种功能和处理数据,从而对电子终端进行整体监控。可选的,处理器810可包括一个或多个处理器或处理模块;优选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。在本发明实施例中,上述处理器810还可包括图像处理器GPU。GPU可单独与专用电路板以及附属组件组成显卡,或单独一片芯片直接内嵌入到主板上,或者内置于主板的芯片中,也可内置于CPU上组成系统芯片(System on Chip,SoC),对此本发明不作具体限定。It should be noted that the processor 810 is a control center of the electronic terminal, and connects various parts of the entire electronic terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 820, and calling the storage in the The data in the memory 820 performs various functions and processing data of the electronic terminal, thereby performing overall monitoring of the electronic terminal. Optionally, the processor 810 may include one or more processors or processing modules; preferably, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. In the embodiment of the present invention, the processor 810 may further include an image processor GPU. The GPU can be combined with a dedicated circuit board and accessory components to form a graphics card, or a single chip can be directly embedded in the motherboard, or built into the chip of the motherboard, or can be built into the CPU to form a system on chip (SoC), The invention is not specifically limited.
存储器820可用于存储软件程序以及模块,存储器820包括显示数据缓存区,该显示数据缓存区用于缓存用于显示的像素数据。处理器810通过运行存储在存储器820的软件程序以及模块,从而执行移动终端的各种功能应用以及实现数据处理。存储器820主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器820可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile RandomAccess Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可抹除可规划只读存储器(Electrically Erasable ProgrammableRead-OnlyMemory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。The memory 820 can be used to store software programs and modules, and the memory 820 includes a display data buffer for buffering pixel data for display. The processor 810 executes various functional applications of the mobile terminal and implements data processing by running software programs and modules stored in the memory 820. The memory 820 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the mobile terminal. Use the created data (such as audio data, phone book, etc.). In a specific embodiment of the present invention, the memory 820 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM), a phase change random access memory (PRAM), or a phase change random access memory (PRAM). A magnetoresistive random access memory (MRAM) may also include a non-volatile memory, such as at least one disk storage device, and an electrically erasable programmable read-only memory (EEPROM). ), flash memory devices, such as NOR flash memory or NAND flash memory.
输入装置830用于实现用户与电子终端的交互和/或信息输入到电子终端中。例如,输入装置830可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入装置830可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。触 控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可以理解,输入装置830不是电子终端必须的装置。The input device 830 is used to implement user interaction with the electronic terminal and/or information input into the electronic terminal. For example, input device 830 can receive numeric or character information input by a user to generate a signal input related to user settings or function controls. In the specific embodiment of the present invention, the input device 830 may be a touch panel, or may be other human-computer interaction interfaces, such as physical input keys, microphones, etc., and may also be other external information capture devices, such as a camera. Touch A control panel, also known as a touch screen or touch screen, collects the actions that the user touches or approaches on. For example, the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program. It will be appreciated that the input device 830 is not a device that is necessary for the electronic terminal.
输出装置840可以包括但不限于影像输出单元、声音输出和触感输出单元。影像输出单元用于输出文字、图片和/或视频。所述影像输出单元可包括显示器841,例如采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、场发射显示器(field emission display,简称FED)等形式来配置的显示器。虽然在图8中,输入装置830与输出装置840是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板与显示器841集成一体而实现移动终端的输入和输出功能。 Output device 840 can include, but is not limited to, an image output unit, a sound output, and a tactile output unit. The image output unit is used to output text, pictures, and/or video. The image output unit may include a display 841, for example, configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a field emission display (FED), or the like. Display. Although the input device 830 and the output device 840 are used as two independent components to implement the input and output functions of the mobile terminal in FIG. 8, in some embodiments, the touch panel and the display 841 can be integrated into one. Input and output functions of the mobile terminal.
还要说明的是,显示器841包括帧缓存区以及显示控制器,以实现电子终端通过命令模式进行显示。可以理解,帧缓存区可以是全帧长的数据缓存区,也可以是非全帧长的数据缓存区,当帧缓存区为非全帧长的数据缓存区时,存储在帧缓存区的像素数据需要进行压缩处理。在显示控制器将帧缓存区中像素数据刷新至显示器的屏幕之前,还可能对像素数据进行解压缩的操作或其他操作,本发明不作限制。It should be noted that the display 841 includes a frame buffer area and a display controller to enable the electronic terminal to display through the command mode. It can be understood that the frame buffer area may be a full-frame-length data buffer area or a non-full-frame length data buffer area. When the frame buffer area is a non-full-frame length data buffer area, the pixel data stored in the frame buffer area is stored. Need to be compressed. Before the display controller refreshes the pixel data in the frame buffer area to the screen of the display, the pixel data may be decompressed or other operations, which are not limited in the present invention.
可以理解,处理器810可以向显示器841发送控制信号与像素数据,以实现数据的显示以及显示模式的切换。It can be understood that the processor 810 can send control signals and pixel data to the display 841 to implement display of data and switching of display modes.
处理器810用于调用存储器820中存储的指令代码执行:The processor 810 is configured to invoke the instruction code stored in the memory 820 to execute:
获取当前帧率;所述当前帧率为当前时间下单位时间内像素数据变化的帧数;Obtaining a current frame rate; the current frame rate is a frame number of pixel data changes per unit time at a current time;
在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示;Displaying in a video mode if the current frame rate is greater than a first frame rate threshold;
在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示;When the current frame rate is less than the second frame rate threshold, displaying by using the command mode;
其中,所述第一帧率阈值不小于所述第二帧率阈值。The first frame rate threshold is not less than the second frame rate threshold.
可选地,Optionally,
所述处理器810执行所述在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示包括:在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;The processor 810 performs, when the current frame rate is greater than the first frame rate threshold, performing the display by using the video mode, including: when the current frame rate is greater than the first frame rate threshold, and detecting that the current display mode is not In the case of video mode, the current display mode is switched to the video mode;
所述处理器810执行所述在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示包括:在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。The processor 810 performs the displaying by using the command mode if the current frame rate is less than the second frame rate threshold, including: when the current frame rate is less than the second frame rate threshold, and detecting that the current display mode is not In the case of the command mode, the current display mode is switched to the command mode.
可选地,Optionally,
在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,所述处理器810执行所述将当前显示模式切换为视频模式之前,所述处理器810还用于执行:判断在时间T0到时间T1内获取的帧率是否都大于所述第一帧率阈值,如果是,则触发所述处理器810执行所述将当前显示模式切换为视频模式的操作;或,The processor 810 further before the processor 810 performs the switching of the current display mode to the video mode, where the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode. For performing: determining whether a frame rate acquired in time T 0 to time T 1 is greater than the first frame rate threshold, and if yes, triggering the processor 810 to perform the switching of the current display mode to a video mode. Operation; or,
在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,所述处理器810执行所述将当前显示模式切换为命令模式之前,所述处理器810还用于执行:判断在时间T0到时间T1内获取的帧率是否都小于所述第二帧率阈值,如果是,则触发所 述处理器810执行所述将当前显示模式切换为视频模式的操作;The processor 810 further before the processor 810 performs the switching of the current display mode to the command mode, where the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode. For performing: determining whether a frame rate acquired in time T 0 to time T 1 is less than the second frame rate threshold, and if yes, triggering the processor 810 to perform the switching of the current display mode to a video mode. Operation
其中,所述T0为当前时间,所述时间T1为所述时间T0之后距离所述时间T0第一时长的时间。Wherein the current time T 0, T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
可选地,所述处理器810执行所述在所述当前帧率对应的显示模式与当前显示模式不一致的情况下,将当前显示模式切换至所述当前帧率对应的显示模式包括:Optionally, the processor 810, when the display mode corresponding to the current frame rate is inconsistent with the current display mode, switching the current display mode to the display mode corresponding to the current frame rate includes:
在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,所述处理器810执行所述将当前显示模式切换为视频模式之前,所述处理器810还用于执行:通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述处理器810执行所述将当前显示模式切换为视频模式的操作;或,The processor 810 further before the processor 810 performs the switching of the current display mode to the video mode, where the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode. For performing: acquiring a current location by using a positioning system, and triggering, by the processor 810, the operation of switching the current display mode to a video mode when the current location is not a power supplyable location; or
在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,所述处理器810执行所述将当前显示模式切换为命令模式之前,所述处理器810还用于执行:通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述处理器810执行所述将当前显示模式切换为命令模式的操作。The processor 810 further before the processor 810 performs the switching of the current display mode to the command mode, where the current frame rate is less than the second frame rate threshold and the current display mode is not detected as the command mode. For performing: acquiring a current location by the positioning system, and when the current location is not a powerable location, triggering the processor 810 to perform the operation of switching the current display mode to the command mode.
可选地,所述第一帧率阈值等于所述第二帧率阈值,所述第一帧率阈值为电子终端在视频模式下的功耗等于在所述指令模式下的功耗时的帧率。Optionally, the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is a frame when the power consumption of the electronic terminal in the video mode is equal to the power consumption in the instruction mode. rate.
可选地,所述处理器810还用于执行:Optionally, the processor 810 is further configured to:
根据历史转换数据,通过机器学习算法获得所述第一帧率阈值以及所述第二帧率阈值;Obtaining the first frame rate threshold and the second frame rate threshold by a machine learning algorithm according to historical conversion data;
其中,所述历史转换数据包括转换前显示模式、转换后显示模式以及转换时帧率。The historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
可选地,所述电子终端还包括输入装置830,所述输入装置830连接到所述处理器810;所述处理器810执行所述获取当前帧率之前,所述处理器810还用于执行:Optionally, the electronic terminal further includes an input device 830, the input device 830 is connected to the processor 810; the processor 810 is further configured to perform before the processor 810 performs the acquiring a current frame rate :
通过所述输入装置830接收针对目标应用的打开指令,以及根据所述打开指令触发执行所述获取当前帧率的操作。An open command for the target application is received by the input device 830, and an operation of acquiring the current frame rate is triggered according to the open command.
请参阅图9,图9为本发明实施例提供的又一种电子终端的结构框架图。如图9所示,该电子终端用于实现图5所示的显示方法,该电子终端包括:处理器910、存储器920、输入装置930以及输出装置940,其中输出装置940包括显示器941,所述处理器910通过总线950连接到存储器920、输入装置930以及输出装置940。电子终端可实现两种显示模式(即视频模式与命令模式)的切换。Please refer to FIG. 9. FIG. 9 is a structural structural diagram of still another electronic terminal according to an embodiment of the present invention. As shown in FIG. 9, the electronic terminal is used to implement the display method shown in FIG. 5. The electronic terminal includes: a processor 910, a memory 920, an input device 930, and an output device 940, wherein the output device 940 includes a display 941, The processor 910 is coupled to the memory 920, the input device 930, and the output device 940 via a bus 950. The electronic terminal can switch between two display modes (ie, video mode and command mode).
需要说明的是,处理器810是电子终端的控制中心,利用各种接口和线路连接整个电子终端的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行电子终端的各种功能和处理数据,从而对电子终端进行整体监控。可选的,处理器810可包括一个或多个处理器或处理模块;优选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。在本发明实施例中,上述处理器810还可包括图像处理器GPU。GPU可单独与专用电路板以及附属组件组成显卡,或单独一片芯片直接内嵌入到主板上,或者内置于主板的芯片中,也可内置于CPU上组成系统芯片(System on Chip,SoC),对此本发明不作具体限定。It should be noted that the processor 810 is a control center of the electronic terminal, and connects various parts of the entire electronic terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 820, and calling the storage in the The data in the memory 820 performs various functions and processing data of the electronic terminal, thereby performing overall monitoring of the electronic terminal. Optionally, the processor 810 may include one or more processors or processing modules; preferably, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. In the embodiment of the present invention, the processor 810 may further include an image processor GPU. The GPU can be combined with a dedicated circuit board and accessory components to form a graphics card, or a single chip can be directly embedded in the motherboard, or built into the chip of the motherboard, or can be built into the CPU to form a system on chip (SoC), The invention is not specifically limited.
需要说明的是,存储器820可用于存储软件程序以及模块,存储器820包括显示数据 缓存区,该显示数据缓存区用于缓存用于显示的像素数据。It should be noted that the memory 820 can be used to store software programs and modules, and the memory 820 includes display data. A buffer area for buffering pixel data for display.
存储器920可用于存储软件程序以及模块,处理器910通过运行存储在存储器920的软件程序以及模块,从而执行移动终端的各种功能应用以及实现数据处理。存储器920主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器920可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile RandomAccess Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可抹除可规划只读存储器(Electrically Erasable ProgrammableRead-OnlyMemory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。The memory 920 can be used to store software programs and modules, and the processor 910 executes various functional applications of the mobile terminal and implements data processing by running software programs and modules stored in the memory 920. The memory 920 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the mobile terminal. Use the created data (such as audio data, phone book, etc.). In a specific embodiment of the present invention, the memory 920 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM), a phase change random access memory (PRAM), or a phase change random access memory (PRAM). A magnetoresistive random access memory (MRAM) may also include a non-volatile memory, such as at least one disk storage device, and an electrically erasable programmable read-only memory (EEPROM). ), flash memory devices, such as NOR flash memory or NAND flash memory.
输入装置930用于实现用户与电子终端的交互和/或信息输入到电子终端中。例如,输入装置930可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入装置930可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。触控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可以理解,输入装置930不是电子终端必需的装置。The input device 930 is configured to implement user interaction with the electronic terminal and/or information input into the electronic terminal. For example, input device 930 can receive numeric or character information input by a user to generate a signal input related to user settings or function controls. In the specific embodiment of the present invention, the input device 930 may be a touch panel, or may be other human-computer interaction interfaces, such as physical input keys, microphones, etc., and other external information extraction devices, such as cameras. A touch panel, also known as a touch screen or touch screen, collects operational actions that the user touches or approaches on. For example, the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program. It will be appreciated that the input device 930 is not a device that is necessary for the electronic terminal.
输出装置940可以包括但不限于影像输出单元、声音输出和触感输出单元。影像输出单元用于输出文字、图片和/或视频。所述影像输出单元可包括显示器941,例如采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、场发射显示器(field emission display,简称FED)等形式来配置的显示器。虽然在图9中,输入装置930与输出装置940是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板与显示器941集成一体而实现移动终端的输入和输出功能。 Output device 940 can include, but is not limited to, an image output unit, a sound output, and a tactile output unit. The image output unit is used to output text, pictures, and/or video. The image output unit may include a display 941, for example, configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a field emission display (FED), or the like. Display. Although in FIG. 9, the input device 930 and the output device 940 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel can be integrated with the display 941 to achieve Input and output functions of the mobile terminal.
还要说明的是,显示器941包括帧缓存区以及显示控制器,以实现电子终端通过命令模式进行显示。可以理解,帧缓存区可以是全帧长的数据缓存区,也可以是非全帧长的数据缓存区,当帧缓存区为非全帧长的数据缓存区时,在显示控制器将帧缓存区中像素数据刷新至显示器的屏幕之前,还可对像素数据进行压缩和解压缩的操作或其他操作,本发明不作限制。It should be noted that the display 941 includes a frame buffer area and a display controller to enable the electronic terminal to display through the command mode. It can be understood that the frame buffer area may be a full frame length data buffer area or a non-full frame length data buffer area. When the frame buffer area is a non-full frame length data buffer area, the display controller will use the frame buffer area. The operation of the pixel data may be compressed and decompressed or other operations before the pixel data is refreshed to the screen of the display, which is not limited in the present invention.
可以理解,处理器910可以向显示器941发送控制信号与像素数据,以实现数据的显示以及显示模式的切换。It can be understood that the processor 910 can send control signals and pixel data to the display 941 to implement display of data and switching of display modes.
所述处理器910用于调用存储器920中存储的指令代码执行:The processor 910 is configured to invoke the instruction code stored in the memory 920 to execute:
识别当前显示界面的界面类型;Identify the interface type of the current display interface;
在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;When the interface type of the current display interface is the first interface type, displaying by using a video mode;
在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。 In the case that the interface type of the current display interface is the second interface type, the display is performed by the command mode.
可选地,所述处理器910执行所述在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示包括:在所述当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;Optionally, the processor 910 performs the displaying, by the video mode, that the interface type of the current display interface is the first interface type, and the interface type of the current display interface is the first interface. When the type is detected and the current display mode is not in the video mode, the current display mode is switched to the video mode;
所述处理器910执行所述在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示包括:在所述当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。In the case that the processor 910 performs the interface type of the current display interface as the second interface type, displaying by using the command mode includes: the interface type of the current display interface is the second interface type, and detecting When the current display mode is not the command mode, the current display mode is switched to the command mode.
可选地,所述第一界面类型包括视频播放界面;所述第二界面类型包括视频暂停界面;Optionally, the first interface type includes a video play interface; and the second interface type includes a video pause interface;
所述处理器910执行所述识别当前显示界面的界面类型包括:The performing, by the processor 910, the interface type for identifying the current display interface includes:
在当前显示的应用为视频应用且系统正在进行视频编解码时,则所述当前显示界面为所述视频播放界面;When the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is the video playing interface;
在当前显示的应用为视频应用且系统未进行视频编解码时,则所述当前显示界面为所述视频暂停界面。When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
可选地,所述第一界面类型包括游戏进行界面;所述第二界面类型包括游戏暂停界面;Optionally, the first interface type includes a game play interface; and the second interface type includes a game pause interface;
所述处理器910执行所述识别当前显示界面的界面类型包括:The performing, by the processor 910, the interface type for identifying the current display interface includes:
在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率不小于频率阈值时,则当前显示界面为所述游戏进行界面;When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率小于频率阈值时,则当前显示界面为所述游戏暂停界面。When the currently displayed application is a game application and it is detected that the click frequency for the current display interface is less than the frequency threshold, then the current display interface is the game pause interface.
可选地,所述第一界面类型包括相机拍摄界面;所述第二界面类型包括桌面界面;Optionally, the first interface type includes a camera shooting interface; the second interface type includes a desktop interface;
所述处理器910执行所述识别当前显示界面的界面类型包括:The performing, by the processor 910, the interface type for identifying the current display interface includes:
在摄像头处于工作状态时,则所述当前显示界面为所述相机拍摄界面;When the camera is in an active state, the current display interface is the camera shooting interface;
在当前显示界面为桌面时,则当前显示界面为桌面界面。When the current display interface is a desktop, the current display interface is a desktop interface.
本发明实施例中所使用的技术术语仅用于说明特定实施例而并不旨在限定本发明。在本文中,单数形式“一”、“该”及“所述”用于同时包括复数形式,除非上下文中明确另行说明。进一步地,在说明书中所使用的用于“包括”和/或“包含”是指存在所述特征、整体、步骤、操作、元件和/或构件,但是并不排除存在或增加一个或多个其它特征、整体、步骤、操作、元件和/或构件。The technical terms used in the embodiments of the present invention are only intended to illustrate specific embodiments and are not intended to limit the invention. In the present disclosure, the singular forms "a", "the" Further, the use of "including" and / or "comprising", in the specification, is used to mean the presence of the features, the whole, the steps, the operation, the elements and/or the components, but does not exclude the presence or addition of one or more Other features, integers, steps, operations, components and/or components.
在所附权利要求中对应结构、材料、动作以及所有装置或者步骤以及功能元件的等同形式(如果存在的话)旨在包括结合其他明确要求的元件用于执行该功能的任何结构、材料或动作。本发明的描述出于实施例和描述的目的被给出,但并不旨在是穷举的或者将被发明限制在所公开的形式。 The corresponding structures, materials, acts, and equivalents of the elements, and the equivalents of the functional elements, if any, are intended to include any structure, material, or action that is used to perform the function. The description of the present invention has been presented for purposes of illustration and description.

Claims (36)

  1. 一种显示方法,其特征在于,包括:A display method, comprising:
    获取当前帧率;所述当前帧率为当前时间下单位时间内像素数据变化的帧数;Obtaining a current frame rate; the current frame rate is a frame number of pixel data changes per unit time at a current time;
    在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示数据;Displaying data in a video mode if the current frame rate is greater than a first frame rate threshold;
    在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示数据;When the current frame rate is less than the second frame rate threshold, displaying data by using a command mode;
    其中,所述第一帧率阈值不小于所述第二帧率阈值。The first frame rate threshold is not less than the second frame rate threshold.
  2. 如权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示数据包括:在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;In the case that the current frame rate is greater than the first frame rate threshold, displaying data by using the video mode includes: when the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode Next, switch the current display mode to video mode;
    所述在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示数据包括:在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。In the case that the current frame rate is smaller than the second frame rate threshold, displaying data by using the command mode includes: when the current frame rate is smaller than the second frame rate threshold and detecting that the current display mode is not the command mode Next, switch the current display mode to command mode.
  3. 如权利要求2所述的方法,其特征在于,The method of claim 2 wherein
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,所述将当前显示模式切换为视频模式之前,所述方法还包括:判断在时间T0到时间T1内获取的帧率是否都大于所述第一帧率阈值,如果是,则触发所述将当前显示模式切换为视频模式的操作;或,After the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode, before the switching the current display mode to the video mode, the method further includes: determining at time T 0 Whether the frame rate acquired in time T 1 is greater than the first frame rate threshold, and if so, triggering the operation of switching the current display mode to the video mode; or
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,所述将当前显示模式切换为命令模式之前,所述方法还包括:判断在时间T0到时间T1内获取的帧率是否都小于所述第二帧率阈值,如果是,则触发所述将当前显示模式切换为视频模式的操作;After the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, before the switching the current display mode to the command mode, the method further includes: determining at time T 0 Whether the frame rate acquired in time T 1 is less than the second frame rate threshold, and if so, triggering the operation of switching the current display mode to the video mode;
    其中,所述T0为当前时间,所述时间T1为所述时间T0之后距离所述时间T0第一时长的时间。Wherein the current time T 0, T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
  4. 如权利要求2所述的方法,其特征在于,The method of claim 2 wherein
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,所述将当前显示模式切换为视频模式之前,所述方法还包括:通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述将当前显示模式切换为视频模式的操作;或,After the current frame rate is greater than the first frame rate threshold and the current display mode is not detected as the video mode, before the switching the current display mode to the video mode, the method further includes: acquiring the current location by using the positioning system And triggering, when the current location is not a power supplyable location, the operation of switching the current display mode to the video mode; or
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,所述将当前显示模式切换为命令模式之前,所述方法还包括:通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述将当前显示模式切换为命令模式的操作。After the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, before the switching the current display mode to the command mode, the method further includes: acquiring the current location by using the positioning system And when the current location is not a power supplyable location, triggering the operation of switching the current display mode to the command mode.
  5. 如权利要求1-4任一权利要求所述的方法,其特征在于,所述第一帧率阈值等于所述第二帧率阈值,所述第一帧率阈值为电子终端在视频模式下的功耗等于在所述指令模式下的功耗时的帧率。The method according to any one of claims 1 to 4, wherein the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is an electronic terminal in a video mode. The power consumption is equal to the frame rate at the power consumption in the instruction mode.
  6. 如权利要求1-4任一权利要求所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    根据历史转换数据,通过机器学习算法获得所述第一帧率阈值以及所述第二帧率阈值;Obtaining the first frame rate threshold and the second frame rate threshold by a machine learning algorithm according to historical conversion data;
    其中,所述历史转换数据包括转换前显示模式、转换后显示模式以及转换时帧率。The historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  7. 如权利要求1-6任一权利要求所述的方法,其特征在于,所述获取当前帧率之前还 包括:A method according to any of claims 1-6, wherein said obtaining a current frame rate before include:
    接收针对目标应用的打开指令;Receiving an open instruction for the target application;
    根据所述打开指令触发执行所述获取当前帧率的操作。The operation of acquiring the current frame rate is triggered according to the opening instruction.
  8. 一种显示方法,其特征在于,包括:A display method, comprising:
    识别当前显示界面的界面类型;Identify the interface type of the current display interface;
    在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;When the interface type of the current display interface is the first interface type, displaying by using a video mode;
    在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。In the case that the interface type of the current display interface is the second interface type, the display is performed by the command mode.
  9. 如权利要求8所述的方法,其特征在于,The method of claim 8 wherein:
    所述在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示包括:在所述当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;In the case that the interface type of the current display interface is the first interface type, displaying by using the video mode includes: the interface type of the current display interface is the first interface type, and detecting that the current display mode is not a video In the case of mode, the current display mode is switched to the video mode;
    所述在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示包括:在所述当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。In the case that the interface type of the current display interface is the second interface type, displaying by using the command mode includes: the interface type of the current display interface is the second interface type, and detecting that the current display mode is not a command In the case of the mode, the current display mode is switched to the command mode.
  10. 如权利要求8或9所述的方法,其特征在于,所述第一界面类型包括视频播放界面;所述第二界面类型包括视频暂停界面;The method of claim 8 or 9, wherein the first interface type comprises a video play interface; and the second interface type comprises a video pause interface;
    所述识别当前显示界面的界面类型包括:The interface type for identifying the current display interface includes:
    在当前显示的应用为视频应用且系统正在进行视频编解码时,则所述当前显示界面为所述视频播放界面;When the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is the video playing interface;
    在当前显示的应用为视频应用且系统未进行视频编解码时,则所述当前显示界面为所述视频暂停界面。When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
  11. 如权利要求8或9所述的方法,其特征在于,所述第一界面类型包括游戏进行界面;所述第二界面类型包括游戏暂停界面;The method of claim 8 or 9, wherein the first interface type comprises a game play interface; the second interface type comprises a game pause interface;
    所述识别当前显示界面的界面类型包括:The interface type for identifying the current display interface includes:
    在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率不小于频率阈值时,则当前显示界面为所述游戏进行界面;When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
    在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率小于频率阈值时,则当前显示界面为所述游戏暂停界面。When the currently displayed application is a game application and it is detected that the click frequency for the current display interface is less than the frequency threshold, then the current display interface is the game pause interface.
  12. 如权利要求8或9所述的方法,其特征在于,所述第一界面类型包括相机拍摄界面;所述第二界面类型包括桌面界面;The method according to claim 8 or 9, wherein the first interface type comprises a camera shooting interface; the second interface type comprises a desktop interface;
    所述识别当前显示界面的界面类型包括:The interface type for identifying the current display interface includes:
    在摄像头处于工作状态时,则所述当前显示界面为所述相机拍摄界面;When the camera is in an active state, the current display interface is the camera shooting interface;
    在当前显示界面为桌面时,则当前显示界面为桌面界面。When the current display interface is a desktop, the current display interface is a desktop interface.
  13. 一种电子终端,其特征在于,包括:An electronic terminal, comprising:
    获取单元,用于获取当前帧率;所述当前帧率为当前时间下单位时间内像素数据变化的帧数;An acquiring unit, configured to acquire a current frame rate; the current frame rate is a frame number of a pixel data change per unit time at a current time;
    处理单元,用于在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示,以及在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示; a processing unit, configured to display by using a video mode if the current frame rate is greater than a first frame rate threshold, and display by using a command mode if the current frame rate is less than a second frame rate threshold;
    其中,所述第一帧率阈值不小于所述第二帧率阈值。The first frame rate threshold is not less than the second frame rate threshold.
  14. 如权利要求13所述的电子终端,其特征在于,所述处理单元具体用于:The electronic terminal according to claim 13, wherein the processing unit is specifically configured to:
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;When the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, switching the current display mode to the video mode;
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。In a case where the current frame rate is less than the second frame rate threshold and it is detected that the current display mode is not the command mode, the current display mode is switched to the command mode.
  15. 如权利要求14所述的电子终端,其特征在于,所述处理单元还用于:The electronic terminal according to claim 14, wherein the processing unit is further configured to:
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,判断在时间T0到时间T1内获取的帧率是否都大于所述第一帧率阈值,在所述判断单元的判断结果为是时,触发所述当前显示模式切换为视频模式的操作;或If the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, determining whether the frame rate acquired in the time T 0 to the time T 1 is greater than the first frame rate threshold And triggering, when the determination result of the determining unit is YES, an operation of switching the current display mode to a video mode; or
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,判断在时间T0到时间T1内获取的帧率是否都小于所述第二帧率阈值,在所述判断单元的判断结果为是时,触发所述当前显示模式切换为命令模式的操作;If the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, determining whether the frame rate acquired in the time T 0 to the time T 1 is less than the second frame rate threshold When the determination result of the determining unit is YES, triggering an operation of switching the current display mode to the command mode;
    其中,所述T0为当前时间,所述时间T1为所述时间T0之后距离所述时间T0第一时长的时间。Wherein the current time T 0, T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
  16. 如权利要求14所述的电子终端,其特征在于,所述处理单元还用于:The electronic terminal according to claim 14, wherein the processing unit is further configured to:
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述将当前显示模式切换为视频模式的操作;或,When the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, the current location is acquired by the positioning system, and when the current location is not the powerable location, the current Display mode switches to video mode operation; or,
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述将当前显示模式切换为命令模式的操作。When the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode, the current location is obtained by the positioning system, and when the current location is not the power supplyable location, the current The display mode switches to the command mode operation.
  17. 如权利要求13-16任一权利要求所述的电子终端,其特征在于,所述第一帧率阈值等于所述第二帧率阈值,所述第一帧率阈值为电子终端在视频模式下的功耗等于在所述指令模式下的功耗时的帧率。The electronic terminal according to any one of claims 13-16, wherein the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is an electronic terminal in a video mode. The power consumption is equal to the frame rate at the power consumption in the command mode.
  18. 如权利要求13-16任一权利要求所述的电子终端,其特征在于,所述处理单元还用于根据历史转换数据,通过机器学习算法获得所述第一帧率阈值以及所述第二帧率阈值;The electronic terminal according to any one of claims 13-16, wherein the processing unit is further configured to obtain the first frame rate threshold and the second frame by a machine learning algorithm according to historical conversion data. Rate threshold
    其中,所述历史转换数据包括转换前显示模式、转换后显示模式以及转换时帧率。The historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  19. 如权利要求13-18任一权利要求所述的电子终端,其特征在于,所述处理单元用于:The electronic terminal according to any one of claims 13 to 18, wherein the processing unit is configured to:
    接收针对目标应用的打开指令,并根据所述打开指令触发执行所述获取当前帧率的操作。Receiving an open instruction for the target application, and triggering the performing the operation of acquiring the current frame rate according to the open instruction.
  20. 一种电子终端,其特征在于,包括:An electronic terminal, comprising:
    识别单元,用于识别当前显示界面的界面类型;An identification unit, configured to identify an interface type of the current display interface;
    处理单元,用于在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示;以及在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。a processing unit, configured to display by using a video mode when the interface type of the current display interface is a first interface type; and, when the interface type of the current display interface is a second interface type, by using a command The mode is displayed.
  21. 如权利要求20所述的电子终端,其特征在于,所述处理单元具体用于: The electronic terminal according to claim 20, wherein the processing unit is specifically configured to:
    在所述当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;When the interface type of the current display interface is the first interface type and detecting that the current display mode is not the video mode, switching the current display mode to the video mode;
    在所述当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。When the interface type of the current display interface is the second interface type and it is detected that the current display mode is not the command mode, the current display mode is switched to the command mode.
  22. 如权利要求20或21所述的电子终端,其特征在于,所述第一界面类型包括视频播放界面;所述第二界面类型包括视频暂停界面;The electronic terminal according to claim 20 or 21, wherein the first interface type comprises a video play interface; and the second interface type comprises a video pause interface;
    所述识别单元具体用于:The identification unit is specifically configured to:
    在当前显示的应用为视频应用且系统正在进行视频编解码时,则所述当前显示界面为所述视频播放界面;When the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is the video playing interface;
    在当前显示的应用为视频应用且系统未进行视频编解码时,则所述当前显示界面为所述视频暂停界面。When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
  23. 如权利要求20所述的电子终端,其特征在于,所述第一界面类型包括游戏进行界面;所述第二界面类型包括游戏暂停界面;The electronic terminal according to claim 20, wherein the first interface type comprises a game play interface; and the second interface type comprises a game pause interface;
    所述识别单元具体用于:The identification unit is specifically configured to:
    在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率不小于频率阈值时,则当前显示界面为所述游戏进行界面;When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
    在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率小于频率阈值时,则当前显示界面为所述游戏暂停界面。When the currently displayed application is a game application and it is detected that the click frequency for the current display interface is less than the frequency threshold, then the current display interface is the game pause interface.
  24. 如权利要求20所述的电子终端,其特征在于,所述第一界面类型包括相机拍摄界面;所述第二界面类型包括桌面界面;The electronic terminal according to claim 20, wherein the first interface type comprises a camera shooting interface; the second interface type comprises a desktop interface;
    所述识别单元具体用于:在摄像头处于工作状态时,则所述当前显示界面为所述相机拍摄界面;The identification unit is specifically configured to: when the camera is in an active state, the current display interface is the camera shooting interface;
    在当前显示界面为桌面时,则当前显示界面为桌面界面。When the current display interface is a desktop, the current display interface is a desktop interface.
  25. 一种电子终端,其特征在于,包括:处理器、存储器以及显示器,所述处理器连接到所述存储器以及所述显示器,所述电子终端可实现视频模式和命令模式的切换,所述处理器用于调用存储器中存储的指令代码执行:An electronic terminal, comprising: a processor, a memory, and a display, the processor being connected to the memory and the display, wherein the electronic terminal can implement switching between a video mode and a command mode, wherein the processor uses Execution of the instruction code stored in the calling memory:
    获取当前帧率;所述当前帧率为当前时间下单位时间内像素数据变化的帧数;Obtaining a current frame rate; the current frame rate is a frame number of pixel data changes per unit time at a current time;
    在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示;Displaying in a video mode if the current frame rate is greater than a first frame rate threshold;
    在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示;When the current frame rate is less than the second frame rate threshold, displaying by using the command mode;
    其中,所述第一帧率阈值不小于所述第二帧率阈值。The first frame rate threshold is not less than the second frame rate threshold.
  26. 如权利要求25所述的电子终端,其特征在于,The electronic terminal according to claim 25, wherein
    所述处理器执行所述在所述当前帧率大于第一帧率阈值的情况下,通过视频模式进行显示包括:在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;The performing, by the processor, when the current frame rate is greater than the first frame rate threshold, performing the display by using the video mode includes: when the current frame rate is greater than the first frame rate threshold, and detecting that the current display mode is not In the case of the video mode, the current display mode is switched to the video mode;
    所述处理器执行所述在所述当前帧率小于第二帧率阈值的情况下,通过命令模式进行显示包括:在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。When the processor performs the displaying that the current frame rate is less than the second frame rate threshold, displaying by using the command mode includes: when the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not In the case of the command mode, the current display mode is switched to the command mode.
  27. 如权利要求26所述的电子终端,其特征在于, The electronic terminal of claim 26, wherein
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,所述处理器执行所述将当前显示模式切换为视频模式之前,所述处理器还用于执行:判断在时间T0到时间T1内获取的帧率是否都大于所述第一帧率阈值,如果是,则触发所述处理器执行所述将当前显示模式切换为视频模式的操作;或,And in a case that the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, before the processor performs the switching of the current display mode to the video mode, the processor is further configured to: Execution: determining whether a frame rate acquired in time T 0 to time T 1 is greater than the first frame rate threshold, and if yes, triggering the processor to perform the operation of switching the current display mode to a video mode; or,
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,所述处理器执行所述将当前显示模式切换为命令模式之前,所述处理器还用于执行:判断在时间T0到时间T1内获取的帧率是否都小于所述第二帧率阈值,如果是,则触发所述处理器执行所述将当前显示模式切换为视频模式的操作;The processor is further configured to: before the processor performs the switching of the current display mode to the command mode, where the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode Execution: determining whether the frame rate acquired in time T 0 to time T 1 is less than the second frame rate threshold, and if yes, triggering the processor to perform the operation of switching the current display mode to the video mode;
    其中,所述T0为当前时间,所述时间T1为所述时间T0之后距离所述时间T0第一时长的时间。Wherein the current time T 0, T 1 is the time after the time period T 0 time period T 0 from the first duration of time.
  28. 如权利要求26所述的电子终端,其特征在于,所述处理器执行所述在所述当前帧率对应的显示模式与当前显示模式不一致的情况下,将当前显示模式切换至所述当前帧率对应的显示模式包括:The electronic terminal according to claim 26, wherein the processor performs the switching of the current display mode to the current frame if the display mode corresponding to the current frame rate does not coincide with the current display mode. The display mode corresponding to the rate includes:
    在所述当前帧率大于第一帧率阈值且检测到当前显示模式不为视频模式的情况下,所述处理器执行所述将当前显示模式切换为视频模式之前,所述处理器还用于执行:通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述处理器执行所述将当前显示模式切换为视频模式的操作;或,And in a case that the current frame rate is greater than the first frame rate threshold and detecting that the current display mode is not the video mode, before the processor performs the switching of the current display mode to the video mode, the processor is further configured to: Executing: acquiring a current location by using a positioning system, and triggering, by the processor, the operation of switching the current display mode to a video mode when the current location is not a power supplyable location; or
    在所述当前帧率小于第二帧率阈值且检测到当前显示模式不为命令模式的情况下,所述处理器执行所述将当前显示模式切换为命令模式之前,所述处理器还用于执行:通过定位系统获取当前位置,在所述当前位置不为可供电位置时,触发所述处理器执行所述将当前显示模式切换为命令模式的操作。The processor is further configured to: before the processor performs the switching of the current display mode to the command mode, where the current frame rate is less than the second frame rate threshold and detecting that the current display mode is not the command mode Execution: obtaining a current location by the positioning system, and when the current location is not a power supplyable location, triggering the processor to perform the operation of switching the current display mode to the command mode.
  29. 如权利要求25-28任一权利要求所述的电子终端,其特征在于,所述第一帧率阈值等于所述第二帧率阈值,所述第一帧率阈值为电子终端在视频模式下的功耗等于在所述指令模式下的功耗时的帧率。The electronic terminal according to any one of claims 25-28, wherein the first frame rate threshold is equal to the second frame rate threshold, and the first frame rate threshold is an electronic terminal in a video mode. The power consumption is equal to the frame rate at the power consumption in the command mode.
  30. 如权利要求25-28任一权利要求所述的电子终端,其特征在于,所述处理器还用于执行:The electronic terminal according to any one of claims 25-28, wherein the processor is further configured to:
    根据历史转换数据,通过机器学习算法获得所述第一帧率阈值以及所述第二帧率阈值;Obtaining the first frame rate threshold and the second frame rate threshold by a machine learning algorithm according to historical conversion data;
    其中,所述历史转换数据包括转换前显示模式、转换后显示模式以及转换时帧率。The historical conversion data includes a pre-conversion display mode, a converted display mode, and a conversion-time frame rate.
  31. 如权利要求25-30任一权利要求所述的电子终端,其特征在于,所述电子终端还包括输入装置,所述输入装置连接到所述处理器;所述处理器执行所述获取当前帧率之前,所述处理器还用于执行:An electronic terminal according to any one of claims 25 to 30, wherein said electronic terminal further comprises an input device, said input device being connected to said processor; said processor executing said acquiring a current frame Before the rate, the processor is also used to execute:
    通过所述输入装置接收针对目标应用的打开指令,以及根据所述打开指令触发执行所述获取当前帧率的操作。An open instruction for the target application is received by the input device, and an operation of acquiring the current frame rate is triggered according to the open instruction.
  32. 一种电子终端,其特征在于,包括:处理器、存储器以及显示器,所述处理器连接到所述存储器以及所述显示器,所述电子终端可实现视频模式和命令模式的切换,所述处理器用于调用存储器中存储的指令代码执行:An electronic terminal, comprising: a processor, a memory, and a display, the processor being connected to the memory and the display, wherein the electronic terminal can implement switching between a video mode and a command mode, wherein the processor uses Execution of the instruction code stored in the calling memory:
    识别当前显示界面的界面类型;Identify the interface type of the current display interface;
    在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示; When the interface type of the current display interface is the first interface type, displaying by using a video mode;
    在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示。In the case that the interface type of the current display interface is the second interface type, the display is performed by the command mode.
  33. 如权利要求32所述的电子终端,其特征在于,The electronic terminal of claim 32, wherein
    所述处理器执行所述在所述当前显示界面的界面类型为第一界面类型的情况下,通过视频模式进行显示包括:在所述当前显示界面的界面类型为第一界面类型且检测到当前显示模式不为视频模式的情况下,将当前显示模式切换为视频模式;When the processor performs the display of the current display interface as the first interface type, displaying by using the video mode includes: the interface type of the current display interface is the first interface type, and the current detection is detected. When the display mode is not the video mode, the current display mode is switched to the video mode;
    所述处理器执行所述在所述当前显示界面的界面类型为第二界面类型的情况下,通过命令模式进行显示包括:在所述当前显示界面的界面类型为第二界面类型且检测到当前显示模式不为命令模式的情况下,将当前显示模式切换为命令模式。When the processor performs the display of the current display interface as the second interface type, displaying by using the command mode includes: the interface type of the current display interface is the second interface type, and the current detection is detected. When the display mode is not the command mode, the current display mode is switched to the command mode.
  34. 如权利要求32或33所述的电子终端,其特征在于,所述第一界面类型包括视频播放界面;所述第二界面类型包括视频暂停界面;The electronic terminal according to claim 32 or 33, wherein the first interface type comprises a video playing interface; and the second interface type comprises a video pause interface;
    所述处理器执行所述识别当前显示界面的界面类型包括:The performing, by the processor, the interface type for identifying the current display interface includes:
    在当前显示的应用为视频应用且系统正在进行视频编解码时,则所述当前显示界面为所述视频播放界面;When the currently displayed application is a video application and the system is performing video encoding and decoding, the current display interface is the video playing interface;
    在当前显示的应用为视频应用且系统未进行视频编解码时,则所述当前显示界面为所述视频暂停界面。When the currently displayed application is a video application and the system does not perform video encoding and decoding, the current display interface is the video pause interface.
  35. 如权利要求32或33所述的电子终端,其特征在于,所述第一界面类型包括游戏进行界面;所述第二界面类型包括游戏暂停界面;The electronic terminal according to claim 32 or 33, wherein the first interface type comprises a game progress interface; and the second interface type comprises a game pause interface;
    所述处理器执行所述识别当前显示界面的界面类型包括:The performing, by the processor, the interface type for identifying the current display interface includes:
    在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率不小于频率阈值时,则当前显示界面为所述游戏进行界面;When the currently displayed application is a game application and detects that the click frequency for the current display interface is not less than a frequency threshold, the current display interface performs an interface for the game;
    在当前显示的应用为游戏应用且检测到针对所述当前显示界面的点击频率小于频率阈值时,则当前显示界面为所述游戏暂停界面。When the currently displayed application is a game application and it is detected that the click frequency for the current display interface is less than the frequency threshold, then the current display interface is the game pause interface.
  36. 如权利要求32或33所述的电子终端,其特征在于,所述第一界面类型包括相机拍摄界面;所述第二界面类型包括桌面界面;The electronic terminal according to claim 32 or 33, wherein the first interface type comprises a camera shooting interface; the second interface type comprises a desktop interface;
    所述处理器执行所述识别当前显示界面的界面类型包括:The performing, by the processor, the interface type for identifying the current display interface includes:
    在摄像头处于工作状态时,则所述当前显示界面为所述相机拍摄界面;When the camera is in an active state, the current display interface is the camera shooting interface;
    在当前显示界面为桌面时,则当前显示界面为桌面界面。 When the current display interface is a desktop, the current display interface is a desktop interface.
PCT/CN2017/071936 2016-11-07 2017-01-20 Display method and electronic terminal WO2018082213A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780005641.8A CN108431724A (en) 2016-11-07 2017-01-20 A kind of display methods and electric terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610976100.7 2016-11-07
CN201610976100 2016-11-07

Publications (1)

Publication Number Publication Date
WO2018082213A1 true WO2018082213A1 (en) 2018-05-11

Family

ID=62075586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071936 WO2018082213A1 (en) 2016-11-07 2017-01-20 Display method and electronic terminal

Country Status (2)

Country Link
CN (1) CN108431724A (en)
WO (1) WO2018082213A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471517A (en) * 2018-11-22 2019-03-15 努比亚技术有限公司 A kind of display processing method, equipment and computer readable storage medium
CN111813490A (en) * 2020-08-14 2020-10-23 Oppo广东移动通信有限公司 Method and device for processing interpolation frame
CN112835501A (en) * 2019-11-25 2021-05-25 华为技术有限公司 Display method and electronic equipment
CN113299251A (en) * 2020-02-21 2021-08-24 联发科技股份有限公司 Control method of processor and processor
CN113411532A (en) * 2021-06-24 2021-09-17 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for recording content
WO2022206269A1 (en) * 2021-04-01 2022-10-06 Oppo广东移动通信有限公司 Image processing method and apparatus, and storage medium and electronic device
CN116723350A (en) * 2023-05-11 2023-09-08 广州道然信息科技有限公司 Method for automatically capturing picture to prevent interference

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436005B (en) * 2019-01-15 2022-03-08 北京字节跳动网络技术有限公司 Method and apparatus for displaying image
CN110572608B (en) * 2019-07-29 2022-02-08 视联动力信息技术股份有限公司 Frame rate setting method and device, electronic equipment and storage medium
CN111754384A (en) * 2020-05-28 2020-10-09 维沃移动通信有限公司 Display method and device and electronic equipment
CN112135081B (en) * 2020-09-11 2022-10-28 Oppo广东移动通信有限公司 Mode control method and device, frame insertion chip and electronic equipment
CN116820293B (en) * 2023-06-30 2024-07-12 荣耀终端有限公司 Display control method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309810A (en) * 2013-06-21 2013-09-18 百度在线网络技术(北京)有限公司 Frame rate detection method and device of application
CN103823546A (en) * 2014-03-10 2014-05-28 联想(北京)有限公司 Information control method and electronic equipment
CN104123111A (en) * 2014-06-06 2014-10-29 三星半导体(中国)研究开发有限公司 Display mode switching method and device of MIPI DSI
CN104615399A (en) * 2015-02-09 2015-05-13 上海与德通讯技术有限公司 Display data transmission method and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9060336B2 (en) * 2009-06-19 2015-06-16 Qualcomm Incorporated Apparatus and methods for low power sensing of communication access technologies
JP6090775B2 (en) * 2012-12-17 2017-03-08 アルパイン株式会社 Communication device
US9934317B2 (en) * 2013-03-04 2018-04-03 Yimwai Yau Electronic audio product supporting interactive interconnected system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309810A (en) * 2013-06-21 2013-09-18 百度在线网络技术(北京)有限公司 Frame rate detection method and device of application
CN103823546A (en) * 2014-03-10 2014-05-28 联想(北京)有限公司 Information control method and electronic equipment
CN104123111A (en) * 2014-06-06 2014-10-29 三星半导体(中国)研究开发有限公司 Display mode switching method and device of MIPI DSI
CN104615399A (en) * 2015-02-09 2015-05-13 上海与德通讯技术有限公司 Display data transmission method and electronic device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471517B (en) * 2018-11-22 2021-06-15 努比亚技术有限公司 Display processing method and device and computer readable storage medium
CN109471517A (en) * 2018-11-22 2019-03-15 努比亚技术有限公司 A kind of display processing method, equipment and computer readable storage medium
CN112835501A (en) * 2019-11-25 2021-05-25 华为技术有限公司 Display method and electronic equipment
US11457173B2 (en) 2020-02-21 2022-09-27 Mediatek Inc. Dynamic frame rate adjustment mechanism
CN113299251A (en) * 2020-02-21 2021-08-24 联发科技股份有限公司 Control method of processor and processor
CN113299251B (en) * 2020-02-21 2023-03-03 联发科技股份有限公司 Control method of processor and processor
US11974071B2 (en) 2020-02-21 2024-04-30 Mediatek Inc. Dynamic frame rate adjustment mechanism
CN111813490A (en) * 2020-08-14 2020-10-23 Oppo广东移动通信有限公司 Method and device for processing interpolation frame
WO2022206269A1 (en) * 2021-04-01 2022-10-06 Oppo广东移动通信有限公司 Image processing method and apparatus, and storage medium and electronic device
CN113411532A (en) * 2021-06-24 2021-09-17 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for recording content
CN113411532B (en) * 2021-06-24 2023-08-08 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for recording content
CN116723350A (en) * 2023-05-11 2023-09-08 广州道然信息科技有限公司 Method for automatically capturing picture to prevent interference
CN116723350B (en) * 2023-05-11 2024-05-31 广州道然信息科技有限公司 Method for automatically capturing picture to prevent interference

Also Published As

Publication number Publication date
CN108431724A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
WO2018082213A1 (en) Display method and electronic terminal
US12047706B2 (en) Display apparatus and control methods thereof
CN213545872U (en) Apparatus for driving display
CN111405299B (en) Live broadcast interaction method based on video stream and corresponding device thereof
US11086635B2 (en) Electronic device, method for controlling electronic device, and program
CN106990888B (en) Application display control method and device
EP2728894A1 (en) Electronic device and control method thereof
JP2020523710A (en) Display method and device
KR20160046620A (en) Display driver circuit and display system
WO2015161578A1 (en) Window management method and device
WO2019179493A1 (en) Application processor and mobile terminal
WO2015143966A1 (en) Terminal display mode determining method and apparatus
WO2021136158A1 (en) Video window picture displaying method and apparatus
CN104142779A (en) UI (user interface) control method and device as well as terminal
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
JP2015179330A (en) Electrical apparatus and display method
CN109583935A (en) Advertisement demonstration method, device, storage medium and mobile terminal
CN104407924A (en) Method and device for optimizing internal memory
JP2015095219A (en) Information processor, information processing method and storage medium
WO2020024640A1 (en) Application display method and apparatus, and storage medium and electronic device
WO2021239017A1 (en) Power amount display method and apparatus, and electronic device
KR20210067785A (en) User terminal and control method thereof
WO2017124677A1 (en) Method for displaying notification message in status bar, and mobile terminal
US10825419B2 (en) Collision avoidance schemes for displays
CN105468347A (en) System and method for pausing video play

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17866966

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17866966

Country of ref document: EP

Kind code of ref document: A1