CN110175062A - A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal - Google Patents

A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal Download PDF

Info

Publication number
CN110175062A
CN110175062A CN201910420833.6A CN201910420833A CN110175062A CN 110175062 A CN110175062 A CN 110175062A CN 201910420833 A CN201910420833 A CN 201910420833A CN 110175062 A CN110175062 A CN 110175062A
Authority
CN
China
Prior art keywords
mobile terminal
frame per
application
screen
layer
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.)
Granted
Application number
CN201910420833.6A
Other languages
Chinese (zh)
Other versions
CN110175062B (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910420833.6A priority Critical patent/CN110175062B/en
Publication of CN110175062A publication Critical patent/CN110175062A/en
Application granted granted Critical
Publication of CN110175062B publication Critical patent/CN110175062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides screen-refresh frame per second method of adjustment, mobile terminal and the storage mediums of a kind of mobile terminal, for mobile terminal.The rendering system that the present invention first passes through mobile terminal determines the most foreground application of mobile terminal, then refreshes frame per second by the application that rendering system obtains most foreground application, refreshes the screen-refresh frame per second of frame per second adjustment mobile terminal further according to the application of acquisition.The present invention obtains the refreshing frame per second of most foreground application in the rendering system of mobile terminal in real time, to be adjusted in time by accurately obtaining application refreshing frame per second to the screen-refresh frame per second of mobile terminal, therefore, reduce the Caton duration that mobile terminal screen is shown, and then promotes the visual experience of user.

Description

A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of screen-refresh frame per second adjustment sides of mobile terminal Method, mobile terminal and storage medium.
Background technique
With the development of science and technology, mobile terminal is gradually popularized, there is each corner in people's daily life, example Such as, smart phone, tablet computer, people can be carried out video communication, chat, be sung, made a reservation, playing trip by these mobile terminals Play etc., these mobile terminals are not only provided convenience in work for people, while also enriching daily life.
Presently, the refreshing frame per second (for ease of description, subsequent to be known as screen-refresh frame per second) one of mobile terminal screen As be set as 60FPS (Frames Per Second, the frame number of transmission per second), the screen support screen brush of partial movement terminal New frame per second is 90FPS, however when these support screens refresh and play game on the mobile terminal that frame per second is 90FPS, due to game In the process, the refreshing frame per second of game application is not unalterable, has fluctuation, shows so as to cause mobile terminal screen Fall that frame is serious, the Caton time is long, greatly reduces user experience, in this regard, mobile terminal manufacturer generally takes the method for single solution for diverse problems, 60FPS is set as by screen-refresh frame per second for some applications, for some application switchings to 90FPS, but such way It not can solve problem, still will appear the situation too long compared with Caton duration.
Summary of the invention
It is a primary object of the present invention to propose a kind of screen-refresh frame per second method of adjustment of mobile terminal, mobile terminal and Storage medium, it is intended to solve mobile terminal screen screen when application refreshes frame per second fluctuation and show that frame is serious, the Caton time is long The technical issues of.The screen-refresh frame per second method of adjustment includes:
The most foreground application of the mobile terminal is determined by the rendering system of mobile terminal;
Refresh frame per second by the application that the rendering system obtains the most foreground application;
Refresh the screen-refresh frame per second that frame per second adjusts the mobile terminal according to the application of acquisition.
Optionally, the step of most foreground application of the mobile terminal is determined by the rendering system of mobile terminal, comprising:
Obtain the top figure layer in the visibility region call back function of the rendering system;
Set the corresponding mobile terminal application of the top figure layer to the most foreground application of the mobile terminal.
Further, after the step of obtaining the top figure layer in the visibility region call back function of the rendering system, Before the step of setting the most foreground application of the mobile terminal for the corresponding mobile terminal application of the top figure layer, institute State screen-refresh frame per second method of adjustment further include:
Judge whether the corresponding mobile terminal application of the top figure layer is institute according to the title of the top figure layer Otherwise the system application for stating mobile terminal executes and sets the movement for the corresponding mobile terminal application of the top figure layer The step of most foreground application of terminal.
Further, judge that the corresponding mobile terminal of the top figure layer is answered according to the title of the top figure layer With whether be the mobile terminal system application the step of after, the screen-refresh frame per second method of adjustment includes:
It applies when the corresponding mobile terminal of the top figure layer and is obtained for the system of the mobile terminal in application, jumping to The step of taking the top figure layer in the visibility region call back function of the rendering system.
It is another further, according to the title of the top figure layer judge the top figure layer it is corresponding it is mobile eventually After the step of whether end application is the system application of the mobile terminal, the screen-refresh frame per second method of adjustment further include:
When the corresponding mobile terminal of the top figure layer applies the system for the mobile terminal in application, described in acquisition Next layer of figure layer of top figure layer;
Set the corresponding mobile terminal application of the next layer of figure layer to the most foreground application of the mobile terminal.
It is another optionally, the step of frame per second is refreshed by the application that the rendering system obtains the most foreground application, packet It includes:
It monitors the most foreground application and issues the request time interval that image buffers are requested to the rendering system;
Refresh frame per second according to the application of most foreground application described in the request time interval calculation.
Further optionally, the screen-refresh frame per second of the mobile terminal is adjusted according to the application of acquisition refreshing frame per second Step, comprising:
According to the application refresh frame per second calculate the screen-refresh frame per second be it is each can value when the mobile terminal screen Curtain obtains the time interval of the front cross frame image of the most foreground application;
The corresponding screen when screen-refresh frame per second is adjusted to the time interval minimum of the front cross frame image Refresh the value of frame per second.
It is another optionally, the step of frame per second is refreshed by the application that the rendering system obtains the most foreground application it Afterwards, refreshed before the step of frame per second adjusts the screen-refresh frame per second of the mobile terminal according to the application of acquisition, comprising:
The application of the most foreground application refreshes frame per second average value in preset period of time before acquisition current time;
The application is refreshed frame per second average value as application refreshing frame per second to export.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes processing Device, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize above-mentioned mobile terminal The step of screen-refresh frame per second method of adjustment.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer can It reads storage medium and is stored with one or more program, one or more of programs can be held by one or more processor Row, the step of to realize the above-mentioned screen-refresh frame per second method of adjustment stated.
The present invention provides screen-refresh frame per second method of adjustment, mobile terminal and the storage medium of a kind of mobile terminal, needles To mobile terminal.The rendering system that the present invention first passes through mobile terminal determines the most foreground application of mobile terminal, then passes through wash with watercolours The application that dye system obtains most foreground application refreshes frame per second, refreshes the screen of frame per second adjustment mobile terminal further according to the application of acquisition Refresh frame per second.The present invention obtains the refreshing frame per second of most foreground application in the rendering system of mobile terminal in real time, to pass through standard It really obtains and the screen-refresh frame per second of mobile terminal is adjusted in time using refreshing frame per second, therefore, reduce mobile whole The Caton duration that end screen is shown, and then promote the visual experience of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the wireless communication system of mobile terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of embodiment of the screen-refresh frame per second method of adjustment for the mobile terminal that first embodiment of the invention provides Flow diagram;
Fig. 4 is a kind of flow diagram for acquisition most foreground application that first embodiment of the invention provides;
Fig. 5 is another flow diagram for obtaining most foreground application that first embodiment of the invention provides;
Fig. 6 is the mobile terminal structure schematic diagram of second embodiment of the invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention. In subsequent description, be conducive to using the suffix for indicating such as " module ", " component " or " unit " of element Explanation of the invention itself does not have specific meaning.Therefore, " module ", " component " or " unit " can be used mixedly.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.It will be said by taking mobile terminal as an example in subsequent descriptions It is bright, it will be appreciated by those skilled in the art that other than the element for being used in particular for mobile purpose, embodiment party according to the present invention The construction of formula can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 is with can providing the IP of UE201 Location distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
It is the flow diagram of the screen-refresh frame per second method of adjustment of mobile terminal of the present invention referring to Fig. 3, Fig. 3.
In the present embodiment, the first embodiment of the screen-refresh frame per second method of adjustment of mobile terminal, this implementation are provided Example is suitable for mobile terminal, for example, smart phone, tablet computer etc., which is provided with the screen for display, needs Illustrate, it, in some cases, can be to be different from sequence herein although logical order is shown in flow charts Execute shown or described step.
In the present embodiment, screen-refresh frame per second method of adjustment includes:
Step S301 determines the most foreground application of mobile terminal by the rendering system of mobile terminal.
In the present embodiment, mobile terminal user is used on mobile terminal in application, since certain applications have certainly The application of body refreshes frame per second, just results in mobile terminal screen and occurs frame, Caton when showing the application, therefore, first obtains The most foreground application of mobile terminal, and the most foreground application of mobile terminal is determined, obtained by the rendering system of mobile terminal, The accuracy for obtaining the most foreground application can be improved, for example, determining by Surface Flinger (display synthesis system) The most foreground application of mobile terminal.
Preferably, in the most foreground application for determining mobile terminal, the visibility region call back function of rendering system is first obtained In top figure layer, then the most foreground that the corresponding mobile terminal application of the top figure layer is set as the mobile terminal is answered With to improve the accuracy rate for determining most foreground application, specifically, which is that the visibility region of rendering system is returned Top figure layer in letter of transfer number in the vertical direction.
It is considered that mobile terminal user is when using most foreground application, other mobile terminal applications may be mentioned by system Wake up/notice and occupy the top figure layer of rendering system in the form of a popup window, therefore, it is further preferred that obtaining rendering system After top figure layer in the visibility region call back function of system, set the corresponding mobile terminal application of the top figure layer to Before the most foreground application of the mobile terminal, which is judged according to the title of top figure layer Using whether be mobile terminal system application, if the top figure layer corresponding mobile terminal application is not for mobile terminal System application, then jump to the most foreground application for setting the top figure layer corresponding mobile terminal application to the mobile terminal Step has determined the most foreground application of the mobile terminal, to further improve the accuracy rate for determining most foreground application.
Still further preferably, if the system application that the corresponding mobile terminal of top figure layer is applied as mobile terminal, The step of then jumping to the top figure layer in the visibility region call back function for obtaining rendering system, until the top figure layer pair The mobile terminal application answered is not the system application of mobile terminal.Detailed process refers to Fig. 4, and Fig. 4 is first embodiment of the invention A kind of flow diagram of acquisition most foreground application provided.
Still further preferably, if the system application that the corresponding mobile terminal of top figure layer is applied as mobile terminal, The next layer of figure layer of the top figure layer in the vertical direction is then obtained, then the corresponding mobile terminal application of next layer of figure layer is set It is set to the most foreground application of the mobile terminal, to effectively avoid system pop-up notice/prompting to acquisition top figure layer Interference.Detailed process refers to Fig. 5, and Fig. 5 is another process for obtaining most foreground application that first embodiment of the invention provides Schematic diagram.
Step S302 refreshes frame per second by the application that rendering system obtains most foreground application.
In the present embodiment, this is obtained most in the most foreground application that mobile terminal has been determined and then by rendering system The application of foreground application refreshes frame per second, and should be understood that the application refreshes the application that frame per second is the most foreground application obtained in real time Refresh frame per second, there is real-time.
Preferably, when the application for obtaining the most foreground application refreshes frame per second, first most foreground application is sent out to rendering system The request time interval of image buffers request is monitored out, further according to answering for the request time interval calculation most foreground application With frame per second is refreshed, so that the real-time application for being accurately obtained most foreground application refreshes frame per second.
In view of in partial game is applied, the fluctuation that application refreshes the real value of frame per second is more frequent, therefore, another excellent Selection of land, after the application for obtaining the most foreground application refreshes frame per second, the screen-refresh frame per second of the adjustment mobile terminal Before, on the basis of current time, the application refreshing frame per second of most foreground application is average in preset period of time before acquisition current time Value, and the application is refreshed into application refreshing frame per second of the frame per second average value as the most foreground application at current time and is exported, To effectively avoid the irregular Caton because frequently resulting in using refresh frame rate real-time fluctuations, and then improve the stream using display Smooth degree.It is further preferred that the preset period of time is 5 seconds, so that the fluency of application display increases substantially.
Step S303 refreshes the screen-refresh frame per second of frame per second adjustment mobile terminal according to the application of acquisition.
In the present embodiment, it after the application for obtaining mobile terminal most foreground application refreshes frame per second, can be answered according to this The screen-refresh frame per second of mobile terminal is reasonably adjusted with frame per second is refreshed, to promote the fluency of application display.
Preferably, first according to the application of mobile terminal refresh frame per second calculate screen-refresh frame per second be it is each can value time shift it is dynamic Terminal screen obtains the time interval of the front cross frame image of most foreground application, then screen-refresh frame per second is adjusted to the front cross frame image Time interval minimum when corresponding screen-refresh frame per second value, to improve the fluency using display.
In view of the refreshing frame per second of current mobile terminal screen is based on 60FPS and 90FPS, therefore, further preferably The screen-refresh frame per second is adjusted to by ground when application refreshing frame per second range at [0,20] and [50,70] (including end value) 60FPS is generally no more than 90FPS in view of the application refreshing frame per second of current mobile terminal application, therefore, when application refreshes frame per second When outside the above range, the screen-refresh frame per second is adjusted to 90FPS, to further promote the smoothness of application display Degree.
The screen-refresh frame per second method of adjustment for present embodiments providing a kind of mobile terminal, for mobile terminal.The present invention The rendering system for first passing through mobile terminal determines the most foreground application of mobile terminal, then obtains most foreground by rendering system and answers Application refreshes frame per second, refreshes the screen-refresh frame per second of frame per second adjustment mobile terminal further according to the application of acquisition.The present invention exists The rendering system of mobile terminal obtains the refreshing frame per second of most foreground application in real time, to apply refresh frame by accurately obtaining Rate is adjusted the screen-refresh frame per second of mobile terminal in time, therefore, when reducing the Caton that mobile terminal screen is shown It is long, and then promote the visual experience of user.
Second embodiment
Shown in Figure 6, the present embodiment provides a kind of mobile terminals, comprising: processor, memory and communication bus, Wherein, communication bus stores for realizing the connection communication between processor and memory, processor for executing in memory One or more program, with realize such as the screen-refresh frame per second method of adjustment of mobile terminal any in the various embodiments described above Step.
The present embodiment also provides a kind of computer storage medium, which is stored with one or more journey Sequence, one or more program can be executed by one or more processor, to realize such as any screen in the various embodiments described above Curtain refreshes the step of frame per second method of adjustment.The screen-refresh frame of the specific embodiment of mobile terminal of the present invention and above-mentioned mobile terminal Each specific embodiment of rate method of adjustment is essentially identical, and therefore not to repeat here.
The mobile terminal and computer readable storage medium provided through this embodiment, for mobile terminal.The present invention is first The most foreground application of mobile terminal is determined by the rendering system of mobile terminal, and most foreground application is then obtained by rendering system Application refresh frame per second, further according to acquisition application refresh frame per second adjustment mobile terminal screen-refresh frame per second.The present invention is moving The rendering system of dynamic terminal obtains the refreshing frame per second of most foreground application in real time, to refresh frame per second by accurately obtaining application The screen-refresh frame per second of mobile terminal is adjusted in time, therefore, reduces the Caton duration that mobile terminal screen is shown, And then promote the visual experience of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of screen-refresh frame per second method of adjustment of mobile terminal is applied to mobile terminal, which is characterized in that the screen brush Newly frame per second method of adjustment includes:
The most foreground application of the mobile terminal is determined by the rendering system of mobile terminal;
Refresh frame per second by the application that the rendering system obtains the most foreground application;
Refresh the screen-refresh frame per second that frame per second adjusts the mobile terminal according to the application of acquisition.
2. screen-refresh frame per second method of adjustment as described in claim 1, which is characterized in that pass through the rendering system of mobile terminal The step of determining the most foreground application of the mobile terminal, comprising:
Obtain the top figure layer in the visibility region call back function of the rendering system;
Set the corresponding mobile terminal application of the top figure layer to the most foreground application of the mobile terminal.
3. screen-refresh frame per second method of adjustment as claimed in claim 2, which is characterized in that obtain the visible of the rendering system After the step of top figure layer in the call back function of region, set the corresponding mobile terminal application of the top figure layer to Before the step of most foreground application of the mobile terminal, the screen-refresh frame per second method of adjustment further include:
Judge whether the corresponding mobile terminal application of the top figure layer is the shifting according to the title of the top figure layer The system application of dynamic terminal, otherwise executes and sets the mobile terminal for the corresponding mobile terminal application of the top figure layer Most foreground application the step of.
4. screen-refresh frame per second method of adjustment as claimed in claim 3, which is characterized in that according to the name of the top figure layer After judging the step of whether corresponding mobile terminal application of the top figure layer is referred to as the system application of the mobile terminal, The screen-refresh frame per second method of adjustment includes:
The system for the mobile terminal, which is applied, when the corresponding mobile terminal of the top figure layer obtains institute in application, jumping to The step of stating the top figure layer in the visibility region call back function of rendering system.
5. screen-refresh frame per second method of adjustment as claimed in claim 3, which is characterized in that according to the name of the top figure layer After judging the step of whether corresponding mobile terminal application of the top figure layer is referred to as the system application of the mobile terminal, The screen-refresh frame per second method of adjustment further include:
When the corresponding mobile terminal of the top figure layer applies the system for the mobile terminal in application, most pushing up described in acquisition Next layer of figure layer of portion's figure layer;
Set the corresponding mobile terminal application of the next layer of figure layer to the most foreground application of the mobile terminal.
6. screen-refresh frame per second method of adjustment as described in claim 1, which is characterized in that obtain institute by the rendering system The step of stating the application refreshing frame per second of most foreground application, comprising:
It monitors the most foreground application and issues the request time interval that image buffers are requested to the rendering system;
Refresh frame per second according to the application of most foreground application described in the request time interval calculation.
7. screen-refresh frame per second method of adjustment as described in claim 1, which is characterized in that refreshed according to the application of acquisition Frame per second adjusts the step of screen-refresh frame per second of the mobile terminal, comprising:
According to the application refresh frame per second calculate the screen-refresh frame per second be it is each can value when the mobile terminal screen obtain Take the time interval of the front cross frame image of the most foreground application;
The corresponding screen-refresh when screen-refresh frame per second is adjusted to the time interval minimum of the front cross frame image The value of frame per second.
8. screen-refresh frame per second method of adjustment as described in claim 1, which is characterized in that obtain institute by the rendering system After the step of stating the application refreshing frame per second of most foreground application, the frame per second adjustment movement is refreshed eventually according to the application of acquisition Before the step of screen-refresh frame per second at end, the screen-refresh frame per second method of adjustment includes:
The application of the most foreground application refreshes frame per second average value in preset period of time before acquisition current time;
The application is refreshed frame per second average value as application refreshing frame per second to export.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as claim 1-8 is any The step of screen-refresh frame per second method of adjustment described in item.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 such as appoints Described in one the step of screen-refresh frame per second method of adjustment.
CN201910420833.6A 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium Active CN110175062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910420833.6A CN110175062B (en) 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910420833.6A CN110175062B (en) 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110175062A true CN110175062A (en) 2019-08-27
CN110175062B CN110175062B (en) 2023-11-14

Family

ID=67691603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910420833.6A Active CN110175062B (en) 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110175062B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110681155A (en) * 2019-09-29 2020-01-14 Oppo广东移动通信有限公司 Game optimization method, game optimization device and mobile terminal
CN110708587A (en) * 2019-09-29 2020-01-17 南阳柯丽尔科技有限公司 Window image refreshing frequency determining method and device, computer equipment and medium
CN110955397A (en) * 2019-10-30 2020-04-03 努比亚技术有限公司 Method for setting frame rate of game terminal, game terminal and storage medium
CN111444086A (en) * 2020-02-29 2020-07-24 上海大犀角信息科技有限公司 Method and system for estimating fluency of terminal application
CN112256223A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Display fluency adjusting method and device and electronic equipment
CN112948041A (en) * 2021-02-26 2021-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN113032065A (en) * 2020-12-31 2021-06-25 努比亚技术有限公司 Screen refresh control method, mobile terminal and computer readable storage medium
CN113760080A (en) * 2020-06-04 2021-12-07 北京小米移动软件有限公司 Display method, display device and storage medium
CN113791684A (en) * 2021-09-15 2021-12-14 Oppo广东移动通信有限公司 Method for acquiring application frame rate, refreshing device, mobile terminal and storage medium
CN115665482A (en) * 2022-11-09 2023-01-31 腾讯科技(深圳)有限公司 Video rendering method and device, computer equipment and storage medium
EP4280056A4 (en) * 2021-03-24 2024-06-26 Huawei Technologies Co., Ltd. Method for application performing drawing operation, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731543A (en) * 2015-03-23 2015-06-24 深圳市欧珀通信软件有限公司 Method and device for displaying screen refresh rate
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device
CN106296566A (en) * 2016-08-12 2017-01-04 南京睿悦信息技术有限公司 A kind of virtual reality mobile terminal dynamic time frame compensates rendering system and method
CN106933526A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method of dynamic regulation screen refresh rate, device and mobile terminal
US20180033378A1 (en) * 2016-07-29 2018-02-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for adjusting refresh rate
CN109308173A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Display methods and device, display terminal and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731543A (en) * 2015-03-23 2015-06-24 深圳市欧珀通信软件有限公司 Method and device for displaying screen refresh rate
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device
US20180033378A1 (en) * 2016-07-29 2018-02-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for adjusting refresh rate
CN106296566A (en) * 2016-08-12 2017-01-04 南京睿悦信息技术有限公司 A kind of virtual reality mobile terminal dynamic time frame compensates rendering system and method
CN106933526A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method of dynamic regulation screen refresh rate, device and mobile terminal
CN109308173A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Display methods and device, display terminal and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANGELO R, ET AL: "Error resilient joint source-channel adaptive intra-refresh rate for wireless video transmission", 2014 19TH INTERNATIONAL CONFERENCE ON DIGITAL SIGNAL PROCESSING *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708587B (en) * 2019-09-29 2021-11-12 南阳柯丽尔科技有限公司 Window image refreshing frequency determining method and device, computer equipment and medium
CN110708587A (en) * 2019-09-29 2020-01-17 南阳柯丽尔科技有限公司 Window image refreshing frequency determining method and device, computer equipment and medium
CN110681155A (en) * 2019-09-29 2020-01-14 Oppo广东移动通信有限公司 Game optimization method, game optimization device and mobile terminal
CN110955397A (en) * 2019-10-30 2020-04-03 努比亚技术有限公司 Method for setting frame rate of game terminal, game terminal and storage medium
CN111444086A (en) * 2020-02-29 2020-07-24 上海大犀角信息科技有限公司 Method and system for estimating fluency of terminal application
CN113760080B (en) * 2020-06-04 2024-04-30 北京小米移动软件有限公司 Display method, device and storage medium
CN113760080A (en) * 2020-06-04 2021-12-07 北京小米移动软件有限公司 Display method, display device and storage medium
CN112256223A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Display fluency adjusting method and device and electronic equipment
CN112256223B (en) * 2020-10-20 2024-04-19 北京字节跳动网络技术有限公司 Method and device for adjusting display fluency and electronic equipment
CN113032065A (en) * 2020-12-31 2021-06-25 努比亚技术有限公司 Screen refresh control method, mobile terminal and computer readable storage medium
CN113032065B (en) * 2020-12-31 2024-03-19 努比亚技术有限公司 Screen refresh control method, mobile terminal and computer readable storage medium
CN112948041A (en) * 2021-02-26 2021-06-11 联想(北京)有限公司 Information processing method and electronic equipment
EP4280056A4 (en) * 2021-03-24 2024-06-26 Huawei Technologies Co., Ltd. Method for application performing drawing operation, and electronic device
CN113791684A (en) * 2021-09-15 2021-12-14 Oppo广东移动通信有限公司 Method for acquiring application frame rate, refreshing device, mobile terminal and storage medium
CN113791684B (en) * 2021-09-15 2024-08-02 Oppo广东移动通信有限公司 Method for acquiring application frame rate, refreshing device, mobile terminal and storage medium
CN115665482A (en) * 2022-11-09 2023-01-31 腾讯科技(深圳)有限公司 Video rendering method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110175062B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN110175062A (en) A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal
CN110377251A (en) A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN109144440A (en) A kind of display refresh control method, terminal and computer readable storage medium
CN109376669A (en) Control method, mobile terminal and the computer readable storage medium of intelligent assistant
CN110134471A (en) A kind of screens switch animation control methods, terminal and computer readable storage medium
CN108989873A (en) Barrage information display method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN110069167A (en) Touch point sweep-out method, mobile terminal and computer readable storage medium
CN109753210A (en) The information display method of mobile terminal, mobile terminal, readable storage medium storing program for executing
CN109271227A (en) False-touch prevention method, apparatus and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108259658A (en) Flexible screen terminal and its electricity based reminding method, computer readable storage medium
CN109428923A (en) Information push method, server, terminal and computer readable storage medium
CN110087267A (en) Method for switching network, device, electronic equipment and readable storage medium storing program for executing
CN110401806A (en) A kind of video call method of mobile terminal, mobile terminal and storage medium
CN109545120A (en) Screen photosensitive sensors adjusting method, mobile terminal and computer readable storage medium
CN108958932A (en) A kind of control method of background application, terminal and computer readable storage medium
CN109389394A (en) A kind of multi-screen payment control method, equipment and computer readable storage medium
CN109558009A (en) Video broadcasting method, mobile terminal and computer readable storage medium
CN108958452A (en) A kind of screen control method, terminal and computer readable storage medium
CN108933863A (en) A kind of call interaction regulation method, equipment and computer readable storage medium
CN110174963A (en) A kind of terminal control method, terminal and computer readable storage medium
CN110083423A (en) Interface jump method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant