CN113742013A - Image display method and device, electronic equipment and storage medium - Google Patents

Image display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113742013A
CN113742013A CN202110882514.4A CN202110882514A CN113742013A CN 113742013 A CN113742013 A CN 113742013A CN 202110882514 A CN202110882514 A CN 202110882514A CN 113742013 A CN113742013 A CN 113742013A
Authority
CN
China
Prior art keywords
image
detection signal
signal
display
display attribute
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.)
Pending
Application number
CN202110882514.4A
Other languages
Chinese (zh)
Inventor
黄镇峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110882514.4A priority Critical patent/CN113742013A/en
Publication of CN113742013A publication Critical patent/CN113742013A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application discloses an image display method, an image display device, electronic equipment and a storage medium, wherein display attribute data is updated by responding to a display attribute switching request; outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating the image output equipment to acquire display attribute data and returning a switching completion signal; if the switching completion signal returned by the image output equipment aiming at the first detection signal is not detected, outputting a second detection signal based on a second strategy; if a switching completion signal returned by the image output device for the second detection signal is detected, acquiring image data output by the image output device based on the display attribute data; displaying a corresponding image based on the image display data; the method and the device can be compatible with different image output devices, the image output device with short time consumption for identifying the detection signal can quickly draw a picture, and the image output device with long time consumption can successfully identify the detection information and update the display attribute data.

Description

Image display method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an image display method and apparatus, an electronic device, and a storage medium.
Background
Different upstream devices (i.e., image output devices, such as a set-top box and a game console) need different detection times for detection signals output by an image display device (such as a television), and due to the fact that the detection signals are not satisfactory, the upstream devices cannot recognize the detection signals, updated display attribute data is not acquired, and the update of the display attribute data fails. In order to be compatible with more upstream devices, it is necessary to set the output mode of the detection signal according to the upstream device having a longer detection time. Because the upstream equipment requiring longer detection time is considered, the upstream equipment with short detection time cannot update the display attribute data at the fastest speed, and the upstream equipment is slow in drawing speed.
Disclosure of Invention
The embodiment of the application provides an image display method, an image display device, electronic equipment and a storage medium, which can be compatible with different image output equipment, the image output equipment with short time consumption for identifying and detecting signals can quickly map, the image output equipment with long time consumption for identifying and detecting signals can successfully identify and detect information, and display attribute data is updated.
An image display method provided by an embodiment of the present application includes:
updating the display attribute data in response to the display attribute switching request;
outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating image output equipment to acquire the display attribute data and generating a switching completion signal after acquiring the display attribute data;
if the switching completion signal returned by the image output equipment aiming at the first detection signal is not detected, outputting a second detection signal based on a second strategy;
if a switching completion signal returned by the image output device for the second detection signal is detected, acquiring image data output by the image output device based on the display attribute data;
displaying, by the display device, a corresponding image based on the image data.
Correspondingly, an embodiment of the present application further provides an image display device, including:
the updating unit is used for responding to the display attribute switching request and updating the display attribute data;
a first output unit, configured to output a detection signal based on a first policy, where the detection signal is used to instruct an image output device to acquire the display attribute data, and generate a switching completion signal after acquiring the display attribute data;
a second output unit, configured to output a second detection signal based on a second policy if a switching completion signal returned by the first detection signal is not detected;
an acquisition unit configured to acquire image data output by the image output apparatus based on the display attribute data if a switching completion signal returned by the image output apparatus for the second detection signal is detected;
a display unit for displaying a corresponding image based on the image data.
Correspondingly, the embodiment of the application also provides an electronic device, which comprises a memory and a processor; the memory stores a computer program, and the processor is used for operating the computer program in the memory to execute any image display method provided by the embodiment of the application.
Correspondingly, the embodiment of the present application further provides a storage medium, where the storage medium is used to store a computer program, and the computer program is loaded by a processor to execute any one of the image display methods provided by the embodiment of the present application.
The embodiment of the application updates the display attribute data by responding to the display attribute switching request; outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating the image output equipment to acquire display attribute data and generating a switching completion signal after the display attribute data is acquired; if the switching completion signal returned by the image output equipment aiming at the first detection signal is not detected, outputting a second detection signal based on a second strategy; if a switching completion signal returned by the image output device for the second detection signal is detected, acquiring image data output by the image output device based on the display attribute data; the corresponding image is displayed based on the image data, the detection signals can be output by the first strategy and the second strategy, different image output devices are compatible, the image output device which is short in time consumption for identifying the detection signals can rapidly draw a picture, the image output device which is long in time consumption for identifying the detection signals can successfully identify the detection information, and the display attribute data are updated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of an image display method provided in an embodiment of the present application;
FIG. 2 is another flowchart of an image display method provided in an embodiment of the present application;
FIG. 3 is a schematic view of a device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an image display method and device, electronic equipment and a storage medium. The image display apparatus may be integrated in an electronic device, which may be an image display device carrying a display, such as a terminal or the like.
The terminal may include a smart television, a mobile phone, a wearable smart device, a tablet Computer, a notebook Computer, a Personal Computer (PC), and the like.
In this embodiment, the description will be made from the perspective of an image display apparatus, where the image display apparatus may be specifically integrated in an electronic device, and the electronic device may be an image display device or the like, and as shown in fig. 1, a specific flow of the image display method may be as follows:
101. the image display apparatus updates the display attribute data in response to the display attribute switching request.
The Display attribute Data may be Data of parameters related to the Display and the performance of the image Display device, the Display attribute Data may be external Display device Identification Data (EDID), the EDID includes basic Display parameters of the Display, and the basic Display parameters may include the following: the type of video display signal (video signal format) that the display is capable of receiving, the display size, and the maximum horizontal and vertical image sizes.
For example, the display attribute switching request may be received by the smart television, and the display attribute data is updated to the display attribute data indicated by the display attribute switching request in response to the display attribute switching request.
In an embodiment, the display attribute switching request may be triggered through a User Interface (UI) provided by the image display device, that is, before the step "updating the display attribute data in response to the display attribute switching request", the image display method may further include:
displaying an attribute switching interface;
and responding to the attribute switching operation aiming at the attribute switching interface to generate a display attribute switching request.
The description is given by taking the image display device as an intelligent television and the display attribute data as EDID as an example, specifically, a user may use a display attribute switching interface displayed on the intelligent television, because the EDID has multiple versions, such as EDID1.0, EDID2.0, EDID1.3, and the like, the display attribute switching interface of the intelligent television may provide the EDID of the multiple versions for the user to select, the user outputs an attribute switching operation on the display attribute switching interface, for example, the user performs a click operation on the version to be selected, the intelligent television responds to the click operation of the user to generate a display attribute switching request, and the display attribute switching request carries information of the EDID version to be switched by the user.
And the intelligent television responds to the display attribute switching request, updates the display attribute data of the display to the data corresponding to the EDID version indicated by the display attribute switching request.
102. The image display device outputs a first detection signal based on a first strategy, wherein the detection signal is used for indicating the image output device to acquire display attribute data and generating a switching completion signal after acquiring the display attribute data.
The image output device may be a device upstream of the image display device, that is, the image output device displays an image to be output through the image display device, and may be a device such as a set-top box and a game console.
The first detection signal and the second detection signal may be one detection signal output from the image display device and sent to the image output device, and when the image output device detects the detection signal, updated display attribute data is acquired from the image display device.
Since different image output apparatuses require different times to detect the detection signal output from the image display apparatus, some image output apparatuses require a shorter time to detect the detection signal, for example, 300ms, and some image output apparatuses require a longer time to detect the detection signal, for example, 1 to 2 s.
In order to be compatible with different devices, the detection signals can be output through different strategies, and the first detection signal output by the first strategy can be detected by the image output device with the short time consumption of the identification detection signal, so that the image output device with the short time consumption of the identification detection signal can quickly detect the detection signal, acquire the updated display attribute data of the image display device, and return the generated switching completion information to the image display device.
In an embodiment, the first detection signal may be output through a signal port, the signal port may include a signal output pin, such as a Hot Plug Detect (HPD) pin, and the step of outputting the first detection signal by changing a level of the HPD pin may include:
setting the level of the signal port to a first level;
after the first preset time, the level of the signal port is set to a second level to output a first detection signal.
For example, the level of the HPD pin may be set to a low level, and after a first preset time, the level of the HPD pin may be set to a high level, and the image output apparatus may recognize the first detection signal through a change in the level of the HPD pin.
Wherein the high level and the low level are relative ground, the high level may be that the voltage of the HPD pin is greater than 2V, and the low level may be that the voltage of the HPD pin is less than 0.8V.
Optionally, taking the image Display device as an intelligent television, and the Display attribute Data as EDID for example to explain, the intelligent television sets the level of the HPD pin at a low level, writes the EDID selected by the user into a Display Data Channel (DDC) memory, and sets the level of the HPD pin at a high level after a first preset time, for example, 300 ms.
If the image output apparatus can recognize the first detection signal through a change in the HPD pin level, EDID in the DDC memory is read through the DDC.
103. And if the image display device does not detect a switching completion signal returned by the image output device aiming at the first detection signal, outputting a second detection signal based on a second strategy.
For example, it may be specifically configured that, if the image output device does not detect the first detection signal, the image output device does not re-acquire the display attribute data of the image display device, and returns a switching completion signal.
The image display device does not detect a switching completion signal returned by the image output device, the switching completion signal indicates that the time required for the image output device to identify the detection signal is long, the image display device outputs a second detection signal according to a second strategy, the duration of the second detection signal is long, the second detection signal can be detected by the image output device with the detection signal consuming short time, the second detection signal can also be detected by the image output device with the detection signal consuming long time, and the image display device is compatible with different image output devices.
And if the switching completion signal returned by the image output device for the first detection signal is detected, the image output device detects the first detection signal and reads the updated display attribute data of the image display device, and then the image data output by the image output device based on the display attribute data is obtained.
In an embodiment, the second detection signal may be output through a signal port, the signal port may include a signal output pin, such as a Hot Plug Detect (HPD) pin, and the step of outputting the second detection signal by changing a level of the HPD pin may include:
setting the level of the signal port to a first level;
and after a second preset time, the level of the signal port is set at a second level to output a second detection signal, wherein the second preset time is longer than the first preset time.
For example, the level of the HPD pin may be set to a low level, and after a second preset time, the level of the HPD pin may be set to a high level, and the image output apparatus may recognize the second detection signal through a change in the level of the HPD pin.
The second detection signal is a detection signal output by the image output device considering the time consumption for identifying the detection signal, and therefore the second preset time is greater than the first preset time.
In an embodiment, after the image display device outputs the first detection signal, the image display method may further include, before detecting, by the signal detection thread, a switch completion signal returned by the image output device, that is, the step "if the switch completion signal returned by the image output device for the first detection signal is not detected, outputting a second detection signal based on a second policy", where:
starting a signal detection thread, wherein the signal detection thread is used for detecting a switching completion signal;
and judging whether a switching completion signal is detected or not after the preset delay time through the signal detection thread.
The signal detection thread may be a thread that performs signal detection and outputs a second detection signal task, the thread may be the smallest unit capable of performing operation scheduling by an operating system, and each thread may execute different tasks in parallel.
For example, as shown in fig. 2, the smart tv may specifically execute the image display method through two threads, where one thread is used for displaying an image and may be referred to as an image display thread, and the other thread is used for detecting a signal and outputting a second detection signal, that is, a signal detection thread. After receiving the display attribute request, the intelligent television can set the level of the HPD pin at a low level through the image display thread, write the EDID selected by the user, set the level of the HPD pin at a high level after a first preset time, and start the signal detection thread, because the time for the image output device to return the switching completion signal is different, the signal detection thread can judge whether the switching completion signal is detected or not after a preset delay time, for example, 5s, and if the switching completion signal is detected, the signal detection thread is ended; if the switching completion signal is not detected, the intelligent television sets the level of the HPD pin at a low level, and after second preset time, the level of the HPD pin is set at a high level to output a second detection signal.
The intelligent television can detect whether a switching completion signal exists through the image display thread, the image display is displayed (corresponding images are displayed) after the image output device returns the switching completion signal is detected, if the image output device returns the switching completion signal is not detected, the intelligent television waits for the signal detection thread to output a second detection signal, then whether the switching completion signal exists is detected again, and after the image output device returns the switching completion signal is detected, the corresponding images are displayed.
104. And if the image display device detects a switching completion signal returned by the image output device for the second detection signal, acquiring the image data output by the image output device based on the display attribute data.
For example, specifically, if it is detected that the switching completion signal returned by the image output device for the second detection signal indicates that the image output device detects the second detection signal and reads the display attribute data updated by the image display device, the image data output by the image output device based on the display attribute data may be acquired, so as to better adapt to the image display device.
105. The image display apparatus displays a corresponding image based on the image data.
For example, the display of the corresponding image may be specifically based on the image data.
In order to be compatible with more image output devices, the image output device with short time consumption can quickly map (display an image through the image display device), a certain time step can be set, and the first policy and the second policy are updated according to the time step, for example, 300ms, so as to adapt to more image output devices, that is, in an embodiment, the image display method may further include:
and if the switching completion signal returned by the second detection signal is not detected, determining a third strategy and a fourth strategy according to the second strategy, taking the third strategy as the first strategy and taking the fourth strategy as the second strategy, and returning to execute the output detection signal based on the first strategy until the switching completion signal returned by the image output equipment is detected.
For example, it may be specifically that neither the first detection signal nor the second detection signal output by the image display device can be detected by the image output device, which indicates that the image output device needs a longer time to recognize the detection signal, and the third policy and the fourth policy may be determined according to the second policy, for example, when the output time of the second detection signal output by the second policy is 1s, the time step is 300ms, the time corresponding to the third policy is 1.3s, and the fourth policy is 1.6 s. And outputting the detection signal by using a third strategy, if the image output equipment still can not detect the detection signal, outputting the detection signal again by using a fourth strategy, and continuously outputting the detection signal which is longer than the last output time until the image output equipment identifies the detection signal and returns a switching completion signal, or when the number of times of outputting the detection signal meets a preset threshold value, ending the circulation.
As can be seen from the above, in the embodiment of the present application, the image display device is adopted to respond to the display attribute switching request, and update the display attribute data; outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating the image output equipment to acquire display attribute data of the image display equipment and generating a switching completion signal after the display attribute data is acquired; if the switching completion signal returned by the image output equipment aiming at the first detection signal is not detected, outputting a second detection signal based on a second strategy; if a switching completion signal returned by the image output device for the second detection signal is detected, acquiring image data output by the image output device based on the display attribute data; the corresponding image is displayed based on the image data, the detection signals can be output by the first strategy and the second strategy, different image output devices are compatible, the image output device which is short in time consumption for identifying the detection signals can rapidly draw a picture, the image output device which is long in time consumption for identifying the detection signals can successfully identify the detection information, and the display attribute data are updated.
In order to better implement the image display method provided by the embodiment of the application, an embodiment of the invention also provides an image display device. The terms are the same as those in the image display method described above, and details of implementation can be referred to the description in the method embodiment.
The image display apparatus may be specifically integrated in an electronic device, and as shown in fig. 3, the image display apparatus may include: the updating unit 201, the first output unit 202, the second output unit 203, the obtaining unit 204 and the display unit 205 are specifically as follows:
the updating unit 201: and the display attribute switching module is used for responding to the display attribute switching request and updating the display attribute data.
Optionally, the image display apparatus may further include a display unit and a request generation unit, specifically:
a display unit: the attribute switching interface is used for displaying an attribute switching interface;
a request generation unit: and the display attribute switching module is used for responding to the attribute switching operation aiming at the attribute switching interface and generating a display attribute switching request.
First output unit 202: the display control device is used for outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating the image output device to acquire display attribute data and generating a switching completion signal after the display attribute data is acquired.
Optionally, the first output unit 202 may include a first setting subunit and a second setting subunit, specifically:
a first setting subunit: for setting the level of the signal port to a first level;
a second setting subunit: the level of the signal port is set to a second level after a first preset time so as to output a first detection signal.
Second output unit 203: and the controller is used for outputting a second detection signal based on a second strategy if a switching completion signal returned by the image output device for the first detection signal is not detected.
Optionally, the image display device may further include a data acquisition unit, specifically:
a data acquisition unit: and the image output device is used for acquiring the image data output by the image output device based on the display attribute data if the switching completion signal returned by the image output device aiming at the first detection signal is detected.
Optionally, the second output unit 203 may include a third setting subunit and a fourth setting subunit, specifically:
a third setting subunit: for setting the level of the signal port to a first level;
a fourth setting subunit: and the second preset time is longer than the first preset time.
Optionally, the image display apparatus may further include a thread starting unit and a determining unit, specifically:
a thread starting unit: the signal detection thread is used for detecting a switching completion signal;
a judging unit: and the method is used for judging whether a switching completion signal is detected or not after the preset delay time through the signal detection thread.
The acquisition unit 204: and the image output device is used for acquiring the image data output by the image output device based on the display attribute data if the switching completion signal returned by the image output device aiming at the second detection signal is detected.
The display unit 205: for displaying a corresponding image based on the image data.
Optionally, the image display device may further include a circulation unit, specifically:
a circulation unit: and if the switching completion signal returned by the second detection signal is not detected, determining a third strategy and a fourth strategy according to the second strategy, taking the third strategy as the first strategy and the fourth strategy as the second strategy, and returning to execute the output detection signal based on the first strategy until the switching completion signal returned by the image output equipment is detected.
As can be seen from the above, the image display apparatus in the embodiment of the present application responds to the display attribute switching request through the updating unit 201, and updates the display attribute data; outputting, by the first output unit 202, a first detection signal based on a first policy, where the detection signal is used to instruct an image output apparatus to acquire display attribute data of an image display apparatus, and generating a switching completion signal after acquiring the display attribute data; outputting a second detection signal based on a second policy if the switching completion signal returned by the image output apparatus for the first detection signal is not detected by the second output unit 203; if a switching completion signal returned by the image output apparatus for the second detection signal is detected, image data output by the image output apparatus based on the display attribute data is acquired by the acquisition unit 204; the display unit 205 displays the corresponding image based on the image data, and can output the detection signal by the first strategy and the second strategy, thereby being compatible with different image output devices, realizing that the image output device with short time consumption for identifying the detection signal can rapidly map, the image output device with long time consumption for identifying the detection signal can successfully identify the detection information, and update the display attribute data.
An embodiment of the present application further provides an electronic device, where the electronic device may be a terminal or a server, and as shown in fig. 4, a schematic structural diagram of the electronic device according to the embodiment of the present application is shown, specifically:
the electronic device may include components such as a processor 1001 of one or more processing cores, memory 1002 of one or more computer-readable storage media (which may also be referred to as storage media), a power source 1003, and an input unit 1004. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 1001 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 1002 and calling data stored in the memory 1002, thereby performing overall monitoring of the electronic device. Optionally, processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor, which mainly handles operating systems, user interfaces, computer programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1001.
The memory 1002 may be used to store software programs and modules, and the processor 1001 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 1002 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 access to the memory 1002.
The electronic device further includes a power source 1003 for supplying power to each component, and preferably, the power source 1003 may be logically connected to the processor 1001 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are implemented through the power management system. The power source 1003 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further include an input unit 1004, and the input unit 1004 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 1001 in the electronic device loads the executable file corresponding to the process of one or more computer programs into the memory 1002 according to the following instructions, and the processor 1001 runs the computer programs stored in the memory 1002, so as to implement various functions as follows:
the above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, the electronic device according to the embodiment of the present application updates the display attribute data by responding to the display attribute switching request; outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating the image output equipment to acquire display attribute data and generating a switching completion signal after the display attribute data is acquired; if the switching completion signal returned by the image output equipment aiming at the first detection signal is not detected, outputting a second detection signal based on a second strategy; if a switching completion signal returned by the image output device for the second detection signal is detected, acquiring image data output by the image output device based on the display attribute data; the corresponding image is displayed based on the image data, the detection signals can be output by the first strategy and the second strategy, different image output devices are compatible, the image output device which is short in time consumption for identifying the detection signals can rapidly draw a picture, the image output device which is long in time consumption for identifying the detection signals can successfully identify the detection information, and the display attribute data are updated.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the computer program.
To this end, the present application provides a storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to execute the steps in any one of the image display methods provided in the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any image display method provided in the embodiments of the present application, the beneficial effects that can be achieved by any image display method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The foregoing detailed description has provided a method, an apparatus, an electronic device, and a storage medium for displaying an image according to embodiments of the present application, and specific examples have been applied to illustrate the principles and implementations of the present application, and the above descriptions of the embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An image display method, comprising:
updating the display attribute data in response to the display attribute switching request;
outputting a first detection signal based on a first strategy, wherein the detection signal is used for indicating image output equipment to acquire display attribute data and generating a switching completion signal after the display attribute data is acquired;
if the switching completion signal returned by the image output equipment aiming at the first detection signal is not detected, outputting a second detection signal based on a second strategy;
if a switching completion signal returned by the image output device for the second detection signal is detected, acquiring image data output by the image output device based on the display attribute data;
displaying a corresponding image based on the image data.
2. The method according to claim 1, wherein before outputting a second detection signal based on a second policy if the switching completion signal returned by the image output apparatus is not detected, the method further comprises:
and if a switching completion signal returned by the image output device for the first detection signal is detected, acquiring image data output by the image output device based on the display attribute data.
3. The method of claim 1, wherein the first strategy comprises a first preset time, wherein the detecting signal is output through a signal port, and wherein outputting the first detecting signal based on the first strategy comprises:
placing the level of the signal port at a first level;
after a first preset time, the level of the signal port is set to a second level to output the first detection signal.
4. The method of claim 3, wherein the second policy includes a second preset time, and wherein outputting the second detection signal based on the second policy comprises:
placing the level of the signal port at a first level;
and after a second preset time, the level of the signal port is set at a second level to output the second detection signal, wherein the second preset time is longer than the first preset time.
5. The method according to claim 1, wherein before the step of outputting the second detection signal based on a second policy if the switching completion signal returned by the image output apparatus is not detected, the method further comprises:
starting a signal detection thread, wherein the signal detection thread is used for detecting the switching completion signal;
and judging whether the switching completion signal is detected or not after the signal detection thread presets delay time.
6. The method of claim 1, wherein before updating the display attribute data in response to a display attribute switch request, the method further comprises:
displaying an attribute switching interface;
and responding to the attribute switching operation aiming at the attribute switching interface to generate a display attribute switching request.
7. The method according to any one of claims 1 to 6, further comprising:
and if the switching completion signal returned by the second detection signal is not detected, determining a third strategy and a fourth strategy according to the second strategy, taking the third strategy as the first strategy and taking the fourth strategy as the second strategy, and returning to execute the output detection signal based on the first strategy until the switching completion signal returned by the image output equipment is detected.
8. An image display device, characterized in that
The updating unit is used for responding to the display attribute switching request and updating the display attribute data;
a first output unit, configured to output a detection signal based on a first policy, where the detection signal is used to instruct an image output device to acquire the display attribute data, and generate a switching completion signal after acquiring the display attribute data;
a second output unit, configured to output a second detection signal based on a second policy if a switching completion signal returned by the first detection signal is not detected;
an acquisition unit configured to acquire image data output by the image output apparatus based on the display attribute data if a switching completion signal returned by the image output apparatus for the second detection signal is detected;
a display unit for displaying a corresponding image based on the image data.
9. An electronic device comprising a memory and a processor; the memory stores a computer program, and the processor is configured to execute the computer program in the memory to perform the image display method according to any one of claims 1 to 7.
10. A storage medium for storing a computer program to be loaded by a processor to execute the image display method according to any one of claims 1 to 7.
CN202110882514.4A 2021-08-02 2021-08-02 Image display method and device, electronic equipment and storage medium Pending CN113742013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110882514.4A CN113742013A (en) 2021-08-02 2021-08-02 Image display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110882514.4A CN113742013A (en) 2021-08-02 2021-08-02 Image display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113742013A true CN113742013A (en) 2021-12-03

Family

ID=78729808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110882514.4A Pending CN113742013A (en) 2021-08-02 2021-08-02 Image display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113742013A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025882A (en) * 2006-02-23 2007-08-29 深圳迈瑞生物医疗电子股份有限公司 Display timing parameter adaptive adjusting method for display control device
CN101552896A (en) * 2008-04-02 2009-10-07 佳能株式会社 Video control apparatus and control method thereof
JP2012199643A (en) * 2011-03-18 2012-10-18 Panasonic Corp Communication control system and sink device
US20130219087A1 (en) * 2012-02-20 2013-08-22 Mediatek Singapore Pte. Ltd. High-definition multimedia interface (hdmi) receiver apparatuses, hdmi systems using the same, and control methods therefor
CN103489426A (en) * 2013-09-06 2014-01-01 天津三星电子有限公司 Method for switching displayer resolution
JP2015165617A (en) * 2014-03-03 2015-09-17 三菱電機株式会社 Image display device
CN105578105A (en) * 2015-12-22 2016-05-11 深圳Tcl数字技术有限公司 HDMI version switching method and display device
CN106937071A (en) * 2017-03-10 2017-07-07 微鲸科技有限公司 A kind of EDID adaptive approach and system
CN108055584A (en) * 2017-10-12 2018-05-18 Tcl海外电子(惠州)有限公司 Signal adaptive display methods, television set and the storage medium of television set
US20190005917A1 (en) * 2015-12-25 2019-01-03 Maxell, Ltd. Video display apparatus
JP2019113647A (en) * 2017-12-22 2019-07-11 キヤノン株式会社 Display device and method for controlling the same
CN110351587A (en) * 2019-07-17 2019-10-18 威创集团股份有限公司 A kind of processing method of EDID, micro-control unit and optical fiber send box
CN112911170A (en) * 2021-03-26 2021-06-04 深圳智尚视讯科技有限公司 Compatibility improving method, storage medium, equipment and system for HDMI

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025882A (en) * 2006-02-23 2007-08-29 深圳迈瑞生物医疗电子股份有限公司 Display timing parameter adaptive adjusting method for display control device
CN101552896A (en) * 2008-04-02 2009-10-07 佳能株式会社 Video control apparatus and control method thereof
JP2012199643A (en) * 2011-03-18 2012-10-18 Panasonic Corp Communication control system and sink device
US20130219087A1 (en) * 2012-02-20 2013-08-22 Mediatek Singapore Pte. Ltd. High-definition multimedia interface (hdmi) receiver apparatuses, hdmi systems using the same, and control methods therefor
CN103489426A (en) * 2013-09-06 2014-01-01 天津三星电子有限公司 Method for switching displayer resolution
JP2015165617A (en) * 2014-03-03 2015-09-17 三菱電機株式会社 Image display device
CN105578105A (en) * 2015-12-22 2016-05-11 深圳Tcl数字技术有限公司 HDMI version switching method and display device
US20190005917A1 (en) * 2015-12-25 2019-01-03 Maxell, Ltd. Video display apparatus
CN106937071A (en) * 2017-03-10 2017-07-07 微鲸科技有限公司 A kind of EDID adaptive approach and system
CN108055584A (en) * 2017-10-12 2018-05-18 Tcl海外电子(惠州)有限公司 Signal adaptive display methods, television set and the storage medium of television set
JP2019113647A (en) * 2017-12-22 2019-07-11 キヤノン株式会社 Display device and method for controlling the same
CN110351587A (en) * 2019-07-17 2019-10-18 威创集团股份有限公司 A kind of processing method of EDID, micro-control unit and optical fiber send box
CN112911170A (en) * 2021-03-26 2021-06-04 深圳智尚视讯科技有限公司 Compatibility improving method, storage medium, equipment and system for HDMI

Similar Documents

Publication Publication Date Title
US20180152765A1 (en) Method for controlling multimedia playing, apparatus thereof and storage medium
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
WO2019024641A1 (en) Data synchronization method and apparatus, storage medium and electronic device
CN111816109B (en) Display method and device and display equipment
CN112269505B (en) Audio and video control method and device and electronic equipment
CN107341094B (en) Method and device for measuring time consumed by starting item
CN112433689A (en) Data transmission method and device for same-screen device, same-screen device and medium
CN112328070A (en) Charging control method, charging control device and electronic equipment
US20230385131A1 (en) Method for Accelerating Application Startup, Electronic Device, and Computer Storage Medium
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
CN112578967B (en) Chart information reading method and mobile terminal
CN106470351B (en) Page display method and page display device
CN112988246A (en) System switching method and device, electronic equipment and storage medium
CN113742013A (en) Image display method and device, electronic equipment and storage medium
CN113098545B (en) Control method, device and equipment of radio frequency device and storage medium
CN113806000A (en) Display method and device and electronic equipment
US20130198417A1 (en) Electronic apparatus
CN114546612A (en) System mode switching method and electronic equipment
CN110349243B (en) Image processing method, device, electronic equipment and storage medium
CN114416005A (en) Interface display method and device and computer readable storage medium
CN114489892A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN114020376A (en) Processing method and equipment
CN114416234B (en) Page switching method and device, computer equipment and storage medium
CN109144446B (en) Image display method, image display device, electronic equipment and computer readable storage medium

Legal Events

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