CN115617294A - Screen display method, device and equipment and readable storage medium - Google Patents
Screen display method, device and equipment and readable storage medium Download PDFInfo
- Publication number
- CN115617294A CN115617294A CN202211246348.XA CN202211246348A CN115617294A CN 115617294 A CN115617294 A CN 115617294A CN 202211246348 A CN202211246348 A CN 202211246348A CN 115617294 A CN115617294 A CN 115617294A
- Authority
- CN
- China
- Prior art keywords
- screen
- screen display
- hdmi
- double
- output mode
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012544 monitoring process Methods 0.000 claims abstract description 18
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 abstract description 10
- 238000012545 processing Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 3
- 238000004883 computer application Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3041—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Digital Computer Display Output (AREA)
Abstract
The application discloses a screen display method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: monitoring the HDMI; after detecting the HDMI hot plug event, reading the screen display attribute; switching the output modes of single and double screens by utilizing the screen display attribute; and outputting the video signal to a target screen corresponding to the current output mode. According to the method and the device, under the condition of not depending on a double-screen display frame, a single-screen display mode and a double-screen display mode can be freely switched through a hardware triggering condition, so that the switching freedom of single-screen display and double-screen display is realized, the problem of reduction of the frame rate transmission speed for existence depending on the double-screen display frame can be solved, and the consumption problems of excessive GPU (graphics processing Unit), system resources and power consumption when only a single screen is accessed can be solved.
Description
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a screen display method, apparatus, device, and readable storage medium.
Background
With the continuous development of information technology, the dual-screen display used on the intelligent terminal is more and more. The double-screen display, namely the control of one host computer, can connect two displays at the same time and display different pictures. For example, a bank window operation, a customs verification window, etc. need to be used by an operator at one end and viewed by a client at the other end. However, different users have different display demands on the terminal, and even if the same user has different demands, the display demands on the terminal are different. That is, it is necessary to switch between the single-screen display and the dual-screen display.
At present, a single-screen and double-screen display switching scheme is realized through software setting, manual switching is needed, and a scheme of completely stripping a double-screen display frame cannot be adopted, so that the problem of frame rate transmission speed reduction caused by double-screen display exists. In addition, in a dual-screen display framework, when only a single screen is accessed, too much GPU and system resources and power consumption are consumed.
In summary, how to effectively solve the problems of single-screen and double-screen display switching and the like is a technical problem which needs to be solved urgently by those skilled in the art at present.
Disclosure of Invention
The application aims to provide a screen display method, a screen display device, a screen display equipment and a readable storage medium, under the condition of not depending on a double-screen display frame, a single-screen display mode and a double-screen display mode are freely switched through a hardware trigger condition, so that the switching is free, the problem of frame rate transmission speed reduction caused by depending on the double-screen display frame can be solved, and the problems of consumption of excessive GPU and system resources and power consumption when only a single screen is accessed can be solved.
In order to solve the technical problem, the application provides the following technical scheme:
a screen display method, comprising:
monitoring the HDMI;
after detecting the HDMI hot plug event, reading the screen display attribute;
switching the output modes of single and double screens by using the screen display attribute;
and outputting the video signal to a target screen corresponding to the current output mode.
Preferably, the outputting the video signal to the target screen corresponding to the current output mode includes:
determining a target screen corresponding to the current output mode;
and outputting the video signal to the target screen by using an output channel corresponding to the target screen.
Preferably, the monitoring the HDMI interface includes:
and monitoring the HDMI by using a conversion chip.
Preferably, the outputting the video signal to the target screen corresponding to the current output mode includes:
if the target screen is a screen in the HDMI equipment, converting the video signal into an HDMI signal by using the conversion chip;
and sending the HDMI signal to an HDMI interface of the HDMI equipment.
Preferably, the method further comprises the following steps:
receiving and analyzing a single-screen and double-screen output setting request to obtain single-screen and double-screen output setting;
and modifying the screen display attribute according to the single-row and double-row output setting.
Preferably, the switching the output mode of the single screen and the double screens by using the screen display attribute comprises:
inquiring the screen display attribute, and determining a target output mode hit by the HDMI hot plug event;
and determining the target output mode as the current output mode.
Preferably, querying the screen display attribute to determine the target output mode hit by the HDMI hot-plug event includes:
if the HDMI hot plug event is the HDMI hot plug event, a double-screen output mode or an HDMI screen output mode in the screen display attribute is hit;
and if the HDMI hot plug event is the HDMI hot plug event, the single-screen output mode is hit.
A screen display device comprising:
the interface monitoring module is used for monitoring the HDMI;
the attribute reading module is used for reading the screen display attribute after the HDMI hot plug event is detected;
the display switching module is used for switching the output modes of single and double screens by utilizing the screen display attribute;
and the display output module is used for outputting the video signal to the target screen corresponding to the current output mode.
An electronic device, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the screen display method when executing the computer program.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the screen display method described above.
The method provided by the embodiment of the application is applied to monitor the HDMI; after detecting the HDMI hot plug event, reading the screen display attribute; switching the output modes of single and double screens by using the screen display attribute; and outputting the video signal to a target screen corresponding to the current output mode.
In the application, the HDMI is monitored, and because the HDMI allows hot plug, when an HDMI hot plug event is detected, the screen display attribute can be read, and the output modes of the single screen and the double screens are switched by using the screen display attribute. Then, the video signal is output to the target screen corresponding to the current output mode. That is to say, in the present application, the triggering of switching the single-screen and dual-screen output modes is based on the HDMI hot-plug event corresponding to the HDMI interface, and after determining the current output mode, the video signal is transmitted to the target screen. Namely, the single-screen and double-screen display mode can be freely switched under the condition of not depending on a double-screen display frame through a hardware triggering condition, so that the switching freedom of single-screen and double-screen display is realized, the problem of frame rate transmission speed reduction due to the dependence on the double-screen display frame can be solved, and the consumption problems of excessive GPU and system resources and power consumption when only a single screen is accessed can be solved.
Accordingly, the embodiment of the application further provides a screen display device, equipment and a readable storage medium corresponding to the screen display method, and the technical effects are achieved, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in related arts, the drawings used in the description of the embodiments or related arts will be briefly described below, it is obvious that the drawings in the description below are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart illustrating an exemplary implementation of a screen display method according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating an embodiment of a screen display method according to the present application;
FIG. 3 is a schematic diagram of a screen display device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all 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.
Referring to fig. 1, fig. 1 is a flowchart illustrating a screen display method according to an embodiment of the present application, the method including the following steps:
and S101, monitoring the HDMI.
The HDMI (High Definition Multimedia Interface) is a fully digital video and audio transmission Interface, and can transmit uncompressed audio and video signals. The HDMI interface allows Hot-plugging (Hot-plugging or Hot Swap), i.e., hot-plugging, and the Hot-plugging function allows a user to plug in or plug out without shutting down the system or cutting off the power supply.
The HDMI interface is monitored, that is, whether the HDMI interface is plugged into a device or whether the plugged device is unplugged is monitored.
In the embodiment of the application, an original MIPI (Mobile Industry Processor Interface) display output scheme can be added with a conversion chip from hardware, so that HDMI output is increased. That is, in a specific embodiment of the present application, the step S101 of monitoring the HDMI interface includes: and monitoring the HDMI by using the conversion chip. Wherein, the conversion chip completes the conversion from MIPI to HDMI.
And S102, reading the screen display attribute after the HDMI hot plug event is detected.
The HDMI hot plug event comprises an HDMI hot plug event and an HDMI hot plug event, namely, the corresponding HDMI interface is plugged into or pulled out of the device.
In the embodiment of the application, different single-screen and double-screen output modes can be preset, different trigger conditions are set, and the output modes and the trigger conditions are written into the screen display attributes. That is, the screen display attribute specifies what output mode is to be handled in different cases. For example, after the HDMI is hot-unplugged, the output mode is single-screen output; after the HDMI hot plug, the input mode is double-screen output. Of course, the corresponding conditions of the specific output modes may be specifically set according to actual requirements, and are not listed here.
When there are different requirements for display, the connection or disconnection of the display device is often involved. For example, when dual-screen display is required, an external display screen is often required to be inserted; when the double-screen display is not needed, the external display screen can be pulled out. Therefore, in the embodiment of the present application, after the HDMI hot-plug event is detected, the screen display attribute can be read, so as to clarify the current output mode.
In a specific implementation manner in the present application, the single-screen display attribute and the dual-screen display attribute may also be adjusted, and the specific implementation process includes:
step one, receiving and analyzing a single-screen and double-screen output setting request to obtain single-screen and double-screen output setting;
and step two, modifying the screen display attribute according to the single-row and double-row output setting.
For convenience of description, the above two steps will be described in combination.
The screen display attributes may be modified by a single or double screen output setup request. Specifically, what kind of situation different output modes specifically correspond to can be indicated in the single-screen and double-screen output setting request; it is also possible to modify its corresponding trigger condition for the enablement of some output mode. Therefore, after the single-screen and double-screen output setting request is received, the single-screen and double-screen output setting can be obtained through analysis. Based on the single-screen and dual-screen output settings, the screen display output may be modified/updated. The specific setting or modification may be determined according to actual requirements, and will not be described herein.
Specifically, how to determine the current output mode, reference may be made to step S103.
And S103, switching the output modes of single and double screens by using the screen display attribute.
Since it is clearly specified what kind of output mode is used under what kind of condition in the screen display attribute, the current output mode can be determined based on the screen display attribute, that is, the switching of the output modes of single and double screens is completed. For example, at 8.
In a specific embodiment of the present application, the step S103 uses the screen display attribute to switch the output modes of the single screen and the double screens, including:
inquiring screen display attributes, and determining a target output mode hit by an HDMI hot plug event;
and step two, determining the target output mode as the current output mode.
For convenience of description, the above two steps will be described in combination.
That is, after the screen display attribute is read, the screen display attribute can be queried, so as to determine the target output mode hit by the HDMI hot-plug event.
The first step is to inquire the screen display attribute and determine the target output mode hit by the HDMI hot plug event, and the first step comprises the following steps:
case 1: if the HDMI hot plug event is the HDMI hot plug event, a double-screen output mode or an HDMI screen output mode in the screen display attribute is hit;
case 2: and if the HDMI hot plug event is the HDMI hot plug event, the single-screen output mode is hit.
For the above case 1, that is, when the HDMI hot plug event is detected, the HDMI hot plug event may hit the dual panel output mode or the HDMI panel output mode. That is, for the HDMI hot-plug event, the dual screen output mode or the HDMI screen output mode may be set in the screen display attribute correspondingly.
For case 2 above, i.e., when an HDMI hot-unplug event is detected, the HDMI hot-unplug event may hit the single-screen output mode. That is, for an HDMI hot-unplug event, a single screen output mode may be correspondingly set in the screen display attribute.
After the target output mode is determined, the target output mode can be directly determined as the current output mode. It should be noted that, in the present application, the target output manner may be the same as the current output manner before the target output manner is not determined as the current output manner. That is, the display output mode may be the same before the HDMI hot plug event is detected and after the HDMI hot plug event triggers the single-screen display and the dual-screen display to switch. That is, by setting the screen display attribute, the HDMI hot-plug event can be made not to affect the specific display output manner.
And S104, outputting the video signal to a target screen corresponding to the current output mode.
After the current output mode is determined, the video signal can be output to the target screen corresponding to the current output mode.
That is, to which screen the current output mode corresponds, the video signal is output to which screen. Note that when the two-screen output is performed, the video signals output to the two screens may be the same or different. That is, when the two-screen display is performed, the two screens may display the same content or different content.
In a specific embodiment of the present application, the step S104 of outputting the video signal to the target screen corresponding to the current output mode includes:
step one, determining a target screen corresponding to a current output mode;
and step two, outputting the video signal to the target screen by using the output channel corresponding to the target screen.
For convenience of description, the above two steps will be described in combination.
Firstly, a target screen corresponding to the current output mode is determined. For example, when the device is in a dual-screen output mode, two corresponding target screens exist, one is a display screen of the device/terminal, and the other is an external display screen; if the single-screen output mode is adopted, the corresponding target screen is 1, and at this time, the target screen may be a display screen of the device/terminal itself or an external display screen, and a specific target screen may be undetermined according to the setting. For example, the single-screen output can be divided into an HDMI single-screen output mode (or an external single-screen output mode), and an MIPI single-screen output mode (or a local single-screen output mode), so that which target screen is can be determined only by which single-screen output is specific.
In a specific embodiment of the present application, the step S104 of outputting a video signal to a target screen corresponding to the current output mode includes:
step one, if the target screen is a screen in the HDMI equipment, converting a video signal into an HDMI signal by using a conversion chip;
and step two, sending the HDMI signal to an HDMI interface of the HDMI equipment.
For convenience of description, the above two steps will be described in combination.
That is to say, when it is determined that the target screen is the screen in the HDMI device, the conversion chip may be used to convert the video signal into the HDMI signal, and then send the HDMI signal to the HDMI interface of the HDMI device, so that the screen in the HDMI device may display the content based on the received signal.
The method provided by the embodiment of the application is applied to monitor the HDMI; after detecting the HDMI hot plug event, reading the screen display attribute; switching the output modes of single and double screens by using the screen display attribute; and outputting the video signal to a target screen corresponding to the current output mode.
In the application, the HDMI is monitored, and because the HDMI allows hot plug, when an HDMI hot plug event is detected, the screen display attribute can be read, and the output modes of the single screen and the double screens are switched by using the screen display attribute. And then, outputting the video signal to a target screen corresponding to the current output mode. That is to say, in the present application, the triggering of switching the output mode of the single screen and the dual screens is based on the HDMI hot-plug event corresponding to the HDMI interface, and after the current output mode is determined, the video signal is transmitted to the target screen. Namely, the single-screen and double-screen display mode can be freely switched under the condition of not depending on a double-screen display frame through a hardware triggering condition, so that the switching freedom of single-screen and double-screen display is realized, the problem of frame rate transmission speed reduction due to the dependence on the double-screen display frame can be solved, and the consumption problems of excessive GPU and system resources and power consumption when only a single screen is accessed can be solved.
In order to make those skilled in the art better understand and implement the screen display method provided in the embodiments of the present application, the screen display method is described in detail below with reference to a specific application scenario as an example.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an implementation of a screen display method according to an embodiment of the present application.
The original MIPI display (hot plug is not supported) output scheme is added with a conversion chip from hardware, so that HDMI output is increased. And the double-screen display function is modified, and single-screen and double-screen switching can be performed through the configurable attribute of the system. By acquiring the system event of inserting and pulling out the HDMI equipment, the dynamic setting of the configurable attribute of the system is realized, and thus the dynamic switching scheme of single-screen and double-screen display is realized.
In fig. 2, the system layer listener: the system is used for monitoring HDMI peripheral plugging events reported by a bottom layer and modifying system configuration attributes; HAL layer single-double screen display SO library: the SO library file for actually controlling the display logic has the main function of switching between single-screen display and double-screen display according to the configuration attribute of the system; MIPI output channel: a data information transmission interface of the hardware display device; MIPI changes HDMI control IC: the control IC circuit converts the MIPI output signal into an HDMI output signal; HDMI interface and screen: a plug-and-play display output interface.
Therefore, the terminal can freely switch the single-screen display mode and the double-screen display mode through the hardware triggering condition. The scheme can realize single-screen display scene and completely strip the double-screen display frame, and the problem of frame rate transmission speed reduction caused by double-screen display is solved. The consumption of excessive GPU and system resources and power consumption when only a single screen is accessed under the condition that firmware is not modified (double-screen display) can be avoided. Software setting is added, and a single-screen and double-screen scheme can be manually switched; when the hardware triggers the dynamic switching of the single screen and the double screens, the display function takes effect immediately, and simultaneously, the display function still takes effect after the restart.
The following explains the effect of the screen display method with reference to actual requirements:
example 1: the mobile terminal equipment manufactured by using the module based on the Android system only has single-screen display requirements during daily operation of the equipment, but needs to be externally connected with HDMI display equipment to perform a multi-party demonstration function in scenes such as extended demonstration and the like. By applying the screen display method provided by the embodiment of the application to the mobile terminal device, the device can be displayed on a single screen only during daily operation, and the external HDMI display device can be used for multi-party demonstration in scenes such as extended demonstration.
Example 2: for any single-screen display device based on the Android system, after the screen display method provided by the embodiment of the application is applied, dynamic expansion support of the HDMI display is carried out. Different MIPI devices are supported without modifying software and firmware, and compatibility is stronger.
Example 3: after the aircraft controller manufactured by using the Android system-based module is applied to the screen display method provided by the embodiment of the application, the performance of image transmission, display and the like is optimized under the condition of supporting the firmware of double-screen display, and the problem of blockage is solved.
Therefore, the screen display method provided by the embodiment of the application is based on a display frame of an Android system, double-screen display is realized by depending on expansion of bottom layer output, and the problems that a MIPI (million instructions and interfaces) interface cannot be hot plugged and unplugged and single-double-screen display cannot be dynamically switched are solved by the plug-and-play function of HDMI (high-definition multimedia interface) hardware and the capacity of plugging and unplugging trigger events. The double-screen display can be applied to more scenes, such as scenes that single-screen and double-screen display switching control is needed, and HDMI interface output display is needed to be connected under specific conditions; and for double-screen software, system optimization is carried out when only a single screen is available.
Corresponding to the above method embodiments, the embodiments of the present application further provide a screen display apparatus, and the screen display apparatus described below and the screen display method described above may be referred to in correspondence with each other.
Referring to fig. 3, the apparatus includes the following modules:
the interface monitoring module 101 is used for monitoring the HDMI;
the attribute reading module 102 is configured to read a screen display attribute after detecting an HDMI hot-plug event;
the display switching module 103 is used for switching the output modes of single and double screens by using the screen display attribute;
and the display output module 104 is configured to output a video signal to a target screen corresponding to the current output mode.
The device provided by the embodiment of the application is applied to monitor the HDMI; after detecting the HDMI hot plug event, reading the screen display attribute; switching the output modes of single and double screens by using the screen display attribute; and outputting the video signal to a target screen corresponding to the current output mode.
In the application, the HDMI interface is monitored, and since the HDMI interface allows hot-plug, when an HDMI hot-plug event is detected, the screen display attribute can be read, and the output mode of single and double screens is switched by using the screen display attribute. Then, the video signal is output to the target screen corresponding to the current output mode. That is to say, in the present application, the triggering of switching the single-screen and dual-screen output modes is based on the HDMI hot-plug event corresponding to the HDMI interface, and after determining the current output mode, the video signal is transmitted to the target screen. Namely, the single-screen and double-screen display mode can be freely switched under the condition of not depending on a double-screen display frame through a hardware triggering condition, so that the switching freedom of single-screen and double-screen display is realized, the problem of frame rate transmission speed reduction due to the dependence on the double-screen display frame can be solved, and the consumption problems of excessive GPU and system resources and power consumption when only a single screen is accessed can be solved.
In a specific embodiment of the present application, the display output module 104 is specifically configured to determine a target screen corresponding to a current output mode;
and outputting the video signal to the target screen by using the output channel corresponding to the target screen.
In a specific embodiment of the present application, the interface monitoring module 101 is specifically configured to monitor the HDMI interface by using a conversion chip.
In a specific embodiment of the present application, the display output module 104 is specifically configured to convert the video signal into an HDMI signal by using a conversion chip if the target screen is a screen in the HDMI device;
and sending the HDMI signal to an HDMI interface of the HDMI device.
In one embodiment of the present application, the method further includes:
the attribute setting module is used for receiving and analyzing the single-screen and double-screen output setting request to obtain single-screen and double-screen output setting;
and modifying the screen display attribute according to the single-row and double-row output setting.
In a specific embodiment of the present application, the display switching module 103 is specifically configured to query a screen display attribute and determine a target output mode hit by an HDMI hot-plug event;
and determining the target output mode as the current output mode.
In a specific embodiment of the present application, the display switching module 103 is specifically configured to hit a dual-screen output mode or an HDMI screen output mode in the screen display attribute if the HDMI hot-plug event is the HDMI hot-plug event;
and if the HDMI hot plug event is the HDMI hot plug event, the single-screen output mode is hit.
Corresponding to the above method embodiment, the present application further provides an electronic device, and the electronic device described below and the screen display method described above may be referred to in correspondence.
Referring to fig. 4, the electronic device includes:
a memory 332 for storing a computer program;
a processor 322 for implementing the steps of the screen display method of the above-described method embodiments when executing the computer program.
Specifically, referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device provided in this embodiment, which may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332, where the memory 332 stores one or more computer applications 342 or data 344. Memory 332 may be, among other things, transient or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a data processing device. Still further, the central processor 322 may be configured to communicate with the memory 332 to execute a series of instruction operations in the memory 332 on the electronic device 301.
The electronic device 301 may also include one or more power sources 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341.
The steps in the screen display method described above may be implemented by the structure of the electronic device.
Corresponding to the above method embodiment, the present application further provides a readable storage medium, and a readable storage medium described below and a screen display method described above may be referred to in correspondence.
A readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the screen display method of the above-described method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Claims (10)
1. A method for on-screen display, comprising:
monitoring the HDMI;
after detecting the HDMI hot plug event, reading the screen display attribute;
switching the output modes of single and double screens by utilizing the screen display attribute;
and outputting the video signal to a target screen corresponding to the current output mode.
2. The screen display method of claim 1, wherein outputting the video signal to the target screen corresponding to the current output mode comprises:
determining a target screen corresponding to the current output mode;
and outputting the video signal to the target screen by using an output channel corresponding to the target screen.
3. The screen display method of claim 1, wherein the monitoring of the HDMI interface comprises:
and monitoring the HDMI by using a conversion chip.
4. The screen display method of claim 3, wherein outputting the video signal to the target screen corresponding to the current output mode comprises:
if the target screen is a screen in the HDMI equipment, converting the video signal into an HDMI signal by using the conversion chip;
and sending the HDMI signal to an HDMI interface of the HDMI equipment.
5. The screen display method of claim 1, further comprising:
receiving and analyzing a single-screen and double-screen output setting request to obtain single-screen and double-screen output setting;
and modifying the screen display attribute according to the single-row and double-row output setting.
6. The screen display method according to any one of claims 1 to 5, wherein switching an output mode of single and double screens using the screen display attribute comprises:
inquiring the screen display attribute, and determining a target output mode hit by the HDMI hot plug event;
and determining the target output mode as the current output mode.
7. The screen display method of claim 6, wherein querying the screen display attributes to determine the target output mode for the HDMI hot-plug event comprises:
if the HDMI hot plug event is the HDMI hot plug event, a double-screen output mode or an HDMI screen output mode in the screen display attribute is hit;
and if the HDMI hot plug event is the HDMI hot plug event, the single-screen output mode is hit.
8. A screen display device, comprising:
the interface monitoring module is used for monitoring the HDMI;
the attribute reading module is used for reading the screen display attribute after the HDMI hot plug event is detected;
the display switching module is used for switching the output modes of single and double screens by utilizing the screen display attribute;
and the display output module is used for outputting the video signal to a target screen corresponding to the current output mode.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the screen display method of any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, characterized in that it has stored thereon a computer program which, when being executed by a processor, carries out the steps of the screen display method according to any one of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211246348.XA CN115617294A (en) | 2022-10-12 | 2022-10-12 | Screen display method, device and equipment and readable storage medium |
PCT/CN2023/115778 WO2024078172A1 (en) | 2022-10-12 | 2023-08-30 | Screen display method and apparatus, device, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211246348.XA CN115617294A (en) | 2022-10-12 | 2022-10-12 | Screen display method, device and equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115617294A true CN115617294A (en) | 2023-01-17 |
Family
ID=84862928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211246348.XA Pending CN115617294A (en) | 2022-10-12 | 2022-10-12 | Screen display method, device and equipment and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115617294A (en) |
WO (1) | WO2024078172A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024078172A1 (en) * | 2022-10-12 | 2024-04-18 | 西安广和通无线软件有限公司 | Screen display method and apparatus, device, and readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108427544B (en) * | 2017-02-15 | 2019-12-13 | 深圳市掌网科技股份有限公司 | single-screen and double-screen application switching method and interface |
CN111309277A (en) * | 2020-02-27 | 2020-06-19 | 山东超越数控电子股份有限公司 | Method and system for switching working modes of computer screen switching |
CN113448382B (en) * | 2020-03-27 | 2024-01-16 | 华为技术有限公司 | Multi-screen display electronic device and multi-screen display method of electronic device |
CN112242122A (en) * | 2020-10-09 | 2021-01-19 | 北京如影智能科技有限公司 | Dual-screen display method, device and system based on android system |
CN115617294A (en) * | 2022-10-12 | 2023-01-17 | 西安广和通无线软件有限公司 | Screen display method, device and equipment and readable storage medium |
-
2022
- 2022-10-12 CN CN202211246348.XA patent/CN115617294A/en active Pending
-
2023
- 2023-08-30 WO PCT/CN2023/115778 patent/WO2024078172A1/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024078172A1 (en) * | 2022-10-12 | 2024-04-18 | 西安广和通无线软件有限公司 | Screen display method and apparatus, device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2024078172A1 (en) | 2024-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3336686B1 (en) | Display apparatus configuring multi display system and method for controlling the same | |
TWI482485B (en) | Audio/video system, control method of an audio/video system, and display device | |
TWI585581B (en) | Control method of an audio/video system | |
US8786583B2 (en) | Codec control | |
KR20160079365A (en) | Display apparatus consisting a multi display system and control method thereof | |
CN110971855A (en) | DVR system and method based on USB Type-C interface | |
WO2024078172A1 (en) | Screen display method and apparatus, device, and readable storage medium | |
CN113253877B (en) | Electronic whiteboard system and control method thereof | |
CN107168667B (en) | Display system with picture-in-picture display capability | |
EP1887794A2 (en) | Portable device integrated with external video signal display function | |
US20050097469A1 (en) | Electronic device and display control method | |
US7158140B1 (en) | Method and apparatus for rendering an image in a video graphics adapter | |
EP2849433A1 (en) | Relay device | |
CN115802096A (en) | Multi-path HDMI cooperative control method and system | |
CN102890592A (en) | Control method and system of multimedia display | |
CN117242781A (en) | Electronic device and method of operating the same | |
KR20130087747A (en) | Display apparatus, upgrade apparatus, display system including the same and the control method thereof | |
CN217406648U (en) | LED screen synchronous and asynchronous playing switching and controlling device | |
KR20050112977A (en) | Display apparatus and display system using thereof | |
CN213751890U (en) | LED control system with video processing function | |
CN117915051B (en) | Video monitoring circuit, vehicle-mounted equipment and signal switching method | |
CN113312227B (en) | OTG function detection method, system, device and equipment | |
CN211015468U (en) | Computer device | |
WO2024012030A9 (en) | Display device and control method for display device | |
CN117130520A (en) | Adjustment method and device for identification data of expansion display and display equipment |
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 |