CN114724528B - Display control method and device of display device, electronic device and storage medium - Google Patents
Display control method and device of display device, electronic device and storage medium Download PDFInfo
- Publication number
- CN114724528B CN114724528B CN202210343841.7A CN202210343841A CN114724528B CN 114724528 B CN114724528 B CN 114724528B CN 202210343841 A CN202210343841 A CN 202210343841A CN 114724528 B CN114724528 B CN 114724528B
- Authority
- CN
- China
- Prior art keywords
- refresh rate
- preset
- target
- display device
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000013507 mapping Methods 0.000 claims description 5
- 230000006978 adaptation Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000005855 radiation Effects 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3452—Performance evaluation by statistical analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- 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/391—Resolution modifying circuits, e.g. variable screen formats
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Probability & Statistics with Applications (AREA)
- Quality & Reliability (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application discloses a display control method and device of display equipment, electronic equipment and a storage medium, which are applied to the technical field of display, wherein the display control method of the display equipment comprises the following steps: acquiring the current playing content of the display equipment; determining a target refresh rate of the display device according to the current playing content; and displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate. The method and the device solve the technical problems that display adjustment is limited and inflexible.
Description
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a display control method and apparatus for a display device, an electronic device, and a storage medium.
Background
Along with the development of technology, display technology is also developed and matured more and more, at present, a display system with a high refresh rate and a high resolution mode and a variable refresh rate is only applied to a high-end display device, for a medium-end display device and a low-end display device, a fixed refresh rate and a fixed resolution are generally adopted to display pictures, when the current playing content changes, the refresh rate and the resolution cannot be adjusted in real time, and the situation that the display device is blocked due to the fact that the device performance of the display device is insufficient to support adjustment of the refresh rate and the resolution is considered, so that the display adjustment of the display device is limited and inflexible is easily caused.
Disclosure of Invention
The main purpose of the application is to provide a display control method and device of a display device, an electronic device and a storage medium, and aims to solve the technical problems that display adjustment of the display device is limited and inflexible.
In order to achieve the above object, the present application provides a display control method of a display device, which is applied to a display control device of a display device, the display control method of the display device including:
acquiring the current playing content of the display equipment;
determining a target refresh rate of the display device according to the current playing content;
and displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate.
Optionally, the step of determining the target refresh rate of the display device according to the currently played content includes:
determining a preset refresh rate range corresponding to the current playing content according to the content type of the current playing content;
and acquiring a real-time picture update rate corresponding to the current playing content, and selecting a real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate.
Optionally, the content type includes game content and audio-visual content, the preset refresh rate range includes a first refresh rate range and a second refresh rate range, and the step of determining, according to the content type of the current playing content, the preset refresh rate range corresponding to the current playing content includes:
when the content type is game content, determining a preset first refresh rate range;
and when the content type is video and audio content, determining a preset second refresh rate range, wherein the refresh rate value of the preset first refresh rate range is larger than that of the preset second refresh rate range.
Optionally, the step of selecting the real-time refresh rate adapted to the real-time picture update rate in the preset refresh rate range as the target refresh rate includes:
acquiring a preset configuration file, wherein the preset configuration file comprises a mapping relation between a picture update rate and a refresh rate level of each play content of display equipment;
determining a real-time refresh rate level corresponding to the real-time picture update rate according to the preset configuration file;
and selecting the refresh rate pointed by the real-time refresh rate level in the preset refresh rate range as a target refresh rate.
Optionally, the target refresh rate and the target resolution determined by the target refresh rate include:
acquiring equipment performance parameters and preset resolution of the display equipment;
and according to the equipment performance parameter and the target refresh rate, obtaining the target resolution by adjusting the preset resolution.
Optionally, the device performance parameter includes a CPU occupation value and a memory occupation value, and after the step of obtaining the target resolution by adjusting the preset resolution according to the device performance parameter and the target refresh rate, the display control method of the display device further includes:
judging whether the current CPU occupation value of the display equipment is larger than a preset CPU occupation threshold value or not and judging whether the current memory value of the display equipment is larger than a preset memory threshold value or not;
if yes, keeping the preset resolution unchanged;
if not, the preset resolution is adjusted downwards, and the execution steps are returned to: and determining the target resolution of the display equipment according to the equipment performance parameter and the target refresh rate.
Optionally, after the step of selecting the real-time refresh rate of the real-time picture update rate adaptation in the preset refresh rate range, the display control method of the display device further includes:
detecting whether a person is present in a front area of the display device;
if yes, keeping the refresh rate unchanged;
and if not, the refresh rate is adjusted downwards.
In order to achieve the above object, the present application further provides a display control apparatus of a display device, the display control apparatus of the display device being applied to a display control device of the display device, the display control apparatus of the display device including:
the acquisition module is used for acquiring the current playing content of the display equipment;
the determining module is used for determining a target refresh rate of the display equipment according to the current playing content;
and the display module is used for displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate.
Optionally, the step of determining a target refresh rate of the display device according to the currently played content, the determining module is further configured to:
determining a preset refresh rate range corresponding to the current playing content according to the content type of the current playing content;
and acquiring a real-time picture update rate corresponding to the current playing content, and selecting a real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate.
Optionally, the content type includes game content and audio-visual content, the preset refresh rate range includes a first refresh rate range and a second refresh rate range, the step of determining, according to the content type of the current playing content, a preset refresh rate range corresponding to the current playing content, and the determining module is further configured to:
when the content type is game content, determining a preset first refresh rate range;
and when the content type is video and audio content, determining a preset second refresh rate range, wherein the refresh rate value of the preset first refresh rate range is larger than that of the preset second refresh rate range.
Optionally, the step of selecting the real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate is further performed by the determining module:
acquiring a preset configuration file, wherein the preset configuration file comprises a mapping relation between a picture update rate and a refresh rate level of each play content of display equipment;
and selecting the refresh rate pointed by the real-time refresh rate level in the preset refresh rate range as a target refresh rate.
Optionally, the target refresh rate and the target resolution determined by the target refresh rate are further used for:
acquiring equipment performance parameters and preset resolution of the display equipment;
and according to the equipment performance parameter and the target refresh rate, obtaining the target resolution by adjusting the preset resolution.
Optionally, the device performance parameter includes a CPU occupancy value and a memory occupancy value, and after the step of obtaining the target resolution by adjusting the preset resolution according to the device performance parameter and the target refresh rate, the display module is further configured to:
judging whether the current CPU occupation value of the display equipment is larger than a preset CPU occupation threshold value or not and judging whether the current memory value of the display equipment is larger than a preset memory threshold value or not;
if yes, keeping the preset resolution unchanged;
if not, the preset resolution is adjusted downwards, and the execution steps are returned to: and determining the target resolution of the display equipment according to the equipment performance parameter and the target refresh rate.
Optionally, after the step of selecting the real-time refresh rate of the real-time picture update rate adaptation in the preset refresh rate range, the determining module is further configured to:
detecting whether a person is present in a front area of the display device;
if yes, keeping the refresh rate unchanged;
and if not, the refresh rate is adjusted downwards.
The application also provides an electronic device comprising: the display control method of the display device includes a memory, a processor, and a program of the display control method of the display device stored on the memory and executable on the processor, which when executed by the processor, can implement the steps of the display control method of the display device as described above.
The present application also provides a computer-readable storage medium having stored thereon a program for realizing the display control method of a display device, which when executed by a processor, realizes the steps of the display control method of a display device as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a display control method of a display device as described above.
Compared with a fixed refresh rate and resolution display picture adopted in the prior art, the display control method, device, electronic equipment and storage medium for the display equipment acquire the current playing content of the display equipment; determining a target refresh rate of the display device according to the current playing content; and displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate, and dynamically adjusting the refresh rate and the resolution according to the current playing content, so that the adaptive refresh rate and resolution can be always provided for the display device, the situation that the display device is blocked due to insufficient device performance of the display device to support adjustment of the refresh rate and the resolution when the fixed refresh rate and the resolution are adopted to display pictures is avoided, or the technical defect that the display device has good device performance and excessive performance, thereby reducing the limitation of display adjustment in the display device and improving the flexibility of display adjustment in the display device.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of a first embodiment of a display control method of a display device according to the present application;
fig. 2 is a schematic device structure diagram of a hardware operating environment related to a display control method of a display device in an embodiment of the present application.
The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, the following description will make the technical solutions of the embodiments of the present application clear and complete with reference to the accompanying drawings of the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which are within the scope of the protection of the present application, will be within the purview of one of ordinary skill in the art without the exercise of inventive faculty.
Example 1
An embodiment of the present application provides a display control method of a display device, in a first embodiment of the display control method of the display device of the present application, referring to fig. 1, the display control method of the display device includes:
step S10, obtaining the current playing content of the display equipment;
step S20, determining a target refresh rate of the display equipment according to the current playing content;
in this embodiment, it should be noted that the display device may be a television, a mobile phone, or any intelligent terminal device with a display function.
Illustratively, steps S10 through S20 include: acquiring the current playing content of the display equipment; and obtaining a content tag corresponding to the current playing content, and determining a target refresh rate of the display equipment according to the content tag, wherein the content tag is characterized by the content type of the current playing content.
Wherein in step S20, the step of determining the target refresh rate of the display device according to the current playing content includes:
step S21, determining a preset refresh rate range corresponding to the current playing content according to the content type of the current playing content;
step S22, obtaining the real-time picture update rate corresponding to the current playing content, and selecting the real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate.
Illustratively, steps S21 through S22 include: determining the content type of the current playing content according to the content tag, and determining a preset refresh rate range corresponding to the current playing content according to the content type; and acquiring the number of times of refreshing the picture in unit time of the current playing content to determine a real-time picture update rate corresponding to the current playing content, and selecting a real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate.
In step S21, the content types include game content and audio-visual content, the preset refresh rate range includes a first refresh rate range and a second refresh rate range, and the step of determining, according to the content type of the current playing content, the preset refresh rate range corresponding to the current playing content includes:
step A10, when the content type is game content, determining a preset first refresh rate range;
and step A20, when the content type is video and audio content, determining a preset second refresh rate range, wherein the refresh rate value of the preset first refresh rate range is larger than that of the preset second refresh rate range.
Illustratively, steps a 10-a 20 include: when the content tag is a game tag, judging that the content type is game content, and taking a preset first refresh rate range as the preset refresh rate range; when the content tag is an audio-visual tag, the content type is judged to be audio-visual content, and a preset second refresh rate range is used as the preset refresh rate range, wherein the minimum value of the refresh rate in the preset first refresh rate range is larger than the maximum value of the refresh rate in the preset second refresh rate range.
In step S22, the step of selecting, as the target refresh rate, the real-time refresh rate adapted to the real-time picture update rate in the preset refresh rate range includes:
step B10, acquiring a preset configuration file, wherein the preset configuration file comprises a mapping relation between a picture update rate and a refresh rate level of each play content of the display equipment;
step B20, determining a real-time refresh rate level corresponding to the real-time picture update rate according to the preset configuration file;
and step B30, selecting the refresh rate pointed by the real-time refresh rate level in the preset refresh rate range as a target refresh rate.
Illustratively, steps B10 through B30 include: acquiring a preset configuration file; searching the preset configuration file according to the real-time picture updating rate to obtain a corresponding real-time refreshing rate level; and selecting the refresh rate pointed by the real-time refresh rate level in the preset refresh rate range as a target refresh rate.
Further, before the acquiring the preset configuration file, generating the preset configuration file includes: and acquiring the equipment performance of the display equipment, and determining different refresh rate levels corresponding to the display equipment under different picture update rates according to the equipment performance so as to generate a preset configuration file.
In step S22, after the step of selecting the real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range, the display control method of the display device further includes:
step C10, detecting whether a person exists in the front area of the display device;
step C20, if yes, keeping the refresh rate unchanged;
and step C30, if not, the refresh rate is adjusted downwards.
Illustratively, steps C10 through C30 include: detecting whether a person exists in the front area of the display device, and if so, keeping the refresh rate unchanged; and if no person exists in the front area of the display device, the refresh rate is adjusted downwards.
Further, as an example, the step of detecting whether a person is in a front area of the display device includes: obtaining regional video stream data of a region in front of the display device, extracting a background picture frame and a target picture frame carrying target information to be detected from the regional video stream data, wherein the regional video stream data at least comprises a regional video frame, and performing background and foreground separation processing on the regional video frame to obtain video background frame data and video foreground frame data, for example, performing background and foreground separation modes including but not limited to optical flow algorithm, low-rank decomposition, gaussian mixture modeling and the like, and further judging whether the target picture frame is human or not by inputting the target picture frame into a face recognition classifier so as to detect whether human exists in front of the display device.
As an example, the step of detecting whether a person is in a front area of the display device includes: detecting infrared radiation in front of the display equipment through a pyroelectric infrared probe, and judging that a person is in front of the display equipment when the wavelength of the infrared radiation is in a preset wavelength range; and when the wavelength of the infrared radiation is not in the preset wavelength range, judging that no person is in front of the display device, wherein the preset wavelength range is a preset human body radiation wavelength range.
As an example, the step of detecting whether a person is in a front area of the display device includes: the detection radar is used for detecting vital signs in front of the display equipment, classifying detection targets with high precision, detecting whether the vital signs are in front of the display equipment or not, and judging whether the vital signs are people or not.
And step S30, displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate.
Compared with a fixed refresh rate and resolution display picture adopted in the prior art, the display control method of the display device provided by the embodiment of the application is used for acquiring the current playing content of the display device; determining a target refresh rate of the display device according to the current playing content; and displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate, and dynamically adjusting the refresh rate and the resolution according to the current playing content, so that the adaptive refresh rate and resolution can be always provided for the display device, the situation that the display device is blocked due to insufficient device performance of the display device to support adjustment of the refresh rate and the resolution when the fixed refresh rate and the resolution are adopted to display pictures is avoided, or the technical defect that the display device has good device performance and excessive performance, thereby reducing the limitation of display adjustment in the display device and improving the flexibility of display adjustment in the display device.
Example two
Further, in another embodiment of the present application, the same or similar content as the first embodiment may be referred to the above description, and will not be repeated. On this basis, in step S30, the step of displaying the currently played content according to the target refresh rate and the target resolution determined by the target refresh rate includes:
step D10, acquiring equipment performance parameters and preset resolution of the display equipment;
and step D20, obtaining target resolution by adjusting the preset resolution according to the equipment performance parameter and the target refresh rate.
In this embodiment, it should be noted that the preset resolution is a fixed resolution preset by the display device.
Illustratively, steps D10 through D20 include: acquiring equipment performance parameters and preset resolution of the display equipment; and acquiring an adjustment amount for adjusting the direction resolution in the preset resolution according to the device performance parameter and the target refresh rate, and adjusting the direction resolution in the preset resolution according to the adjustment amount to obtain the target resolution, wherein the number of the direction resolutions can be one or more, the direction resolutions can be vertical resolution or horizontal resolution, and the adjustment amount is determined by the device performance parameter and the size of the target refresh rate.
As an example, the adjusting the directional resolution in the preset resolutions may be adjusting a vertical resolution or a horizontal resolution in the preset resolutions, for example, when the preset resolution is 4k2k, the preset resolution is adjusted to 4k1k.
As an example, the adjusting the directional resolution in the preset resolutions may be adjusting the vertical resolution and the horizontal resolution in the preset resolutions, for example, when the preset resolution is 4k2k, the preset resolution is adjusted to 2k1k.
In step D20, the device performance parameter includes a CPU occupation value and a memory occupation value, and after the adjusting the preset resolution according to the device performance parameter and the target refresh rate, the display control method of the display device further includes:
step E10, judging whether the current CPU occupation value of the display equipment is larger than a preset CPU occupation threshold value or not and judging whether the current memory value of the display equipment is larger than a preset memory threshold value or not;
e20, if yes, keeping the preset resolution unchanged;
step E30, if not, the preset resolution is adjusted downwards, and the execution steps are returned to: and determining the target resolution of the display equipment according to the equipment performance parameter and the target refresh rate.
In this embodiment, it should be noted that, the preset CPU occupation threshold is a preset threshold of CPU occupation values that can be stably operated by the display device; the preset memory occupation threshold is a critical value of memory occupation values of the display equipment of the pre-equipment, which can stably run.
Illustratively, steps E10 through E30 include: acquiring a preset CPU occupation threshold and a preset memory threshold of the display device according to the device performance parameters of the display device, acquiring a current CPU occupation value and a current memory value of the display device, acquiring real-time device performance parameters, judging whether the current CPU occupation value of the display device is larger than the preset CPU occupation threshold and judging whether the current memory value of the display device is larger than the preset memory threshold; if the current CPU occupation value of the display device is larger than a preset CPU occupation threshold value and the current memory value of the display device is larger than a preset memory threshold value, keeping the preset resolution unchanged; if the current CPU occupation value of the display device is not greater than the preset CPU occupation threshold value and/or the current memory value of the display device is not greater than the preset memory threshold value, the preset resolution is adjusted downwards, and the execution steps are returned: and determining the target resolution of the display equipment according to the equipment performance parameter and the target refresh rate.
Compared with a fixed refresh rate and resolution display picture adopted in the prior art, the display control method of the display device provided by the embodiment of the application is used for acquiring the current playing content of the display device; determining a target refresh rate of the display device according to the current playing content; and displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate, and dynamically adjusting the refresh rate and the resolution according to the current playing content, so that the adaptive refresh rate and resolution can be always provided for the display device, the situation that the display device is blocked due to insufficient device performance of the display device to support adjustment of the refresh rate and the resolution when the fixed refresh rate and the resolution are adopted to display pictures is avoided, or the technical defect that the display device has good device performance and excessive performance, thereby reducing the limitation of display adjustment in the display device and improving the flexibility of display adjustment in the display device.
Example III
The embodiment of the application also provides a display control device of a display device, which is applied to the display control device of the display device, and the display control device of the display device comprises:
the acquisition module is used for acquiring the current playing content of the display equipment;
the determining module is used for determining a target refresh rate of the display equipment according to the current playing content;
and the display module is used for displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate.
Optionally, the step of determining a target refresh rate of the display device according to the currently played content, the determining module is further configured to:
determining a preset refresh rate range corresponding to the current playing content according to the content type of the current playing content;
and acquiring a real-time picture update rate corresponding to the current playing content, and selecting a real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate.
Optionally, the content type includes game content and audio-visual content, the preset refresh rate range includes a first refresh rate range and a second refresh rate range, the step of determining, according to the content type of the current playing content, a preset refresh rate range corresponding to the current playing content, and the determining module is further configured to:
when the content type is game content, determining a preset first refresh rate range;
and when the content type is video and audio content, determining a preset second refresh rate range, wherein the refresh rate value of the preset first refresh rate range is larger than that of the preset second refresh rate range.
Optionally, the step of selecting the real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate is further performed by the determining module:
acquiring a preset configuration file, wherein the preset configuration file comprises a mapping relation between a picture update rate and a refresh rate level of each play content of display equipment;
and selecting the refresh rate pointed by the real-time refresh rate level in the preset refresh rate range as a target refresh rate.
Optionally, the target refresh rate and the target resolution determined by the target refresh rate are further used for:
acquiring equipment performance parameters and preset resolution of the display equipment;
and according to the equipment performance parameter and the target refresh rate, obtaining the target resolution by adjusting the preset resolution.
Optionally, the device performance parameter includes a CPU occupancy value and a memory occupancy value, and after the step of obtaining the target resolution by adjusting the preset resolution according to the device performance parameter and the target refresh rate, the display module is further configured to:
judging whether the current CPU occupation value of the display equipment is larger than a preset CPU occupation threshold value or not and judging whether the current memory value of the display equipment is larger than a preset memory threshold value or not;
if yes, keeping the preset resolution unchanged;
if not, the preset resolution is adjusted downwards, and the execution steps are returned to: and determining the target resolution of the display equipment according to the equipment performance parameter and the target refresh rate.
Optionally, after the step of selecting the real-time refresh rate of the real-time picture update rate adaptation in the preset refresh rate range, the determining module is further configured to:
detecting whether a person is present in a front area of the display device;
if yes, keeping the refresh rate unchanged;
and if not, the refresh rate is adjusted downwards.
The display control device of the display equipment solves the technical problems that display adjustment is limited and inflexible by adopting the display control method of the display equipment in the embodiment. Compared with the prior art, the display control device of the display device provided by the embodiment of the present application has the same beneficial effects as the display control method of the display device provided by the above embodiment, and other technical features in the display control device of the display device are the same as the features disclosed in the method of the above embodiment, which are not repeated herein.
Example IV
An embodiment of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the display control method of the display device in the above embodiment.
Referring now to fig. 2, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 2 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 2, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
In general, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tape, hard disk, etc.; a communication device. The communication means may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the application adopts the display control method of the display equipment in the embodiment, and solves the technical problems that display adjustment is limited and inflexible. Compared with the prior art, the electronic device provided by the embodiment of the present application has the same beneficial effects as the display control method of the display device provided by the above embodiment, and other technical features of the electronic device are the same as the features disclosed by the method of the above embodiment, which are not described herein in detail.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Example five
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for executing the method of display control of the display device in the above-described embodiments.
The computer readable storage medium provided by the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The above-described computer-readable storage medium may be contained in an electronic device; or may exist alone without being assembled into an electronic device.
The computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquiring the current playing content of the display equipment; determining a target refresh rate of the display device according to the current playing content; and displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The computer readable storage medium stores the computer readable program instructions for executing the display control method of the display device, and solves the technical problems that display adjustment is limited and inflexible. Compared with the prior art, the beneficial effects of the computer readable storage medium provided in the embodiment of the present application are the same as those of the display control method of the display device provided in the above implementation, and are not described in detail herein.
Example six
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a display control method of a display device as described above.
The computer program product solves the technical problems that display adjustment is limited and inflexible. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as those of the display control method of the display device provided by the foregoing embodiment, and are not described herein in detail.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims.
Claims (8)
1. A display control method of a display device, characterized in that the display control method of the display device comprises:
acquiring the current playing content of the display equipment;
determining a target refresh rate of the display device according to the current playing content;
displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate;
wherein, the step of determining the target refresh rate of the display device according to the current playing content includes:
determining a preset refresh rate range corresponding to the current playing content according to the content type of the current playing content;
acquiring a real-time picture update rate corresponding to the current playing content, and selecting a real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate;
detecting whether a person exists in the front area of the display device or not by carrying out face recognition on a target picture frame corresponding to the area video stream data of the front area of the display device;
if yes, keeping the refresh rate unchanged;
and if not, the refresh rate is adjusted downwards.
2. The display control method of a display device according to claim 1, wherein the content types include game content and audio-visual content, the preset refresh rate range includes a first refresh rate range and a second refresh rate range, and the step of determining the preset refresh rate range corresponding to the current play content according to the content type of the current play content includes:
when the content type is game content, determining a preset first refresh rate range;
and when the content type is video and audio content, determining a preset second refresh rate range, wherein the refresh rate value of the preset first refresh rate range is larger than that of the preset second refresh rate range.
3. The display control method of a display device according to claim 1, wherein the step of selecting the real-time refresh rate of the real-time picture update rate adaptation in the preset refresh rate range as the target refresh rate includes:
acquiring a preset configuration file, wherein the preset configuration file comprises a mapping relation between a picture update rate and a refresh rate level of each play content of display equipment;
determining a real-time refresh rate level corresponding to the real-time picture update rate according to the preset configuration file;
and selecting the refresh rate pointed by the real-time refresh rate level in the preset refresh rate range as a target refresh rate.
4. The display control method of a display device according to claim 1, wherein the target refresh rate and the target resolution determined by the target refresh rate include:
acquiring equipment performance parameters and preset resolution of the display equipment;
and according to the equipment performance parameter and the target refresh rate, obtaining the target resolution by adjusting the preset resolution.
5. The display control method of a display device according to claim 4, wherein the device performance parameters include a CPU occupancy value and a memory occupancy value, and after the step of obtaining the target resolution by adjusting the preset resolution according to the device performance parameters and the target refresh rate, the display control method of the display device further comprises:
judging whether the current CPU occupation value of the display equipment is larger than a preset CPU occupation threshold value or not and judging whether the current memory value of the display equipment is larger than a preset memory threshold value or not;
if yes, keeping the preset resolution unchanged;
if not, the preset resolution is adjusted downwards, and the execution steps are returned to: and determining the target resolution of the display equipment according to the equipment performance parameter and the target refresh rate.
6. A display control apparatus of a display device, characterized in that the display control apparatus of the display device comprises:
the acquisition module is used for acquiring the current playing content of the display equipment;
the determining module is used for determining a target refresh rate of the display equipment according to the current playing content;
the display module is used for displaying the current playing content according to the target refresh rate and the target resolution determined by the target refresh rate;
the determining module is further configured to: determining a preset refresh rate range corresponding to the current playing content according to the content type of the current playing content; acquiring a real-time picture update rate corresponding to the current playing content, and selecting a real-time refresh rate adapted to the real-time picture update rate from the preset refresh rate range as the target refresh rate; detecting whether a person exists in the front area of the display device or not by carrying out face recognition on a target picture frame corresponding to the area video stream data of the front area of the display device; if yes, keeping the refresh rate unchanged; and if not, the refresh rate is adjusted downwards.
7. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the display control method of the display device of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program that realizes the display control method of a display device, the program realizing the display control method of a display device being executed by a processor to realize the steps of the display control method of a display device according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210343841.7A CN114724528B (en) | 2022-04-02 | 2022-04-02 | Display control method and device of display device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210343841.7A CN114724528B (en) | 2022-04-02 | 2022-04-02 | Display control method and device of display device, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114724528A CN114724528A (en) | 2022-07-08 |
CN114724528B true CN114724528B (en) | 2024-03-22 |
Family
ID=82241483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210343841.7A Active CN114724528B (en) | 2022-04-02 | 2022-04-02 | Display control method and device of display device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114724528B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105427782A (en) * | 2014-09-17 | 2016-03-23 | 联发科技股份有限公司 | Processor for use in dynamic refresh rate switching and related electronic device |
CN105825801A (en) * | 2016-03-21 | 2016-08-03 | 联想(北京)有限公司 | Display control method and electronic device |
CN109345992A (en) * | 2017-08-01 | 2019-02-15 | 富泰华工业(深圳)有限公司 | The method of adjustment of electronic device and screen refresh frequency |
CN109473082A (en) * | 2019-01-08 | 2019-03-15 | 京东方科技集团股份有限公司 | A kind of method of adjustment, device and the virtual reality device of display screen refresh rate |
CN109688461A (en) * | 2019-01-16 | 2019-04-26 | 京东方科技集团股份有限公司 | Video broadcasting method and device |
CN111489675A (en) * | 2020-03-30 | 2020-08-04 | 联想(北京)有限公司 | Method, device and system for adjusting display of electronic equipment and storage medium |
CN111767013A (en) * | 2020-06-01 | 2020-10-13 | Oppo(重庆)智能科技有限公司 | Control method, control device, electronic device, computer-readable storage medium |
CN112652263A (en) * | 2020-12-25 | 2021-04-13 | 深圳传音控股股份有限公司 | Refreshing method, terminal and storage medium |
CN113362783A (en) * | 2020-03-06 | 2021-09-07 | 华为技术有限公司 | Refresh rate switching method and electronic equipment |
CN113395592A (en) * | 2020-11-18 | 2021-09-14 | 腾讯科技(北京)有限公司 | Video playing control method, device, equipment and computer storage medium |
CN113625860A (en) * | 2021-07-23 | 2021-11-09 | 荣耀终端有限公司 | Mode switching method and device, electronic equipment and chip system |
CN113724656A (en) * | 2020-05-26 | 2021-11-30 | 海信视像科技股份有限公司 | Screen backlight frequency adjusting method, device, equipment and storage medium |
CN113963659A (en) * | 2020-07-21 | 2022-01-21 | 华为技术有限公司 | Adjusting method of display equipment and display equipment |
CN114071047A (en) * | 2021-10-30 | 2022-02-18 | 深圳曦华科技有限公司 | Frame rate control method and related device |
CN114210052A (en) * | 2021-11-11 | 2022-03-22 | 深圳市元宇宙科技有限公司 | Game fluency optimization method and device, terminal and computer-readable storage medium |
CN114242003A (en) * | 2021-12-14 | 2022-03-25 | Tcl华星光电技术有限公司 | Display panel and driving method thereof |
Family Cites Families (2)
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 |
CN112445315A (en) * | 2019-08-28 | 2021-03-05 | 北京小米移动软件有限公司 | Control method and device for screen refresh frame rate and storage medium |
-
2022
- 2022-04-02 CN CN202210343841.7A patent/CN114724528B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105427782A (en) * | 2014-09-17 | 2016-03-23 | 联发科技股份有限公司 | Processor for use in dynamic refresh rate switching and related electronic device |
CN105825801A (en) * | 2016-03-21 | 2016-08-03 | 联想(北京)有限公司 | Display control method and electronic device |
CN109345992A (en) * | 2017-08-01 | 2019-02-15 | 富泰华工业(深圳)有限公司 | The method of adjustment of electronic device and screen refresh frequency |
CN109473082A (en) * | 2019-01-08 | 2019-03-15 | 京东方科技集团股份有限公司 | A kind of method of adjustment, device and the virtual reality device of display screen refresh rate |
CN109688461A (en) * | 2019-01-16 | 2019-04-26 | 京东方科技集团股份有限公司 | Video broadcasting method and device |
CN113362783A (en) * | 2020-03-06 | 2021-09-07 | 华为技术有限公司 | Refresh rate switching method and electronic equipment |
CN111489675A (en) * | 2020-03-30 | 2020-08-04 | 联想(北京)有限公司 | Method, device and system for adjusting display of electronic equipment and storage medium |
CN113724656A (en) * | 2020-05-26 | 2021-11-30 | 海信视像科技股份有限公司 | Screen backlight frequency adjusting method, device, equipment and storage medium |
CN111767013A (en) * | 2020-06-01 | 2020-10-13 | Oppo(重庆)智能科技有限公司 | Control method, control device, electronic device, computer-readable storage medium |
CN113963659A (en) * | 2020-07-21 | 2022-01-21 | 华为技术有限公司 | Adjusting method of display equipment and display equipment |
CN113395592A (en) * | 2020-11-18 | 2021-09-14 | 腾讯科技(北京)有限公司 | Video playing control method, device, equipment and computer storage medium |
CN112652263A (en) * | 2020-12-25 | 2021-04-13 | 深圳传音控股股份有限公司 | Refreshing method, terminal and storage medium |
CN113625860A (en) * | 2021-07-23 | 2021-11-09 | 荣耀终端有限公司 | Mode switching method and device, electronic equipment and chip system |
CN114071047A (en) * | 2021-10-30 | 2022-02-18 | 深圳曦华科技有限公司 | Frame rate control method and related device |
CN114210052A (en) * | 2021-11-11 | 2022-03-22 | 深圳市元宇宙科技有限公司 | Game fluency optimization method and device, terminal and computer-readable storage medium |
CN114242003A (en) * | 2021-12-14 | 2022-03-25 | Tcl华星光电技术有限公司 | Display panel and driving method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN114724528A (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11924520B2 (en) | Subtitle border-crossing processing method and apparatus, and electronic device | |
CN110287810B (en) | Vehicle door motion detection method, device and computer readable storage medium | |
US20220277481A1 (en) | Panoramic video processing method and apparatus, and storage medium | |
US20220159197A1 (en) | Image special effect processing method and apparatus, and electronic device and computer readable storage medium | |
CN114845212A (en) | Volume optimization method and device, electronic equipment and readable storage medium | |
CN113766303B (en) | Multi-screen interaction method, device, equipment and storage medium | |
CN109302563B (en) | Anti-shake processing method and device, storage medium and mobile terminal | |
EP4113446A1 (en) | Sticker processing method and apparatus | |
CN111626990B (en) | Target detection frame processing method and device and electronic equipment | |
CN114724528B (en) | Display control method and device of display device, electronic device and storage medium | |
CN115022611B (en) | VR picture display method, electronic device and readable storage medium | |
CN115278368B (en) | Picture definition optimization method and device, electronic equipment and readable storage medium | |
CN114167992A (en) | Display picture rendering method, electronic device and readable storage medium | |
CN114860368A (en) | Control method and device of display equipment, electronic equipment and readable storage medium | |
CN113099101B (en) | Camera shooting parameter adjusting method and device and electronic equipment | |
CN114727011B (en) | Image pickup optimization method, device, electronic equipment and readable storage medium | |
CN114979792B (en) | Display device control method and device, electronic device and readable storage medium | |
CN115190342B (en) | Display device control method and device, electronic device and readable storage medium | |
CN114489547A (en) | Screen projection method and device, electronic equipment and readable storage medium | |
CN115348478A (en) | Device interaction display method and device, electronic device and readable storage medium | |
CN111125465B (en) | Information display quantity adjusting method and device, electronic equipment and readable medium | |
CN115314740B (en) | Display page interaction control method and device, electronic equipment and readable storage medium | |
WO2022242544A1 (en) | Live-streaming video stream playing method and apparatus, and electronic device and storage medium | |
CN110838132B (en) | Object segmentation method, device and equipment based on video stream and storage medium | |
CN117170603A (en) | Terminal control method, electronic device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |