CN108431724A - A kind of display methods and electric terminal - Google Patents

A kind of display methods and electric terminal Download PDF

Info

Publication number
CN108431724A
CN108431724A CN201780005641.8A CN201780005641A CN108431724A CN 108431724 A CN108431724 A CN 108431724A CN 201780005641 A CN201780005641 A CN 201780005641A CN 108431724 A CN108431724 A CN 108431724A
Authority
CN
China
Prior art keywords
interface
mode
current
current display
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201780005641.8A
Other languages
Chinese (zh)
Inventor
孙文涌
胡军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108431724A publication Critical patent/CN108431724A/en
Pending legal-status Critical Current

Links

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

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 kind of display methods and electric terminal, this method includes:Electric terminal obtains current frame rate, which is the frame number of pixel data change in the current time lower unit interval, in the case where current frame rate is more than the first frame per second threshold value, is shown by video mode;In the case where current frame rate is less than the second frame per second threshold value, it is shown by command mode, so that electric terminal is under lower frame per second, it is shown by command mode, under higher frame per second, it is shown by video mode, and then realizes the automatic switchover of video mode and command mode based on current frame rate, reduce the energy consumption of electric terminal.The present invention provides a kind of display methods and electric terminal, it can be achieved that the automatic switchover of video mode and command mode is carried out based on current display interface, to reduce the energy consumption of electric terminal.

Description

A kind of display methods and electric terminal Technical field
The present invention relates to field of computer technology more particularly to a kind of display methods and electric terminals.
Background technique
Mobile industry processor interface (Mobile Industry Processor Interface, MIPI) is that the initiation of MIPI alliance is the open standard that mobile application processor is formulated.There are two types of the display patterns that MIPI includes, the command mode (Display Serial Interface Command Mode) and video mode (Display Serial Interface Video Mode) for being respectively.
Under command mode, when the pixel data update for display, updated pixel data is sent to display by the processor of electric terminal, and the frame buffer of display caches the pixel data, and with the fixed refresh cycle by the screen of the Refresh Data in frame buffer to display.In the video mode, pixel data is continuously flushed to the screen of display according to the fixed refresh cycle by the processor of electric terminal.
When the frame per second that pixel data updates is lower, relative to video mode, electric terminal is shown that power consumption is lower using command mode;And when the frame per second that pixel data updates is higher, relative to command mode, electric terminal is shown that power consumption is lower using video mode.However, the frame per second that pixel data updates in electric terminal is high or low, a kind of display pattern is employed alone, increases the energy consumption of electric terminal.
Summary of the invention
The embodiment of the invention provides a kind of display methods and electric terminals, can be realized the automatic switchover of video mode and command mode, reduce the energy consumption of electric terminal.
First aspect, the embodiment of the invention provides a kind of display methods, this method comprises: electric terminal obtains current frame rate, wherein, current frame rate is the frame number of pixel data change in the current time lower unit time, in the case where current frame rate is greater than the first frame per second threshold value, shown by video mode;In the case where current frame rate is less than the second frame per second threshold value, shown by command mode;Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.
In the technical program, electric terminal obtains current frame rate, wherein, current frame rate is the frame number of pixel data change in the current time lower unit time, in the case where current frame rate is greater than the first frame per second threshold value, it is shown by video mode, in the case where current frame rate is less than the second frame per second threshold value, it is shown by command mode, and first frame per second threshold value be not less than the second frame per second threshold value, so that electric terminal is under lower frame per second, it is shown by command mode, under higher frame per second, it is shown by video mode, and then realize the automatic switchover of the video mode based on current frame rate and command mode, reduce the energy consumption of electric terminal.
With reference to first aspect, in the first implementation of first aspect, in the case where current frame rate is greater than the first frame per second threshold value, electric terminal may is that by a kind of embodiment that video mode is shown in the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, and current display mode is switched to video mode.In the case where current frame rate is less than the second frame per second threshold value, electric terminal may is that by a kind of embodiment that command mode is shown in the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, and current display mode is switched to command mode.
The first implementation with reference to first aspect, in second of implementation of first aspect,
In the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, before current display mode is switched to video mode, electric terminal can also judge in time T electric terminal0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, if it is, current display mode is switched to the operation of video mode by triggering.Alternatively,
In the case where current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, before current display mode is switched to command mode, electric terminal can also judge in time T electric terminal0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, if it is, current display mode is switched to the operation of video mode by triggering.
Wherein, T0For current time, time T1For time T0Distance Time T later0The time of first duration.
In the technical program, when the corresponding display pattern of current frame rate and current display mode are inconsistent, and the corresponding display pattern of frame per second that is obtained in the first duration after current time it is all inconsistent with current display mode when, just carry out the switching of display pattern, electric terminal frequent switching is avoided, the stability of electric terminal display pattern is improved.
The first implementation with reference to first aspect, in the third implementation of first aspect,
In the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, electric terminal is before being switched to video mode for current display mode, electric terminal can be with: obtaining current location by positioning system, when current location is not for electric position, current display mode is switched to the operation of video mode by triggering.Or,
In the case where current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, electric terminal is before being switched to command mode for current display mode, electric terminal can be with: obtaining current location by positioning system, when current location is not for electric position, current display mode is switched to the operation of command mode by triggering.
In the technical program, only in the corresponding display pattern of current frame rate and current display mode is inconsistent and current location be not for electric position, such as when home address, CompanyAddress, the just switching of progress display pattern, to save electric terminal energy consumption.
With reference to first aspect and the first to three kind of implementation of first aspect, in the 4th kind of implementation of first aspect, first frame per second threshold value can be equal to the second frame per second threshold value, and the first frame per second threshold value is the frame per second when power consumption of electric terminal in the video mode is equal to the power consumption under instruction mode.
With reference to first aspect and the first to three kind of implementation of first aspect, in the 5th kind of implementation of first aspect, this method further include: electric terminal passes through machine learning algorithm and obtain the first frame per second threshold value and the second frame per second threshold value according to history change data.Wherein, frame per second when history change data includes display pattern before converting, converted display mode and conversion.
In the technical program, electric terminal passes through the habit of machine learning user, and the first frame per second threshold value and the second frame per second threshold value is arranged, more fitting user habit, improves user experience.
Any implementation with reference to first aspect and in the first to five kind of implementation of first aspect, in the 6th kind of implementation of first aspect, electric terminal is before obtaining current frame rate, this method further include: electric terminal receives the open instructions for being directed to target application, is triggered according to open instructions and executes the operation for obtaining current frame rate.
In the technical program, the open instructions for target application, such as the open instructions of Video Applications are being received, electric terminal is just being triggered and acquires current frame rate, avoid electric terminal from acquiring current frame rate incessantly, improve the working efficiency of electric terminal.
Second aspect, the embodiment of the invention also provides a kind of display methods, this method comprises:
Electric terminal identifies the interface type of current display interface, is the first interface type in the interface type of current display interface In the case where, it is shown by video mode;In the case where the interface type of current display interface is second contact surface type, shown by command mode.
In the technical program, electric terminal identifies the interface type of current display interface, in the case where the interface type of current display interface is the first interface type, is shown by video mode;In the case where the interface type of current display interface is second contact surface type, it is shown by command mode, and then realize the automatic switchover that video mode and command mode are carried out based on current display interface, to first interface type at high energy consumption interface, it is shown by video mode, it to the second contact surface type at high energy consumption interface, is shown by command mode, to reduce the energy consumption of electric terminal.
In conjunction with second aspect, in the first implementation of second aspect, in the case where the interface type of current display interface is the first interface type, electric terminal may is that current display mode is switched to video mode by electric terminal in the case where the interface type of current display interface is the first interface type and to detect current display mode not be video mode by a kind of embodiment that video mode is shown;
In the case where the interface type of current display interface is second contact surface type, electric terminal may is that current display mode is switched to command mode by electric terminal in the case where the interface type of current display interface is second contact surface type and to detect current display mode not be command mode by a kind of embodiment that command mode is shown.
In conjunction with second aspect or second aspect the first implementation, in second of implementation of second aspect, the first interface type includes video playing interface;Second contact surface type includes video pause interface, a kind of embodiment of the interface type of electric terminal identification current display interface may include: when the application currently shown is Video Applications and system is carrying out coding and decoding video, then current display interface is video playing interface;When the application currently shown is Video Applications and system does not carry out coding and decoding video, then current display interface is video pause interface,
In the technical program, for electric terminal at video playing interface, display pattern is video mode, and at video pause interface, display pattern is instruction mode, reduces the energy consumption of electric terminal, and the conversion of different display modes also may be implemented in same application.
In conjunction with second aspect or second aspect the first implementation, in the third implementation of second aspect, the first interface type includes that game carries out interface;Second contact surface type includes suspension of game play interface;A kind of embodiment of the interface type of electric terminal identification current display interface may include: when the application currently shown is game application and detects the click frequency for current display interface not less than frequency threshold, then current display interface is that game carries out interface;When the application currently shown is game application and detects that the click frequency for current display interface is less than frequency threshold, then current display interface is suspension of game play interface.
In the technical program, for electric terminal when game carries out interface, display pattern is video mode, and at suspension of game play interface, display pattern is instruction mode, reduces the energy consumption of electric terminal, and the conversion of different display modes also may be implemented in same application.
In conjunction with second aspect or second aspect the first implementation, in the 4th kind of implementation of second aspect, the first interface type includes camera shooting interface;The second contact surface type includes desk interface;A kind of embodiment of the interface type of electric terminal identification current display interface may include: when camera is in running order, then current display interface is that camera shoots interface.A kind of embodiment of the interface type of electric terminal identification current display interface may include: when current display interface is desktop, then current display interface is desk interface.
The third aspect, the embodiment of the invention also provides a kind of electric terminal, which includes the functional unit for executing the display methods of first aspect description.
Fourth aspect, the embodiment of the invention also provides a kind of electric terminal, which includes the functional unit for executing the display methods of second aspect description.
5th aspect, the embodiment of the invention also provides a kind of electric terminals, the electric terminal includes: processor, memory and display, the processor is connected to the memory and the display, the electric terminal can realize the switching of video mode and command mode, the memory is for storing program code, the data etc. that display methods described in first aspect is related to, and the processor is for calling the instruction code stored in memory to execute some or all of first aspect process.
6th aspect, the embodiment of the invention also provides a kind of electric terminals, the electric terminal includes: processor, memory and display, the processor is connected to the memory and the display, the electric terminal can realize the switching of video mode and command mode, the memory is for storing program code, the data etc. that display methods described in second aspect is related to, and the processor is for calling the instruction code stored in memory to execute some or all of second aspect process.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below.
Fig. 1 is a kind of flow diagram of display methods provided in an embodiment of the present invention;
Fig. 2 is a kind of displaying principle schematic diagram of video mode provided in an embodiment of the present invention;
Fig. 3 is a kind of displaying principle schematic diagram of command mode provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of frame per second prompting interface provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another display methods provided in an embodiment of the present invention;
Fig. 6 is a kind of structural framing figure of electric terminal provided in an embodiment of the present invention;
Fig. 7 is the structural framing figure of another electric terminal provided in an embodiment of the present invention;
Fig. 8 is the structural framing figure of another electric terminal provided in an embodiment of the present invention;
Fig. 9 is the structural framing figure of another electric terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described.
It can be implemented based on electric terminal in each embodiment of the present invention, electric terminal can include but is not limited to smart phone, tablet computer, desktop computer, removable computer, smart television, Intelligent bracelet, personal digital assistant (English: Personal Digital Assistant, PDA), apparatus for media playing etc..The electric terminal includes display, the display can be liquid crystal display (English: Liquid Crystal Display, LCD), LED (English: light emitting diode) display, plasma display (English: Plasma Display Panel, PDP) etc., the display of the electric terminal and the electric terminal supports video mode and command mode, and can switch between video mode and instruction mode.It is appreciated that the display of electric terminal includes frame buffer and display controller.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of display methods provided in an embodiment of the present invention, as shown in Figure 1, the display methods includes the following steps:
Step S110: electric terminal obtains current frame rate.The current frame rate is the frame number of current time lower unit time (per second) interior pixel data change.
Referring to Fig. 2, Fig. 2 is a kind of displaying principle schematic diagram of video mode provided in an embodiment of the present invention.It includes processor, memory and display etc. that video mode, which requires electric terminal, and memory includes the display data buffer area for caching the pixel data for being used for display.No matter whether pixel data changes in data buffer area, processor continuously reads pixel data in display data buffer area according to the fixed refresh cycle (such as 16.6ms), and is sent to the screen of display.
Referring to Fig. 3, Fig. 3 is a kind of displaying principle schematic diagram of command mode provided in an embodiment of the present invention.It includes processor, memory and display etc. that command mode, which requires electric terminal, and memory includes the display data buffer area for caching the pixel data for being used for display, display configures display controller and frame buffer, when showing pixel data change in data buffer area, processor reads pixel data in display data buffer area, and it is sent to display, the frame buffer of display caches the pixel data, and display controller refreshes pixel data in frame buffer to the screen of display according to the fixed refresh cycle (such as 16.6ms).
As unit of frame, a frame includes the image data of a display interface for the display of data in electric terminal.Frame per second is the frame number for showing pixel data variation within the unit time (per second) in data buffer area in the application.Current frame rate is the frame number that pixel data variation within the unit time (per second) in data buffer area is shown under current time.
Wherein, the available current frame rate of electric terminal, wherein, the method that electric terminal obtains current frame rate can be the writing speed of pixel data in electric terminal detection display data buffer area, the frame number of electric terminal detection pixel data write-in in the display data buffer area (such as 5s, 8s or 10s etc.) in the first time period including current time, the frame number of pixel data write-in in the frame number unit of account time being written according to pixel data in first time period, calculating the frame number that pixel data is written in the unit time of acquisition is current frame rate.
It is understood that if the frame per second of electric terminal changes, the controllable switching for carrying out display pattern of processor.Control signal can occur to display for the processor in Fig. 2 and Fig. 3, so that display configures display pattern in real time.Simultaneous processor also can transfer data to display to display data buffer area and configure, and avoid the occurrence of display problem.
Step S120: it in the case where current frame rate is greater than the first frame per second threshold value, is shown by video mode.
Specifically, electric terminal prestores the first frame per second threshold value and the second frame per second threshold value, after step silo, electric terminal current frame rate can be compared respectively with the first frame per second threshold value and the second frame per second threshold value, in the case where current frame rate is greater than the first frame per second threshold value, electric terminal can be shown by video mode.Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.Optionally, first frame per second threshold value is equal to the second frame per second threshold value, at this time, electric terminal current frame rate can be compared with the first frame per second threshold value, in the case where current frame rate is greater than the first frame per second threshold value, it is shown by video mode, in the case where current frame rate is less than the first frame per second threshold value, is shown by command mode.
In one embodiment of the present of invention, step S120 may include: that current display mode is switched to video mode in the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not.
In one embodiment of the invention, in the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, before current display mode is switched to video mode, electric terminal can also judge in time T electric terminal0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, if it is, current display mode is switched to the operation of video mode by triggering;Otherwise, electric terminal may be that the frame per second of moment becomes larger, and electric terminal can be without the switching of display pattern, and then avoids the frequent transitions of display pattern, at this point, electric terminal can terminate process, do nothing or return step S110 reacquire current frame rate.Wherein, T0For current time, time T1For time T0Distance Time T later0The time of first duration (for example, 10s, 20s, 25s etc.).
Step S130: it in the case where current frame rate is less than the second frame per second threshold value, is shown by command mode.
In one embodiment of the invention, step S130 may include: that current display mode is switched to command mode in the case where current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode.
In one embodiment of the invention, in the case where current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, before current display mode is switched to command mode, electric terminal can also judge in time T0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, if it is, current display mode is switched to the operation of video mode by triggering;Otherwise, electric terminal may be that the frame per second of moment becomes smaller, and electric terminal can be without the switching of display pattern, and then avoids the frequent transitions of display pattern, at this point, electric terminal can terminate process, do nothing or return step S110 reacquire current frame rate.Wherein, T0For current time, time T1For time T0Distance Time T later0The time of first duration (for example, 10s, 20s, 25s etc.).
It is understood that, in the case where current frame rate is no more than the first frame per second threshold value and is not less than the second frame per second threshold value, electric terminal can be shown by video mode, it can also be shown by command mode, it can also do nothing and be shown with current display mode, the present invention is with no restriction.
It is understood that, first frame per second threshold value and the second frame per second threshold value can be the empirical value of setting, for example, the first frame per second threshold value is 40Hz, the second frame per second threshold value is 30Hz, when frame per second is greater than the first frame per second threshold value, the power consumption of electric terminal in the video mode is less than the power consumption under instruction mode;When frame per second is less than the second frame per second threshold value, power consumption of the electric terminal under instruction mode is less than power consumption in the video mode;When frame per second is no more than the first frame per second threshold value and is not less than the second frame per second threshold value, the power consumption of electric terminal in the video mode is equal with the power consumption under instruction mode or gap is little.
Optionally, the first frame per second threshold value can be equal to the second frame per second threshold value.Electric terminal under equal conditions can carry out power consumption test to different display modes, and the first frame per second threshold value is also possible to the frame per second when power consumption of electric terminal in the video mode is equal to the power consumption under instruction mode.It is appreciated that the power consumption of electric terminal all increases with the increase of frame per second under any display pattern, when frame per second is less than the first frame per second threshold value, the power consumption of electric terminal is less than the power consumption of electric terminal under video mode under command mode;When frame per second is greater than the first frame per second threshold value, the power consumption of electric terminal is greater than the power consumption of electric terminal under video mode under command mode;When frame per second is equal to the first frame per second threshold value, the power consumption of electric terminal is equal to the power consumption of electric terminal under video mode under command mode.
It is appreciated that the user of electric terminal can actively carry out display pattern switching or electric terminal can prompt electric terminal user carry out display pattern switching, the user of electric terminal can carry out or without display pattern switching.Electric terminal can recorde change data when display mode conversion occurs for electric terminal, history of forming change data, which may include frame per second when converting preceding display pattern, converted display mode and conversion.Electric terminal can obtain the first frame per second threshold value, the second frame per second threshold value by machine learning algorithm according to history change data.For example, the history change data of electric terminal record is as shown in table 1 below:
Display pattern before converting Converted display mode Frame per second when conversion
Video mode Command mode 20Hz
Command mode Video mode 45Hz
Video mode Command mode 30Hz
Video mode Command mode 25Hz
Command mode Video mode 35Hz
Table 1
Electric terminal may is that electricity according to history change data, by the method that machine learning algorithm obtains the first frame per second threshold value Sub- terminal statistical average electric terminal carry out command mode be switched to video mode when conversion when frame per second, according to table 1 calculate obtain the first frame per second threshold value be 40Hz.Electric terminal is according to history change data, frame per second when may is that conversion of the electric terminal statistical average electric terminal when carrying out video mode and being switched to command mode by the method that machine learning algorithm obtains the second frame per second threshold value, it is 25Hz that the first frame per second threshold value obtained is calculated according to table 1.In the case where the first frame per second threshold value is equal to the second frame per second threshold value, electric terminal is according to history change data, it can be by the method that machine learning algorithm obtains the first frame per second threshold value, electric terminal can be with frame per second when conversion in each situation of statistical average, the average value obtained will be calculated and be set as the first frame per second threshold value, for example, calculating the first frame per second threshold value obtained according to table 1 is 31Hz.
Optionally, in the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, or in the case where current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, electric terminal can prompt user's current frame rate.The method of prompt includes but is not limited at least one of voice prompting, display reminding message, open instruction lamp etc..Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of frame per second prompting interface provided in an embodiment of the present invention, the current display interface of electric terminal pops up dialog box 310, display reminding message such as " current frame rate 10Hz!Current display mode is video mode!It is switched to command mode? ", when electric terminal receives the clicking operation for " determination " key, current display mode is switched to command mode by electric terminal.
In another embodiment of the invention, in the case where it is video mode that current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, for electric terminal before current display mode is switched to video mode, electric terminal can obtain current location by positioning system;When current location is not for electric position, current display mode is switched to the operation of video mode by triggering.In the case where current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, electric terminal is before being switched to command mode for current display mode, electric terminal can obtain current location by positioning system, when the current location is not for electric position, current display mode is switched to the operation of command mode by triggering.Wherein, it can be the position set by user for facilitating electric terminal to charge of electric terminal such as electric position, home address, CompanyAddress, private car etc., electric terminal is in when for electric position, electric terminal can charge at any time, and electric terminal can be without the switching of display pattern;And in the case where the current frame rate of electric terminal is greater than the first frame per second threshold value and to detect current display mode not be video mode or in the case where the current frame rate of electric terminal is less than the second frame per second threshold value and to detect current display mode not be command mode, and electric terminal is when being not at for electric position, electric terminal can carry out the switching of display pattern, it is shown using the mode of most energy saving, to save the energy consumption of electric terminal, extend electric terminal uses the time.
It should be noted that at least one of remaining capacity etc. when history change data can also include conversion time, conversion site, conversion, electric terminal can learn the habit that electric terminal carries out display pattern switching according to history change data.Accordingly, electric terminal can obtain at least one of current time, current address, current residual electricity etc. while obtaining current frame rate, and in turn, whether comprehensive descision needs to carry out the switching of display pattern.Such as, remaining capacity when history change data includes conversion, electric terminal study is arrived, when remaining capacity be less than power threshold (such as, 30%) and electric terminal meet other switching conditions (such as, current frame rate is greater than the first frame per second threshold value and detects that current display mode is not video mode), electric terminal carries out the switching of display pattern, to be shown by display pattern least in power-consuming under current frame rate.
In further embodiment of this invention, before step S110, which can also include: that electric terminal receives the open instructions for being directed to target application, triggered according to the open instructions and execute step S110, to avoid electric terminal real-time detection current frame rate, the energy consumption of electric terminal is reduced.Wherein, which can be any application, be also possible to the application of setting for example, Video Applications (such as iqiyi.com, YouTube etc.), in shopping application (Amazon, eBay etc.) or e-book application etc. At least one.
It is appreciated that electric terminal can also with the process of the clocked flip display methods, such as every 10 minutes, half an hour or 1 hour trigger the process of the primary display methods.
It is appreciated that in embodiments of the present invention, electric terminal is running a certain application, such as during video program, the frame per second of electric terminal acquisition may be high or low, and when the current frame rate detected is greater than the first frame per second threshold value, electric terminal can be shown by video mode;When detecting current frame rate less than the second frame per second threshold value, electric terminal can be shown by command mode, so that electric terminal in same application, for different frame per second, is shown using different display patterns, reduces the power consumption of intelligent terminal.
Embodiment shown in FIG. 1, electric terminal is by obtaining current frame rate, wherein, current frame rate is the frame number of pixel data change in the current time lower unit time, in the case where current frame rate is greater than the first frame per second threshold value, it is shown by video mode, in the case where current frame rate is less than the second frame per second threshold value, it is shown by command mode, so that electric terminal is under lower frame per second, it is shown by command mode, under higher frame per second, it is shown by video mode, and then realize the automatic switchover of the video mode based on current frame rate and command mode, reduce the energy consumption of electric terminal.
Referring to Fig. 5, Fig. 5 is the flow diagram of another display methods provided in an embodiment of the present invention, as shown in figure 5, the display methods includes the following steps:
Step S510: the interface type of electric terminal identification current display interface.
Specifically, the interface type of display interface includes the first interface type and second contact surface type, wherein the first interface type is corresponding with video mode, and second contact surface type is corresponding with command mode.It may include video playing interface, second contact surface type may include, video pause interface, game carry out interface, suspension of game play interface, camera shooting interface, desk interface and other interfaces etc..
Optionally, the first interface type may include video playing interface, and second contact surface type may include video pause interface.The interface of electric terminal when video playing interface is playing for video content;Video pause interface is the interface of electric terminal when video content plays pause.Video playing interface is corresponding with video mode, and video pause interface is corresponding with command mode.Whether electric terminal terminal recognition current display interface is that the method at video playing interface or video pause interface may is that when the application currently shown is Video Applications and system is carrying out coding and decoding video, then current display interface is the video playing interface;When the application currently shown is Video Applications and system does not carry out coding and decoding video, then current display interface is the video pause interface.
Further, electric terminal can also be by judging whether to export comprising sound stream, further determine that interface type, if the application than currently showing is that Video Applications and system are carrying out coding and decoding video, if electric terminal is exported comprising sound stream, current display interface is the video playing interface;If electric terminal is exported not comprising sound stream, current display interface is the video pause interface.
Optionally, the first interface type may include that game carries out interface, and second contact surface type may include suspension of game play interface.Game carries out the interface that interface is electric terminal when game is carrying out;The interface of electric terminal when suspension of game play interface is suspension of game play.It is corresponding with video mode that game carries out interface;Suspension of game play interface is corresponding with command mode.Whether electric terminal terminal recognition current display interface is that game carries out interface or the method at suspension of game play interface may is that then current display interface is that game carries out interface when the application currently shown is game application and detects the click frequency for current display interface not less than frequency threshold;It is game application in the application currently shown and detects that the click frequency for current display interface is less than When frequency threshold, then current display interface is suspension of game play interface.
Optionally, the first interface type may include camera shooting interface, and second contact surface type may include desk interface.Camera shooting interface is that electric terminal opens the preview interface entered after camera or video recording interface, and camera constantly acquires the image information of current scene and shown at this time.Camera shoots interface can be corresponding with video mode.Whether electric terminal terminal recognition current display interface is that the method that camera shoots interface may is that electric terminal may determine that the working condition of camera, when camera is in running order, when i.e. camera is turned on, then current display interface is that camera shoots interface.
Desk interface is that interface locating for electric terminal, desk interface are corresponding with command mode when electric terminal enters desktop (also referred to as main interface);Whether electric terminal terminal recognition current display interface is that the method for desk interface may is that electric terminal can identify whether current display interface is desktop, and when current display interface is desktop, then current display interface is desk interface.
Step S520: it in the case where the interface type of current display interface is the first interface type, is shown by video mode.
In one embodiment of the invention, step S520 may include: that current display mode is switched to video mode in the case where the interface type of current display interface is the first interface type and to detect current display mode not be video mode.
Step S530: it in the case where the interface type of current display interface is second contact surface type, is shown by command mode.
In one embodiment of the invention, step S530 may include: that current display mode is switched to command mode in the case where the interface type of current display interface is second contact surface type and to detect current display mode not be command mode.
It is appreciated that electric terminal can preset the corresponding relationship of storage interface type and display pattern, for example, as shown in table 2:
Interface type Display pattern
Video playing interface Video mode
Video pause interface Command mode
Game carries out interface Video mode
Suspension of game play interface Command mode
Camera shoots interface Video mode
Desk interface Command mode
Other interfaces Command mode
Table 2
Electric terminal is after the interface type of identification current display interface, according to the corresponding relationship of interface type and display pattern, judge whether the corresponding display pattern of the interface type of current display interface is consistent with current display mode, if it is, electric terminal can terminate process, do nothing or return step S510 re-recognizes the interface type of current display interface;Otherwise, the corresponding display pattern of the interface type of current display interface and current display mode are inconsistent, and current display mode can be switched to the corresponding display pattern of interface type of current display interface by electric terminal.
It is appreciated that in embodiments of the present invention, electric terminal, such as smart phone, during running video program, if smart phone is playing video, then the interface type of current display interface is video clip, at this point, smart phone is shown by video mode;When the user of smart phone needs to leave, and suspends video, the interface type of the current display interface of smart phone is video pause interface, and smart phone is shown by command mode, so that electric terminal is same In one application, for different interface types, is shown by its corresponding display pattern, reduce the power consumption of intelligent terminal.
In one embodiment of the invention, when the corresponding display pattern of the interface type of current display interface and current display mode are inconsistent, electric terminal can prompt user.The method of prompt includes but is not limited at least one of voice prompting, display reminding message, open instruction lamp etc..
In embodiment shown in fig. 5, electric terminal is shown in the case where the interface type of current display interface is the first interface type by video mode by the interface type of identification current display interface;In the case where the interface type of current display interface is second contact surface type, it is shown by command mode, and then realize the automatic switchover that video mode and command mode are carried out based on current display interface, to first interface type at high energy consumption interface, it is shown by video mode, it to the second contact surface type at high energy consumption interface, is shown by command mode, to reduce the energy consumption of electric terminal.
Referring to Fig. 6, Fig. 6 is a kind of structural framing figure of electric terminal provided in an embodiment of the present invention.As shown in fig. 6, the electric terminal includes:
Acquiring unit 610, for obtaining current frame rate;The current frame rate is the frame number of pixel data change in the current time lower unit time;
Processing unit 620, for being shown by video mode, and in the case where the current frame rate is less than the second frame per second threshold value, shown by command mode in the case where the current frame rate is greater than the first frame per second threshold value;
Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.
Optionally, the processing unit 620 is specifically used for: in the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, current display mode being switched to video mode;In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, current display mode is switched to command mode.
Optionally, the processing unit 620 is also used to:
In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, judge in time T0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, when the judging result of the judging unit is to be, triggers the operation that the current display mode is switched to video mode;Or
In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, judge in time T0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, when the judging result of the judging unit is to be, triggers the operation that the current display mode is switched to command mode.
Wherein, the T0For current time, the time T1For the time T0Time T described in distance later0The time of first duration.
Optionally, the processing unit 620 is also used to:
In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, current location is obtained by positioning system, when the current location is not for electric position, the operation that current display mode is switched to video mode is triggered;Or,
In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, current location is obtained by positioning system, when the current location is not for electric position, the operation that current display mode is switched to command mode is triggered.
Optionally, the first frame per second threshold value is equal to the second frame per second threshold value, and the first frame per second threshold value is that electric terminal exists Power consumption under video mode is equal to the frame per second when power consumption under described instruction mode.
Optionally, the processing unit is also used to according to history change data, obtains the first frame per second threshold value and the second frame per second threshold value by machine learning algorithm;
Wherein, frame per second when the history change data includes display pattern before converting, converted display mode and conversion.
Optionally, the processing unit 620 is used for:
The open instructions for being directed to target application is received, and the operation for obtaining current frame rate is executed according to open instructions triggering.
The embodiment of the present invention, electric terminal is by obtaining current frame rate, wherein, current frame rate is the frame number of pixel data change in the current time lower unit time, in the case where current frame rate is greater than the first frame per second threshold value, it is shown by video mode, in the case where current frame rate is less than the second frame per second threshold value, it is shown by command mode, so that electric terminal is under lower frame per second, it is shown by command mode, under higher frame per second, it is shown by video mode, and then realize the automatic switchover of the video mode based on current frame rate and command mode, reduce the energy consumption of electric terminal.
Referring to Fig. 7, Fig. 7 is the structural framing figure of another electric terminal provided in an embodiment of the present invention.As shown in fig. 7, the electric terminal includes:
Recognition unit 710, for identification interface type of current display interface;
Processing unit 720, for being shown by video mode in the case where the interface type of the current display interface is the first interface type;And it in the case where the interface type of the current display interface is second contact surface type, is shown by command mode.
Optionally, the processing unit 720 is specifically used for:
In the case where the interface type of the current display interface is the first interface type and to detect current display mode not be video mode, current display mode is switched to video mode;
In the case where the interface type of the current display interface is second contact surface type and to detect current display mode not be command mode, current display mode is switched to command mode.
Optionally, first interface type includes video playing interface;The second contact surface type includes video pause interface;The recognition unit 710 is specifically used for:
When the application currently shown is Video Applications and system is carrying out coding and decoding video, then the current display interface is the video playing interface;
When the application currently shown is Video Applications and system does not carry out coding and decoding video, then the current display interface is the video pause interface.
Optionally, first interface type includes that game carries out interface;The second contact surface type includes suspension of game play interface;The recognition unit 710 is specifically used for:
When the application currently shown is game application and detects the click frequency for the current display interface not less than frequency threshold, then current display interface is that the game carries out interface;
When the application currently shown is game application and detects that the click frequency for the current display interface is less than frequency threshold, then current display interface is the suspension of game play interface.
Optionally, stating the first interface type includes camera shooting interface;The second contact surface type includes desk interface;The recognition unit 710 is specifically used for:
When camera is in running order, then the current display interface is that the camera shoots interface;
When current display interface is desktop, then current display interface is desk interface.
In the embodiment of the present invention, electric terminal is shown in the case where the interface type of current display interface is the first interface type by video mode by the interface type of identification current display interface;In the case where the interface type of current display interface is second contact surface type, it is shown by command mode, and then realize the automatic switchover that video mode and command mode are carried out based on current display interface, to first interface type at high energy consumption interface, it is shown by video mode, it to the second contact surface type at high energy consumption interface, is shown by command mode, to reduce the energy consumption of electric terminal.
Referring to Fig. 8, Fig. 8 is the structural framing figure of another electric terminal provided in an embodiment of the present invention.As shown in Figure 8, the electric terminal is for realizing display methods shown in FIG. 1, the electric terminal includes: processor 810, memory 820, input unit 830 and output device 840, wherein output device 840 includes display 841, and the processor 810 is connected to memory 820, input unit 830 and output device 840 by bus 850.Electric terminal can realize the switching of two kinds of display patterns (i.e. video mode and command mode).
It should be noted that, processor 810 is the control centre of electric terminal, utilize the various pieces of various interfaces and the entire electric terminal of connection, by running or executing the software program and/or module that are stored in memory 820, and call the data being stored in memory 820, the various functions and processing data for executing electric terminal, to carry out integral monitoring to electric terminal.Optionally, processor 810 may include one or more processors or processing module;Preferably, processor 810 can integrate application processor and modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles wireless communication.In embodiments of the present invention, above-mentioned processor 810 may also include image processor GPU.GPU individually can form video card with Special circuit board and attachment component, or individually a piece of chip is embedded directly on mainboard, or is built in the chip of mainboard, it is also built-in in composition System on Chip/SoC (System on Chip on CPU, SoC), this present invention is not especially limited.
Memory 820 can be used for storing software program and module, and memory 820 includes display data buffer area, which is used to cache the pixel data for display.Processor 810 is stored in the software program and module of memory 820 by operation, thereby executing the various function application and realization data processing of mobile terminal.Memory 820 mainly includes program storage area and data storage area, wherein program storage area can application program, such as sound playing program, image playing program needed for storage program area, at least one function etc.;Data storage area, which can be stored, uses created data (such as audio data, phone directory etc.) etc. according to mobile terminal.In the specific embodiment of the invention, memory 820 may include volatile memory, such as non-volatile dynamic random access memory (Nonvolatile RandomAccess Memory, abbreviation NVRAM), phase change random access memory (Phase Change RAM, abbreviation PRAM), magnetic-resistance random access memory (Magetoresistive RAM, abbreviation MRAM) etc., it can also include nonvolatile memory, a for example, at least disk memory, electronics, which can erase, can plan read-only memory (Electrically Erasable ProgrammableRead-OnlyMemory, abbreviation EEPRO M), flush memory device, such as anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).
Input unit 830 is for realizing the interaction of user and electric terminal and/or information input into electric terminal.For example, input unit 830 can receive the number or character information of user's input, to generate signal input related with user setting or function control.In the specific embodiment of the invention, input unit 830 can be touch panel, be also possible to other human-computer interaction interfaces, such as entity enter key, microphone etc., can also be other external information capture devices, such as camera etc..Touching Panel, also referred to as touch screen or touch screen are controlled, collectable user touches on it or close operational motion.For example user drives corresponding attachment device using the operational motion of the positions of any suitable object or attachment on touch panel or close to touch panel such as finger, stylus, and according to preset formula.It is appreciated that input unit 830 is not the necessary device of electric terminal.
Output device 840 can include but is not limited to image output unit, sound output and sense of touch output unit.Image output unit is used for output character, picture and/or video.The image output unit may include display 841, for example, by using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), the forms such as Field Emission Display (field emission display, abbreviation FED) are the display that configures.Although in fig. 8, input unit 830 and output device 840 are to output and input function as two independent components come realize mobile terminal, but it is in some embodiments it is possible to touch panel and display 841 is integrated and that realizes mobile terminal output and input function.
It should also be noted that display 841 includes frame buffer and display controller, to realize that electric terminal is shown by command mode.It is appreciated that frame buffer can be the long data buffer area of full frame, it is also possible to the long data buffer area of non-full frame, when frame buffer is the long data buffer area of non-full frame, the pixel data for being stored in frame buffer needs to carry out compression processing.Before pixel data in frame buffer is refreshed the screen to display by display controller, it is also possible to which the operation unzip it to pixel data or other operations, the present invention is with no restriction.
It is appreciated that processor 810 can send control signal and pixel data to display 841, to realize the display of data and the switching of display pattern.
Processor 810 is for calling the instruction code stored in memory 820 to execute:
Obtain current frame rate;The current frame rate is the frame number of pixel data change in the current time lower unit time;
In the case where the current frame rate is greater than the first frame per second threshold value, shown by video mode;
In the case where the current frame rate is less than the second frame per second threshold value, shown by command mode;
Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.
Optionally,
The processor 810 executes described in the case where the current frame rate is greater than the first frame per second threshold value, carrying out display by video mode includes: that current display mode is switched to video mode in the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not;
The processor 810 executes described in the case where the current frame rate is less than the second frame per second threshold value, carrying out display by command mode includes: that current display mode is switched to command mode in the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode.
Optionally,
In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, the processor 810 executes described before current display mode is switched to video mode, and the processor 810 is also used to execute: judging in time T0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, if it is, triggering the processor 810 executes the operation that current display mode is switched to video mode;Or,
In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, the processor 810 executes described before current display mode is switched to command mode, and the processor 810 is also used to execute: judging in time T0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, if it is, triggering institute It states processor 810 and executes the operation that current display mode is switched to video mode;
Wherein, the T0For current time, the time T1For the time T0Time T described in distance later0The time of first duration.
Optionally, the processor 810 executes described in the case where the corresponding display pattern of the current frame rate and current display mode are inconsistent, and current display mode, which is switched to the corresponding display pattern of the current frame rate, includes:
In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, the processor 810, which executes, described to be switched to current display mode before video mode, the processor 810 is also used to execute: obtaining current location by positioning system, when the current location is not for electric position, triggers the processor 810 and execute the operation that current display mode is switched to video mode;Or,
In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, the processor 810, which executes, described to be switched to current display mode before command mode, the processor 810 is also used to execute: obtaining current location by positioning system, when the current location is not for electric position, triggers the processor 810 and execute the operation that current display mode is switched to command mode.
Optionally, the first frame per second threshold value is equal to the second frame per second threshold value, and the first frame per second threshold value is the frame per second when power consumption of electric terminal in the video mode is equal to the power consumption under described instruction mode.
Optionally, the processor 810 is also used to execute:
According to history change data, the first frame per second threshold value and the second frame per second threshold value are obtained by machine learning algorithm;
Wherein, frame per second when the history change data includes display pattern before converting, converted display mode and conversion.
Optionally, the electric terminal further includes input unit 830, and the input unit 830 is connected to the processor 810;Before the processor 810 executes the acquisition current frame rate, the processor 810 is also used to execute:
The open instructions for being directed to target application is received by the input unit 830, and the operation for obtaining current frame rate is executed according to open instructions triggering.
Referring to Fig. 9, Fig. 9 is the structural framing figure of another electric terminal provided in an embodiment of the present invention.As shown in Figure 9, the electric terminal is for realizing display methods shown in fig. 5, the electric terminal includes: processor 910, memory 920, input unit 930 and output device 940, wherein output device 940 includes display 941, and the processor 910 is connected to memory 920, input unit 930 and output device 940 by bus 950.Electric terminal can realize the switching of two kinds of display patterns (i.e. video mode and command mode).
It should be noted that, processor 810 is the control centre of electric terminal, utilize the various pieces of various interfaces and the entire electric terminal of connection, by running or executing the software program and/or module that are stored in memory 820, and call the data being stored in memory 820, the various functions and processing data for executing electric terminal, to carry out integral monitoring to electric terminal.Optionally, processor 810 may include one or more processors or processing module;Preferably, processor 810 can integrate application processor and modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles wireless communication.In embodiments of the present invention, above-mentioned processor 810 may also include image processor GPU.GPU individually can form video card with Special circuit board and attachment component, or individually a piece of chip is embedded directly on mainboard, or is built in the chip of mainboard, it is also built-in in composition System on Chip/SoC (System on Chip on CPU, SoC), this present invention is not especially limited.
It should be noted that memory 820 can be used for storing software program and module, memory 820 includes display data Buffer area, the display data buffer area are used to cache the pixel data for display.
Memory 920 can be used for storing software program and module, and processor 910 is stored in the software program and module of memory 920 by operation, thereby executing the various function application and realization data processing of mobile terminal.Memory 920 mainly includes program storage area and data storage area, wherein program storage area can application program, such as sound playing program, image playing program needed for storage program area, at least one function etc.;Data storage area, which can be stored, uses created data (such as audio data, phone directory etc.) etc. according to mobile terminal.In the specific embodiment of the invention, memory 920 may include volatile memory, such as non-volatile dynamic random access memory (Nonvolatile RandomAccess Memory, abbreviation NVRAM), phase change random access memory (Phase Change RAM, abbreviation PRAM), magnetic-resistance random access memory (Magetoresistive RAM, abbreviation MRAM) etc., it can also include nonvolatile memory, a for example, at least disk memory, electronics, which can erase, can plan read-only memory (Electrically Erasable ProgrammableRead-OnlyMemory, abbreviation EEPRO M), flush memory device, such as anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).
Input unit 930 is for realizing the interaction of user and electric terminal and/or information input into electric terminal.For example, input unit 930 can receive the number or character information of user's input, to generate signal input related with user setting or function control.In the specific embodiment of the invention, input unit 930 can be touch panel, be also possible to other human-computer interaction interfaces, such as entity enter key, microphone etc., can also be other external information capture devices, such as camera etc..Touch panel, also referred to as touch screen or touch screen, collectable user touches on it or close operational motion.For example user drives corresponding attachment device using the operational motion of the positions of any suitable object or attachment on touch panel or close to touch panel such as finger, stylus, and according to preset formula.It is appreciated that input unit 930 is not device necessary to electric terminal.
Output device 940 can include but is not limited to image output unit, sound output and sense of touch output unit.Image output unit is used for output character, picture and/or video.The image output unit may include display 941, for example, by using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), the forms such as Field Emission Display (field emission display, abbreviation FED) are the display that configures.Although in Fig. 9, input unit 930 and output device 940 are to output and input function as two independent components come realize mobile terminal, but it is in some embodiments it is possible to touch panel and display 941 is integrated and that realizes mobile terminal output and input function.
It should also be noted that display 941 includes frame buffer and display controller, to realize that electric terminal is shown by command mode.It is understood that, frame buffer can be the long data buffer area of full frame, it is also possible to the long data buffer area of non-full frame, when frame buffer is the long data buffer area of non-full frame, before pixel data in frame buffer is refreshed the screen to display by display controller, the operation or other operations of compression and decompression can be also carried out to pixel data, the present invention is with no restriction.
It is appreciated that processor 910 can send control signal and pixel data to display 941, to realize the display of data and the switching of display pattern.
The processor 910 is for calling the instruction code stored in memory 920 to execute:
Identify the interface type of current display interface;
In the case where the interface type of the current display interface is the first interface type, shown by video mode;
In the case where the interface type of the current display interface is second contact surface type, shown by command mode.
Optionally, the processor 910 executes described in the case where the interface type of the current display interface is the first interface type, carrying out display by video mode includes: that current display mode is switched to video mode in the case where the interface type of the current display interface is the first interface type and to detect current display mode not be video mode;
The processor 910 executes described in the case where the interface type of the current display interface is second contact surface type, carrying out display by command mode includes: that current display mode is switched to command mode in the case where the interface type of the current display interface is second contact surface type and to detect current display mode not be command mode.
Optionally, first interface type includes video playing interface;The second contact surface type includes video pause interface;
The processor 910 executes the interface type for identifying current display interface
When the application currently shown is Video Applications and system is carrying out coding and decoding video, then the current display interface is the video playing interface;
When the application currently shown is Video Applications and system does not carry out coding and decoding video, then the current display interface is the video pause interface.
Optionally, first interface type includes that game carries out interface;The second contact surface type includes suspension of game play interface;
The processor 910 executes the interface type for identifying current display interface
When the application currently shown is game application and detects the click frequency for the current display interface not less than frequency threshold, then current display interface is that the game carries out interface;
When the application currently shown is game application and detects that the click frequency for the current display interface is less than frequency threshold, then current display interface is the suspension of game play interface.
Optionally, first interface type includes camera shooting interface;The second contact surface type includes desk interface;
The processor 910 executes the interface type for identifying current display interface
When camera is in running order, then the current display interface is that the camera shoots interface;
When current display interface is desktop, then current display interface is desk interface.
Technical term used in the embodiment of the present invention is merely to illustrate specific embodiment and is not intended to be limiting the present invention.Herein, singular " one ", "the" and " described " for simultaneously including plural form, unless clearly being explained separately in context.Further, refer to that there are the feature, entirety, step, operation, element and/or components for " include " and or " include " used in the description, but it is not excluded that in the presence of or increase one or more of the other feature, entirety, step, operation, element and/or component.
The equivalent form (if present) of counter structure, material, movement and all devices or step and function element is intended to include any structure, material or the movement that the element being distinctly claimed in conjunction with other is used to execute the function in the following claims.Description of the invention for embodiment and the purpose of description are presented, but be not intended to exhaustion or will be limited in disclosed form by invention.

Claims (36)

  1. A kind of display methods characterized by comprising
    Obtain current frame rate;The current frame rate is the frame number of pixel data change in the current time lower unit time;
    In the case where the current frame rate is greater than the first frame per second threshold value, display data are carried out by video mode;
    In the case where the current frame rate is less than the second frame per second threshold value, display data are carried out by command mode;
    Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.
  2. The method as described in claim 1, which is characterized in that
    It is described the current frame rate be greater than the first frame per second threshold value in the case where, carrying out display data by video mode includes: that current display mode is switched to video mode in the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not;
    It is described in the case where the current frame rate is less than the second frame per second threshold value, carrying out display data by command mode includes: that current display mode is switched to command mode in the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode.
  3. Method according to claim 2, which is characterized in that
    In the case where the current frame rate is greater than the first frame per second threshold value and to detect current display mode not be video mode, it is described current display mode is switched to video mode before, the method also includes: judge in time T0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, if it is, the triggering operation that current display mode is switched to video mode;Or,
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, it is described current display mode is switched to command mode before, the method also includes: judge in time T0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, if it is, the triggering operation that current display mode is switched to video mode;
    Wherein, the T0For current time, the time T1For the time T0Time T described in distance later0The time of first duration.
  4. Method according to claim 2, which is characterized in that
    In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, it is described that current display mode is switched to before video mode, the method also includes: current location is obtained by positioning system, when the current location is not for electric position, the operation that current display mode is switched to video mode is triggered;Or,
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, it is described that current display mode is switched to before command mode, the method also includes: current location is obtained by positioning system, when the current location is not for electric position, the operation that current display mode is switched to command mode is triggered.
  5. Method as described in claim 1-4 any claim, it is characterized in that, the first frame per second threshold value is equal to the second frame per second threshold value, and the first frame per second threshold value is the frame per second when power consumption of electric terminal in the video mode is equal to the power consumption under described instruction mode.
  6. Method as described in claim 1-4 any claim, which is characterized in that the method also includes:
    According to history change data, the first frame per second threshold value and the second frame per second threshold value are obtained by machine learning algorithm;
    Wherein, frame per second when the history change data includes display pattern before converting, converted display mode and conversion.
  7. Method as described in claim 1-6 any claim, which is characterized in that before the acquisition current frame rate also Include:
    Receive the open instructions for being directed to target application;
    The operation for obtaining current frame rate is executed according to open instructions triggering.
  8. A kind of display methods characterized by comprising
    Identify the interface type of current display interface;
    In the case where the interface type of the current display interface is the first interface type, shown by video mode;
    In the case where the interface type of the current display interface is second contact surface type, shown by command mode.
  9. Method according to claim 8, which is characterized in that
    It is described the interface type of the current display interface be the first interface type in the case where, carrying out display by video mode includes: that current display mode is switched to video mode in the case where the interface type of the current display interface is the first interface type and to detect current display mode not be video mode;
    It is described the interface type of the current display interface be second contact surface type in the case where, carrying out display by command mode includes: that current display mode is switched to command mode in the case where the interface type of the current display interface is second contact surface type and to detect current display mode not be command mode.
  10. Method as claimed in claim 8 or 9, which is characterized in that first interface type includes video playing interface;The second contact surface type includes video pause interface;
    It is described identification current display interface interface type include:
    When the application currently shown is Video Applications and system is carrying out coding and decoding video, then the current display interface is the video playing interface;
    When the application currently shown is Video Applications and system does not carry out coding and decoding video, then the current display interface is the video pause interface.
  11. Method as claimed in claim 8 or 9, which is characterized in that first interface type includes that game carries out interface;The second contact surface type includes suspension of game play interface;
    It is described identification current display interface interface type include:
    When the application currently shown is game application and detects the click frequency for the current display interface not less than frequency threshold, then current display interface is that the game carries out interface;
    When the application currently shown is game application and detects that the click frequency for the current display interface is less than frequency threshold, then current display interface is the suspension of game play interface.
  12. Method as claimed in claim 8 or 9, which is characterized in that first interface type includes camera shooting interface;The second contact surface type includes desk interface;
    It is described identification current display interface interface type include:
    When camera is in running order, then the current display interface is that the camera shoots interface;
    When current display interface is desktop, then current display interface is desk interface.
  13. A kind of electric terminal characterized by comprising
    Acquiring unit, for obtaining current frame rate;The current frame rate is the frame number of pixel data change in the current time lower unit time;
    Processing unit, for being shown by video mode, and in the case where the current frame rate is less than the second frame per second threshold value, shown by command mode in the case where the current frame rate is greater than the first frame per second threshold value;
    Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.
  14. Electric terminal as claimed in claim 13, which is characterized in that the processing unit is specifically used for:
    In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, current display mode is switched to video mode;
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, current display mode is switched to command mode.
  15. Electric terminal as claimed in claim 14, which is characterized in that the processing unit is also used to:
    In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, judge in time T0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, when the judging result of the judging unit is to be, triggers the operation that the current display mode is switched to video mode;Or
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, judge in time T0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, when the judging result of the judging unit is to be, triggers the operation that the current display mode is switched to command mode;
    Wherein, the T0For current time, the time T1For the time T0Time T described in distance later0The time of first duration.
  16. Electric terminal as claimed in claim 14, which is characterized in that the processing unit is also used to:
    In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, current location is obtained by positioning system, when the current location is not for electric position, the operation that current display mode is switched to video mode is triggered;Or,
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, current location is obtained by positioning system, when the current location is not for electric position, the operation that current display mode is switched to command mode is triggered.
  17. Electric terminal as described in claim 13-16 any claim, it is characterized in that, the first frame per second threshold value is equal to the second frame per second threshold value, and the first frame per second threshold value is the frame per second when power consumption of electric terminal in the video mode is equal to the power consumption under described instruction mode.
  18. Electric terminal as described in claim 13-16 any claim, which is characterized in that the processing unit is also used to according to history change data, obtains the first frame per second threshold value and the second frame per second threshold value by machine learning algorithm;
    Wherein, frame per second when the history change data includes display pattern before converting, converted display mode and conversion.
  19. Electric terminal as described in claim 13-18 any claim, which is characterized in that the processing unit is used for:
    The open instructions for being directed to target application is received, and the operation for obtaining current frame rate is executed according to open instructions triggering.
  20. A kind of electric terminal characterized by comprising
    Recognition unit, for identification interface type of current display interface;
    Processing unit, for being shown by video mode in the case where the interface type of the current display interface is the first interface type;And it in the case where the interface type of the current display interface is second contact surface type, is shown by command mode.
  21. Electric terminal as claimed in claim 20, which is characterized in that the processing unit is specifically used for:
    In the case where the interface type of the current display interface is the first interface type and to detect current display mode not be video mode, current display mode is switched to video mode;
    In the case where the interface type of the current display interface is second contact surface type and to detect current display mode not be command mode, current display mode is switched to command mode.
  22. Electric terminal as described in claim 20 or 21, which is characterized in that first interface type includes video playing interface;The second contact surface type includes video pause interface;
    The recognition unit is specifically used for:
    When the application currently shown is Video Applications and system is carrying out coding and decoding video, then the current display interface is the video playing interface;
    When the application currently shown is Video Applications and system does not carry out coding and decoding video, then the current display interface is the video pause interface.
  23. Electric terminal as claimed in claim 20, which is characterized in that first interface type includes that game carries out interface;The second contact surface type includes suspension of game play interface;
    The recognition unit is specifically used for:
    When the application currently shown is game application and detects the click frequency for the current display interface not less than frequency threshold, then current display interface is that the game carries out interface;
    When the application currently shown is game application and detects that the click frequency for the current display interface is less than frequency threshold, then current display interface is the suspension of game play interface.
  24. Electric terminal as claimed in claim 20, which is characterized in that first interface type includes camera shooting interface;The second contact surface type includes desk interface;
    The recognition unit is specifically used for: when camera is in running order, then the current display interface is that the camera shoots interface;
    When current display interface is desktop, then current display interface is desk interface.
  25. A kind of electric terminal, it is characterized in that, it include: processor, memory and display, the processor is connected to the memory and the display, the electric terminal can realize the switching of video mode and command mode, and the processor is for calling the instruction code stored in memory to execute:
    Obtain current frame rate;The current frame rate is the frame number of pixel data change in the current time lower unit time;
    In the case where the current frame rate is greater than the first frame per second threshold value, shown by video mode;
    In the case where the current frame rate is less than the second frame per second threshold value, shown by command mode;
    Wherein, the first frame per second threshold value is not less than the second frame per second threshold value.
  26. Electric terminal as claimed in claim 25, which is characterized in that
    The processor executes described in the case where the current frame rate is greater than the first frame per second threshold value, carrying out display by video mode includes: that current display mode is switched to video mode in the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not;
    The processor executes described in the case where the current frame rate is less than the second frame per second threshold value, carrying out display by command mode includes: that current display mode is switched to command mode in the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode.
  27. Electric terminal as claimed in claim 26, which is characterized in that
    In the case where the current frame rate is greater than the first frame per second threshold value and to detect current display mode not be video mode, the processor executes described before current display mode is switched to video mode, and the processor is also used to execute: judging in time T0To time T1Whether the frame per second of interior acquisition is both greater than the first frame per second threshold value, if it is, triggering the processor executes the operation that current display mode is switched to video mode;Or,
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, the processor executes described before current display mode is switched to command mode, and the processor is also used to execute: judging in time T0To time T1Whether the frame per second of interior acquisition is both less than the second frame per second threshold value, if it is, triggering the processor executes the operation that current display mode is switched to video mode;
    Wherein, the T0For current time, the time T1For the time T0Time T described in distance later0The time of first duration.
  28. Electric terminal as claimed in claim 26, it is characterized in that, the processor execution is described in the case where the corresponding display pattern of the current frame rate and current display mode are inconsistent, and current display mode, which is switched to the corresponding display pattern of the current frame rate, includes:
    In the case where it is video mode that the current frame rate, which is greater than the first frame per second threshold value, and detects current display mode not, the processor execution is described to be switched to current display mode before video mode, the processor is also used to execute: obtaining current location by positioning system, when the current location is not for electric position, triggers the processor and execute the operation that current display mode is switched to video mode;Or,
    In the case where the current frame rate is less than the second frame per second threshold value and to detect current display mode not be command mode, the processor execution is described to be switched to current display mode before command mode, the processor is also used to execute: obtaining current location by positioning system, when the current location is not for electric position, triggers the processor and execute the operation that current display mode is switched to command mode.
  29. Electric terminal as described in claim 25-28 any claim, it is characterized in that, the first frame per second threshold value is equal to the second frame per second threshold value, and the first frame per second threshold value is the frame per second when power consumption of electric terminal in the video mode is equal to the power consumption under described instruction mode.
  30. Electric terminal as described in claim 25-28 any claim, which is characterized in that the processor is also used to execute:
    According to history change data, the first frame per second threshold value and the second frame per second threshold value are obtained by machine learning algorithm;
    Wherein, frame per second when the history change data includes display pattern before converting, converted display mode and conversion.
  31. Electric terminal as described in claim 25-30 any claim, which is characterized in that the electric terminal further includes input unit, and the input unit is connected to the processor;Before the processor executes the acquisition current frame rate, the processor is also used to execute:
    The open instructions for being directed to target application is received by the input unit, and the operation for obtaining current frame rate is executed according to open instructions triggering.
  32. A kind of electric terminal, it is characterized in that, it include: processor, memory and display, the processor is connected to the memory and the display, the electric terminal can realize the switching of video mode and command mode, and the processor is for calling the instruction code stored in memory to execute:
    Identify the interface type of current display interface;
    In the case where the interface type of the current display interface is the first interface type, shown by video mode;
    In the case where the interface type of the current display interface is second contact surface type, shown by command mode.
  33. Electric terminal as claimed in claim 32, which is characterized in that
    The processor executes described in the case where the interface type of the current display interface is the first interface type, carrying out display by video mode includes: that current display mode is switched to video mode in the case where the interface type of the current display interface is the first interface type and to detect current display mode not be video mode;
    The processor executes described in the case where the interface type of the current display interface is second contact surface type, carrying out display by command mode includes: that current display mode is switched to command mode in the case where the interface type of the current display interface is second contact surface type and to detect current display mode not be command mode.
  34. Electric terminal as described in claim 32 or 33, which is characterized in that first interface type includes video playing interface;The second contact surface type includes video pause interface;
    The processor executes the interface type for identifying current display interface
    When the application currently shown is Video Applications and system is carrying out coding and decoding video, then the current display interface is the video playing interface;
    When the application currently shown is Video Applications and system does not carry out coding and decoding video, then the current display interface is the video pause interface.
  35. Electric terminal as described in claim 32 or 33, which is characterized in that first interface type includes that game carries out interface;The second contact surface type includes suspension of game play interface;
    The processor executes the interface type for identifying current display interface
    When the application currently shown is game application and detects the click frequency for the current display interface not less than frequency threshold, then current display interface is that the game carries out interface;
    When the application currently shown is game application and detects that the click frequency for the current display interface is less than frequency threshold, then current display interface is the suspension of game play interface.
  36. Electric terminal as described in claim 32 or 33, which is characterized in that first interface type includes camera shooting interface;The second contact surface type includes desk interface;
    The processor executes the interface type for identifying current display interface
    When camera is in running order, then the current display interface is that the camera shoots interface;
    When current display interface is desktop, then current display interface is desk interface.
CN201780005641.8A 2016-11-07 2017-01-20 A kind of display methods and electric terminal Pending CN108431724A (en)

Applications Claiming Priority (3)

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

Publications (1)

Publication Number Publication Date
CN108431724A true CN108431724A (en) 2018-08-21

Family

ID=62075586

Family Applications (1)

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

Country Status (2)

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

Cited By (6)

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

Families Citing this family (6)

* 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
CN114816200A (en) * 2019-11-25 2022-07-29 华为技术有限公司 Display method and electronic equipment
CN111813490A (en) * 2020-08-14 2020-10-23 Oppo广东移动通信有限公司 Method and device for processing interpolation frame
CN115190304A (en) * 2021-04-01 2022-10-14 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN113411532B (en) * 2021-06-24 2023-08-08 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for recording content
CN116723350B (en) * 2023-05-11 2024-05-31 广州道然信息科技有限公司 Method for automatically capturing picture to prevent interference

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804866A (en) * 2009-06-19 2012-11-28 高通股份有限公司 Apparatus and methods for low power sensing of wireless access technologies
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
JP2014119335A (en) * 2012-12-17 2014-06-30 Alpine Electronics Inc Communication device
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
CN106063302A (en) * 2013-03-04 2016-10-26 丘炎卫 Audio electronic product supporting interactive correlation system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804866A (en) * 2009-06-19 2012-11-28 高通股份有限公司 Apparatus and methods for low power sensing of wireless access technologies
JP2014119335A (en) * 2012-12-17 2014-06-30 Alpine Electronics Inc Communication device
CN106063302A (en) * 2013-03-04 2016-10-26 丘炎卫 Audio electronic product supporting interactive correlation system
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 (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436005A (en) * 2019-01-15 2020-07-21 北京字节跳动网络技术有限公司 Method and apparatus for displaying image
CN111436005B (en) * 2019-01-15 2022-03-08 北京字节跳动网络技术有限公司 Method and apparatus for displaying image
US11482257B2 (en) 2019-01-15 2022-10-25 Beijing Bytedance Network Technology Co., Ltd. Image display method and apparatus
CN110572608A (en) * 2019-07-29 2019-12-13 视联动力信息技术股份有限公司 Frame rate setting method and device, electronic equipment and storage medium
CN113299251A (en) * 2020-02-21 2021-08-24 联发科技股份有限公司 Control method of processor and processor
US11457173B2 (en) 2020-02-21 2022-09-27 Mediatek Inc. Dynamic frame rate adjustment mechanism
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
CN111754384A (en) * 2020-05-28 2020-10-09 维沃移动通信有限公司 Display method and device and electronic equipment
CN112135081A (en) * 2020-09-11 2020-12-25 Oppo广东移动通信有限公司 Mode control method and device, frame insertion chip and electronic equipment
CN116820293A (en) * 2023-06-30 2023-09-29 荣耀终端有限公司 Display control method and electronic equipment

Also Published As

Publication number Publication date
WO2018082213A1 (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN108431724A (en) A kind of display methods and electric terminal
US9864512B2 (en) Mobile terminal device, operation method, program, and storage medium
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
US9635267B2 (en) Method and mobile terminal for implementing preview control
WO2019233241A1 (en) Method and apparatus for starting application program, and storage medium and terminal
CN103455275A (en) Method and apparatus for moving object in terminal having touch screen
CN106249943B (en) A kind of information display method, device and terminal
WO2019019900A1 (en) Black screen gesture detection method and device, storage medium, and mobile terminal
WO2019019835A1 (en) Method and device for responding to blank screen gesture, and storage medium and mobile terminal
CN104156171A (en) Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
WO2015143966A1 (en) Terminal display mode determining method and apparatus
CN107250969A (en) Screen opening method, device and electronic equipment
WO2016165066A1 (en) Gesture control method, device, terminal apparatus and storage medium
WO2019179493A1 (en) Application processor and mobile terminal
CN104102444B (en) The method and intelligent terminal of gesture control alarm clock
CN109697088A (en) Application interface loading method, mobile terminal and computer readable storage medium
CN107450838B (en) Response method and device of black screen gesture, storage medium and mobile terminal
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
CN108885775A (en) A kind of display methods and terminal
EP3435215A1 (en) Method, device, storage medium and mobile terminal for recognizing an off-screen gesture
US20180188944A1 (en) Display apparatus and controlling method thereof
CN106598783A (en) Intelligent terminal display control method and device and intelligent terminal
CN108664285A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN112988246A (en) System switching method and device, electronic equipment and storage medium
JP2015095219A (en) Information processor, information processing method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180821

RJ01 Rejection of invention patent application after publication