CN114071212A - Information display processing method and device and electronic equipment - Google Patents

Information display processing method and device and electronic equipment Download PDF

Info

Publication number
CN114071212A
CN114071212A CN202111347314.5A CN202111347314A CN114071212A CN 114071212 A CN114071212 A CN 114071212A CN 202111347314 A CN202111347314 A CN 202111347314A CN 114071212 A CN114071212 A CN 114071212A
Authority
CN
China
Prior art keywords
application
video layer
video
signal source
layer
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
CN202111347314.5A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202111347314.5A priority Critical patent/CN114071212A/en
Publication of CN114071212A publication Critical patent/CN114071212A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to an information display processing method, an information display processing device and electronic equipment, and relates to the technical field of display, and the method comprises the following steps: triggering the first application to run in a foreground in response to a first input for the first application; and when the video signal source of the first application is the target signal source and the video layer is occupied, releasing the occupied video layer, and displaying the video signal source of the first application through the original video layer. Wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer.

Description

Information display processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to an information display processing method and apparatus, and an electronic device.
Background
At present, a television of an Android operating system has a signal source input function, and an application program can be installed, so that a situation that multiple paths of videos may need to be played simultaneously exists for videos input by a signal source and videos of signal sources in other application programs.
However, the Android system can only play one path of video by default at present, and the videos of different signal sources cannot be played simultaneously. Specifically, there are two video layers that can be used when playing a video on the Android system, one is an original video layer (video) and the other is a picture-in-picture video layer (pip video), and when playing a video in a default condition, whether the video or the pip video is managed by an OpenMAX (OMX) library is selected, and when playing two videos simultaneously, the default is to use the video first, and then use the pip video after the video is occupied. The method includes that a video layer is generally needed for some types of signal sources (such as a signal source of a television manufacturer and a 4K resolution signal source), if the current television is defaulted to occupy a video playing path of video A, when the 4K resolution signal source is displayed again, the 4K resolution signal source and the video A preempt the video, and the problem that the video cannot be played normally due to the fact that the video is preempted is solved.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides an information display processing method, an information display processing apparatus, and an electronic device, which can avoid a problem that a video cannot be normally played due to preemption of video by two different video signal sources.
In order to achieve the above purpose, the technical solutions provided by the embodiments of the present disclosure are as follows:
in a first aspect, an embodiment of the present disclosure provides an information display processing method, including:
triggering a first application to run in a foreground in response to a first input for the first application;
when the video signal source of the first application is a target signal source and a video layer is occupied, releasing the occupied video layer; wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer;
and displaying the video signal source of the first application through the original video layer.
As an optional implementation manner of the embodiment of the present disclosure, the target signal source includes any one of:
the system comprises an external signal source, a network signal source and a screen projection signal source.
As an optional implementation manner of the embodiment of the present disclosure, the media display modes of the operating system include a first mode in which the priority of the original video layer is greater than the priority of the pip video layer;
the video signal source for displaying the first application through the original video layer comprises:
and when the video signal source of the first application is the target signal source, selecting the video signal source for displaying the first application through the original video layer based on the first mode.
As an optional implementation of the embodiment of the present disclosure, the media display modes of the operating system include a second mode in which the priority of the original video layer is smaller than the priority of the pip video layer;
after the displaying the video signal source of the first application through the original video layer, the method further includes:
responding to a second input aiming at the first application, triggering the first application to exit from foreground running, and releasing the original video layer occupied by the first application;
and responding to a second input aiming at a second application, triggering the second application to run in a foreground, and if a video source of the second application is not the target signal source, selecting to display the video signal of the second application through the picture-in-picture video layer based on the second mode.
As an alternative implementation of the disclosed embodiments,
the releasing the video layer that is occupied includes:
controlling an application occupying the video layer to release the video layer by:
sending a broadcast message, wherein the broadcast message is used for notifying the release of the occupied video layer;
and/or the presence of a gas in the gas,
the release of the occupied video layer is controlled by pause logic or termination logic.
As an optional implementation manner of this embodiment of the present disclosure, the releasing the occupied video layer includes:
controlling the third-party application to release the occupied video layer through pause logic or termination logic aiming at the condition that the third-party application occupies the video layer;
and/or the presence of a gas in the gas,
and sending the broadcast message to the self-research application aiming at the condition that the self-research application occupies the video layer so as to control the self-research application to release the occupied video layer.
As an alternative implementation of the disclosed embodiments,
the method further comprises the following steps:
in response to the first input, when a video signal source of the first application is not a target-class signal source and the original video layer is unoccupied, displaying the video signal source of the first application using the original video layer;
or the like, or, alternatively,
in response to the first input, displaying the video source of the first application using the PIP video layer when the video source of the first application is not a target-class source, the original video layer is occupied, and the PIP video layer is unoccupied;
or the like, or, alternatively,
in response to the first input, displaying the video signal source of the first application in a Graphics Processing Unit (GPU) composition mode when the video signal source of the first application is not a target signal source and the original video layer and the picture-in-picture video layer are occupied.
In a second aspect, an embodiment of the present disclosure provides an information display processing apparatus, including:
the control module is used for responding to a first input aiming at a first application and triggering the first application to run in a foreground;
when the video signal source of the first application is a target signal source and a video layer is occupied, releasing the occupied video layer; wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer;
and the display module is used for displaying the video signal source of the first application through the original video layer.
As an optional implementation manner of the embodiment of the present disclosure, the target signal source includes any one of:
the system comprises an external signal source, a network signal source and a screen projection signal source.
As an optional implementation manner of the embodiment of the present disclosure, the media display modes of the operating system include a first mode in which the priority of the original video layer is greater than the priority of the pip video layer;
the display module is specifically configured to:
and when the video signal source of the first application is the target signal source, selecting the video signal source for displaying the first application through the original video layer based on the first mode.
As an optional implementation of the embodiment of the present disclosure, the media display modes of the operating system include a second mode in which the priority of the original video layer is smaller than the priority of the pip video layer;
the control module is further configured to:
responding to a second input aiming at the first application, triggering the first application to exit from foreground running, and releasing the original video layer occupied by the first application; and responding to a second input aiming at a second application, triggering the second application to run in a foreground, and if a video source of the second application is not the target signal source, selecting to display the video signal of the second application through the picture-in-picture video layer based on the second mode.
As an optional implementation manner of the embodiment of the present disclosure, the control module is specifically configured to:
controlling an application occupying the video layer to release the video layer by:
sending a broadcast message, wherein the broadcast message is used for notifying the release of the occupied video layer;
and/or the presence of a gas in the gas,
the release of the occupied video layer is controlled by pause logic or termination logic.
As an optional implementation manner of the embodiment of the present disclosure, the control module is specifically configured to:
controlling the third-party application to release the occupied video layer through pause logic or termination logic aiming at the condition that the third-party application occupies the video layer;
and/or the presence of a gas in the gas,
and sending the broadcast message to the self-research application aiming at the condition that the self-research application occupies the video layer so as to control the self-research application to release the occupied video layer.
As an optional implementation manner of the embodiment of the present disclosure, the display module is further configured to:
in response to the first input, when a video signal source of the first application is not a target-class signal source and the original video layer is unoccupied, displaying the video signal source of the first application using the original video layer;
or the like, or, alternatively,
in response to the first input, displaying the video source of the first application using the PIP video layer when the video source of the first application is not a target-class source, the original video layer is occupied, and the PIP video layer is unoccupied;
or the like, or, alternatively,
in response to the first input, displaying the video signal source of the first application in a Graphics Processing Unit (GPU) composition mode when the video signal source of the first application is not a target signal source and the original video layer and the picture-in-picture video layer are occupied.
In a third aspect, an electronic device is provided, which includes: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the information display processing method as set forth in any one of the above first aspect or its alternative embodiments.
In a fourth aspect, a computer-readable storage medium is provided, comprising: the computer-readable storage medium stores thereon a computer program that, when executed by a processor, implements the information display processing method according to any one of the first aspect or the optional embodiments thereof.
In a fifth aspect, there is provided a computer program product comprising: when the computer program product runs on a computer, the computer is caused to implement the information display processing method according to the first aspect or any one of its alternative embodiments.
The embodiment of the disclosure provides an information display processing method and device and electronic equipment, which can respond to a first input triggering a first application to run in a foreground, and release an occupied video layer under the condition that a video signal source of the first application is a target signal source and the video layer is occupied, wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer, and the video signal source of the first application is displayed through the original video layer. By the scheme, for the first application of which the video signal source is the target signal source, when the first application is operated on the foreground, other applications occupying the video layer of the foreground are controlled to release the occupied video layer, so that the first application can preferentially use the original video layer to display the video signal source, the original video layer (namely, video) can be preferentially used for displaying for some types of signal sources (for example, 4K signal sources), and the other applications release the current video layer, so that the video signal source is prevented from being occupied, and the video can be normally played.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a first schematic flow chart of an information display processing method according to an embodiment of the present disclosure;
fig. 2 is a second schematic flow chart of an information display processing method according to an embodiment of the present disclosure;
fig. 3A is a first schematic view illustrating a video signal source playing according to an embodiment of the disclosure;
fig. 3B is a schematic view illustrating a video signal source playing according to an embodiment of the disclosure;
fig. 3C is a schematic view illustrating a video signal source playing according to a third embodiment of the disclosure;
fig. 4 is a schematic view illustrating a video signal source playing according to a fourth embodiment of the disclosure;
fig. 5 is a block diagram of an information display processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
However, the Android system can only play one path of video by default at present, and the videos of different signal sources cannot be played simultaneously. Specifically, there are two video layers that can be used when playing a video on the Android system, one is an original video layer (video) and the other is a picture-in-picture video layer (pip video), and when playing a video in a default condition, whether the video or the pip video is managed by an OpenMAX (OMX) library is selected, and when playing two videos simultaneously, the default is to use the video first, and then use the pip video after the video is occupied. The method includes that a video layer is generally needed for some types of signal sources (such as a signal source of a television manufacturer and a 4K resolution signal source), if the current television is defaulted to occupy a video playing path of video A, when the 4K resolution signal source is displayed again, the 4K resolution signal source and the video A preempt the video, and the problem that the video cannot be played normally due to the fact that the video is preempted is solved.
The 4K resolution signal source is a signal source having a pixel resolution of 4096 × 2160.
The above OMX is a standard for multimedia applications, and includes three layers, an application layer (AI), an Integration Layer (IL), and a Development Layer (DL). Where the IL layer has become the de facto multimedia framework standard. Hardware manufacturers of embedded processors or multimedia codec modules usually provide a standard OMX IL layer software interface, so that software developers can develop multimedia programs based on the standardized interface of this layer. In the Android, the OMX IL layer can be generally used as a plug-in for a multimedia engine, the multimedia engine of the Android can use the OMX as the plug-in, which is mainly used for encoding and decoding processing, and in the framework layer of the Android, an OpenMax interface packaged by the Android is also defined.
In order to solve the foregoing technical problem, embodiments of the present disclosure provide an information display processing method and apparatus, and an electronic device, where for a first application in which a video signal source is a target signal source, because the first application can be controlled to release an occupied video layer when running on a foreground, the first application can preferentially use an original video layer to display the video signal source, and thus, for some types of signal sources (e.g., 4K signal sources), the original video layer (i.e., video) can be preferentially used to display, and other applications release the current video layer, so that video preemption is avoided, and it is ensured that a video can be normally played.
According to the video display method of the application provided by the embodiment of the disclosure, the execution main body can be the video display device of the application or the electronic equipment, and the video display device of the application can be a functional module or a functional entity in the electronic equipment.
The electronic device may be an electronic device having a display function. For example, a television, a learning machine, a tablet computer, a mobile phone, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), a Personal Computer (PC), and the like, which is not particularly limited in the embodiments of the present disclosure.
As shown in fig. 1, a schematic flow chart of an information display processing method provided in an embodiment of the present disclosure is shown, where the method includes:
101. in response to a first input to the first application, triggering the first application to run in the foreground.
In some embodiments, the first input may be a touch input for an icon of the first application, or a click input. That is, the first input may be an input for starting the first application.
The first input may also be a touch input for the identifier of the first application in the background running interface, or a click input, or the like. That is, the first input may be an input for switching the first application from a background running to a foreground running.
102. And releasing the occupied video layer when the video signal source of the first application is a target signal source and the video layer is occupied.
Wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer.
The target signal source may include: the system comprises an external signal source, a network signal source and a screen projection signal source. The external signal source is a signal source accessed through a wired Interface, for example, a signal source accessed through a High Definition Multimedia Interface (HDMI), an Audio Video Interface (AV) Interface, a Video Graphics Array (VGA) Interface, and the like; the network signal source is an internet signal source, for example, a signal source from an internet application, for example, a signal source played in a certain video application; the screen projection signal source is a signal source accessed by other equipment in the local area network in a screen projection mode.
In the embodiment of the invention, the target signal source can be a type of signal source which is preset in the electronic equipment and needs to occupy the original video layer. Optionally, the target signal source may refer to a signal source having a higher requirement for resolution and display effect, and is not limited to three signals, namely, an external signal source, a network signal source, and a screen projection signal source.
In some embodiments, the video layers include an original video layer and a pip video layer. In these embodiments, if the signal source of the first application running in the foreground is triggered to be the target signal source, in order to avoid that other applications occupy the original video layer in the existing foreground running application, the first application and the other applications occupy the original video layer, and the applications of the video layer occupied by all the applications running in the foreground can be controlled to release the occupied video layer, that is, the video layer occupied by the applications running in the foreground is released no matter whether the applications running in the foreground occupy the original video layer (for example, a picture-in-picture video layer may be occupied).
In some embodiments, the video layers include an original video layer, in these embodiments, if the signal source of the first application triggered to run in the foreground is the target-class signal source, in order to avoid that the first application and other applications occupy the original video layer when other applications in the existing foreground-running application occupy the original video layer, the first application and other applications may preempt the original video layer, and may first detect whether there is an application occupying the original video layer in all applications running in the foreground, and then may control the application occupying the original video layer to release the occupied video layer, that is, only release the video layer occupied by the application running in the foreground when the application occupies the original video layer.
In some embodiments, the manner in which the application occupying the video layer releases the occupied video layer may include, but is not limited to, at least one of:
(1) and sending a broadcast message, wherein the broadcast message is used for informing that the occupied video layer is released.
And sending a broadcast message to the self-research application aiming at the condition that the self-research application occupies the video layer so as to control the self-research application to release the occupied video layer.
The self-research application refers to an application which is independently developed by a supplier of the electronic equipment or a supplier of a software system in the electronic equipment, the compatibility of the application with the electronic equipment and the software system in the electronic equipment is high, and the self-research application can be controlled to release an occupied video layer directly in a mode of notification of a broadcast message.
Alternatively, the release of the occupied video layer may be controlled by pause (pause) logic or stop (stop) logic.
(2) The release of the occupied video layer is controlled by pause logic or termination logic.
For the situation that the third-party application occupies the video layer, the third-party application can be controlled to release the occupied video layer directly through the notification of the broadcast message, but for part of the third-party application, the third-party application cannot respond to the broadcast messages to release the occupied video layer due to the limited compatibility with the electronic equipment and the software system in the electronic equipment. Further, the third-party application can be controlled to release the occupied video layer through pause logic or termination logic aiming at the situation that the third-party application occupies the video layer.
In the disclosed embodiment, the media display mode of the operating system includes a first mode and a second mode, wherein the priority of the original video layer is greater than the priority of the picture-in-picture video layer in the first mode; the priority of the original video layer is less than the priority of the pip video layer in the second mode.
In some embodiments, when the video signal source of the first application is the target-class signal source, the video signal source of the first application is selected to be displayed through the original video layer based on the first mode.
Further, in the embodiment of the present disclosure, in a case that the application releases to occupy the video layer, the video signal source of the application may pause playing, and after the video signal source of the first application is displayed through the original video layer, the video signal source of the application may resume playing.
103. And displaying the video signal source of the first application through the original video layer.
After the video layer occupied by the application occupying the original video layer is released, the original video layer is released and is in an idle state, and at the moment, the video signal source of the first application can be displayed through the original video layer.
The video signal source for displaying the first application through the original video layer may be: based on the first mode, a video source is selected that displays the first application through the original video layer.
The method may include, in response to a first input triggering the first application to run in a foreground, releasing an occupied video layer including an original video layer if a video signal source of the first application is a target-class signal source and the video layer is occupied, or displaying the video signal source of the first application through the original video layer and the picture-in-picture video layer. By the scheme, for the first application of which the video signal source is the target signal source, when the first application is operated on the foreground, other applications occupying the video layer of the foreground are controlled to release the occupied video layer, so that the first application can preferentially use the original video layer to display the video signal source, the original video layer (namely, video) can be preferentially used for displaying for some types of signal sources (for example, 4K signal sources), and the other applications release the current video layer, so that the video signal source is prevented from being occupied, and the video can be normally played.
As shown in fig. 2, a schematic flow chart of an information display processing method provided in the embodiment of the present disclosure is shown, where the method includes:
201. in response to a first input to the first application, triggering the first application to run in the foreground.
For the description of the foregoing 201, reference may be made to the related description of the foregoing 101, which is not repeated herein.
202. And judging whether the video signal source of the first application is a target signal source or not.
If the video signal source of the first application is not the target signal source, executing the following steps 203 to 207; if the video source of the first application is the target type source and the video layer is occupied, the following steps 208 to 212 are performed.
In some embodiments, in response to the first input, the video source of the first application is displayed using the original video layer when the video source of the first application is not the target-class source and the original video layer is unoccupied.
In an electronic device, there are usually an original video layer, a picture-in-picture video layer, and a Graphics Processing Unit (GPU) for synthesizing three types of video signal source playing modes. The electronic equipment has an original video layer and a picture-in-picture video layer, and the GPU synthesis can create one-path GPU synthesis or multi-path GPU synthesis according to requirements.
Fig. 3A is a schematic diagram of a video signal source playing, wherein the video signal path is shown as including an original video layer 31, a pip video layer 32, and a GPU composition 33. The video signal source of the first application is not the target signal source, and the original video layer 31 is not occupied, so that the video signal source of the first application can be displayed by using the original video layer 31.
In some embodiments, in response to the first input, the video source of the first application is displayed using the pip video layer when the video source of the first application is not the target class source, the original video layer is occupied, and the pip video layer is unoccupied.
Fig. 3B is a schematic diagram of a video source, wherein the display path includes an original video layer 31, a pip video layer 32, and a GPU composition 33. The video source of the first application is not the target source, and the original video layer 31 is occupied, so that the video source of the first application can be displayed on the pip video layer 32 and the GPU composition 33 preferably in the pip video layer 32 with better processing and display effects.
In some embodiments, in response to the first input, the video source of the first application is displayed using a graphics processor GPU compositing mode when the video source of the first application is not a target-class source and both the original video layer and the pip video layer have been occupied.
Fig. 3C is a schematic diagram of a video source, wherein the display path is shown as including an original video layer 31, a pip video layer 32, and a GPU composition 33. The video source of the first application is not the target type source, and the original video layer 31, and the pip video layer 32 are occupied, at which time the video source of the first application can be displayed using the GPU composition 33.
203. And judging whether the original video layer is occupied or not.
If the original video layer is not occupied, then 204; if the original video layer is occupied, the following 205-207 are performed.
In the embodiment of the present disclosure, in the first mode, the priority of the default video layer may be: the priority of the original video layer is greater than the priority of the pip video layer.
204. The video source of the first application is displayed using the original video layer.
Under the condition that the original video layer is not occupied, the original video layer with superior display effect can be preferentially used for displaying so as to ensure the display effect.
205. It is determined whether the pip video layer is occupied.
If the pip video layer is not occupied, then 206; if the pip video layer is occupied, the following 207 is performed.
206. A video signal source of a first application is displayed using a picture-in-picture video layer.
Under the condition that the original video layer is occupied, the video signal source of the first application can be displayed by using the picture-in-picture video layer so as to ensure that the video signal source of the first application can display.
207. And displaying the video signal source of the first application by using a GPU synthesis mode.
Because the video signal source is displayed in a GPU synthesis mode outside the original video layer and the pip video layer, the video signal source may be displayed in a GPU synthesis mode in order to ensure that the video signal source of the first application can display when both the original video layer and the pip video layer are occupied.
208. And controlling the application occupying the video layer to release the video layer.
209. Based on the first mode, a video source is selected that displays the first application through the original video layer.
Wherein the priority of the original video layer is greater than the priority of the pip video layer in the first mode;
for the above description of 208 and 209, reference may be made to the above description related to 102 and 103, which is not repeated here.
210. And responding to a second input aiming at the first application, triggering the first application to exit from foreground running, and releasing the original video layer occupied by the first application.
211. And triggering the second application to run in the foreground in response to a third input for the second application.
212. And if the video source of the second application is not the target signal source, selecting to display the video signal of the second application through the picture-in-picture video layer based on the second mode.
Wherein the priority of the original video layer is less than the priority of the pip video layer in the second mode.
Fig. 4 is a schematic diagram of a video source playback, wherein the playback path includes an original video layer 41, a pip video layer 42, and a GPU composition 43. The video signal source of the first application is a target signal source, the original video layer 31 is occupied by the application a, at this time, the application a may be controlled to release the original video layer 31, and then the original video layer 31 may be used to display the video signal source of the first application.
The information display processing method provided by the embodiment of the disclosure can avoid the problem that different applications cannot play video due to the fact that the original video layer is occupied by the different applications, aiming at the scene that multiple applications simultaneously display the video signal source. Further, in the above embodiment, a display logic for avoiding preemption of the video layer is provided for various possible situations, so that under a scene where multiple applications simultaneously display video signal sources, multiple situations can be dealt with, and a flexible and comprehensive information display processing method is provided.
As shown in fig. 5, a block diagram of an information display processing apparatus provided in an embodiment of the present disclosure includes:
the control module 501 is used for controlling the operation,
the device comprises a first application and a second application, wherein the first application is triggered to run in a foreground in response to a first input aiming at the first application;
when the video signal source of the first application is a target signal source and a video layer is occupied, releasing the occupied video layer; wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer;
the display module 502 is configured to display a video signal source of the first application through the original video layer.
As an optional implementation manner of the embodiment of the present disclosure, the target signal source includes any one of the following:
the system comprises an external signal source, a network signal source and a screen projection signal source.
As an optional implementation manner of the embodiment of the present disclosure, the media display modes of the operating system include a first mode in which the priority of the original video layer is greater than the priority of the pip video layer;
the display module 502 is specifically configured to:
and when the video signal source of the first application is the target signal source, selecting the video signal source for displaying the first application through the original video layer based on the first mode.
As an optional implementation of the embodiment of the present disclosure, the media display modes of the operating system include a second mode in which the priority of the original video layer is smaller than the priority of the pip video layer;
the control module 501 is further configured to:
responding to a second input aiming at the first application, triggering the first application to exit from foreground running, and releasing the original video layer occupied by the first application; and responding to a second input aiming at a second application, triggering the second application to run in a foreground, and if a video source of the second application is not the target signal source, selecting to display the video signal of the second application through the picture-in-picture video layer based on the second mode.
As an optional implementation manner of the embodiment of the present disclosure, the control module 501 is specifically configured to:
controlling an application occupying the video layer to release the video layer by:
sending a broadcast message, wherein the broadcast message is used for notifying the release of the occupied video layer;
and/or the presence of a gas in the gas,
the release of the occupied video layer is controlled by pause logic or termination logic.
As an optional implementation manner of the embodiment of the present disclosure, the control module 501 is specifically configured to:
controlling the third-party application to release the occupied video layer through pause logic or termination logic aiming at the condition that the third-party application occupies the video layer;
and/or the presence of a gas in the gas,
and sending the broadcast message to the self-research application aiming at the condition that the self-research application occupies the video layer so as to control the self-research application to release the occupied video layer.
As an optional implementation manner of the embodiment of the present disclosure, the display module 502 is further configured to:
in response to the first input, when a video signal source of the first application is not a target-class signal source and the original video layer is unoccupied, displaying the video signal source of the first application using the original video layer;
or the like, or, alternatively,
in response to the first input, displaying the video source of the first application using the PIP video layer when the video source of the first application is not a target-class source, the original video layer is occupied, and the PIP video layer is unoccupied;
or the like, or, alternatively,
in response to the first input, displaying the video signal source of the first application in a Graphics Processing Unit (GPU) composition mode when the video signal source of the first application is not a target signal source and the original video layer and the picture-in-picture video layer are occupied.
As shown in fig. 6, an embodiment of the present invention further provides a terminal device, where the terminal device includes: a processor 601, a memory 602, and a computer program stored on the memory 602 and operable on the processor 601, the computer program, when executed by the processor 601, implementing the information display processing method in the above-described method embodiments.
An embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the information display processing method in the foregoing method embodiments, and can achieve the same technical effect, and is not described here again to avoid repetition.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Embodiments of the present invention provide a computer program product, where the computer program is stored, and when being executed by a processor, the computer program implements each process of the information display processing method in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information display processing method characterized by comprising:
triggering a first application to run in a foreground in response to a first input for the first application;
when the video signal source of the first application is a target signal source and a video layer is occupied, releasing the occupied video layer; wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer;
and displaying the video signal source of the first application through the original video layer.
2. The method of claim 1, wherein the target class signal source comprises any one of:
the system comprises an external signal source, a network signal source and a screen projection signal source.
3. The method of claim 1 or 2, wherein the media display modes of the operating system include a first mode in which the priority of the original video layer is greater than the priority of the pip video layer;
the video signal source for displaying the first application through the original video layer comprises:
and when the video signal source of the first application is the target signal source, selecting the video signal source for displaying the first application through the original video layer based on the first mode.
4. The method of claim 1 or 2, wherein the media display mode of the operating system comprises a second mode in which the priority of the original video layer is less than the priority of the pip video layer;
after the displaying the video signal source of the first application through the original video layer, the method further includes:
responding to a second input aiming at the first application, triggering the first application to exit from foreground running, and releasing the original video layer occupied by the first application; and responding to a third input aiming at a second application, triggering the second application to run in a foreground, and if a video source of the second application is not the target signal source, selecting to display the video signal of the second application through the picture-in-picture video layer based on the second mode.
5. The method of claim 1, wherein the releasing the video layer that is occupied comprises:
controlling an application occupying the video layer to release the video layer by:
sending a broadcast message, wherein the broadcast message is used for notifying the release of the occupied video layer;
and/or the presence of a gas in the gas,
the release of the occupied video layer is controlled by pause logic or termination logic.
6. The method according to any one of claims 1 to 5, further comprising:
in response to the first input, when a video signal source of the first application is not a target-class signal source and the original video layer is unoccupied, displaying the video signal source of the first application using the original video layer;
or the like, or, alternatively,
in response to the first input, displaying the video source of the first application using the PIP video layer when the video source of the first application is not a target-class source, the original video layer is occupied, and the PIP video layer is unoccupied;
or the like, or, alternatively,
in response to the first input, displaying the video signal source of the first application in a Graphics Processing Unit (GPU) composition mode when the video signal source of the first application is not a target signal source and the original video layer and the picture-in-picture video layer are occupied.
7. An information display processing apparatus characterized by comprising:
the control module is used for responding to a first input aiming at a first application and triggering the first application to run in a foreground;
when the video signal source of the first application is a target signal source and a video layer is occupied, releasing the occupied video layer; wherein the video layer comprises an original video layer, or the video layer comprises an original video layer and a picture-in-picture video layer;
and the display module is used for displaying the video signal source of the first application through the original video layer.
8. An electronic device, comprising: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the information display processing method of any one of claims 1 to 6.
9. A computer-readable storage medium, comprising: the computer-readable storage medium stores thereon a computer program that realizes the information display processing method according to any one of claims 1 to 6 when executed by a processor.
10. A computer program product, comprising: when the computer program product is run on a computer, the computer is caused to implement the information display processing method of any one of claims 1 to 6.
CN202111347314.5A 2021-11-15 2021-11-15 Information display processing method and device and electronic equipment Pending CN114071212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111347314.5A CN114071212A (en) 2021-11-15 2021-11-15 Information display processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111347314.5A CN114071212A (en) 2021-11-15 2021-11-15 Information display processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114071212A true CN114071212A (en) 2022-02-18

Family

ID=80271941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111347314.5A Pending CN114071212A (en) 2021-11-15 2021-11-15 Information display processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114071212A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666647A (en) * 2022-03-25 2022-06-24 深圳市康冠商用科技有限公司 Method, device and related assembly for realizing picture-in-picture between different information sources

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6462786B1 (en) * 1998-12-15 2002-10-08 Ati International Srl Method and apparatus for blending image input layers
US20140210753A1 (en) * 2013-01-31 2014-07-31 Samsung Electronics Co., Ltd. Method and apparatus for multitasking
CN105872768A (en) * 2016-04-20 2016-08-17 深圳Tcl数字技术有限公司 Display terminal information source switching method and device
CN109275011A (en) * 2018-09-03 2019-01-25 青岛海信传媒网络技术有限公司 The processing method and processing device of smart television motor pattern switching, user equipment
CN110213657A (en) * 2019-06-12 2019-09-06 青岛海信电器股份有限公司 A kind of starting-up method and smart television
CN110365918A (en) * 2019-06-19 2019-10-22 深圳市金锐显数码科技有限公司 A kind of information source switching method and equipment
WO2020107177A1 (en) * 2018-11-26 2020-06-04 深圳市欢太科技有限公司 Audio resource invoking method and apparatus, and electronic device
CN112073788A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Video data processing method and device and display equipment
WO2020248654A1 (en) * 2019-06-10 2020-12-17 海信视像科技股份有限公司 Display apparatus and method for displaying applications together
CN112783584A (en) * 2019-11-07 2021-05-11 合肥杰发科技有限公司 Layer display method and device of terminal system, vehicle equipment and storage device
CN112866782A (en) * 2020-12-30 2021-05-28 北京五八信息技术有限公司 Video playing method, video playing device and electronic equipment
CN113012657A (en) * 2019-12-19 2021-06-22 北京嗨动视觉科技有限公司 Layer processing method and device, video processing equipment and computer readable storage medium
CN113378092A (en) * 2021-06-22 2021-09-10 海信电子科技(深圳)有限公司 Video playing management method and display equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6462786B1 (en) * 1998-12-15 2002-10-08 Ati International Srl Method and apparatus for blending image input layers
US20140210753A1 (en) * 2013-01-31 2014-07-31 Samsung Electronics Co., Ltd. Method and apparatus for multitasking
CN105872768A (en) * 2016-04-20 2016-08-17 深圳Tcl数字技术有限公司 Display terminal information source switching method and device
CN109275011A (en) * 2018-09-03 2019-01-25 青岛海信传媒网络技术有限公司 The processing method and processing device of smart television motor pattern switching, user equipment
WO2020107177A1 (en) * 2018-11-26 2020-06-04 深圳市欢太科技有限公司 Audio resource invoking method and apparatus, and electronic device
CN112073788A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Video data processing method and device and display equipment
WO2020248654A1 (en) * 2019-06-10 2020-12-17 海信视像科技股份有限公司 Display apparatus and method for displaying applications together
CN110213657A (en) * 2019-06-12 2019-09-06 青岛海信电器股份有限公司 A kind of starting-up method and smart television
CN110365918A (en) * 2019-06-19 2019-10-22 深圳市金锐显数码科技有限公司 A kind of information source switching method and equipment
CN112783584A (en) * 2019-11-07 2021-05-11 合肥杰发科技有限公司 Layer display method and device of terminal system, vehicle equipment and storage device
CN113012657A (en) * 2019-12-19 2021-06-22 北京嗨动视觉科技有限公司 Layer processing method and device, video processing equipment and computer readable storage medium
CN112866782A (en) * 2020-12-30 2021-05-28 北京五八信息技术有限公司 Video playing method, video playing device and electronic equipment
CN113378092A (en) * 2021-06-22 2021-09-10 海信电子科技(深圳)有限公司 Video playing management method and display equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666647A (en) * 2022-03-25 2022-06-24 深圳市康冠商用科技有限公司 Method, device and related assembly for realizing picture-in-picture between different information sources
CN114666647B (en) * 2022-03-25 2023-07-07 深圳市康冠商用科技有限公司 Method, device and related assembly for realizing picture-in-picture between different information sources

Similar Documents

Publication Publication Date Title
US8255825B2 (en) Content aware adaptive display
US20100060789A1 (en) Reception device and reception method
KR20140030226A (en) Global composition system
CN111625214A (en) Audio control method, device, equipment and storage medium
WO2022068639A1 (en) Method, apparatus, and device for video-based interaction, and storage medium
US8964120B2 (en) Television system and method for managing applications therein
CN114071212A (en) Information display processing method and device and electronic equipment
CN107168667B (en) Display system with picture-in-picture display capability
CN103686416B (en) 3D configuration information processing method and processing device in intelligent television
CN108600838B (en) Information source switching method and device for Android television, Android television and readable storage medium
JP6954914B2 (en) Information processing terminals, information processing methods, and programs
CN112749033B (en) Display device and system notification calling method
US11582514B2 (en) Source apparatus and control method therefor
CN115150667B (en) Display device and advertisement playing method
CN111324437A (en) Kernel function calling method of operating system and computer equipment
CN113473220B (en) Automatic sound effect starting method and display equipment
CN113365137B (en) Video advertisement display method and device, electronic equipment and readable storage medium
TWI506442B (en) Multiple simultaneous displays on the same screen
JP5748116B2 (en) AV equipment
CN107357542A (en) A kind of method of LED display played PPT PowerPoints
US8782648B2 (en) Information processing system and related method thereof
CN117651172A (en) Display device and service control method
CN117651190A (en) Display device, image display control method, and storage medium
US20190327442A1 (en) Display apparatus and signal processing method thereof
CN115550742A (en) Video playing method and device

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