CN112256223A - Display fluency adjusting method and device and electronic equipment - Google Patents

Display fluency adjusting method and device and electronic equipment Download PDF

Info

Publication number
CN112256223A
CN112256223A CN202011130645.9A CN202011130645A CN112256223A CN 112256223 A CN112256223 A CN 112256223A CN 202011130645 A CN202011130645 A CN 202011130645A CN 112256223 A CN112256223 A CN 112256223A
Authority
CN
China
Prior art keywords
screen refresh
refresh rate
preset
rate
frame
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
CN202011130645.9A
Other languages
Chinese (zh)
Other versions
CN112256223B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011130645.9A priority Critical patent/CN112256223B/en
Publication of CN112256223A publication Critical patent/CN112256223A/en
Application granted granted Critical
Publication of CN112256223B publication Critical patent/CN112256223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the disclosure discloses a display fluency adjusting method and device and electronic equipment. One embodiment of the method comprises: acquiring respective frame rates corresponding to at least one continuous drawing operation before the current moment; determining whether a screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; and responding to the determination that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to the target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display, thereby realizing the dynamic adjustment of the screen refresh rate according to the application frame rate and enabling the fluency of the application information display to be higher. In addition, by automatically adjusting the screen refresh rate, the operation of a user to manually adjust the screen refresh rate according to the application frame rate in order to obtain higher fluency can be saved.

Description

Display fluency adjusting method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of internet, and in particular to a method and a device for adjusting display fluency and an electronic device.
Background
With the popularization of smart phones, more and more applications are developed for smart phones. For applications running on a smartphone, a user wants the running of the application to be smooth. In general, the fluency of the application can be improved by setting a high screen refresh information rate.
Many mobile phone screens currently support high screen refresh rates, such as 90Hz, 120Hz, etc. If the screen on the mobile phone screen is set to be a fixed high screen refresh rate, some applications developed according to the low screen refresh rate cannot be drawn to match the high refresh rate, and unsmooth situations can occur.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a display fluency adjusting method and device and electronic equipment.
In a first aspect, an embodiment of the present disclosure provides a method for adjusting display fluency, including: acquiring respective frame rates corresponding to at least one continuous drawing operation before the current moment; determining whether a screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; and responding to the determination that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to a target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display.
In a second aspect, an embodiment of the present disclosure provides a display fluency adjusting device, including: the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring frame rates corresponding to preset application interface drawing periods before the current moment; a determining unit, configured to determine whether the screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; and the adjusting unit is used for responding to the fact that the screen refresh rate needs to be adjusted according to the frame rate and the current screen refresh rate, and adjusting the screen refresh rate to the target screen refresh rate so as to adjust the display fluency of the application information display.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the method for adjusting display fluency according to the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for adjusting display fluency according to the first aspect.
According to the method and the device for adjusting the display fluency and the electronic equipment, the frame rates corresponding to at least one continuous drawing operation before the current moment are obtained; determining whether a screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; and responding to the determination that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to the target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display, thereby realizing the dynamic adjustment of the screen refresh rate according to the application frame rate and enabling the fluency of the application information display to be higher. In addition, by automatically adjusting the screen refresh rate, the operation of a user to manually adjust the screen refresh rate according to the application frame rate in order to obtain higher fluency can be saved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow chart diagram illustrating one embodiment of a method of adjusting fluency according to the present disclosure;
FIG. 2 is a flow chart of yet another embodiment of a method of adjusting display fluency according to the present disclosure;
FIG. 3 is a flow chart of yet another embodiment of a method of adjusting display fluency according to the present disclosure;
FIG. 4 is a schematic block diagram of one embodiment of a fluency modulating mechanism according to the present disclosure;
fig. 5 is an exemplary system architecture to which a display fluency adjustment method or display fluency adjustment apparatus of one embodiment of the present disclosure may be applied;
fig. 6 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow of an embodiment of a method for adjusting display fluency according to the present disclosure is shown. As shown in fig. 1, the method for adjusting display fluency includes the following steps:
step 101, obtaining respective frame rates corresponding to at least one continuous drawing operation before the current time.
A plurality of applications are typically run in a mobile terminal. The information of the application may be displayed in a display screen of the mobile terminal.
Before displaying the information of the application, the application interface is drawn according to the information of the application.
At present, there are two ways for drawing applications under an android operating system, one is a native drawing flow provided by the android operating system, and the native drawing flow is drawn according to VSYNC (vertical synchronization semaphore) through communication between render thread and surface flag. One is to create a surfaceView that communicates directly with the surfaceFlinger through a dequeuBuffer, QueuBuffer.
After the application sends the rendering content to the surfaceflag, the surfaceflag synthesizes the rendering content of all applications when the next VSYNC comes, and then displays the synthesized content on the screen at the next VSYNC.
Frame rate (fps) means the number of display Frames Per second. A frame may be an interface of an application, or a frame of a video.
In general, in order to make the application display smooth, the screen refresh rate needs to be matched with the frame rate. Taking the screen refresh rate of 60Hz as an example, the operation of rendering and displaying the application interface needs to be completed every 1/60 seconds.
The one-time continuous drawing operation is to start to draw the interface corresponding to the user instruction according to the user instruction until stopping drawing the interface corresponding to the user instruction. For example, the user performs a sliding operation, and the drawing operation from the start of the interface sliding according to the sliding instruction of the user to the stop of the interface sliding is a continuous drawing operation. For another example, the user clicks the identifier of an application to start the application, and all the interface drawing operations from the start of the application to the time when the real interface display is not changed are one continuous drawing operation.
For each continuous drawing operation, the frame rate corresponding to the continuous drawing operation may be determined by the start time and the end time of the continuous drawing operation, and the number of frames of the displayed picture corresponding to the continuous drawing operation. Specifically, the frame rate may be calculated as follows (1):
Figure BDA0002734348350000051
and f is the frame rate corresponding to the continuous drawing operation. T1 is the time when the drawing of the first frame picture is started by the present continuous drawing operation, and T2 is the time when the drawing of the last frame picture is ended by the present continuous drawing operation. N1 is the total number of frames of the screen drawn by the present continuous drawing operation. The time unit of (T1-T2) is nanoseconds.
The number of the continuous drawing operations may be one or more, for example, 10 or 20.
And 102, determining whether the screen refresh rate needs to be adjusted or not based on the frame rate and the current screen refresh rate.
In some application scenarios, an average of respective frame rates of the at least one continuous rendering operation may be determined as a reference frame rate. And comparing the reference frame rate with the current screen refresh rate, and determining that the screen refresh rate needs to be adjusted if the difference value between the reference frame rate and the current screen refresh rate is greater than a preset difference value threshold. Otherwise, the screen refresh rate does not need to be adjusted.
And 103, responding to the fact that the screen refresh rate needs to be adjusted, adjusting the screen refresh rate to a target screen refresh rate determined according to the frame rate, and adjusting the display fluency of the application information display.
In this embodiment, after determining that the screen refresh rate needs to be adjusted in step 102, the target screen refresh rate may be determined according to the respective frame rates of the at least one continuous drawing operation. A preset screen refresh rate, in which a difference from the frame rate of the reference frame rate is smaller than the preset difference threshold, may be determined as the target screen refresh rate.
The preset screen refresh rate here may include, for example, 60Hz, 70Hz, 75Hz, 90Hz, 120Hz, and the like.
After the screen refresh rate is adjusted to the target screen refresh rate determined according to the frame rate, the matching degree of the screen refresh rate and the frame rate is higher, so that the fluency of the interface display of the application is higher.
In the method provided by this embodiment, frame rates corresponding to at least one continuous drawing operation before the current time are obtained; determining whether a screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; and responding to the determination that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to the target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display, thereby realizing the dynamic adjustment of the screen refresh rate according to the application frame rate and enabling the fluency of the application information display to be higher. In addition, by automatically adjusting the screen refresh rate, the operation of a user to manually adjust the screen refresh rate according to the application frame rate in order to obtain higher fluency can be saved.
With continued reference to fig. 2, a flow of another embodiment of a method for adjusting display fluency according to the present disclosure is shown. The method comprises the following steps:
step 201, obtaining respective frame rates corresponding to at least one continuous drawing operation before the current time.
In this embodiment, the step 201 may be the same as or similar to the embodiment shown in fig. 1, and is not described herein again.
Step 202, in response to determining that the current screen refresh rate is the first preset screen refresh rate, determining a statistical value of frame rates corresponding to at least one continuous drawing operation; the first preset screen refresh rate is greater than or equal to a first preset threshold.
In this embodiment, the first preset screen refresh rate may be 90Hz or 120 Hz. The first preset threshold may be 90 Hz.
In this embodiment, the statistical value of the frame rate corresponding to the at least one continuous drawing operation may be obtained by performing statistical analysis on the frame rate corresponding to the at least one continuous drawing operation.
In some alternative implementations, the step 202 may include the following steps:
firstly, for each frame rate, determining a weight corresponding to the frame rate according to a preset frame rate interval in which the frame rate is located.
Then, the statistical value is determined according to the weights corresponding to the plurality of frame rates.
The above statistical value s can be calculated by the following formula (2):
Figure BDA0002734348350000061
Kiis the weight of the ith frame rate. i is an integer of 1 to N. N is the number of the continuous drawing operation
At a frame rate of 10 consecutive rendering operations: [60, 69, 68, 67, 70, 65, 69, 82, 60, 72], wherein the weight corresponding to each frame rate is: [ -1, -1, -1, -1, +1, -1, -1, +3, -1, +1]. The statistical value according to the above formula (3) is:
-1-1-1-1+1-1-1+3-1+1=-2。
step 203, determining whether the screen refresh rate needs to be adjusted based on the statistical value.
And step 204, responding to the fact that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to the target screen refresh rate so as to adjust the display fluency of the application information display.
It may be determined whether the screen refresh information rate needs to be adjusted based on the above statistics.
In this embodiment, if the statistical value is smaller than the preset statistical threshold, it is determined that the screen refresh rate needs to be adjusted. Otherwise, the screen refresh rate is not adjusted.
The preset statistical threshold may be 0.
Still taking the above 10 consecutive drawing operations as an example, the above statistic is-2, thereby determining that the screen refresh rate needs to be adjusted.
The target screen refresh rate can be determined according to the respective frame rates of at least one continuous drawing operation. In some application scenarios, the screen refresh rate may be determined from a plurality of preset screen refresh rates according to an average value of respective frame rates of at least one continuous rendering operation.
In some application scenarios, the step 204 may include the following steps: determining a preset screen refresh rate that is less than the first preset screen refresh rate as a target screen refresh rate in response to determining that the statistical value is less than a preset statistical threshold value
The target screen refresh rate may be a preset screen refresh rate that is less than the first preset screen refresh rate.
In some other application scenarios, the screen refresh rate with the smallest difference from the average value may be determined as the target screen refresh rate from a plurality of preset screen refresh rates.
In some application scenarios, the first preset screen refresh rate may be 90Hz, and when the statistical value is smaller than a preset statistical threshold, 60Hz may be determined as the target screen refresh rate.
Compared with the embodiment shown in fig. 1, the embodiment highlights the step of determining whether to adjust the screen refresh rate according to the statistics of the frame rates corresponding to at least one continuous drawing operation when the screen refresh rate is greater than or equal to the first preset threshold. Therefore, when the screen refresh rate is high, the screen refresh rate is adjusted when the frame rate is not matched with the screen refresh rate, so that the information display fluency of the application is high; on the other hand, resource waste can be reduced.
With continued reference to fig. 3, a flow of another embodiment of a method for adjusting display fluency according to the present disclosure is shown. The method comprises the following steps:
step 301, obtaining respective frame rates corresponding to at least one continuous drawing operation before the current time.
Step 302, in response to determining that the current screen refresh rate is a second preset screen refresh rate, whether the respective frame rates of at least one continuous drawing operation meet a preset condition, where the second preset screen refresh rate is less than or equal to a second preset threshold.
In this embodiment, the second preset threshold may be 60 Hz. The second preset screen refresh rate may be 60 Hz.
The respective frame rates of the at least one continuous rendering operation may be determined by the method set forth in the embodiment of fig. 1. And are not described in detail herein.
Whether the respective frame rates of the at least one continuous drawing operation meet preset conditions or not comprises the following steps: determining whether the frame rate of each continuous drawing operation is greater than a preset frame rate threshold.
For example, the second predetermined screen refresh rate is 60Hz, and the predetermined frame rate threshold may be 55 fps.
The preset frame rate threshold may be a value close to the second preset screen refresh rate.
Step 303, in response to determining that the frame rate corresponding to at least one continuous drawing operation satisfies the preset condition, determining whether the screen refresh rate needs to be adjusted based on the drawing time of the multi-frame application interface in the at least one continuous drawing operation.
And determining the drawing time of the multi-frame application interface from at least one continuous drawing operation according to a preset rule. The number of multi-frame application interfaces here may comprise, for example, 120 frames. Whether the screen refresh rate needs to be adjusted may be determined according to the drawing time of the application interface of 120 frames.
The drawing time of each frame of the application interface may be a time difference between a time when the frame of the application interface is finished to be drawn and a time when the frame of the application interface is started to be drawn.
When the second preset screen refresh rate is 60Hz, if the rendering time of more than 90% of the 120 frames is less than or equal to the refresh period (e.g., 11.1ms) satisfying the other screen refresh rates, it is determined that the refresh rate needs to be adjusted. And when the screen refresh rate needs to be adjusted, determining the screen refresh rate corresponding to the refresh period as the target screen refresh rate.
The target screen refresh rate may be a preset screen refresh rate greater than the second preset screen refresh rate.
In some application scenarios, if the rendering time of more than 90% of the 120 frames is less than or equal to 11.1ms, it may be determined that the target screen refresh rate is 90 Hz.
The system may be asked to adjust the screen refresh rate to 90 Hz. The time interval of the electrical signal transmitted by the VSYCN may be adjusted to 11.1 ms.
And 304, in response to the fact that the screen refresh rate needs to be adjusted, adjusting the screen refresh rate to a target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display.
Compared with the embodiment shown in fig. 1, the embodiment highlights steps of determining whether the screen refresh rate needs to be adjusted according to the drawing time of the multi-frame application interface in at least one continuous drawing operation and determining the adjusted target screen refresh rate if it is determined that the frame rate corresponding to the at least one continuous drawing operation satisfies the preset condition when the screen refresh rate is the second preset screen refresh rate which is less than or equal to the second preset threshold. Therefore, when the set value of the screen refresh rate is smaller, the frame rate and the drawing time of the frame both meet the condition of increasing the screen refresh rate, and the screen refresh rate is adjusted. The stability of the application display interface can be increased, and the influence on eyes is smaller.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information display apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which is particularly applicable in various electronic devices. The information display device is applied to an application client.
As shown in fig. 4, the information display device of the present embodiment includes: an acquisition unit 401, a determination unit 402 and an adjustment unit 403. The obtaining unit 401 is configured to obtain frame rates corresponding to a preset number of application interface drawing cycles before a current time; a determining unit 402, configured to determine whether the screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; an adjusting unit 403, configured to adjust the screen refresh rate to a target screen refresh rate in response to determining that the screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate, so as to adjust display fluency of application information display.
In this embodiment, specific processes of the obtaining unit 401, the determining unit 402, and the adjusting unit 403 of the adjusting apparatus for displaying fluency and technical effects brought by the specific processes can refer to the related descriptions of step 101, step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some optional implementations, the determining unit 402 may be further configured to: in response to determining that the current screen refresh rate is a first preset screen refresh rate, determining a statistical value of frame rates corresponding to the at least one continuous drawing operation; the first preset screen refresh rate is greater than or equal to a first preset threshold; determining whether a screen refresh rate needs to be adjusted based on the statistical value.
In some optional implementations, the determining unit 402 is further configured to: for each frame rate, determining the weight corresponding to the frame rate according to a preset frame rate interval in which the frame rate is located; and determining the statistic value according to the weights corresponding to the frame rates.
In some optional implementations, the adjusting unit 403 is further configured to: and in response to determining that the statistical value is smaller than a preset statistical threshold, determining a preset screen refresh rate smaller than the first preset screen refresh rate as a target screen refresh rate.
In some optional implementations, the determining unit 402 is further configured to: in response to the fact that the current screen refresh rate is determined to be a second preset screen refresh rate, determining whether frame rates corresponding to at least one continuous drawing operation meet preset conditions or not, wherein the second preset screen refresh rate is smaller than or equal to a second preset threshold; and in response to the fact that the frame rate corresponding to each of the at least one continuous drawing operation meets the preset condition, determining whether the screen refresh rate needs to be adjusted or not based on the drawing time of the multi-frame application interface in the at least one continuous drawing operation.
In some optional implementations, the determining unit 402 is further configured to: determining whether the drawing time of multiple frames applied to the interface is less than or equal to a first preset time threshold; and determining that the screen refresh rate needs to be adjusted in response to the fact that the drawing time of the multiple frames applied to the interface is less than or equal to a first preset time threshold.
In some optional implementations, the target screen refresh rate is a preset screen refresh rate that is greater than the second preset screen refresh rate.
Referring to fig. 5, fig. 5 illustrates an exemplary system architecture to which a display fluency adjusting method, or a display fluency adjusting apparatus, according to an embodiment of the present disclosure may be applied.
As shown in fig. 5, the system architecture may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 501, 502, 503 may interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have various client applications installed thereon, such as a web browser application, a search-type application, a news-information-type application, a shopping-type application, an online office-type application, etc. The client application in the terminal device 501, 502, 503 may receive the instruction of the user, and complete a corresponding function according to the instruction of the user, for example, obtain display information from the server according to the instruction of the user, and display the display information.
The terminal devices 501, 502, 503 may be hardware or software. When the terminal devices 501, 502, 503 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compressed tag Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compressed tag Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal devices 501, 502, and 503 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 505 may provide various services, such as receiving the target documents sent by the terminal devices 501, 502, and 503, and saving the information of the target documents.
It should be noted that the method for adjusting display fluency provided by the embodiments of the present disclosure may be executed by a terminal device, and accordingly, the adjusting means for display fluency may be disposed in the terminal device 501, 502, 503.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 6, shown is a schematic diagram of an electronic device (e.g., the terminal device of fig. 5) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring respective frame rates corresponding to at least one continuous drawing operation before the current moment; determining whether a screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate; and responding to the determination that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to a target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of a unit does not constitute a limitation of the unit itself in some cases, and for example, the acquisition unit may also be described as "a unit that acquires frame rates corresponding to at least one of consecutive rendering operations before the current time".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method for adjusting display fluency, comprising:
acquiring respective frame rates corresponding to at least one continuous drawing operation before the current moment;
determining whether a screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate;
and responding to the determination that the screen refresh rate needs to be adjusted, and adjusting the screen refresh rate to a target screen refresh rate determined according to the frame rate so as to adjust the display fluency of the application information display.
2. The method of claim 1, wherein determining whether the screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate comprises:
in response to determining that the current screen refresh rate is a first preset screen refresh rate, determining a statistical value of frame rates corresponding to the at least one continuous drawing operation; the first preset screen refresh rate is greater than or equal to a first preset threshold;
determining whether a screen refresh rate needs to be adjusted based on the statistical value.
3. The method of claim 2, wherein determining the statistical values of the respective frame rates of the at least one continuous drawing operation in response to determining that the current screen refresh rate is a first preset screen refresh rate comprises:
for each frame rate, determining the weight corresponding to the frame rate according to a preset frame rate interval in which the frame rate is located;
and determining the statistic value according to the weights corresponding to the frame rates.
4. The method according to claim 2 or 3, wherein the adjusting the screen refresh rate to a target screen refresh rate determined according to the frame rate in response to determining that the screen refresh rate needs to be adjusted to adjust the display fluency of the application information display comprises:
and in response to determining that the statistical value is smaller than a preset statistical threshold, determining a preset screen refresh rate smaller than the first preset screen refresh rate as a target screen refresh rate.
5. The method of claim 1, wherein determining whether the screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate comprises:
in response to the fact that the current screen refresh rate is determined to be a second preset screen refresh rate, determining whether frame rates corresponding to at least one continuous drawing operation meet preset conditions or not, wherein the second preset screen refresh rate is smaller than or equal to a second preset threshold;
and in response to the fact that the frame rate corresponding to each of the at least one continuous drawing operation meets the preset condition, determining whether the screen refresh rate needs to be adjusted or not based on the drawing time of the multi-frame application interface in the at least one continuous drawing operation.
6. The method of claim 5, wherein determining whether the screen refresh rate needs to be adjusted based on the drawing time of the multi-frame application interface comprises:
determining whether the drawing time of multiple frames applied to the interface is less than or equal to a first preset time threshold;
and determining that the screen refresh rate needs to be adjusted in response to the fact that the drawing time of the multiple frames applied to the interface is less than or equal to a first preset time threshold.
7. The method according to claim 5 or 6, wherein the target screen refresh rate is a preset screen refresh rate that is greater than the second preset screen refresh rate.
8. An adjustment device for displaying fluency, comprising:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring the frame rate corresponding to at least one continuous drawing operation before the current moment;
a determining unit, configured to determine whether the screen refresh rate needs to be adjusted based on the frame rate and the current screen refresh rate;
and the adjusting unit is used for responding to the fact that the screen refresh rate needs to be adjusted according to the frame rate and the current screen refresh rate, and adjusting the screen refresh rate to the target screen refresh rate so as to adjust the display fluency of the application information display.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202011130645.9A 2020-10-20 2020-10-20 Method and device for adjusting display fluency and electronic equipment Active CN112256223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011130645.9A CN112256223B (en) 2020-10-20 2020-10-20 Method and device for adjusting display fluency and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011130645.9A CN112256223B (en) 2020-10-20 2020-10-20 Method and device for adjusting display fluency and electronic equipment

Publications (2)

Publication Number Publication Date
CN112256223A true CN112256223A (en) 2021-01-22
CN112256223B CN112256223B (en) 2024-04-19

Family

ID=74264958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011130645.9A Active CN112256223B (en) 2020-10-20 2020-10-20 Method and device for adjusting display fluency and electronic equipment

Country Status (1)

Country Link
CN (1) CN112256223B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242397A (en) * 2021-06-02 2021-08-10 北京字节跳动网络技术有限公司 Frame rate adjusting method, device and equipment
CN113721755A (en) * 2021-09-13 2021-11-30 三星电子(中国)研发中心 Screen power saving method and device
CN114071047A (en) * 2021-10-30 2022-02-18 深圳曦华科技有限公司 Frame rate control method and related device
CN114157824A (en) * 2021-11-29 2022-03-08 联想(北京)有限公司 Control method and electronic device
CN114501054A (en) * 2022-02-11 2022-05-13 腾讯科技(深圳)有限公司 Live broadcast interaction method, device, equipment and computer readable storage medium
CN115705231A (en) * 2021-08-10 2023-02-17 荣耀终端有限公司 Screen display method and terminal equipment
CN117896590A (en) * 2022-06-02 2024-04-16 荣耀终端有限公司 Barrage identification method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070139427A1 (en) * 2005-12-16 2007-06-21 Kabushiki Kaisha Toshiba Information processing apparatus and operation speed control method
US20130159880A1 (en) * 2011-12-14 2013-06-20 International Business Machines Corporation Dynamic screen sharing for optimal performance
CN106874168A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Determine method, device and the mobile terminal of application program runnability
CN106933526A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method of dynamic regulation screen refresh rate, device and mobile terminal
CN107102936A (en) * 2017-05-27 2017-08-29 腾讯科技(深圳)有限公司 The appraisal procedure and mobile terminal and storage medium of a kind of fluency
CN108628562A (en) * 2017-03-23 2018-10-09 中科创达软件股份有限公司 A kind of screen refresh method and system
CN110175062A (en) * 2019-05-20 2019-08-27 努比亚技术有限公司 A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal
CN110377251A (en) * 2019-06-06 2019-10-25 努比亚技术有限公司 A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium
CN111159042A (en) * 2019-12-31 2020-05-15 可牛网络技术(北京)有限公司 Fluency testing method and device and electronic equipment
CN111444086A (en) * 2020-02-29 2020-07-24 上海大犀角信息科技有限公司 Method and system for estimating fluency of terminal application
CN111583886A (en) * 2020-04-29 2020-08-25 珠海市魅族科技有限公司 Screen refresh rate adjusting method, device, equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070139427A1 (en) * 2005-12-16 2007-06-21 Kabushiki Kaisha Toshiba Information processing apparatus and operation speed control method
US20130159880A1 (en) * 2011-12-14 2013-06-20 International Business Machines Corporation Dynamic screen sharing for optimal performance
CN106874168A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Determine method, device and the mobile terminal of application program runnability
CN106933526A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method of dynamic regulation screen refresh rate, device and mobile terminal
CN108628562A (en) * 2017-03-23 2018-10-09 中科创达软件股份有限公司 A kind of screen refresh method and system
CN107102936A (en) * 2017-05-27 2017-08-29 腾讯科技(深圳)有限公司 The appraisal procedure and mobile terminal and storage medium of a kind of fluency
CN110175062A (en) * 2019-05-20 2019-08-27 努比亚技术有限公司 A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal
CN110377251A (en) * 2019-06-06 2019-10-25 努比亚技术有限公司 A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium
CN111159042A (en) * 2019-12-31 2020-05-15 可牛网络技术(北京)有限公司 Fluency testing method and device and electronic equipment
CN111444086A (en) * 2020-02-29 2020-07-24 上海大犀角信息科技有限公司 Method and system for estimating fluency of terminal application
CN111583886A (en) * 2020-04-29 2020-08-25 珠海市魅族科技有限公司 Screen refresh rate adjusting method, device, equipment and medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242397A (en) * 2021-06-02 2021-08-10 北京字节跳动网络技术有限公司 Frame rate adjusting method, device and equipment
CN113242397B (en) * 2021-06-02 2022-11-29 北京字节跳动网络技术有限公司 Frame rate adjusting method, device and equipment
CN115705231A (en) * 2021-08-10 2023-02-17 荣耀终端有限公司 Screen display method and terminal equipment
CN115705231B (en) * 2021-08-10 2023-10-20 荣耀终端有限公司 Screen display method and terminal equipment
CN113721755A (en) * 2021-09-13 2021-11-30 三星电子(中国)研发中心 Screen power saving method and device
CN113721755B (en) * 2021-09-13 2023-11-21 三星电子(中国)研发中心 Screen power saving method and device
CN114071047B (en) * 2021-10-30 2023-08-29 深圳曦华科技有限公司 Frame rate control method and related device
CN114071047A (en) * 2021-10-30 2022-02-18 深圳曦华科技有限公司 Frame rate control method and related device
CN114157824B (en) * 2021-11-29 2023-08-18 联想(北京)有限公司 Control method and electronic equipment
CN114157824A (en) * 2021-11-29 2022-03-08 联想(北京)有限公司 Control method and electronic device
CN114501054B (en) * 2022-02-11 2023-04-21 腾讯科技(深圳)有限公司 Live interaction method, device, equipment and computer readable storage medium
CN114501054A (en) * 2022-02-11 2022-05-13 腾讯科技(深圳)有限公司 Live broadcast interaction method, device, equipment and computer readable storage medium
CN117896590A (en) * 2022-06-02 2024-04-16 荣耀终端有限公司 Barrage identification method and related device

Also Published As

Publication number Publication date
CN112256223B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN112256223B (en) Method and device for adjusting display fluency and electronic equipment
CN111399956B (en) Content display method and device applied to display equipment and electronic equipment
CN110784754A (en) Video display method and device and electronic equipment
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
CN112954354B (en) Video transcoding method, device, equipment and medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN111163324B (en) Information processing method and device and electronic equipment
US11783865B2 (en) Method and apparatus for displaying video playback page, and electronic device and medium
CN112256231A (en) Volume control method, device, terminal and storage medium
CN112053286A (en) Image processing method, image processing device, electronic equipment and readable medium
CN111754600A (en) Poster image generation method and device and electronic equipment
CN111259636A (en) Document rendering method and device and electronic equipment
CN111596823B (en) Page display method and device and electronic equipment
CN111259291B (en) View display method and device and electronic equipment
CN113220752A (en) Display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN112256221A (en) Information display method and device and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN111324405A (en) Character display method and device and electronic equipment
CN111273884A (en) Image display method and device and electronic equipment
CN112636971B (en) Service degradation method and device, electronic equipment and storage medium
CN112578897A (en) Control method and device of electronic equipment, terminal and storage medium
CN112312224A (en) Information display method and device and electronic equipment
CN112256173A (en) Window display method and device of electronic equipment, terminal and storage medium
CN111399730A (en) Image processing method, image processing device, electronic equipment 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