Display method, display device, electronic device, and storage medium
By detecting the operation scenarios and touch events of the application on the mobile terminal device and dynamically adjusting the display frame rate, the problem of excessive power consumption of social short video applications is solved, and efficient power management and smooth user experience is achieved.
Patent Information
- Application Number
- CN202110156135.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-04
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-02-04
AI Technical Summary
When using social short video applications, the frame rate setting of mobile terminal devices leads to excessively high power consumption, affecting the user experience, and the prior art sacrifices the performance of terminal devices when reducing power consumption.
Dynamically adjust the display frame rate by detecting the running scene and touch events of the target application. For example, the default frame rate is 30 frames when watching a video, and the default frame rate is adjusted to 60 frames when a touch event is detected to improve the display effect.
It realizes intelligent adjustment of the display frame rate according to user needs in different operating scenarios, balances user experience and power consumption, reduces the power consumption of the device, and ensures the smoothness of the user's viewing.
Smart Images

Figure CN112835544B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a display method and a display device, an electronic device, and a storage medium. Background Art
[0002] With the development of mobile terminal technology, the types of applications on mobile terminals are increasing. With the rise of social short video applications, users often set the frame rate higher when using these applications, resulting in excessive power consumption of terminal devices, requiring users to frequently charge their terminal devices.
[0003] In the prior art, mobile terminals can reduce power consumption by lowering screen brightness, data processing speed, etc., but this method sacrifices part of the performance of the terminal device, resulting in a reduced user experience, and needs to be improved. Summary of the invention
[0004] Embodiments of the present invention provide a display method and a display device, an electronic device, and a storage medium, so as to at least solve the problem of balancing user experience and power consumption in the related art.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a display method, the method comprising:
[0007] When it is determined that the target application is in a first running scenario, determining a first display frame rate corresponding to the first running scenario, and outputting a screen of the target application at the first display frame rate;
[0008] When a touch event for the target application is detected, the first display frame rate is adjusted to a second display frame rate, and the screen of the target application is output according to the second display frame rate.
[0009] In a second aspect, an embodiment of the present application provides a display device, including: a determination unit, a display unit, a detection unit, and an adjustment unit; wherein:
[0010] The determining unit is configured to determine, when determining that the target application is in a first running scenario, a first display frame rate corresponding to the first running scenario;
[0011] The display unit is configured to output a screen of the target application at the first display frame rate;
[0012] The detection unit is used to detect whether a touch event for the target application occurs;
[0013] The adjusting unit is configured to adjust the first display frame rate to a second display frame rate when the detecting unit detects a touch event for the target application;
[0014] The display unit is further configured to output the screen of the target application according to the second display frame rate.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is used to execute the above-mentioned display method when running the computer program.
[0016] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned display method is performed.
[0017] The technical solution of the embodiment of the present application, when it is determined that the target application is in a specific operating scenario, outputs the screen of the target application according to the first display frame rate corresponding to the operating scenario. When a touch event for the target application is detected, the aforementioned first display frame rate is adjusted to the second display frame rate. The second display frame rate, as an update frame rate, can be greater than the initial first display frame rate. Therefore, according to the actual usage scenario of the user, the most suitable display frame rate screen is intelligently adjusted for the user. Thereby solving the problem of balancing user experience and power consumption in the related art. And it can reduce the power consumption of the display device, and enable the target application to achieve a display effect that adapts to user needs in different operating scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0019] Figure 1 A schematic diagram of a flow chart of a display method provided in an embodiment of the present application;
[0020] Figure 2 An exemplary flow chart of a display method provided in an embodiment of the present application;
[0021] Figure 3 An application example of a display method provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of the structure of a display device provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0026] To facilitate understanding of the technical solutions of the embodiments of the present application, the embodiments of the present application are first briefly described below with respect to the related technologies involved in the embodiments of the present application.
[0027] The display method on the mobile terminal generally includes the following two schemes:
[0028] In the first solution, the application processor (AP) directly outputs a 60-frame picture composed of multiple layers due to the synthesis of multiple layers during use. For example, when browsing short video applications, the source frame rate of the currently browsed video is 30 frames, and the scrolling subtitles or combo special effects output on the same screen as the video need to use 60 frames to improve display smoothness. Therefore, after synthesizing the video layer and subtitle layers, the AP actually outputs a 60-frame picture.
[0029] It is easy to understand that in this solution, the terminal consumes high power because of the long-term output of high frame rate images, especially when the current users are using short video applications such as Douyin and Kuaishou for a gradually increasing period of time. This will not only cause mobile phones and other terminals to consume power quickly, but also cause heating problems due to long-term use. When users use such short video applications, most of their time and attention is actually spent on watching the video itself, and the source frame rate of most videos is 30 frames. In addition, if the user is in the scene of entering comments, watching live broadcasts, recording live broadcasts, recording videos, etc. in the application, 30 frames are enough to ensure smooth viewing.
[0030] The second solution is to force the AP's output frame rate to be limited to 30 frames when a short video application is detected. The frame rate will only be restored to 60 frames or higher after the application is exited.
[0031] Compared with the first solution, the second solution optimizes power consumption, but it will lead to poor viewing experience for users. For example, when users watch 60-frame videos, the AP will force the output to be limited to 30 frames, which will affect the viewing fluency of users. Similarly, when users use combo effects or other special effects, the fluency will also be affected.
[0032] In summary, in the related technologies, the relationship between display power consumption and ensuring user viewing effect needs to be further optimized.
[0033] Based on this, the following technical solution of the embodiment of the present application is proposed, in which, when it is determined that the target application is in a specific operating scenario, the screen of the target application is output according to the first display frame rate corresponding to the operating scenario. When a touch event for the target application is detected, the aforementioned first display frame rate is adjusted to the second display frame rate. The second display frame rate, as an update frame rate, can be greater than the initial first display frame rate. Therefore, according to the actual usage scenario of the user, the frame rate is first intelligently identified, and then based on the touch events in the specific segmented scenarios that indicate the need to improve the display effect, the frame rate of the AP output screen is intelligently increased, so that the target application can adapt to the user's viewing fluency requirements in different operating scenarios. Thereby solving the problem of balancing user experience and power consumption in the related technology, achieving the effect of not affecting the user's viewing effect and optimizing power consumption.
[0034] The following describes the execution steps of the display method. Figure 1 is a flow chart of the display method provided in the embodiment of the present application, such as Figure 1 As shown, the process includes the following steps:
[0035] Step 101: When it is determined that a target application is in a first running scenario, a first display frame rate corresponding to the first running scenario is determined, and a screen of the target application is output according to the first display frame rate.
[0036] Step 102: When a touch event for the target application is detected, the first display frame rate is adjusted to a second display frame rate, and the screen of the target application is output according to the second display frame rate.
[0037] In the above steps 101 and 102, the execution subject may be a mobile terminal, a computer terminal or a similar computing device. The terminal may be implemented in various forms. For example, the terminal described in the embodiment of the present application may include mobile terminals such as mobile phones, smart phones, laptops, digital broadcast receivers, personal digital assistants (PDA, Personal Digital Assistant), tablet computers (PAD), portable multimedia players (PMP, Portable Media Player), navigation devices, smart wearable devices (Wearable Device), etc., and fixed terminals such as digital TV, smart home appliances, desktop computers, etc. Below, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed type terminals.
[0038] It should be noted that the frame rate mentioned in the present display method may be any frame rate supported by the electronic device or display device to which the method is applied, including 25 frames, 30 frames, 60 frames, and 120 frames, etc. In the following, it is assumed that the display device only supports 30 frames and 60 frames.
[0039] In step 101, when it is determined that the target application is in a first scene, the terminal determines a first display frame rate corresponding to the first scene, and the AP of the terminal outputs the screen of the target application according to the first display frame rate for display on the display screen.
[0040] Here, the target application can be a short video application, or a game application or a map application. In some possible embodiments, the first operating scenario is used to refer to those operating scenarios in the target application in which the display frame rate can change with viewing time or user attention. For example, in a short video application, if no special effects are required, the display frame rate is 30 frames of the video source frame rate. If special effects need to be displayed, the display frame rate needs to be increased to 60 frames accordingly. In actual applications, special effects can be like effects, gift effects, and so on.
[0041] In one embodiment, determining a first display frame rate corresponding to the first operating scenario includes:
[0042] If the first running scenario is a first type of scenario, obtaining a frame rate of a video source of the target application in the first running scenario;
[0043] The frame rate of the video source is determined as the first display frame rate.
[0044] In some possible implementations, the first type of scenario is a video watching scenario or a live broadcast watching scenario.
[0045] Here, the first type of scene is used to characterize scenes in which the first display frame rate is determined by a video source frame rate or a game source frame rate.
[0046] It is easy to understand that the terminal can determine the video source of the relevant video or live broadcast in the video watching or live broadcast scene as the first display frame rate. In this way, it can avoid the waste of power caused by displaying the original 30-frame video at 60 frames in the related art.
[0047] In actual applications, when watching a 30-frame video source, using 30-frame playback can reduce power consumption by 120 to 160 mW compared to using 60-frame playback. However, since the video source is also 30 frames, there is no actual viewing effect.
[0048] In another embodiment, determining a first display frame rate corresponding to the first operating scenario includes:
[0049] If the first running scenario is a second type of scenario, the first specified frame rate is determined as the first display frame rate.
[0050] Here, the terminal first intelligently determines that the target application is in the second type of scenario, and then determines the first specified frame rate as the first display frame rate.
[0051] It should be noted that the second type of scene is used to characterize those scenes that belong to the first operating scene but are not the first type of scene. In one possible implementation, the second type of scene is a scene for viewing the comment area. It should be understood that in actual applications, in the scene for viewing the comment area, when the user types some specific characters, the screen needs to display the corresponding high-smoothness special effects. For example, if you type "Happy Birthday", the screen may display a dynamic cake special effect. Before the user types, 30 frames can be used as the display frame rate to save energy.
[0052] It should also be noted that, in some implementations, the first specified frame rate is 30 frames. In practical applications, the first specified frame rate is determined by the frame rate required for displaying pictures of the second type of scene.
[0053] In step 102, when a touch event for the target application is detected, the AP of the terminal adjusts the first display frame rate to the second display frame rate, and then outputs the screen of the target application according to the second display frame rate.
[0054] Regarding touch events, it should be noted that not any touch on the screen by the user for the target application is a touch event. Touch events are used to characterize those touch, click, and gesture operations that trigger the AP to adjust the display frame rate. Other touches that are not touch events may be false touches or other normal operations that do not cause the AP to adjust the frame rate. For example, when the user is watching a video, touching the sound adjustment area will not trigger the AP's frame rate adjustment operation, but tapping the screen repeatedly will trigger the like effect, which is a touch event.
[0055] In one embodiment, the first display frame rate is 30 frames, and the second display frame rate is 60 frames.
[0056] In some possible embodiments, the display method further includes the following steps:
[0057] After the first display frame rate is adjusted to the second display frame rate, if no touch event for the target application is detected within a specified time period, the second display frame rate is adjusted to the first display frame rate, and the screen of the target application is output according to the first display frame rate.
[0058] It is easy to understand that when the second display frame rate is higher than the first display frame rate, if a period of time has passed since the touch event that caused the use of the second display frame rate, adjusting the display frame rate back to the first display frame rate can effectively save energy consumption.
[0059] In one embodiment, the display method further includes the following steps:
[0060] When it is determined that the target application is in the second running scenario, a third display frame rate corresponding to the second running scenario is determined, and the screen of the target application is output according to the third display frame rate.
[0061] Here, the second running scene is used to characterize scenes that can always use the same display frame rate in the scene, and is used to distinguish from the first running scene. When it is determined that the target application is in the second running scene, the terminal determines a third display frame rate corresponding to the second running scene, and outputs the screen of the target application according to the third display frame rate.
[0062] It should be noted that the third display frame rate described here may be the same as the first display frame rate or the second display frame rate in terms of value. "Third" is used to indicate that the frame rate corresponds to the second operating scenario.
[0063] In some possible embodiments, determining the third display frame rate corresponding to the second operating scenario includes at least one of the following situations:
[0064] If the second running scene is a third type of scene, determining the first specified frame rate as the third display frame rate;
[0065] If the second operating scenario is a fourth type of scenario, the second specified frame rate is determined as the third display frame rate.
[0066] In actual applications, the third type of scenario is a live broadcast scenario or a video recording scenario, and the fourth type of scenario is a scenario other than the following scenarios among the multiple types of running scenarios supported by the target application: watching video scenes, watching live broadcast scenes, watching comment area scenes, live broadcast scenarios, and video recording scenarios.
[0067] It is easy to understand that when the first specified frame rate is 30 frames and the second specified frame rate is 60 frames, for live broadcast or video recording scenes, 30 frames can be determined as the display frame rate. For other scenes that require high fluency, such as bullet screen scenes, 60 frames can be determined as the display frame rate.
[0068] In the above method embodiment, the terminal first intelligently identifies the frame rate according to the actual usage scenario of the user, and then intelligently increases the frame rate of the AP output screen based on the touch events used to indicate the need to improve the display effect in the specific segmented scenario, so that the target application can adapt to the user's viewing fluency requirements in different operating scenarios. This solves the problem of balancing user experience and power consumption in related technologies, achieving the effect of not affecting the user's viewing effect and optimizing power consumption.
[0069] Next, combine Figure 2 The embodiments of the present application are further described. Figure 2 An example flow chart of a display method provided by an embodiment of the present application is shown. The key items in this example are introduced as follows:
[0070] When the target application is a short video APP, the running scenarios of the APP are identified through intelligent AI. Here, the running scenarios include: watching videos, watching live broadcasts, watching comment areas, starting live broadcasts, recording videos, and other scenarios, a total of six scenarios. Among them, watching videos and watching live broadcasts are the first type of scenarios; watching comment area scenes are the second type of scenarios; starting live broadcasts and recording video scenes are the third type of scenarios; other scenes are the fourth type of scenarios. The first and second types of scenarios are both the first running scenarios, and the third and fourth types of scenarios are both the second running scenarios. The following describes the display processing flow of the terminal when each scene is identified:
[0071] When the short video watching scene is identified: In one embodiment, the data code stream goes through the processor's hard decoding channel, allowing the AP to obtain the specific frame rate of the video source to be played in advance, and report the frame rate information to the processor. The processor then determines the obtained video source frame rate value as the first display frame rate, adjusts the GPU to draw a frame rate picture with the same frame rate as the first display frame rate, and sends it to the display screen to display the picture. When a touch screen (TP, Touch Panel) is detected, the GPU draws the picture frame rate to restore to the second display frame rate (60 frames); when there is no TP touch within a certain period of time, the GPU restores the drawing of the same frame rate (first display frame rate) of the video source. The video source frame rate can be 30 frames or 60 frames. For the case where the video source frame rate is 60 frames, it is easy to understand that because the second display frame rate is the same as the first display frame rate, after detecting a touch event, the terminal does not actually need to change the display frame rate.
[0072] Live streaming scene: The data code stream goes through the processor's hard decoding channel, allowing the AP to obtain the specific frame rate of the video source to be played in advance, and report the frame rate information to the processor. The processor then determines the obtained video source frame rate value as the first display frame rate, adjusts the GPU to draw the same frame rate as the first display frame rate, and sends it to the display screen for display. When TP touch is detected, the GPU draws the picture frame rate back to the second display frame rate; when there is no TP touch for a certain period of time, the GPU resumes drawing the first display frame rate picture.
[0073] Viewing the comment area: When the processor detects that the user is viewing the comment area, the GPU draws the first specified frame rate (30 frames) and sends it to the display screen for display. When a TP touch is detected, the GPU draws the picture frame rate up to the second display frame rate (60 frames); when there is no TP touch for a certain period of time, the GPU resumes drawing the first specified frame rate for output.
[0074] Live broadcast scenario: When the processor detects that the user has entered the live broadcast scenario, it adjusts the GPU to draw the first specified frame rate (30 frames) and sends it to the display screen for display.
[0075] Video recording scene: When the processor recognizes that the user has entered the video recording scene, it adjusts the GPU to draw the first specified frame rate (30 frames) and sends it to the display screen for display.
[0076] Other scenarios: GPU draws the second specified frame rate (60 frames) for screen output.
[0077] In some possible implementations, when the APP is exited or switched to the background, the processor adjusts the GPU to draw a 60-frame or higher frame rate picture.
[0078] Next, combine Figure 3 The embodiments of the present application are further illustrated. Figure 3 An application example of a display method provided by an embodiment of the present application is shown. The key items in this example are introduced as follows:
[0079] In step 1, when the terminal determines that the target application is in a video viewing scene, the frame rate of the short video source is determined to be the first display frame rate (30 frames), and the screen of the target application is output according to 30 frames.
[0080] In step 2, a touch event on the target application display screen is detected, specifically, a tap operation on the video playback area is detected, and the terminal AP adjusts the first display frame rate to the second display frame rate (60 frames) and outputs the target application screen at 60 frames.
[0081] It is easy to understand that the continuous click operation on the video playback area will trigger the application to execute the animation special effect of thumbs up, and the smooth display of this special effect needs to match the display frame rate of 60 frames. Therefore, after detecting the touch event, the terminal adjusts the first display frame rate to the second display frame rate, and outputs the screen of the target application at the second display frame rate. In this example, because there is no need to maintain a high frame rate output in the absence of a touch event, energy consumption can be saved, and the problem of balancing user experience and power consumption in related technologies is solved, so as to achieve the effect of not affecting the user's viewing effect and optimizing power consumption.
[0082] To implement the method of the embodiment of the present application, the embodiment of the present application also provides a display device, such as Figure 4 As shown, the display device 400 includes:
[0083] A determining unit 401 is configured to determine, when determining that a target application is in a first running scenario, a first display frame rate corresponding to the first running scenario;
[0084] A display unit 402, configured to output a screen of the target application at the first display frame rate;
[0085] A detection unit 403, used to detect whether a touch event for the target application occurs;
[0086] An adjusting unit 404 is configured to adjust the first display frame rate to a second display frame rate when the detection unit detects a touch event for the target application;
[0087] The display unit 402 is further configured to output the screen of the target application according to the second display frame rate.
[0088] In one implementation, when determining the first display frame rate corresponding to the first operating scenario, the determining unit 401 is configured to:
[0089] If the first running scenario is a first type of scenario, obtaining a frame rate of a video source of the target application in the first running scenario;
[0090] The frame rate of the video source is determined as the first display frame rate.
[0091] In one implementation, when determining the first display frame rate corresponding to the first operating scenario, the determining unit 401 is configured to:
[0092] If the first running scenario is a second type of scenario, the first specified frame rate is determined as the first display frame rate.
[0093] In one implementation, the adjustment unit 404 is further configured to:
[0094] After the first display frame rate is adjusted to the second display frame rate, if no touch event for the target application is detected within a specified time period, the second display frame rate is adjusted to the first display frame rate, and the screen of the target application is output according to the first display frame rate.
[0095] In one implementation, the determining unit 401 is further configured to:
[0096] When it is determined that the target application is in the second running scenario, a third display frame rate corresponding to the second running scenario is determined, and the screen of the target application is output according to the third display frame rate.
[0097] In one implementation, the determining unit 401, when determining the third display frame rate corresponding to the second operating scenario, is configured to:
[0098] If the second running scene is a third type of scene, determining the first specified frame rate as the third display frame rate;
[0099] If the second operating scenario is a fourth type of scenario, the second specified frame rate is determined as the third display frame rate.
[0100] In one embodiment, the third type of scenario is a live broadcast scenario or a video recording scenario, and the fourth type of scenario is a scenario other than the following scenarios among the multiple types of running scenarios supported by the target application: watching video scene, watching live broadcast scene, watching comment area scene, live broadcast scene, and video recording scene.
[0101] In an embodiment of the present application, the determination unit 401, the display unit 402, the detection unit 403 and the adjustment unit 404 in the display device 400 can be implemented by a processor in the terminal, such as a central processing unit (CPU), an application processor, a digital signal processor (DSP), a microcontroller unit (MCU) or a programmable gate array (FPGA).
[0102] It should be noted that: when the display device 400 provided in the above embodiment is displayed, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the terminal is divided into different program modules to complete all or part of the above-described processing. In addition, the display device and the display method embodiment provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0103] Based on the hardware implementation of the above program modules and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device. Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device 500 includes:
[0104] Communication interface 510, capable of exchanging information with other devices such as network devices;
[0105] The processor 520 is connected to the communication interface 510 to implement information interaction with other devices and is used to execute the method provided by one or more technical solutions on the server side when running the computer program. The computer program is stored in the memory 530.
[0106] Of course, in actual application, the various components in the electronic device 500 are coupled together through the bus system 540. It can be understood that the bus system 540 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 5 Various buses are labeled as bus system 540 .
[0107] The memory 530 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 500. Examples of such data include: any computer program used to operate on the electronic device 500.
[0108] It can be understood that the memory 530 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 530 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.
[0109] The method disclosed in the above embodiment of the present application can be applied to the processor 520, or implemented by the processor 520. The processor 520 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 520 or the instruction in the form of software. The above processor 520 can be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 520 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 530, and the processor 520 reads the program in the memory 530 and completes the steps of the above method in combination with its hardware.
[0110] Optionally, when the processor 520 executes the program, the corresponding process implemented by the electronic device 500 in each method of the embodiments of the present application is implemented, which will not be described in detail here for the sake of brevity.
[0111] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory storing a computer program, and the computer program can be executed by a processor to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0112] In the several embodiments provided in the present application, it should be understood that the disclosed display device, electronic device and method can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0113] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0114] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0115] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0116] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a network device, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0117] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display method, characterized in that: include: When it is determined that the target application is in a first running scenario, determining a first display frame rate corresponding to the first running scenario, and outputting a screen of the target application at the first display frame rate; When a touch event for the target application is detected, adjusting the first display frame rate to a second display frame rate, and outputting a screen of the target application according to the second display frame rate; When it is determined that the target application is in the second running scenario, determining a third display frame rate corresponding to the second running scenario, and outputting the screen of the target application according to the third display frame rate; The second running scenario is used to represent a scenario in which the same display frame rate is always used; The determining of the first display frame rate corresponding to the first operating scenario includes: If the first operating scenario is a first type of scenario, the frame rate of the video source of the target application in the first operating scenario is obtained; the frame rate of the video source is determined as the first display frame rate; the first type of scenario is used to characterize a scenario in which the first display frame rate is determined by the video source frame rate or the game source frame rate.
2. The method according to claim 1, characterized in that The determining of the first display frame rate corresponding to the first operating scenario further includes: If the first running scenario is a second type of scenario, the first specified frame rate is determined as the first display frame rate.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: After the first display frame rate is adjusted to the second display frame rate, if no touch event for the target application is detected within a specified time period, the second display frame rate is adjusted to the first display frame rate, and the screen of the target application is output according to the first display frame rate.
4. The method according to claim 1, characterized in that: The determining a third display frame rate corresponding to the second operating scenario includes: If the second running scene is a third type of scene, determining the first specified frame rate as the third display frame rate; If the second operating scenario is a fourth type of scenario, the second specified frame rate is determined as the third display frame rate.
5. The method according to claim 4, characterized in that The third type of scenario is a live broadcast scenario or a video recording scenario, and the fourth type of scenario is a scenario other than the following scenarios among the multiple types of running scenarios supported by the target application: watching video scenes, watching live broadcast scenes, watching comment area scenes, starting live broadcast scenes, and recording video scenes.
6. A display device, characterized in that: include: determination unit, display unit, detection unit and adjustment unit; wherein, The determining unit is configured to determine, when determining that the target application is in a first running scenario, a first display frame rate corresponding to the first running scenario; The determination unit is further configured to, when determining a first display frame rate corresponding to the first operating scenario, if the first operating scenario is a first type of scenario, obtain a frame rate of a video source of the target application in the first type of scenario; determine the frame rate of the video source as the first display frame rate; the first type of scenario is used to characterize a scenario in which the first display frame rate is determined by a video source frame rate or a game source frame rate; The display unit is configured to output a screen of the target application at the first display frame rate; The detection unit is used to detect whether a touch event for the target application occurs; The adjusting unit is configured to adjust the first display frame rate to a second display frame rate when the detecting unit detects a touch event for the target application; The display unit is further configured to output the screen of the target application according to the second display frame rate; The determination unit is also used to determine that when the target application is in a second operating scenario, determine a third display frame rate corresponding to the second operating scenario, and output the screen of the target application according to the third display frame rate; the second operating scenario is used to represent a scenario in which the same display frame rate is always used.
7. An electronic device, characterized in that: include: a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 5.
8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Display screen refreshing frame rate adjusting method and apparatus
CN105869560A
Screen refresh rate adjusting method and device, equipment and medium
CN111583886A
Display frame rate regulation and control method and device and computer readable storage medium
CN112102780A