WO2021057448A1 - 信息显示方法和装置 - Google Patents
信息显示方法和装置 Download PDFInfo
- Publication number
- WO2021057448A1 WO2021057448A1 PCT/CN2020/113473 CN2020113473W WO2021057448A1 WO 2021057448 A1 WO2021057448 A1 WO 2021057448A1 CN 2020113473 W CN2020113473 W CN 2020113473W WO 2021057448 A1 WO2021057448 A1 WO 2021057448A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frequency
- display
- information
- displayed
- refresh
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/003—Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2092—Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
- G09G3/2096—Details of the interface to the display terminal specific for a flat panel
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
- G09G3/3611—Control of matrices with row and column drivers
- G09G3/3618—Control of matrices with row and column drivers with automatic refresh of the display panel using sense/write circuits
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0613—The adjustment depending on the type of the information to be displayed
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0686—Adjustment of display parameters with two or more screen areas displaying information with different brightness or colours
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/10—Special adaptations of display systems for operation with variable images
- G09G2320/103—Detection of image changes, e.g. determination of an index representative of the image change
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2330/00—Aspects of power supply; Aspects of display protection and defect management
- G09G2330/02—Details of power systems and of start or stop of display operation
- G09G2330/021—Power management, e.g. power saving
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0407—Resolution change, inclusive of the use of different resolutions for different screen areas
- G09G2340/0435—Change or adaptation of the frame rate of the video stream
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2370/00—Aspects of data communication
- G09G2370/04—Exchange of auxiliary data, i.e. other than image data, between monitor and graphics controller
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2370/00—Aspects of data communication
- G09G2370/10—Use of a protocol of communication by packets in interfaces along the display data pipeline
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2370/00—Aspects of data communication
- G09G2370/20—Details of the management of multiple sources of image data
Definitions
- This application relates to the technical field of electronic equipment, and in particular to an information display method and device.
- the process of display on the display is that the processor sends the information to be displayed to the display, and the information to be displayed is transmitted through the relevant protocol.
- the processor can pass The instruction signal controls the display of the display screen, and the display screen can also notify the processor of the current display status through the instruction signal.
- the present application proposes an information display method and device to solve the technical problems in the prior art that when multiple to-be-displayed information with multiple refresh frequencies are displayed, the information display freezes, is repeatedly displayed, or loses frames.
- the information display method proposed in an embodiment of the present application includes the following steps: obtaining the information type of each information to be displayed in a plurality of information to be displayed; judging whether the information type includes the target information type; if the target information is included Type, the first refresh frequency of the target information to be displayed corresponding to the target information type is acquired, and the first display frequency of the display screen is determined according to the first refresh frequency; and the multiple display frequencies are displayed according to the first display frequency.
- the information display device proposed in another embodiment of the present application includes: a first acquisition module for acquiring the information type of each information to be displayed in a plurality of information to be displayed; a first judgment module for judging the information type Whether the target information type is included in the target information type; the second acquisition module is used to acquire the first refresh frequency of the target to-be-displayed information corresponding to the target information type when the target information type is included, and determine according to the first refresh frequency The first display frequency of the display screen; a display module for displaying the plurality of to-be-displayed information according to the first display frequency.
- the terminal device proposed in another embodiment of the present application includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor executes the information display method.
- the information display method includes: obtaining the information type of each information to be displayed in a plurality of to-be-displayed information; judging whether the information type includes a target information type; if the target information type is included, obtaining the target information type Corresponds to the first refresh frequency of the target information to be displayed, and determines the first display frequency of the display screen according to the first refresh frequency; and displays the plurality of to-be-displayed information according to the first display frequency.
- a non-transitory computer-readable storage medium is provided in an embodiment of the present application, and a computer program is stored thereon, and when the program is executed by a processor, the above-mentioned information display method is realized.
- Fig. 1 is a schematic diagram of display interaction between a processor and a display screen according to the prior art
- Figure 2-1 is a schematic diagram of a display information display interface according to the prior art
- Figure 2-2 is a schematic diagram of another display interaction between a processor and a display screen according to the prior art
- FIG. 3 is a schematic flowchart of an information display method provided by an embodiment of this application.
- FIG. 5 is a schematic flowchart of another information display method provided by an embodiment of the application.
- FIG. 6 is a schematic flowchart of yet another information display method provided by an embodiment of this application.
- FIG. 7 is a schematic flowchart of another information display method provided by an embodiment of this application.
- FIG. 8 is a schematic structural diagram of an information display device provided by an embodiment of the application.
- FIG. 9 is a schematic structural diagram of another information display device provided by an embodiment of the application.
- FIG. 10 is a schematic structural diagram of yet another information display device provided by an embodiment of this application.
- FIG. 11 is a schematic structural diagram of yet another information display device provided by an embodiment of this application.
- FIG. 12 is a schematic structural diagram of another information display device provided by an embodiment of the application.
- FIG. 13 is a schematic structural diagram of a terminal device provided by an embodiment of the application.
- the information display method of the embodiment of the present application includes:
- the target information type If the target information type is included, obtain the first refresh frequency of the target to-be-displayed information corresponding to the target information type, and determine the first display frequency of the display screen according to the first refresh frequency;
- obtaining the first refresh frequency of the target information to be displayed corresponding to the target information type, and determining the first display frequency of the display screen according to the first refresh frequency includes: determining the target information to be displayed. Whether the number of displayed information is greater than 1. If the number is greater than 1, it is determined whether the multiple first refresh frequencies corresponding to the multiple target to-be-displayed information are the same. If they are not the same, the first least common multiple of the multiple first refresh frequencies is calculated to obtain the first display frequency.
- the method further includes: if the number is 1, determining that the first refresh frequency is the first display frequency.
- the method before displaying a plurality of to-be-displayed information according to the first display frequency, the method further includes: when the first display frequency is greater than the preset display frequency, adjusting the first display frequency to the preset display frequency.
- the method further includes:
- the method further includes: if it is greater than the preset display frequency, determining the largest second refresh frequency among the plurality of second refresh frequencies; The relationship between the display frequency and the maximum second refresh frequency is set, and the third display frequency of the display screen is determined from the preset display frequency and the maximum second refresh frequency; a plurality of to-be-displayed information is displayed according to the third display frequency.
- determining the third display frequency of the display screen in determining the preset display frequency and the maximum second refresh frequency according to the magnitude relationship between the preset display frequency and the maximum second refresh frequency includes: determining the maximum second refresh frequency Whether the refresh frequency is greater than or equal to the preset display frequency; if it is greater than or equal to the preset display frequency, the preset display frequency is determined to be the third display frequency; if it is less than or equal to the preset display frequency, the maximum second refresh frequency is determined to be the third display frequency .
- the method before displaying a plurality of pieces of to-be-displayed information according to the third display frequency, the method further includes: acquiring a rendering mode corresponding to each piece of to-be-displayed information; determining whether the rendering mode includes a central processing unit rendering mode; The processor rendering mode renders the to-be-displayed information corresponding to the central processing unit rendering mode according to the third display frequency.
- the information display device of the embodiment of the present application includes a first acquisition module 10, a first judgment module 20, a second acquisition module 30, and a display module 40.
- the first acquiring module 10 is used to acquire the information type of each information to be displayed in a plurality of to-be-displayed information;
- the first judging module 20 is used to judge whether the target information type is included in the information type;
- the second acquiring module 30 is used to For the information type, the first refresh frequency of the target information to be displayed corresponding to the target information type is acquired, and the first display frequency of the display screen is determined according to the first refresh frequency;
- the display module 40 is used to display a plurality of to-be-displayed information according to the first display frequency information.
- the second acquiring module 30 further includes a first determining unit 31, a second determining unit 32, and a calculating unit 33.
- the first judging unit 31 is used for judging whether the number of the target information to be displayed is greater than one; the second judging unit 32 is used for judging whether the multiple first refresh frequencies corresponding to the multiple target information to be displayed are the same when the number is greater than one
- the calculation unit 33 is configured to calculate the first least common multiple of the multiple first refresh frequencies when they are not the same to obtain the first display frequency.
- the information display device further includes a third acquisition module 50, a second judgment module 60, a calculation module 70, and a third judgment module 80.
- the third obtaining module 50 is used for obtaining the second refresh frequency of each of the pieces of information to be displayed when judging that the information type does not contain the target information type;
- the second judging module 60 is used for judging multiple pieces of information to be displayed Whether the corresponding multiple second refresh frequencies are the same;
- the calculation module 70 is configured to calculate the second least common multiple of the multiple second refresh frequencies to obtain the second display frequency of the display screen when the multiple second refresh frequencies are not the same;
- the judging module 80 is used for judging whether the second display frequency is less than or equal to the preset display frequency;
- the display module 40 is also used for displaying a plurality of information to be displayed according to the second display frequency when the second display frequency is less than or equal to the preset display frequency.
- the information display device further includes a determining module 90.
- the determining module 90 is configured to determine the maximum second refresh frequency among the plurality of second refresh frequencies when it is determined that the second display frequency is greater than the preset display frequency; the determining module 90 is also configured to determine the maximum second refresh frequency according to the preset display frequency and the maximum second refresh frequency.
- the relationship between the magnitude of the frequency, the third display frequency of the display screen is determined from the preset display frequency and the maximum second refresh frequency.
- the display module 40 is further configured to display a plurality of to-be-displayed information according to the third display frequency.
- the information display device further includes a third obtaining module 100, a fourth determining module 110, and a rendering module 120.
- the third obtaining module 100 is used to obtain the rendering mode corresponding to each information to be displayed;
- the fourth determining module 110 is used to determine whether the rendering mode includes the central processing unit rendering mode;
- the rendering module 120 is used to obtain the central processing unit rendering mode when the central processing unit is included. , Rendering the information to be displayed corresponding to the rendering mode of the central processing unit according to the third display frequency.
- the terminal device 200 in the embodiment of the present application includes a memory 210, a processor 220, and a computer program stored on the memory 210 and running on the processor 220.
- Information display method obtain the information type of each information to be displayed in a plurality of information to be displayed; determine whether the information type contains the target information type; if it includes the target information type, obtain the first information of the target information to be displayed corresponding to the target information type A refresh frequency, and the first display frequency of the display screen is determined according to the first refresh frequency; a plurality of to-be-displayed information is displayed according to the first display frequency.
- obtaining the first refresh frequency of the target information to be displayed corresponding to the target information type, and determining the first display frequency of the display screen according to the first refresh frequency includes: determining the target information to be displayed. Whether the number of displayed information is greater than 1. If the number is greater than 1, it is determined whether the multiple first refresh frequencies corresponding to the multiple target to-be-displayed information are the same. If they are not the same, the first least common multiple of the multiple first refresh frequencies is calculated to obtain the first display frequency.
- the method further includes: if the number is 1, determining that the first refresh frequency is the first display frequency.
- the method before displaying a plurality of to-be-displayed information according to the first display frequency, the method further includes: when the first display frequency is greater than the preset display frequency, adjusting the first display frequency to the preset display frequency.
- the method further includes: if the target information type is not included, acquiring the second information of each of the multiple to-be-displayed information Refresh frequency; determine whether the multiple second refresh frequencies corresponding to the multiple information to be displayed are the same; if the multiple second refresh frequencies are not the same, calculate the second least common multiple of the multiple second refresh frequencies to obtain the second display of the display screen Frequency; Determine whether the second display frequency is less than or equal to the preset display frequency; if it is less than or equal to the preset display frequency, display a plurality of to-be-displayed information according to the second display frequency.
- the method further includes: if it is greater than the preset display frequency, determining the largest second refresh frequency among the plurality of second refresh frequencies; The relationship between the display frequency and the maximum second refresh frequency is set, and the third display frequency of the display screen is determined from the preset display frequency and the maximum second refresh frequency; a plurality of to-be-displayed information is displayed according to the third display frequency.
- determining the third display frequency of the display screen in determining the preset display frequency and the maximum second refresh frequency according to the magnitude relationship between the preset display frequency and the maximum second refresh frequency includes: determining the maximum second refresh frequency Whether the refresh frequency is greater than or equal to the preset display frequency; if it is greater than or equal to the preset display frequency, the preset display frequency is determined to be the third display frequency; if it is less than or equal to the preset display frequency, the maximum second refresh frequency is determined to be the third display frequency .
- the method before displaying a plurality of pieces of to-be-displayed information according to the third display frequency, the method further includes: acquiring a rendering mode corresponding to each piece of to-be-displayed information; determining whether the rendering mode includes a central processing unit rendering mode; The processor rendering mode renders the to-be-displayed information corresponding to the central processing unit rendering mode according to the third display frequency.
- a non-transitory computer-readable storage medium has a computer program stored thereon, and is characterized in that, when the computer program is executed by a processor, the information display method described in any one of the above embodiments is implemented.
- the information display method and device of the embodiments of the present application are described below with reference to the accompanying drawings.
- the display screen may display multiple information to be displayed at the same time. For example, when the user is watching a video in the small screen mode, the display screen may display comment information, navigation bar information, video information, etc. at the same time. Each piece of information to be displayed has a corresponding refresh frequency. When multiple refresh frequencies do not match the display frequency of the display screen, the phenomenon of dropped frames, repeated frames, or freezes will occur. For example, if the display information is refreshed in the display interval of the display frequency, frame dropping will occur.
- the present application proposes an optimized information display method to ensure the smooth display of related display information and at the same time balance the display power consumption of the display screen.
- FIG. 3 is a schematic flowchart of an information display method provided by an embodiment of the application.
- the information display method includes the following steps:
- Step 101 Obtain the information type of each to-be-displayed information in a plurality of to-be-displayed information.
- Step 102 Determine whether the target information type is included in the information type.
- the display screen corresponds to multiple pieces of information to be displayed, which may include static display content such as comment information, or dynamic display content such as video.
- static display content such as comment information
- dynamic display content such as video.
- the information type includes the target information type, where the target information type may refer to the above-mentioned dynamic display type, or may be any user-defined information type.
- the information type recognition model is trained in advance based on a large amount of sample data, and each information to be displayed is input into the corresponding recognition model, and the information type corresponding to each information to be displayed is determined.
- the handle of the display layer corresponding to each information to be displayed is extracted, and the corresponding information type is determined based on the keyword of the handle.
- the display control of the corresponding layer in each information to be displayed is obtained, and the corresponding information type is determined according to the centralized type of the display control.
- the display control corresponding to the current information to be displayed is basically a video control, then
- the information type is a dynamic information type.
- Step 103 If the target information type is included, obtain the first refresh frequency of the target information to be displayed corresponding to the target information type, and determine the first display frequency of the display screen according to the first refresh frequency.
- Step 104 Display multiple pieces of to-be-displayed information according to the first display frequency.
- the first refresh frequency of the information to be displayed is determined and determined according to the first refresh frequency
- the first display frequency and further, a plurality of to-be-displayed information is displayed according to the first display frequency.
- the refresh frequency can be understood as the refresh rate of the information to be displayed, such as the refresh rate of the layer where it is located, and the display frequency can be understood as the display frequency of the display clock of the display.
- the display frequency determines the transmission of the information to be displayed. Give the speed of the display.
- the processor transmits corresponding information to be displayed to the display screen according to the display frequency, so as to realize the display of the information to be displayed on the display screen.
- the above-mentioned first refresh frequency is set in advance according to the information content of the information to be displayed.
- the manufacturer of the information to be displayed sets a first refresh frequency that meets the standard according to industry standards.
- the corresponding relationship between the first refresh frequency and the information to be displayed may be determined in advance according to industry standards, so that based on the corresponding information query, the first refresh frequency of the target information to be displayed corresponding to the target information type is determined.
- the method of determining the first display frequency of the display screen is different according to the first refresh frequency:
- the first refresh frequency is directly used as the first display frequency, thus, based on The first refresh frequency to display multiple information to be displayed can ensure the smoothness of the displayed target information to be displayed. If the number of target information to be displayed is greater than 1, that is, there are multiple target information to be displayed, multiple target information to be displayed will be considered. Displaying information, judging whether the multiple first refresh frequencies corresponding to the multiple target information to be displayed are the same, and if they are the same, the multiple pieces of to-be-displayed information are displayed directly based on the first refresh frequency as the final first display frequency.
- the first least common multiple of the multiple first refresh frequencies is calculated to obtain the first display frequency.
- the first display frequency It is calculated according to the first least common multiple of multiple first refresh frequencies, and multiple different first display frequencies can be adapted so that each first refresh frequency coincides with the corresponding first display frequency, so that no This may cause frame loss or repeated frames of the target information to be displayed, which ensures the smoothness of playback of the target information to be displayed, and balances the display power consumption of the display screen.
- the largest first refresh frequency can be directly obtained as the last first display frequency. display.
- the preset display frequency may be determined according to the remaining power of the terminal device where the current display screen is located, or it may be the location of the display screen.
- the achievable maximum display frequency if the first display frequency is less than or equal to the preset frequency, multiple pieces of to-be-displayed information are directly displayed according to the first display frequency. If the first display frequency is greater than the preset display frequency, the first display frequency is adjusted to the preset display frequency to ensure that the smooth display of the target information to be displayed can be supported to the greatest extent.
- the refresh frequency of each information to be displayed is taken into consideration to determine the final display frequency of the display screen.
- the method further includes:
- Step 201 If the target information type is not included, obtain the second refresh frequency of each of the multiple to-be-displayed information.
- the second refresh frequency of each to-be-displayed information is acquired.
- Step 202 Determine whether the multiple second refresh frequencies corresponding to the multiple pieces of to-be-displayed information are the same.
- Step 203 If the multiple second refresh frequencies are not the same, calculate the second least common multiple of the multiple second refresh frequencies to obtain the second display frequency of the display screen.
- the second least common multiple of the multiple second refresh frequencies is calculated to obtain the second display of the display screen. For example, if the second refresh frequency is 30HZ and 24HZ, the least common multiple of the two is calculated to obtain the second display frequency of 120HZ as the second display frequency.
- the second refresh frequency is used as the second display frequency of the display screen.
- Step 204 Determine whether the second display frequency is less than or equal to a preset display frequency.
- the preset display frequency in this embodiment may be determined according to the remaining power of the terminal device where the current display screen is located, or may be the maximum display frequency that the display screen can achieve.
- Step 205 If the preset display frequency is less than or equal to the preset display frequency, display a plurality of to-be-displayed information according to the second display frequency.
- each second refresh frequency coincides with the second display frequency, ensuring the smoothness of the display of each information to be displayed.
- the second display frequency calculated based on the second least common multiple balances the power consumption of the display screen. .
- the second display frequency is greater than the preset display frequency, in order to ensure that the smooth display of the information to be displayed can be supported to the greatest extent, the largest second refresh frequency among the multiple second refresh frequencies is determined, Furthermore, according to the relationship between the preset display frequency and the maximum second refresh frequency, the third display frequency of the display screen is determined from the preset display frequency and the maximum second refresh frequency.
- the maximum second refresh frequency is determined Whether the refresh frequency is greater than or equal to the preset display frequency, if it is greater than or equal to the preset display frequency, the preset display frequency is determined as the third display frequency, if it is less than or equal to the preset display frequency, the maximum second refresh frequency is determined to be the third display frequency That is, the maximum value among the preset display frequency and the maximum second refresh frequency is determined as the third display frequency, and finally, a plurality of to-be-displayed information is displayed according to the third display frequency. Since the display frequency of the third display information is relatively large, it can overlap with the multiple second refresh frequencies to the greatest extent, which guarantees the display fluency of multiple to-be-displayed information to a greater extent.
- the rendering method of the information to be displayed is to obtain resource refresh directly based on the network, for example, the comment information is directly read from the server, and the display frequency of the information to be displayed can be obtained based on network resources.
- the rendering mode of the information to be displayed is the central processing unit rendering method
- the second refresh rate refers to the rendering frequency of the central processing unit.
- Many game interfaces that require central processing unit rendering are only in the central processing unit.
- the corresponding information to be displayed can be obtained at the corresponding display frequency. Therefore, in an embodiment of the present application, in order to ensure that the corresponding information to be displayed can be displayed at the third display frequency,
- the rendering speed of the central processing unit is adapted to the third display frequency.
- the rendering mode corresponding to each information to be displayed is acquired.
- the rendering mode can be determined according to the information type of the information to be displayed, etc., and it is determined whether the rendering mode includes the central processing unit rendering mode.
- the central processing unit rendering mode renders the information to be displayed corresponding to the central processing unit rendering mode according to the third display frequency.
- the information to be displayed is A and B
- the corresponding refresh frequencies are a and b, where a is greater than b
- the target information type is a video type
- the preset display frequency is the maximum display frequency that the display screen can support.
- first determine whether the information to be displayed is whether there are videos in A and B. If there are videos, use the refresh frequency corresponding to the video as the display frequency of the display to display the information to be displayed as A and B, for example,
- the information to be displayed is that A is video, and the refresh rate is a as the display frequency of the display screen.
- the information to be displayed is that there is no video in A and B, obtain the least common multiple x of the refresh frequency of a and b, and judge whether x is greater than the maximum display frequency that the display can support. If it is not greater than, then use x as the display's
- the display frequency if it is greater than the maximum display frequency that the display can support, the maximum value of refresh rate a and b is used as the display frequency of the display, and it is judged whether the information to be displayed B is the GPU rendering mode of the central processing unit. If it is, the rendering speed of the information B to be displayed is increased to a for drawing at the same time. If the information B to be displayed is not in the GPU rendering mode of the central processing unit, the refresh frequency of the information B to be displayed is not changed.
- the information to be displayed is A, B, C, and the corresponding refresh frequencies are a, b, and c, where a is greater than b, b is greater than c, the target information type is video type, and the preset display frequency is display screen The maximum display frequency that can be supported.
- the information to be displayed is that there are videos in A, B, and C
- the frequency is used as the display frequency of the information to be displayed on the display screen as A, B, C. If it is greater than 1, it is judged whether the least common multiple z of the refresh frequency corresponding to the video is greater than the maximum display frequency that the display can support.
- the least common multiple z is used as the display frequency at which the information to be displayed on the display screen is A, B, C. If the least common multiple z is greater than the maximum display frequency that the display can support, the maximum value of the refresh frequency corresponding to the video is used as the display display
- the information to be displayed is the display frequency of A, B, and C.
- the preset display frequency can be understood as the maximum display frequency supported by the display.
- the maximum refresh frequency among the multiple refresh frequencies is greater than or equal to the preset display frequency, then multiple pieces of information to be displayed will be displayed at the preset display frequency to maximize To ensure the smoothness of the display of multiple to-be-displayed information, if the maximum refresh rate among the multiple refresh frequencies is less than or equal to the preset display frequency, the multiple to-be-displayed information is displayed at the maximum refresh rate among the multiple refresh frequencies to ensure multiple Based on the display fluency of the information to be displayed, balance the display power consumption of the display screen.
- the information display method of the embodiment of the present application obtains the information type of each information to be displayed in a plurality of to-be-displayed information, determines whether the information type includes the target information type, and further, if it includes the target information type, obtains the target information
- the first refresh frequency of the target information to be displayed corresponding to the type, and the first display frequency of the display screen is determined according to the first refresh frequency, and finally, multiple pieces of information to be displayed are displayed according to the first display frequency. Therefore, when multiple pieces of information to be displayed are included, priority is given to ensuring the smooth and complete display of the information to be displayed of a specific information type, and the power consumption during information display is balanced, which solves the problem of stalling and duplication of information display in the prior art.
- Technical problems with display or frame loss are described by the information type of each information to be displayed in a plurality of to-be-displayed information, determines whether the information type includes the target information type, and further, if it includes the target information type, obtains the target information
- this application also proposes an information display device.
- FIG. 8 is a schematic structural diagram of an information display device provided by an embodiment of the application.
- the information display device includes: a first acquisition module 10, a first judgment module 20, a second acquisition module 30 and a display module 40.
- the first obtaining module 10 is used to obtain the information type of each information to be displayed in a plurality of information to be displayed.
- the first judgment module 20 is used to judge whether the target information type is included in the information type.
- the second obtaining module 30 is configured to obtain the first refresh frequency of the target information to be displayed corresponding to the target information type when the target information type is included, and determine the first display frequency of the display screen according to the first refresh frequency.
- the display module 40 is configured to display a plurality of to-be-displayed information according to the first display frequency.
- the second acquisition module 30 includes: a first judgment unit 31, a second judgment unit 32. Computing unit 33.
- the first determining unit 31 is used to determine whether the number of target information to be displayed is greater than one.
- the second judging unit 32 is configured to judge whether the multiple first refresh frequencies corresponding to the multiple target information to be displayed are the same when the number is greater than one.
- the calculating unit 33 is configured to calculate the first least common multiple of the multiple first refresh frequencies when they are not the same to obtain the first display frequency.
- the device further includes: a third acquisition module 50, a second judgment module 60, and a calculation module 70 And the third judgment module 80, in which,
- the third obtaining module 50 is configured to obtain the second refresh frequency of each piece of information to be displayed in the plurality of pieces of information to be displayed when judging that the information type does not include the target information type.
- the second judging module 60 is used to judge whether the multiple second refresh frequencies corresponding to the multiple pieces of information to be displayed are the same.
- the calculation module 70 is configured to calculate the second least common multiple of the multiple second refresh frequencies to obtain the second display frequency of the display screen when the multiple second refresh frequencies are not the same.
- the third determining module 80 is configured to determine whether the second display frequency is less than or equal to the preset display frequency.
- the display module 40 is further configured to display multiple pieces of to-be-displayed information according to the second display frequency when the display frequency is less than or equal to the preset display frequency.
- the device further includes: a determining module 90, wherein:
- the determining module 90 is configured to determine the largest second refresh frequency among the plurality of second refresh frequencies when it is determined that the second display frequency is greater than the preset display frequency.
- the determining module 90 is further configured to determine the third display frequency of the display screen from the preset display frequency and the maximum second refresh frequency according to the relationship between the preset display frequency and the maximum second refresh frequency.
- the display module 40 is further configured to display a plurality of to-be-displayed information according to the third display frequency.
- the device further includes: a third acquisition module 100, a fourth judgment module 110, and a rendering module 120 ,among them,
- the third obtaining module 100 is configured to obtain the rendering mode corresponding to each information to be displayed.
- the fourth determining module 110 is used to determine whether the rendering mode includes the central processing unit rendering mode.
- the rendering module 120 is configured to render information to be displayed corresponding to the central processing unit rendering method according to the third display frequency when the central processing unit rendering method is included.
- the information display device of the embodiment of the present application obtains the information type of each information to be displayed in the plurality of to-be-displayed information, determines whether the information type includes the target information type, and further, if it includes the target information type, obtains the target information
- the first refresh frequency of the target information to be displayed corresponding to the type, and the first display frequency of the display screen is determined according to the first refresh frequency, and finally, multiple pieces of information to be displayed are displayed according to the first display frequency. Therefore, when multiple pieces of information to be displayed are included, priority is given to ensuring the smooth and complete display of the information to be displayed of a specific information type, and the power consumption during information display is balanced, which solves the problem of stalling and duplication of information display in the prior art. Technical problems with display or frame loss.
- this application also proposes a terminal device.
- FIG. 13 is a schematic structural diagram of a terminal device provided by an embodiment of the application.
- the aforementioned terminal device 200 includes:
- the memory 210 and the processor 220 are connected to the bus 230 of different components (including the memory 210 and the processor 220).
- the memory 210 stores a computer program.
- the processor 220 executes the program, the terminal device-based data processing method according to the embodiment of the present application is implemented .
- the bus 230 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures.
- these architectures include, but are not limited to, industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
- ISA industry standard architecture
- MAC microchannel architecture
- VESA Video Electronics Standards Association
- PCI peripheral component interconnection
- the terminal device 200 typically includes a variety of terminal device readable media. These media may be any available media that can be accessed by the terminal device 200, including volatile and non-volatile media, removable and non-removable media.
- the memory 210 may also include a computer system readable medium in the form of volatile memory, such as random access memory (RAM) 240 and/or cache memory 250.
- the terminal device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
- the storage system 260 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 13 and generally referred to as a "hard drive").
- a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
- a removable non-volatile optical disk such as CD-ROM, DVD-ROM
- other optical media read and write optical disc drives.
- each drive may be connected to the bus 230 through one or more data medium interfaces.
- the memory 210 may include at least one program product, and the program product has a set of (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present application.
- a program/utility tool 280 having a set of (at least one) program module 270 may be stored in, for example, the memory 210.
- Such program module 270 includes, but is not limited to, an operating system, one or more application programs, and other programs Modules and program data, each of these examples or some combination may include the realization of a network environment.
- the program module 270 generally executes the functions and/or methods in the embodiments described in this application.
- the terminal device 200 may also communicate with one or more external devices 290 (for example, a keyboard, a pointing device, a display 291, etc.), and may also communicate with one or more devices that enable a user to interact with the terminal device 200, and/or communicate with Any device (such as a network card, modem, etc.) that enables the terminal device 200 to communicate with one or more other computing devices. Such communication can be performed through an input/output (I/O) interface 292.
- the terminal device 200 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 293.
- networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
- the network adapter 293 communicates with other modules of the terminal device 200 through the bus 230. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the terminal device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
- the processor 220 executes various functional applications and data processing by running programs stored in the memory 210.
- this application also proposes a non-transitory computer-readable storage medium.
- the non-transitory computer-readable storage medium has a computer program stored thereon, and when the program is executed by a processor, it realizes the information display method described in the embodiment of the present application.
- this embodiment may adopt any combination of one or more computer-readable media.
- the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
- computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory Erasable programmable read-only memory
- CD-ROM compact disk read-only memory
- the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
- the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
- the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
- the computer program code used to perform the operations of this application can be written in one or more programming languages or a combination thereof.
- the programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
- the program code can be executed entirely on the user terminal device, partly executed on the user terminal device, executed as an independent software package, partly executed on the user terminal device and partly executed on the remote terminal device, or completely executed on the remote terminal device or Execute on the server.
- the remote terminal equipment can be connected to the user terminal equipment through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external terminal equipment (for example, using Internet services). Provider to connect via the Internet).
- LAN local area network
- WAN wide area network
- Internet services for example, using Internet services
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Controls And Circuits For Display Device (AREA)
- Liquid Crystal Display Device Control (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
一种信息显示方法、信息显示装置、终端设备(200)和可读存储介质。信息显示方法包括获取多个待显示信息中每个待显示信息的信息类型(101);判断信息类型中是否包含目标信息类型(102);若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定第一显示频率(103);根据第一显示频率显示多个待显示信息(104)。
Description
优先权信息
本申请请求2019年9月29日向中国国家知识产权局提交的、专利申请号为201910934652.5的专利申请的优先权和权益,并且通过参照将其全文并入此处。
本申请涉及电子设备技术领域,尤其涉及一种信息显示方法和装置。
通常,如图1所示,显示屏显示的过程是处理器发送待显示信息给显示屏,待显示信息通过有关协议进行传输,同时显示屏与处理器之间也存在指令信号,处理器可以通过指令信号控制显示屏的显示,显示屏也可以通过指令信号通知处理器现在的显示屏状态。
发明内容
本申请提出一种信息显示方法和装置,以解决现有技术中,在显示多个刷新频率的多个待显示信息时,信息显示卡顿、重复显示或者丢帧的技术问题。
本申请一方面实施例提出的信息显示方法,包括以下步骤:获取多个待显示信息中每个待显示信息的信息类型;判断所述信息类型中是否包含目标信息类型;若包含所述目标信息类型,则获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率;根据所述第一显示频率显示所述多个待显示信息。
本申请另一方面实施例提出的信息显示装置,包括:第一获取模块,用于获取多个待显示信息中每个待显示信息的信息类型;第一判断模块,用于判断所述信息类型中是否包含目标信息类型;第二获取模块,用于在包含所述目标信息类型时,获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率;显示模块,用于根据所述第一显示频率显示所述多个待显示信息。
本申请又一方面实施例提出的终端设备,其包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行信息显示方法。所述信息显示方法包括:获取多个待显示信息中每个待显示信息的信息类型;判断所述信息类型中是否包含目标信息类型;若包含所述目标信息类型,则获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率;根据所述第一显示频率显示所述多个待显示信息。
本申请又一方面实施例提出的非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如前所述的信息显示方法。
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为根据现有技术的一种处理器和显示屏的显示交互示意图;
图2-1是根据现有技术的一种显示信息显示界面示意图;
图2-2为根据现有技术的另一种处理器和显示屏的显示交互示意图;
图3为本申请实施例所提供的一种信息显示方法的流程示意图;
图4为本申请实施例所提供的另一种信息显示方法的流程示意图;
图5为本申请实施例所提供的又一种信息显示方法的流程示意图;
图6为本申请实施例所提供的再一种信息显示方法的流程示意图;
图7为本申请实施例所提供的还一种信息显示方法的流程示意图;
图8为本申请实施例提供的一种信息显示装置的结构示意图;
图9为本申请实施例提供的另一种信息显示装置的结构示意图;
图10为本申请实施例提供的又一种信息显示装置的结构示意图;
图11为本申请实施例提供的再一种信息显示装置的结构示意图;
图12为本申请实施例提供的还一种信息显示装置的结构示意图;以及
图13为本申请实施例提供的终端设备的结构示意图。
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。
请参阅图3,本申请实施方式的信息显示方法包括:
101:获取多个待显示信息中每个待显示信息的信息类型;
102:判断信息类型中是否包含目标信息类型;
103:若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率;
104:根据第一显示频率显示多个待显示信息。
在某些实施方式中,若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率,包括:判断目标待显示信息的个数是否大于1。若个数大于1,则判断多个目标待显示信息对应的多个第一刷新频率是否相同。若不相同,则计算多个第一刷新频率的第一最小公倍数以获取第一显示频率。
在某些实施方式中,在判断目标待显示信息的个数之后,还包括:若个数为1,则确定第一刷新频率为第一显示频率。
在某些实施方式中,在根据第一显示频率显示多个待显示信息之前,还包括:当第一显示频率大于预设显示频率时,将第一显示频率调整为预设显示频率。
请参阅图4,在某些实施例中,在判断信息类型中是否包含目标信息类型之后,还包括:
201:若不包含目标信息类型,则获取多个待显示信息中每个待显示信息的第二刷新频率;
202:判断多个待显示信息对应的多个第二刷新频率是否相同;
203:若多个第二刷新频率不相同,则计算多个第二刷新频率的第二最小公倍数获取显示屏的第二显示频率;
204:判断第二显示频率是否小于等于预设显示频率;
205:若小于等于预设显示频率,则根据第二显示频率显示多个待显示信息。
在某些实施例中,在判断第二显示频率是否小于等于预设显示频率之后,还包括:若大于预设显示频率,则确定多个第二刷新频率中的最大第二刷新频率;根据预设显示频率和最大第二刷新频率的大小关系,在预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率;根据第三显示频率显示多个待显示信息。
在某些实施例中,根据预设显示频率和最大第二刷新频率的大小关系,在确定预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率,包括:判断最大第二刷新频率是否大于等于预设显示频率;若大于等于预设显示频率,则确定预设显示频率为第三显示频率;若小于等于预设显示频率,则确定最大第二刷新频率为第三显示频率。
在某些实施例中,在根据第三显示频率显示多个待显示信息之前,还包括:获取每个待显示信息对应的渲染方式;判断渲染方式中是否包含中央处理器渲染方式;若包含中央处理器渲染方式,则根据第三显示频率渲染中央处理器渲染方式对应的待显示信息。
请参阅图3和图8,本申请实施方式的信息显示装置包括第一获取模块10、第一判断模块20、第二获取模块30及显示模块40。第一获取模块10用于获取多个待显示信息中每个待显示信息的信息类型;第一判断模块20用于判断信息类型中是否包含目标信息类型;第二获取模块30用于在包含目标信息类型时,获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第 一显示频率;显示模块40用于根据第一显示频率显示多个待显示信息。
请参阅图9,在某些实施例中,第二获取模块30还包括第一判断单元31、第二判断单元32及计算单元33。第一判断单元31用于判断目标待显示信息的个数是否大于1;第二判断单元32用于在个数大于1时,判断多个目标待显示信息对应的多个第一刷新频率是否相同;计算单元33用于在不相同时,计算多个第一刷新频率的第一最小公倍数以获取第一显示频率。
请参阅图10,在某些实施例中,信息显示装置还包括第三获取模块50、第二判断模块60、计算模块70及第三判断模块80。第三获取模块50用于在判断信息类型中不包含目标信息类型时,获取多个待显示信息中每个待显示信息的第二刷新频率;第二判断模块60用于判断多个待显示信息对应的多个第二刷新频率是否相同;计算模块70用于在多个第二刷新频率不相同时,计算多个第二刷新频率的第二最小公倍数获取显示屏的第二显示频率;第三判断模块80用于判断第二显示频率是否小于等于预设显示频率;显示模块40还用于在小于等于预设显示频率时,根据第二显示频率显示多个待显示信息。
请参阅图11,在某些实施例中,信息显示装置还包括确定模块90。确定模块90用于在判断出第二显示频率大于预设显示频率时,确定多个第二刷新频率中的最大第二刷新频率;确定模块90还用于根据预设显示频率和最大第二刷新频率的大小关系,在预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率。显示模块40还用于根据第三显示频率显示多个待显示信息。
请参阅图12,在某些实施例中,信息显示装置还包括第三获取模块100、第四判断模块110及渲染模块120。第三获取模块100用于获取每个待显示信息对应的渲染方式;第四判断模块110用于判断渲染方式中是否包含中央处理器渲染方式;渲染模块120用于在包含中央处理器渲染方式时,根据第三显示频率渲染中央处理器渲染方式对应的待显示信息。
请参阅图3和图13,本申请实施例中的终端设备200包括存储器210、处理器220及存储在存储器210上并可在处理器220上运行的计算机程序,处理器220执行计算机程序时,实现信息显示方法:获取多个待显示信息中每个待显示信息的信息类型;判断信息类型中是否包含目标信息类型;若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率;根据第一显示频率显示多个待显示信息。
在某些实施方式中,若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率,包括:判断目标待显示信息的个数是否大于1。若个数大于1,则判断多个目标待显示信息对应的多个第一刷新频率是否相同。若不相同,则计算多个第一刷新频率的第一最小公倍数以获取第一显示频率。
在某些实施方式中,在判断目标待显示信息的个数之后,还包括:若个数为1,则确定第一刷新频率为第一显示频率。
在某些实施方式中,在根据第一显示频率显示多个待显示信息之前,还包括:当第一显示频率大于预设显示频率时,将第一显示频率调整为预设显示频率。
请参阅图4,在某些实施例中,在判断信息类型中是否包含目标信息类型之后,还包括:若不包含目标信息类型,则获取多个待显示信息中每个待显示信息的第二刷新频率;判断多个待显示信息对应的多个第二刷新频率是否相同;若多个第二刷新频率不相同,则计算多个第二刷新频率的第二最小公倍数获取显示屏的第二显示频率;判断第二显示频率是否小于等于预设显示频率;若小于等于预设显示频率,则根据第二显示频率显示多个待显示信息。
在某些实施例中,在判断第二显示频率是否小于等于预设显示频率之后,还包括:若大于预设显示频率,则确定多个第二刷新频率中的最大第二刷新频率;根据预设显示频率和最大第二刷新频率的大小关系,在预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率;根据第三显示频率显示多个待显示信息。
在某些实施例中,根据预设显示频率和最大第二刷新频率的大小关系,在确定预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率,包括:判断最大第二刷新频率是否大于等于预设显示频率;若大于等于预设显示频率,则确定预设显示频率为第三显示频率;若小于等于预设显示频率,则确定最大第二刷新频率为第三显示频率。
在某些实施例中,在根据第三显示频率显示多个待显示信息之前,还包括:获取每个待显示信息对应的渲染方式;判断渲染方式中是否包含中央处理器渲染方式;若包含中央处理器渲染方式,则根据第 三显示频率渲染中央处理器渲染方式对应的待显示信息。
本申请实施方式的一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,计算机程序被处理器执行时实现上述任意一项实施方式所述的信息显示方法。下面参考附图描述本申请实施例的信息显示方法和装置。
正如以上背景技术中提到的,在显示屏中可能同时显示多个待显示信息,比如,在用户小屏模式观看视频时,显示屏可能同时显示评论信息、导航栏信息、视频信息等,多个待显示信息具有对应的刷新频率,当多个刷新频率中存在与显示屏的显示频率不匹配的情况时,将会出现丢帧、重复帧或者卡顿的现象。比如,显示信息在显示频率的显示间隙显示内容刷新,则会出现丢帧现象。
因而,为了解决上述技术问题,本申请提出了一种优化的信息显示方法,保证有关显示信息的流畅显示,同时,平衡了显示屏的显示功耗。
具体而言,图3为本申请实施例所提供的一种信息显示方法的流程示意图。
如图3所示,该信息显示方法包括以下步骤:
步骤101,获取多个待显示信息中每个待显示信息的信息类型。
步骤102,判断信息类型中是否包含目标信息类型。
应当理解的是,在很多应用场景下,显示屏中对应于多个待显示信息,其中,可能包含评论信息等静态显示内容,也可能包含视频等动态显示内容,显然,用户会对动态显示内容的流畅度更加敏感,因而,为了提高观看体验,在本实施例中,获取多个待显示信息中每个待显示信息的信息类型,以便于进一步根据显示类型确定显示频率。
进而,判断信息类型中是否包含目标信息类型,其中,目标信息类型可以指的是上述动态显示类型,也可以是任意用户自定义的信息类型。
需要说明的是,在不同的应用场景中,获取每个待显示信息的信息类型的方式不同,示例说明如下:
示例一:
在本示例中,预先根据大量的样本数据训练信息类型识别模型,将每个待显示信息输入到对应的识别模型中,确定每个待显示信息对应的信息类型。
示例二:
在本示例中,提取每个待显示信息对应的显示图层的句柄,基于该句柄的关键词确定对应的信息类型。
示例三:
在本示例中,获取每个待显示信息中对应图层的显示控件,根据显示控件的集中类型,确定对应的信息类型,比如,当前待显示信息对应的显示控件基本上都是视频控件,则信息类型为动态信息类型。
步骤103,若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率。
步骤104,根据第一显示频率显示多个待显示信息。
具体的,若包含目标信息类型,则认为需要优先考虑该目标信息类型对应的目标待显示信息的显示流畅度,具体而言,确定待显示信息的第一刷新频率,并根据第一刷新频率确定第一显示频率,进而,根据第一显示频率显示多个待显示信息。
应当理解的是,刷新频率可以理解为待显示信息本身的刷新速率,比如其所在图层的刷新速率等,显示频率可以理解为显示屏的显示时钟的显示频率,显示频率决定了传输待显示信息给显示屏的速度。处理器根据显示频率向显示屏传输对应的待显示信息,以实现待显示信息在显示屏上的显示。
其中,上述第一刷新频率是预先根据待显示信息的信息内容设置的,比如待显示信息的生产厂家根据行业标准等设置符合标准的第一刷新频率。可以预先根据行业标准确定第一刷新频率和待显示信息的对应关系,从而,基于该对应信息的查询,确定目标信息类型对应的目标待显示信息的第一刷新频率。
需要说明的是,在不同的应用场景下,根据第一刷新频率确定显示屏的第一显示频率的方式不同:
作为一种可能的实现方式,判断目标待显示信息的个数是否大于1,若目标待显示信息的个数为1个,则直接将该第一刷新频率作为第一显示频率,由此,基于第一刷新频率来显示多个待显示信息,可以保证显示的目标待显示信息的流畅度,若目标待显示信息的个数大于1,即目标待显示信息为多个,则兼顾多个目标待显示信息,判断多个目标待显示信息对应的多个第一刷新频率是否相同,若相同,则 直接基于第一刷新频率作为最后的第一显示频率显示多个待显示信息。
在本示例中,如果多个目标待显示信息对应的多个第一刷新频率不相同,则计算多个第一刷新频率的第一最小公倍数来获取第一显示频率,由此,第一显示频率是根据多个第一刷新频率的第一最小公倍数来计算出的,可以适配多个不同的第一显示频率,使得每个第一刷新频率都与对应的第一显示频率重合,从而,不会导致目标待显示信息丢帧或者重复帧的情况,保证了目标待显示信息的播放流畅度,且平衡了显示屏的显示功耗。
作为另一种可能的实现方式,在获取到第一刷新频率后,若第一刷新频率为多个且互不相同,则可以直接获取其中最大的第一刷新频率作为最后的第一显示频率来显示。
当然,在本申请的实施例中,需要判断第一显示频率是否小于等于预设显示频率,该预设显示频率可以是根据当前显示屏所在终端设备的剩余电量确定的,也可以是显示屏所能实现的最大显示频率,如果该第一显示频率小于等于预设频率,则直接根据第一显示频率显示多个待显示信息。如果第一显示频率大于预设显示频率,则将第一显示频率调整为预设显示频率,以确保能够最大程度的支持目标待显示信息的流畅显示。
在本申请的一个实施例中,可能信息类型中不包含目标信息类型,则兼顾每个待显示信息的刷新频率确定最后的显示屏显示频率。
具体而言,如图4所示,在上述步骤102之后,该方法还包括:
步骤201,若不包含目标信息类型,则获取多个待显示信息中每个待显示信息的第二刷新频率。
具体的,与获取第一刷新频率的方式相同,为了兼顾多个待显示信息的显示流畅度,获取每个待显示信息的第二刷新频率。
步骤202,判断多个待显示信息对应的多个第二刷新频率是否相同。
步骤203,若多个第二刷新频率不相同,则计算多个第二刷新频率的第二最小公倍数获取显示屏的第二显示频率。
具体的,判断多个待显示信息对应的多个第二刷新频率是否相同,如果多个第二刷新频率不相同,则计算多个第二刷新频率的第二最小公倍数获取显示屏的第二显示频率,比如,第二刷新频率为30HZ和24HZ,则计算二者的最小公倍数获取第二显示频率120HZ作为第二显示频率。
在本实施例中,如果多个第二刷新频率相同,则将第二刷新频率作为显示屏的第二显示频率。
步骤204,判断第二显示频率是否小于等于预设显示频率。
同样的,本实施例中的预设显示频率可以是根据当前显示屏所在终端设备的剩余电量确定的,也可以是显示屏所能实现的最大显示频率。
步骤205,若小于等于预设显示频率,则根据第二显示频率显示多个待显示信息。
具体的,如果该第二显示频率小于等于预设频率,则直接根据第二显示频率显示多个待显示信息。由此,每个第二刷新频率都和第二显示频率重合,保证了每个待显示信息的显示流畅度,同时,基于第二最小公倍数计算的第二显示频率,平衡了显示屏的功耗。
在本申请的一个实施例中,如果第二显示频率大于预设显示频率,则为了确保能够最大程度的支持待显示信息的流畅显示,确定多个第二刷新频率中的最大第二刷新频率,进而,根据预设显示频率和最大第二刷新频率的大小关系,在预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率,作为一种可能的实现方式,判断最大第二刷新频率是否大于等于预设显示频率,若大于等于预设显示频率,则确定预设显示频率作为第三显示频率,如果小于等于预设显示频率,则确定最大第二刷新频率为第三显示频率,也就是说,在预设显示频率和最大第二刷新频率中确定最大值作为第三显示频率,最后,根据第三显示频率显示多个待显示信息。由于该第三显示信息的显示频率较大,因而,可以最大程度的与多个第二刷新频率重合,较大程度的保证了多个待显示信息的显示流畅度。
不难理解的是,当待显示信息的渲染方式是直接基于网络获取资源刷新时,比如对评论信息等直接从服务器中读取,则待显示信息的显示频率下,能够基于网络资源获取到对应的待显示信息,而当待显示信息的渲染方式为中央处理器渲染方式时,则显然第二刷新频率指的是中央处理器的渲染频率,很多需要中央处理器渲染的游戏界面,只有在中央处理器渲染完成后,才能在对应的显示频率下获取到对应的待显示信息,因而,在本申请的一个实施例中,为了保证在第三显示频率下,可以显示到对应的待显示信息,将中央处理器的渲染速度与第三显示频率适配。
具体而言,在本实施例中,获取每个待显示信息对应的渲染方式,该渲染方式可以根据档待显示信息的信息类型等确定,判断渲染方式中是否包含中央处理器渲染方式,若包含中央处理器渲染方式,则根据第三显示频率渲染中央处理器渲染方式对应的待显示信息。
基于以上实施例,在具有优先保证目标信息类型的显示流畅度的基础上,首先考虑目标信息类型的刷新频率来确定显示屏的显示频率,在显示的流畅度和功耗上做出较好的平衡。
为了使得本领域的技术人员对本申请实施例的信息显示方法更加清楚,下面结合两个具体的应用场景为例进行举例说明,说明如下:
场景一:
在本场景中,待显示信息为A和B,对应的刷新频率为a和b,其中,a大于b,目标信息类型为视频类型,预设显示频率为显示屏能支持的最大显示频率。
则如图5所示,首先判断待显示信息为A和B中是否存在视频,如果存在视频,则以视频对应的刷新频率为显示屏的显示频率来显示待显示信息为A和B,比如,待显示信息为A为视频,则以刷新频率为a为显示屏的显示频率。
若待显示信息为A和B中不存在视频,则获取刷新频率为a和b的最小公倍数x,判断x是否大于显示屏能支持的最大显示频率,若不大于,则以x作为显示屏的显示频率,若大于该显示屏能支持的最大显示频率,则以刷新频率为a和b中的最大值a作为显示屏的显示频率,并判断待显示信息B是否为中央处理器GPU渲染方式,如果是,则同时将待显示信息B的渲染速度提升到a进行绘制,如果待显示信息B不为中央处理器GPU渲染方式,则不改变待显示信息B的刷新频率。
场景二:
在本场景中,待显示信息为A、B、C,对应的刷新频率为a、b和c,其中,a大于b,b大于c,目标信息类型为视频类型,预设显示频率为显示屏能支持的最大显示频率。
则如图6所示,判断待显示信息为A、B、C中是否有视频,若没有视频,则判断刷新频率为a、b和c的最小公倍数y是否大于显示屏能支持的最大显示频率,如果不大于,则以y作为显示屏的显示频率,若y大于显示屏能支持的最大显示频率,则确定刷新频率为a、b和c中的最大值a,以a作为显示屏的显示频率,判断待显示信息为B、C中是否包含中央处理器GPU渲染方式,如果包含,则直接将对应的渲染速度改为a,若没有,则不改变待显示信息的刷新频率。
在本示例中,如果待显示信息为A、B、C中有视频,则判断视频的个数是否为一个,如果是一个,则为了保证对视频的动画的流畅显示,则以视频对应的刷新频率作为显示屏显示待显示信息为A、B、C的显示频率,如果大于1个则判断视频对应的刷新频率的最小公倍数z是否大于显示屏能支持的最大显示频率,如果不大于,则以最小公倍数z作为显示屏显示待显示信息为A、B、C的显示频率,如果最小公倍数z是否大于显示屏能支持的最大显示频率,则以视频对应的刷新频率中的最大值作为显示屏显示待显示信息为A、B、C的显示频率。
基于以上实施例,在没有优先保证目标信息类型的显示流畅度的基础上,如图7所示,获取多个待显示信息的多个刷新频率中的最大刷新频率是否大于等于预设显示频率,该预设显示频率可以理解为显示屏最大支持的显示频率,如果多个刷新频率中的最大刷新频率大于等于预设显示频率,则以预设显示频率显示多个待显示信息,以最大程度的保证多个待显示信息的显示流畅度,若多个刷新频率中的最大刷新频率小于等于预设显示频率,则以多个刷新频率中的最大刷新频率显示多个待显示信息,以在保证多个待显示信息的显示流畅度的基础上,平衡显示屏的显示功耗。
综上,本申请实施例的信息显示方法,获取多个待显示信息中每个待显示信息的信息类型,判断信息类型中是否包含目标信息类型,进而,若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率,最后,根据第一显示频率显示多个待显示信息。由此,在包含多个待显示信息时,优先确保特定信息类型的待显示信息的流畅完整的显示,并且平衡了信息显示时的功耗,解决了现有技术中,信息显示卡顿、重复显示或者丢帧的技术问题。
为了实现上述实施例,本申请还提出一种信息显示装置。
图8为本申请实施例提供的一种信息显示装置的结构示意图。
如图8所示,该信息显示装置包括:第一获取模块10、第一判断模块20、第二获取模块30和显示模块40。
其中,第一获取模块10,用于获取多个待显示信息中每个待显示信息的信息类型。
第一判断模块20,用于判断信息类型中是否包含目标信息类型。
第二获取模块30,用于在包含目标信息类型时,获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率。
显示模块40,用于根据第一显示频率显示多个待显示信息。
进一步地,在本申请实施例的一种可能的实现方式中,如图9所示,在如图8所示的基础上,第二获取模块30包括:第一判断单元31、第二判断单元32、计算单元33。
其中,第一判断单元31,用于判断目标待显示信息的个数是否大于1。
第二判断单元32,用于在个数大于1时,判断多个目标待显示信息对应的多个第一刷新频率是否相同。
计算单元33,用于在不相同时,计算多个第一刷新频率的第一最小公倍数以获取第一显示频率。
在本申请实施例的一种可能的实现方式中,如图10所示,在如图8所示的基础上,该装置还包括:第三获取模块50、第二判断模块60、计算模块70和第三判断模块80,其中,
第三获取模块50,用于在判断信息类型中不包含目标信息类型时,获取多个待显示信息中每个待显示信息的第二刷新频率。
第二判断模块60,用于判断多个待显示信息对应的多个第二刷新频率是否相同。
计算模块70,用于在多个第二刷新频率不相同时,计算多个第二刷新频率的第二最小公倍数获取显示屏的第二显示频率。
第三判断模块80,用于判断第二显示频率是否小于等于预设显示频率。
在本实施例中,显示模块40,还用于在小于等于预设显示频率时,根据第二显示频率显示多个待显示信息。
在本申请实施例的一种可能的实现方式中,如图11所示,在如图8所示的基础上,该装置还包括:确定模块90,其中,
确定模块90,用于在判断出第二显示频率大于预设显示频率时,确定多个第二刷新频率中的最大第二刷新频率。
确定模块90,还用于根据预设显示频率和最大第二刷新频率的大小关系,在预设显示频率和最大第二刷新频率中确定显示屏的第三显示频率。
在本实施例中,显示模块40,还用于根据第三显示频率显示多个待显示信息。
在本申请实施例的一种可能的实现方式中,如图12所示,在如图8所示的基础上,该装置还包括:第三获取模块100、第四判断模块110和渲染模块120,其中,
第三获取模块100,用于获取每个待显示信息对应的渲染方式。
第四判断模块110,用于判断渲染方式中是否包含中央处理器渲染方式。
渲染模块120,用于在包含中央处理器渲染方式时,根据第三显示频率渲染中央处理器渲染方式对应的待显示信息。
需要说明的是,前述对信息显示方法实施例的解释说明也适用于该实施例的信息显示装置,此处不再赘述。
综上,本申请实施例的信息显示装置,获取多个待显示信息中每个待显示信息的信息类型,判断信息类型中是否包含目标信息类型,进而,若包含目标信息类型,则获取目标信息类型对应的目标待显示信息的第一刷新频率,并根据第一刷新频率确定显示屏的第一显示频率,最后,根据第一显示频率显示多个待显示信息。由此,在包含多个待显示信息时,优先确保特定信息类型的待显示信息的流畅完整的显示,并且平衡了信息显示时的功耗,解决了现有技术中,信息显示卡顿、重复显示或者丢帧的技术问题。
为了实现上述实施例,本申请还提出一种终端设备。
图13为本申请实施例提供的终端设备的结构示意图。
如图13所示,上述终端设备200包括:
存储器210及处理器220,连接不同组件(包括存储器210和处理器220)的总线230,存储器210存储有计算机程序,当处理器220执行程序时实现本申请实施例的基于终端设备的数据处理方法。
总线230表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,***总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及***组件互连(PCI)总线。
终端设备200典型地包括多种终端设备可读介质。这些介质可以是任何能够被终端设备200访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
存储器210还可以包括易失性存储器形式的计算机***可读介质,例如随机存取存储器(RAM)240和/或高速缓存存储器250。终端设备200可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机***存储介质。仅作为举例,存储***260可以用于读写不可移动的、非易失性磁介质(图13未显示,通常称为“硬盘驱动器”)。尽管图13中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线230相连。存储器210可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。
具有一组(至少一个)程序模块270的程序/实用工具280,可以存储在例如存储器210中,这样的程序模块270包括——但不限于——操作***、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块270通常执行本申请所描述的实施例中的功能和/或方法。
终端设备200也可以与一个或多个外部设备290(例如键盘、指向设备、显示器291等)通信,还可与一个或者多个使得用户能与该终端设备200交互的设备通信,和/或与使得该终端设备200能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口292进行。并且,终端设备200还可以通过网络适配器293与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器293通过总线230与终端设备200的其它模块通信。应当明白,尽管图中未示出,可以结合终端设备200使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID***、磁带驱动器以及数据备份存储***等。
处理器220通过运行存储在存储器210中的程序,从而执行各种功能应用以及数据处理。
需要说明的是,本实施例的终端设备的实施过程和技术原理参见前述对本申请实施例的基于终端设备的数据处理方法的解释说明,此处不再赘述。
为了实现上述实施例,本申请还提出一种非临时性计算机可读存储介质。
其中,该非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,以实现本申请实施例所描述的信息显示方法。
一种可选实现形式中,本实施例可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户终端设备上执行、部分地在用户终端设备上执行、作为一个独立的软件包执行、部分在用户终端设备上部分在远程终端设备上执行、或者完全在远程终端设备或服务器上执行。在涉及远程终端设备的情形中,远程终端设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户终端设备,或者,可以连接到外部终端设备(例如利用因特网服务提供商来通过因特网连接)。
本领域技术人员在考虑说明书及实践这里申请的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未申请的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由权利要求指出。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。
Claims (22)
- 一种信息显示方法,其特征在于,包括以下步骤:获取多个待显示信息中每个待显示信息的信息类型;判断所述信息类型中是否包含目标信息类型;若包含所述目标信息类型,则获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率;根据所述第一显示频率显示所述多个待显示信息。
- 如权利要求1所述的方法,其特征在于,所述若包含所述目标信息类型,则获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率,包括:判断所述目标待显示信息的个数是否大于1;若所述个数大于1,则判断多个所述目标待显示信息对应的多个第一刷新频率是否相同;若不相同,则计算所述多个第一刷新频率的第一最小公倍数以获取所述第一显示频率。
- 如权利要求2所述的方法,其特征在于,在所述判断所述目标待显示信息的个数之后,还包括:若所述个数为1,则确定所述第一刷新频率为所述第一显示频率。
- 如权利要求1-3任一所述的方法,其特征在于,在所述根据所述第一显示频率显示所述多个待显示信息之前,还包括:当所述第一显示频率大于预设显示频率时,将所述第一显示频率调整为所述预设显示频率。
- 如权利要求1所述的方法,其特征在于,在所述判断所述信息类型中是否包含目标信息类型之后,还包括:若不包含所述目标信息类型,则获取所述多个待显示信息中每个待显示信息的第二刷新频率;判断所述多个待显示信息对应的多个所述第二刷新频率是否相同;若所述多个所述第二刷新频率不相同,则计算所述多个所述第二刷新频率的第二最小公倍数获取所述显示屏的第二显示频率;判断所述第二显示频率是否小于等于预设显示频率;若小于等于所述预设显示频率,则根据所述第二显示频率显示所述多个待显示信息。
- 如权利要求5所述的方法,其特征在于,在所述判断所述第二显示频率是否小于等于预设显示频率之后,还包括:若大于所述预设显示频率,则确定所述多个所述第二刷新频率中的最大第二刷新频率;根据所述预设显示频率和所述最大第二刷新频率的大小关系,在所述预设显示频率和所述最大第二刷新频率中确定所述显示屏的第三显示频率;根据所述第三显示频率显示所述多个待显示信息。
- 如权利要求6所述的方法,其特征在于,所述根据所述预设显示频率和所述最大第二刷新频率的大小关系,在所述确定预设显示频率和所述最大第二刷新频率中确定所述显示屏的第三显示频率,包括:判断所述最大第二刷新频率是否大于等于所述预设显示频率;若大于等于所述预设显示频率,则确定所述预设显示频率为所述第三显示频率;若小于等于所述预设显示频率,则确定所述最大第二刷新频率为所述第三显示频率。
- 如权利要求6所述的方法,其特征在于,在所述根据所述第三显示频率显示所述多个待显示信息之前,还包括:获取所述每个待显示信息对应的渲染方式;判断所述渲染方式中是否包含中央处理器渲染方式;若包含所述中央处理器渲染方式,则根据所述第三显示频率渲染所述中央处理器渲染方式对应的待显示信息。
- 一种信息显示装置,其特征在于,包括:第一获取模块,用于获取多个待显示信息中每个待显示信息的信息类型;第一判断模块,用于判断所述信息类型中是否包含目标信息类型;第二获取模块,用于在包含所述目标信息类型时,获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率;显示模块,用于根据所述第一显示频率显示所述多个待显示信息。
- 如权利要求9所述的装置,其特征在于,所述第二获取模块,包括:第一判断单元,用于判断所述目标待显示信息的个数是否大于1;第二判断单元,用于在所述个数大于1时,判断多个所述目标待显示信息对应的多个第一刷新频率是否相同;计算单元,用于在不相同时,计算所述多个第一刷新频率的第一最小公倍数以获取所述第一显示频率。
- 如权利要求9所述的装置,其特征在于,还包括:第三获取模块,用于在判断所述信息类型中不包含目标信息类型时,获取所述多个待显示信息中每个待显示信息的第二刷新频率;第二判断模块,用于判断所述多个待显示信息对应的多个所述第二刷新频率是否相同;计算模块,用于在所述多个所述第二刷新频率不相同时,计算所述多个所述第二刷新频率的第二最小公倍数获取所述显示屏的第二显示频率;第三判断模块,用于判断所述第二显示频率是否小于等于预设显示频率;所述显示模块,还用于在小于等于所述预设显示频率时,根据所述第二显示频率显示所述多个待显示信息。
- 如权利要求11所述的装置,其特征在于,还包括:确定模块,用于在判断出所述第二显示频率大于所述预设显示频率时,确定所述多个所述第二刷新频率中的最大第二刷新频率;所述确定模块,还用于根据所述预设显示频率和所述最大第二刷新频率的大小关系,在所述预设显示频率和所述最大第二刷新频率中确定所述显示屏的第三显示频率;所述显示模块,还用于根据所述第三显示频率显示所述多个待显示信息。
- 如权利要求11所述的装置,其特征在于,还包括:第三获取模块,用于获取所述每个待显示信息对应的渲染方式;第四判断模块,用于判断所述渲染方式中是否包含中央处理器渲染方式;渲染模块,用于在包含所述中央处理器渲染方式时,根据所述第三显示频率渲染所述中央处理器渲染方式对应的待显示信息。
- 一种终端设备,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现信息显示方法,所述信息显示方法包括:获取多个待显示信息中每个待显示信息的信息类型;判断所述信息类型中是否包含目标信息类型;若包含所述目标信息类型,则获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率;根据所述第一显示频率显示所述多个待显示信息。
- 如权利要求14所述的终端设备,其特征在于,所述若包含所述目标信息类型,则获取所述目标信息类型对应的目标待显示信息的第一刷新频率,并根据所述第一刷新频率确定显示屏的第一显示频率,包括:判断所述目标待显示信息的个数是否大于1;若所述个数大于1,则判断多个所述目标待显示信息对应的多个第一刷新频率是否相同;若不相同,则计算所述多个第一刷新频率的第一最小公倍数以获取所述第一显示频率。
- 如权利要求15所述的终端设备,其特征在于,在所述判断所述目标待显示信息的个数之后,还包括:若所述个数为1,则确定所述第一刷新频率为所述第一显示频率。
- 如权利要求14-16任一所述的终端设备,在所述根据所述第一显示频率显示所述多个待显示信息之前,还包括:当所述第一显示频率大于预设显示频率时,将所述第一显示频率调整为所述预设显示频率。
- 如权利要求14所述的终端设备,其特征在于,在所述判断所述信息类型中是否包含目标信息类型之后,还包括:若不包含所述目标信息类型,则获取所述多个待显示信息中每个待显示信息的第二刷新频率;判断所述多个待显示信息对应的多个所述第二刷新频率是否相同;若所述多个所述第二刷新频率不相同,则计算所述多个所述第二刷新频率的第二最小公倍数获取所述显示屏的第二显示频率;判断所述第二显示频率是否小于等于预设显示频率;若小于等于所述预设显示频率,则根据所述第二显示频率显示所述多个待显示信息。
- 如权利要求18所述的终端设备,其特征在于,在所述判断所述第二显示频率是否小于等于预设显示频率之后,还包括:若大于所述预设显示频率,则确定所述多个所述第二刷新频率中的最大第二刷新频率;根据所述预设显示频率和所述最大第二刷新频率的大小关系,在所述预设显示频率和所述最大第二刷新频率中确定所述显示屏的第三显示频率;根据所述第三显示频率显示所述多个待显示信息。
- 如权利要求19所述的终端设备,其特征在于,所述根据所述预设显示频率和所述最大第二刷新频率的大小关系,在所述确定预设显示频率和所述最大第二刷新频率中确定所述显示屏的第三显示频率,包括:判断所述最大第二刷新频率是否大于等于所述预设显示频率;若大于等于所述预设显示频率,则确定所述预设显示频率为所述第三显示频率;若小于等于所述预设显示频率,则确定所述最大第二刷新频率为所述第三显示频率。
- 如权利要求19所述的终端设备,其特征在于,在所述根据所述第三显示频率显示所述多个待显示信息之前,还包括:获取所述每个待显示信息对应的渲染方式;判断所述渲染方式中是否包含中央处理器渲染方式;若包含所述中央处理器渲染方式,则根据所述第三显示频率渲染所述中央处理器渲染方式对应的待显示信息。
- 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-8任一所述的信息显示方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20867651.0A EP3985658A4 (en) | 2019-09-29 | 2020-09-04 | INFORMATION DISPLAY METHOD AND DEVICE |
US17/574,836 US11721273B2 (en) | 2019-09-29 | 2022-01-13 | Information display method, terminal device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910934652.5A CN110706675A (zh) | 2019-09-29 | 2019-09-29 | 信息显示方法和装置 |
CN201910934652.5 | 2019-09-29 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/574,836 Continuation US11721273B2 (en) | 2019-09-29 | 2022-01-13 | Information display method, terminal device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021057448A1 true WO2021057448A1 (zh) | 2021-04-01 |
Family
ID=69197627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/113473 WO2021057448A1 (zh) | 2019-09-29 | 2020-09-04 | 信息显示方法和装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11721273B2 (zh) |
EP (1) | EP3985658A4 (zh) |
CN (1) | CN110706675A (zh) |
WO (1) | WO2021057448A1 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110706675A (zh) | 2019-09-29 | 2020-01-17 | Oppo广东移动通信有限公司 | 信息显示方法和装置 |
CN111754384A (zh) * | 2020-05-28 | 2020-10-09 | 维沃移动通信有限公司 | 显示方法、装置及电子设备 |
CN113766324B (zh) * | 2020-06-02 | 2022-11-04 | 深圳市万普拉斯科技有限公司 | 视频播放的控制方法、装置、计算机设备和存储介质 |
CN111951206A (zh) * | 2020-08-19 | 2020-11-17 | Oppo(重庆)智能科技有限公司 | 图像合成方法、图像合成装置及终端设备 |
CN113064573B (zh) * | 2021-03-31 | 2023-07-21 | 联想(北京)有限公司 | 一种信息处理方法 |
CN115097994B (zh) * | 2021-10-30 | 2023-05-09 | 荣耀终端有限公司 | 数据处理方法和相关装置 |
CN114040252B (zh) * | 2021-11-03 | 2024-07-02 | Oppo广东移动通信有限公司 | 显示帧率控制方法及装置、计算机可读介质和电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040252115A1 (en) * | 2001-08-03 | 2004-12-16 | Olivier Boireau | Image refresh in a display |
US20080143729A1 (en) * | 2006-12-15 | 2008-06-19 | Nvidia Corporation | System, method and computer program product for adjusting a refresh rate of a display for power savings |
CN103514944A (zh) * | 2012-06-28 | 2014-01-15 | 上海摩晶电子科技有限公司 | 采用显示时钟产生伪sram刷新时钟的控制电路 |
CN104731543A (zh) * | 2015-03-23 | 2015-06-24 | 深圳市欧珀通信软件有限公司 | 一种屏幕刷新率的显示方法和装置 |
CN106506856A (zh) * | 2016-11-30 | 2017-03-15 | 努比亚技术有限公司 | 一种屏幕刷新控制方法及终端 |
CN109345992A (zh) * | 2017-08-01 | 2019-02-15 | 富泰华工业(深圳)有限公司 | 电子装置及屏幕刷新频率的调整方法 |
CN110706675A (zh) * | 2019-09-29 | 2020-01-17 | Oppo广东移动通信有限公司 | 信息显示方法和装置 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7898535B2 (en) * | 2006-10-31 | 2011-03-01 | Dell Products, Lp | System and method for providing dynamic refresh rates for displays |
JP5591450B2 (ja) * | 2008-02-12 | 2014-09-17 | シャープ株式会社 | コンテンツ表示処理装置、コンテンツ表示処理方法、コンテンツ表示処理プログラム、およびコンテンツ表示処理プログラムを記録したコンピュータ読み取り可能な記録媒体 |
US9589540B2 (en) * | 2011-12-05 | 2017-03-07 | Microsoft Technology Licensing, Llc | Adaptive control of display refresh rate based on video frame rate and power efficiency |
KR101988262B1 (ko) * | 2013-01-22 | 2019-06-12 | 엘지전자 주식회사 | 이동 단말기 및 그것의 제어 방법 |
US20180184042A1 (en) * | 2015-06-05 | 2018-06-28 | Maxell, Ltd. | Video display device and control method |
CN106412581B (zh) * | 2016-06-21 | 2019-02-12 | 浙江大华技术股份有限公司 | 一种帧率控制方法及装置 |
CN106941563B (zh) * | 2017-03-10 | 2019-12-06 | Oppo广东移动通信有限公司 | 一种移动终端刷新率的控制方法、装置及移动终端 |
US10694197B2 (en) * | 2018-01-17 | 2020-06-23 | Qualcomm Incorporated | Composition based dynamic panel mode switch |
CN109767713A (zh) | 2019-01-09 | 2019-05-17 | 昆山国显光电有限公司 | 显示屏、显示屏驱动方法及显示装置 |
CN110164356A (zh) * | 2019-06-11 | 2019-08-23 | 惠科股份有限公司 | 数据显示的控制电路及补偿方法 |
-
2019
- 2019-09-29 CN CN201910934652.5A patent/CN110706675A/zh active Pending
-
2020
- 2020-09-04 EP EP20867651.0A patent/EP3985658A4/en not_active Withdrawn
- 2020-09-04 WO PCT/CN2020/113473 patent/WO2021057448A1/zh unknown
-
2022
- 2022-01-13 US US17/574,836 patent/US11721273B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040252115A1 (en) * | 2001-08-03 | 2004-12-16 | Olivier Boireau | Image refresh in a display |
US20080143729A1 (en) * | 2006-12-15 | 2008-06-19 | Nvidia Corporation | System, method and computer program product for adjusting a refresh rate of a display for power savings |
CN103514944A (zh) * | 2012-06-28 | 2014-01-15 | 上海摩晶电子科技有限公司 | 采用显示时钟产生伪sram刷新时钟的控制电路 |
CN104731543A (zh) * | 2015-03-23 | 2015-06-24 | 深圳市欧珀通信软件有限公司 | 一种屏幕刷新率的显示方法和装置 |
CN106506856A (zh) * | 2016-11-30 | 2017-03-15 | 努比亚技术有限公司 | 一种屏幕刷新控制方法及终端 |
CN109345992A (zh) * | 2017-08-01 | 2019-02-15 | 富泰华工业(深圳)有限公司 | 电子装置及屏幕刷新频率的调整方法 |
CN110706675A (zh) * | 2019-09-29 | 2020-01-17 | Oppo广东移动通信有限公司 | 信息显示方法和装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3985658A4 * |
Also Published As
Publication number | Publication date |
---|---|
US20220139295A1 (en) | 2022-05-05 |
EP3985658A4 (en) | 2022-09-07 |
US11721273B2 (en) | 2023-08-08 |
EP3985658A1 (en) | 2022-04-20 |
CN110706675A (zh) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021057448A1 (zh) | 信息显示方法和装置 | |
WO2021004221A1 (zh) | 特效的展示处理方法、装置及电子设备 | |
US8607158B2 (en) | Content presentation in remote monitoring sessions for information technology systems | |
WO2020221190A1 (zh) | 小程序状态同步方法、设备和计算机存储介质 | |
JP2016505915A (ja) | 表示インターフェースを介するシリアルバスサポートの柔軟な実装 | |
US20230073736A1 (en) | Reduced display processing unit transfer time to compensate for delayed graphics processing unit render time | |
WO2022001027A1 (zh) | 网络教学中投屏画面自适应的方法以及装置 | |
US20200376375A1 (en) | Method and apparatus for performing client side latency enhancement with aid of cloud game server side image orientation control | |
WO2024022366A1 (zh) | 一种车载娱乐信息显示方法、装置、设备和介质 | |
WO2021088794A1 (zh) | 控件设置方法、装置、电子设备及交互*** | |
WO2021052100A1 (zh) | 基于wayland协议的图形合成方法、装置、***和计算机可读存储介质 | |
WO2024099450A1 (zh) | 直播间页面显示方法、装置、电子设备及存储介质 | |
WO2020233143A1 (zh) | 播放进度显示方法、装置、电子设备和存储介质 | |
WO2017206893A1 (zh) | 界面刷新同步方法、装置、终端及存储介质 | |
US20120317493A1 (en) | Methods and System for Locally Generated Gesture and Transition Graphics Interaction with Terminal Control Services | |
WO2024067159A1 (zh) | 视频生成方法、装置、电子设备及存储介质 | |
KR101749891B1 (ko) | 클라우드 스트리밍 서비스에서의 자원 상황 기반 프레임 레이트 조절 방법 및 이를 위한 장치 | |
US9251104B2 (en) | Automatically changing application priority as a function of a number of people proximate to a peripheral device | |
US20230074876A1 (en) | Delaying dsi clock change based on frame update to provide smoother user interface experience | |
US8984540B2 (en) | Multi-user computer system | |
TW202046741A (zh) | 客戶側延遲改善方法、主處理器以及處理電路 | |
KR102369525B1 (ko) | 원격 접속을 위한 장치, 시스템 및 방법 | |
EP3145123A1 (en) | Apparatus, method and program product for data bandwidth optimization | |
RU2733488C1 (ru) | Способ и система отображения курсора при трансляции видеопотока | |
US11886893B2 (en) | Method and device for capturing screen and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20867651 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020867651 Country of ref document: EP Effective date: 20220113 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |