CN112188294B - Signal source display method and device - Google Patents

Signal source display method and device Download PDF

Info

Publication number
CN112188294B
CN112188294B CN201910600016.9A CN201910600016A CN112188294B CN 112188294 B CN112188294 B CN 112188294B CN 201910600016 A CN201910600016 A CN 201910600016A CN 112188294 B CN112188294 B CN 112188294B
Authority
CN
China
Prior art keywords
signal source
signal
playing
input
playing window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910600016.9A
Other languages
Chinese (zh)
Other versions
CN112188294A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910600016.9A priority Critical patent/CN112188294B/en
Publication of CN112188294A publication Critical patent/CN112188294A/en
Application granted granted Critical
Publication of CN112188294B publication Critical patent/CN112188294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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

Landscapes

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

Abstract

The application relates to the technical field of computers, in particular to a signal source display method and a signal source display device, which respond to the operation of displaying a plurality of signal sources and detect whether signals of the signal sources are input; if the signal input of the multi-channel signal source is determined, respectively establishing a playing window corresponding to each signal source with the signal input on a display interface, and respectively acquiring content data of each signal source; the content data of the corresponding signal source are displayed in each playing window respectively, so that the content of each signal source can be displayed on the same display interface simultaneously, the display method is more convenient, a user can quickly select the required signal source content, the time is saved, and the efficiency is improved.

Description

Signal source display method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a signal source display method and apparatus.
Background
At present, generally, a television supports multi-signal source access, and a user can select to watch contents of different signal sources.
However, in the prior art, a user can only see the content of one signal source at most each time, and if the number of signal sources is large, the user easily forgets which content is accessed by each signal source, and needs to switch back and forth among the signal sources to check the content of each signal source, which consumes a long time and has low efficiency, and reduces user experience.
Disclosure of Invention
The embodiment of the application provides a signal source display method and device, and aims to solve the problems that in the prior art, a plurality of signal sources need to be switched one by one to check and determine the content of a required signal source by previewing the content of at least one signal source, the consumed time is long, and the efficiency is low.
The embodiment of the application provides the following specific technical scheme:
an embodiment of the present application provides a signal source display method, which is applied to a terminal device supporting access of multiple signal sources, and includes:
responding to the operation of displaying the multi-channel signal source, and detecting whether a signal of the signal source is input;
if the signal input of the multi-channel signal source is determined, respectively establishing a playing window corresponding to each signal source with the signal input on a display interface;
respectively acquiring content data of each signal source;
and respectively displaying the content data of the corresponding signal source in each playing window.
Another embodiment of the present application provides a signal source display device, including:
the detection module is used for responding to the operation of displaying the multi-channel signal source and detecting whether a signal of the signal source is input;
the processing module is used for establishing a playing window corresponding to each signal source with signal input on the display interface if the signal input of the multi-channel signal source is determined;
the acquisition module is used for respectively acquiring the content data of each signal source;
and the display module is used for displaying the content data of the corresponding signal source in each playing window respectively.
In combination with another embodiment of the present application, when detecting whether there is a signal input from the signal source, the detection module is specifically configured to:
responding to the switching operation aiming at the set signal source label, and detecting whether a signal of a signal source is input; or, when the signal source change signal is determined to be detected, detecting the access state of the hardware interface corresponding to the signal source according to the signal source change signal, if the access state of the corresponding hardware interface is determined to be the power-on state, determining that the signal of the signal source is input, and if the access state of the corresponding hardware interface is determined to be the power-off state, determining that the signal of the corresponding signal source is not input.
In combination with another embodiment of the present application, when the content data of each signal source is respectively acquired, the acquiring module is specifically configured to:
respectively acquiring the playing paths of the signal sources, wherein the playing paths at least comprise signal source identifiers, local streaming media server addresses and local video signal sources;
and respectively acquiring the content data of each signal source according to the playing path of each signal source.
In combination with another embodiment of the present application, before the displaying the content data of the corresponding signal source in each playing window, the method further includes: an obtaining module for obtaining configuration information of the apparatus;
when the content data of the corresponding signal source is displayed in each playing window, the display module is specifically configured to:
and respectively displaying the content data of the corresponding signal source in each playing window according to the configuration information.
In combination with another embodiment of the present application, when the content data of the corresponding signal source is displayed in each playing window according to the configuration information, the display module is specifically configured to:
if the configuration information accords with the video playing configuration condition, respectively displaying the video content of the corresponding signal source in each playing window, wherein the content data is streaming media data, and the streaming media data at least comprises video data;
if the configuration information does not accord with the video playing configuration conditions, pictures in the video data of each signal source are respectively extracted and displayed in corresponding playing windows.
In combination with another embodiment of the present application, when the pictures in the video data of each signal source are respectively extracted and displayed in the corresponding playing windows, the display module is specifically configured to:
and respectively extracting the content of a frame of picture in the video data of each signal source according to a set time interval, and displaying the picture in each corresponding playing window according to the currently extracted picture content.
In combination with another embodiment of the present application, when the content data of the corresponding signal source is displayed in each playing window, the display module is further configured to:
and respectively displaying the names of the corresponding signal sources in each playing window.
In combination with another embodiment of the present application, further comprising: and the switching module is used for responding to the selection operation aiming at any playing window, switching to a full screen mode and displaying the video content of the signal source corresponding to any playing window in the full screen mode.
With reference to another embodiment of the present application, if it is determined that the access state of the corresponding hardware interface is the power-down state, and it is determined that there is no signal input in the corresponding signal source, the processing module is further configured to:
and if the corresponding signal source is determined to have a playing window on the display interface, canceling the playing window of the corresponding signal source.
Another embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the signal source display methods described above when executing the program.
Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the signal source display methods described above.
In the embodiment of the application, whether signal input of a signal source exists or not is detected in response to the operation of displaying the multi-channel signal source, if the signal input of the multi-channel signal source is determined, corresponding playing windows are respectively established, content data are obtained, and the content data of the corresponding signal source are displayed in each playing window respectively.
Drawings
FIG. 1 is a schematic diagram of an interface of a signal source setup function located on a home page in the prior art;
FIG. 2 is a schematic diagram of an interface configured by a remote controller for calling a signal source in the prior art;
FIG. 3 is a schematic diagram illustrating an application architecture of a signal source display method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a signal source displaying method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an arrangement of playing windows in an embodiment of the present application;
FIG. 6 is a flowchart illustrating another signal source displaying method according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating another signal source displaying method according to an embodiment of the present application;
FIG. 8 is a flow chart showing content data of a signal source in an embodiment of the present application;
FIG. 9 is a diagram illustrating an interface effect displayed by a signal source according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of a signal source display apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For the purpose of facilitating an understanding of the embodiments of the present application, a brief introduction of several concepts is provided below:
a signal source: including, for example, a television mode, a video mode, an HDMI mode, an S-terminal mode, a USB mode, and the like. Generally, a television can support access of multiple signal sources, a user can use a remote controller of the television to press a signal source key and pop up a signal source menu option, and the signal sources can be switched one by one until a content picture required by the user appears in the television, and then the switching can be stopped.
High Definition Multimedia Interface (HDMI): it is a digital video/audio interface technology, suitable for the special digital interface of image transmission, and can transmit audio and image signals at the same time, and the highest data transmission speed is 48Gbps (version 2.1).
An S terminal: or "independent video terminal," is an analog video signal that divides video data into two separate signals (luminance and chrominance) for transmission, unlike a composite video signal that packets all of the signals into one for transmission.
A universal serial bus: (Universal Serial Bus, USB): the system is an external bus standard and is used for standardizing the connection and communication between the terminal equipment and the external equipment.
At present, a television generally can support access to a plurality of signal sources, in the prior art, a function for displaying signal source settings is generally set on a certain tab page of a home page or a function key of a remote controller is used for calling out signal source settings, for example, as shown in fig. 1, an interface schematic diagram for setting signal source settings on a home page in the prior art is shown, a user uses a remote controller to switch to a setting tab in the home page, and displays each signal source accessed by the television, for example, as shown in fig. 2, an interface schematic diagram for calling out a signal source setting through a remote controller in the prior art is shown, and a user can click on the calling-out signal source settings through related function keys on the remote controller, and then the user can switch and select different signal sources one by one.
However, in the prior art, content preview of a signal source is not supported, or content preview of only one signal source is supported, if there are many signal sources accessed and a user does not know which signal source is docked with which device, switching between the signal sources is required to check the content of each signal source, which is inefficient and time consuming, especially for some televisions with low configuration, the time for switching the signal source is relatively long, and the user experience is very poor.
Therefore, in order to solve the problem, the embodiment of the present application provides a signal source display method, which can uniformly display the content of each signal source on the same display interface, so that a user can conveniently see the content of each signal source, thereby facilitating the selection of the user and reducing the time.
Fig. 3 is a schematic diagram of an application architecture of a signal source display method in the embodiment of the present application, including a terminal device 100 and a server 200.
The terminal device 100 may be any intelligent device capable of supporting access of multiple signal sources, for example, in this embodiment of the application, the terminal device 100 may be a television, the television has multiple different hardware interfaces, and may be connected to multiple television boxes, so that different signal sources are accessed, a user may view video content of different signal sources by switching different signal sources, and the terminal device 100 may also have multiple applications, such as a video software TV version, installed thereon, which may be run on the terminal device 100 to display multiple signal sources, and the user selects a signal source to view video.
In the embodiment of the application, the signal source display method is mainly executed by the terminal device 100 side, after the terminal device 100 is opened, a signal source label can be integrated on the home page of the terminal device 100, and a user can switch to the signal source label to detect whether a signal of a signal source is input, if a signal of a multi-channel signal source is input, corresponding playing windows are respectively established on the same display interface, and content data of the corresponding signal source is respectively displayed on each playing window according to configuration information of the terminal device 100, so that the content of a plurality of signal sources can be simultaneously displayed on the same display interface, and the user can easily identify which content is accessed by each signal source.
In addition, whether signals are input to each signal source can be passively detected in real time through signal source change signals, and the embodiment of the present application is not limited.
The server 200 can provide various network services for the terminal device 100, for different applications on the terminal device 100, the server 200 may be considered as a background server providing corresponding network services, and for different signal sources on the terminal device 100, the server 200 may also be considered as a corresponding background server, for example, streaming media data of different signal sources, including audio or video data, may be provided, for example, in this embodiment, the terminal device 100 may obtain corresponding content data from the server 200 and display the content data on a display interface, where the content data is streaming media data, and the streaming media data includes at least video data.
The server 200 may be a server, a server cluster formed by a plurality of servers, or a cloud computing center.
The terminal device 100 and the server 200 are connected through the internet to communicate with each other. Optionally, the internet described above uses standard communication techniques and/or protocols. The internet is typically the internet, but can be any Network including, but not limited to, local Area Network (LAN), metropolitan Area Network (MAN), wide Area Network (WAN), any combination of mobile, wired or wireless networks, private networks, or virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), transport Layer Security (TLS), virtual Private Network (VPN), internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
It should be noted that the application architecture diagram in the embodiment of the present application is to illustrate the technical solution in the embodiment of the present application more clearly, and does not limit the technical solution provided in the embodiment of the present application, and is not limited to the signal source display service of the television, and for other application architectures and service applications, the technical solution provided in the embodiment of the present application is also applicable to similar problems. In the following embodiments of the present application, a signal source display method applied to the application architecture shown in fig. 3 is taken as an example for schematic description.
Based on the foregoing embodiment, a signal source display method in the embodiment of the present application is described below, with reference to fig. 4, which is a flowchart of a signal source display method in the embodiment of the present application, and the method includes:
step 400: in response to an operation of exhibiting the plurality of signal sources, it is detected whether there is a signal input of the signal source.
In this embodiment of the present application, a signal source tag may be set on a terminal device, so as to display the content of each signal source, and only when it is detected that a signal is input to the signal source, the signal source is displayed, which may facilitate user preview, and the signal source without signal input is not displayed, and may simplify interface display, and reduce unnecessary operations and resource waste, so that it is necessary to detect whether a signal is input to the signal source, specifically, when step 400 is executed, two ways are provided in this embodiment of the present application:
the first mode is as follows: and (4) active detection.
Detecting whether a signal of a signal source is input, comprising: and detecting whether a signal of the signal source is input or not in response to a switching operation for the set signal source tag.
Of course, switching to the signal source label includes directly selecting the signal source label after power-on, and also includes switching back to the signal source label from the full screen mode.
Specifically, the method comprises the following steps: judging whether the signal source event of each signal source is updated or not, judging the state type of the signal source event, if the state type of the signal source event is determined to be an access (in), determining that a signal is input, and if the state type of the signal source event is determined to be a pull-out (out), determining that no signal is input.
The signal source events can be stored in a signal source control module in the terminal device, each signal source has a corresponding signal source event and a state type of the signal source event, so that each signal source can be monitored, and further, when the signal source is actively detected after being switched to a signal source label, a new signal source event of the new signal source can be registered.
That is to say, in the embodiment of the present application, when the user switches to the signal source tag, it is actively detected whether each signal source has signal input in sequence, so that resource waste of polling detection signal sources each time can be reduced.
The second mode is as follows: passive event reception detection.
Detecting whether a signal of a signal source is input, comprising: when the signal source change signal is detected, the access state of the hardware interface corresponding to the signal source is detected according to the signal source change signal, if the access state of the corresponding hardware interface is determined to be the power-on state, signal input of the signal source is determined, and if the access state of the corresponding hardware interface is determined to be the power-off state, no signal input of the corresponding signal source is determined.
In the embodiment of the application, each signal source can be accessed through a hardware interface on the terminal device, when a signal source is accessed or pulled out, a hardware module of the hardware interface can generate an interrupt signal, namely a signal source change signal, after the signal source control module receives the signal source change signal, the power-on or power-off state of the corresponding hardware interface can be read, if the power-on state is determined, the signal input of the signal source corresponding to the hardware interface is determined, if the power-off state is determined, the signal source corresponding to the hardware interface is pulled out, no signal input exists, further, the signal source control module can record the state type of the signal source event of the corresponding signal source in a memory according to the judgment result of the hardware interface, and send a notification to an upper layer to inform that the state type of the signal source event has changed.
That is to say, when the access state of the signal source changes, the signal source change signal can be sent out, and the signal source change signal at least carries a signal source identifier, such as the number of paths of the signal source, so that when the signal source change signal is received, it can be detected whether the signal source has a signal input.
Step 410: if the signal input of the multi-channel signal source is determined, the playing windows corresponding to the signal sources with the signal input are respectively established on the display interface, and the content data of the signal sources are respectively obtained.
When step 410 is executed, the method specifically includes:
s1, if signal input of a plurality of signal sources is determined, playing windows corresponding to the signal sources with the signal input are respectively established on a display interface.
Specifically, according to the number of signal sources with signal input, and according to the corresponding arrangement mode, the playing windows corresponding to the signal sources are respectively established on the display interface.
For example, if 3 signal sources are detected to have signal inputs, for example, signal source 1, signal source 2, and signal source 3, respectively, then 3 playing windows may be established on the display interface, for example, as shown in fig. 5, which is a schematic diagram of an arrangement manner of the playing windows in the embodiment of the present application, as shown in fig. 5, the display interface may be divided into 3 parts, which are divided into left and right equally, and then the left area is divided into upper and lower equally, and each area corresponds to one playing window and one signal source respectively.
Of course, the arrangement of the playing windows is not limited in the embodiments of the present application, and may be set according to the number and the actual situation.
And S2, respectively acquiring content data of each signal source.
The content data is streaming media data, and the streaming media data at least comprises video data.
Specifically, the method comprises the following steps: respectively acquiring a playing path of each signal source, wherein the playing path at least comprises a signal source identifier, a local streaming media server address and a local video signal source; and respectively acquiring the content data of each signal source according to the playing path of each signal source.
In the embodiment of the application, a play path is generated for each signal source, and real-time streaming media data, that is, content data, can be acquired through the play path.
For example, the playback path is rtsp://127.0.0.1/video _ signal _ source/(num)
Wherein, 127.0.0.1: representing the local streaming server address, is fixed for the same signal source. video _ signal _ source: representing a local video source, is also fixed for the same source. num: for signal source identification, which signal source is indicated, the value is a number, for example: 1. 2 and 3.
Further, in the embodiment of the present application, if it is determined that only one signal source has a signal input, only the content of the signal source of the one path may be displayed on the display interface, at this time, the content may be displayed in a full screen, and if it is determined that no signal source has a signal input, the content of any signal source may not be displayed, at this time, for example, prompt information may be displayed, for example, a user is prompted that no signal source is currently accessed, and no limitation is performed.
Step 420: and respectively displaying the content data of the corresponding signal source in each playing window.
Further, in this embodiment of the present application, it is further required to obtain configuration information of the terminal device, and determine a configuration level of the terminal device, and specifically, a possible implementation manner is provided, before content data of a corresponding signal source is displayed in each playing window, the method further includes: acquiring configuration information of terminal equipment, wherein the configuration information at least comprises the core number of a Central Processing Unit (CPU) and the size of a memory; and judging whether the video playing configuration condition is met or not according to the CPU core number and the memory size.
The video playing configuration condition represents a condition capable of supporting simultaneous display of multiple channels of videos, the terminal equipment can be considered to be in high configuration when the video playing configuration condition is met, and the terminal equipment can be considered to be in low configuration when the video playing configuration condition is not met.
For example, if the number of the CPU cores is not greater than 2, it is determined that the video playing configuration condition is not met, and the configuration is low; if the number of the CPU cores is more than 2 cores and the size of the memory is not more than 1G, determining that the configuration is low; and if the number of the CPU cores is more than 2 cores and the size of the memory is more than 1G, determining that the configuration condition of video playing is met, and determining that the configuration condition is high configuration.
The number threshold of the CPU cores and the memory threshold of the memory size are not limited to 2 cores and 1G, and may be set according to actual conditions, and the setting of the video playing configuration condition is not limited to the number of the CPU cores and the memory size, and may also be set according to actual conditions, which is not limited in the embodiment of the present application.
Then, according to whether the terminal device meets the video playing configuration condition, executing step 420 accordingly includes: and respectively displaying the content data of the corresponding signal source in each playing window according to the configuration information.
Specifically, the following two cases can be classified:
in the first case: and if the configuration information of the terminal equipment conforms to the video playing configuration conditions, respectively displaying the video content of the corresponding signal source in each playing window, wherein the content data is streaming media data, and the streaming media data at least comprises video data.
For a highly configured terminal device, the displayed content data is video content, and a user can view real-time dynamic video content.
In the second case: and if the configuration information of the terminal equipment does not accord with the video playing configuration conditions, respectively extracting pictures in the video data of each signal source and displaying the pictures in corresponding playing windows.
In the embodiment of the application, considering that a low-configuration terminal device may not support simultaneous display of multiple videos, in order that a user can quickly know what the content of each signal source is, a static picture of each signal source can be displayed and displayed in a picture mode.
In addition, in order to improve user experience and facilitate users to better understand the content of the signal source, the displayed static pictures may be continuously updated when the pictures are displayed, and specifically, a possible implementation manner is provided in the embodiments of the present application, and the method includes the steps of respectively extracting pictures from video data of each signal source and displaying the pictures in corresponding play windows, and specifically includes: and respectively extracting the content of a frame of picture in the video data of each signal source according to a set time interval, and displaying the picture in each corresponding playing window according to the currently extracted picture content.
For example, a frame may be extracted from the video data at intervals, for example, 10 seconds, and a bitmap file (bitmap) object is used to generate a corresponding picture, which is displayed in a corresponding playing window.
Further, for the convenience of viewing by the user, when the content data of the corresponding signal source is respectively displayed in each playing window, the method may further include: and respectively displaying the names of the corresponding signal sources in each playing window. Therefore, a user can not only view the content of each signal source on the display interface, but also know which signal source corresponds to.
And responding to the selection operation of any playing window on the display interface, switching to a full screen mode, and displaying the video content of the signal source corresponding to any playing window in the full screen mode.
Therefore, in the embodiment of the application, the contents of a plurality of signal sources can be simultaneously displayed on the display interface, a user can move a focus through a remote controller to select a content which the user wants to see, when the user clicks and selects a signal source of a certain playing window, the full-screen mode can be switched, the video content of the signal source corresponding to the playing window is displayed, at this time, even if a static picture is displayed before, the real-time video content can be displayed in the full-screen mode, and then, if the user wants to reselect the signal source, the user can return to a signal source tab page or a home page through a return key or a home page key of the remote controller, so that the signal source is reselected.
Further, when content data of a corresponding signal source is displayed in each playing window on the display interface, it may be further determined whether a signal source change signal is detected continuously, that is, a passive event reception detection manner in the foregoing embodiment, if a signal source change signal is detected, and according to the signal source change signal, if it is determined that an access state of a corresponding hardware interface is a power-down state, it is determined that the corresponding signal source has no signal input, and at this time, a possible implementation manner is further provided in the embodiment of the present application, which further includes: and if the corresponding signal source is determined to have the playing window on the display interface, canceling the playing window of the corresponding signal source.
That is to say, in the embodiment of the present application, if it is detected that a certain signal source is pulled out and no signal is input, the previously established play window may be cancelled, and the signal source does not need to be displayed on the display interface.
In the embodiment of the application, whether signal input of a signal source exists or not is detected in response to operation of displaying a plurality of signal sources, if the signal input of the plurality of signal sources is determined, playing windows corresponding to the signal sources with the signal input are respectively established on a display interface, content data of the signal sources are respectively obtained, and the content data of the corresponding signal sources are respectively displayed on the playing windows according to configuration information of terminal equipment.
A signal source display method is described below with specific application scenarios, taking active detection as an example, and referring to fig. 6 in particular, which is a flowchart of another signal source display method in the embodiment of the present application.
Step 600: and switching to the signal source label.
Step 601: whether a signal of a signal source is input is detected, if so, 603 is executed, and if not, 602 is executed.
I.e. to start detecting the signal source in response to a switching operation for the signal source tag.
Step 602: and waiting for the triggering of the event of the bottom signal source.
When the signal source label is switched to, a signal source with signal input is not detected, whether a signal source change signal exists after waiting is judged, if the state type of the corresponding signal source event changes, a signal is input, and then the subsequent display operation is executed.
Step 603: and judging whether the configuration information of the terminal equipment meets the video playing configuration condition, if so, executing step 604, and if not, executing step 605.
Step 604: and displaying the video content of each signal source.
Specifically, if there is a signal input from multiple signal sources, a plurality of corresponding playing windows are established on a display interface corresponding to the signal source label, and content data of each signal source is acquired respectively, and video content of the corresponding signal source is displayed in each playing window respectively.
Step 605: and displaying pictures of the signal sources.
Specifically, for a low-configuration terminal device, one frame of picture content in the video data of each signal source is respectively extracted, and pictures are displayed in corresponding playing windows.
Step 606: and receiving selection operation of a user.
For example, the user can move the focus through the remote controller and click to select the desired signal source.
Step 607: and switching to a full-screen mode, and displaying the video content of the selected signal source in a full screen mode.
Therefore, the signal source with signal input is detected to be displayed, the content of the signal sources can be displayed on the display interface of the same screen at the same time, the display is more convenient and faster, a user can quickly select the signal sources, the efficiency is improved, the time is saved, the display in a picture mode or a video mode is determined according to the configuration height of the terminal equipment, the display is suitable for different terminal equipment, and the display is stronger in applicability and more flexible.
Based on the same inventive concept, a specific application scenario is further described below, taking a terminal device as a television, the terminal device adopting an Android system, the terminal device at least including a signal source display module, a streaming media service, a signal source control module and a hardware interface module as an example, an interaction flow among the modules when the terminal device executes the signal source display method in the embodiment of the present application is described, and specifically referring to fig. 7, another signal source display method flow chart in the embodiment of the present application is shown.
Step 700: the signal source presentation module registers a signal source event with the streaming media service.
For example, in the Android system, a signal source presentation (SignalView) module of a user layer performs active detection when switching to a signal source tag, and registers a new signal source event, where a streaming media service (SignalMediaService) is located in a frame layer of the Android system, for example.
Step 701: the signal source display module sends an instruction for detecting whether the signal source has signal input to the streaming media service.
Step 702: the streaming media service forwards an instruction for detecting whether the signal source has signal input to the signal source control module.
Step 703: and the signal source control module returns a signal source detection result to the streaming media service.
The signal source control (SignalControlDriver) module is located in an inner core of an Android system, and is mainly used for determining an access state of a hardware interface of each signal source and recording a state type of a signal source event of each signal source according to the access state of the hardware interface.
Therefore, the signal source control module can send an event notice to the upper layer according to the current state type of each signal source event recorded in the memory, and inform each signal source of the detection result and whether a signal source with a signal input exists.
Step 704: the streaming service sends a broadcast notification.
That is, after receiving the signal source detection result of the signal source control module, the streaming media service sends the signal in a broadcast mode to inform which signal source has signal input.
The broadcast notification at least includes a signal source identifier of a signal source for signal input to identify which signal source has signal input, for example, in an Android system, an Intent tool may be used to transmit the signal source identifier.
And at this time, after receiving the signal source detection result, the streaming media service knows which signal source has signal input, and generates a streaming media playing path for the signal source having signal input, so that the upper layer can obtain real-time video data through the playing path, and the video content can be displayed on the display interface of the signal source label in real time in the user layer similar to the playing of network video.
Step 705: the signal source display module displays the content data.
Specifically, if the video playing configuration condition is met, that is, the high configuration is performed, the video content of each signal source is displayed, and if the video playing configuration condition is not met, that is, the low configuration is performed, the picture displaying each signal source is continuously updated.
The steps 700 to 705 are mainly directed to an active detection mode, when a signal source label is switched, whether a signal of a signal source is input is detected once, whether a signal source event in a signal source control module is updated is judged, whether a state type is accessed or pulled out is judged, and then the signal source with the signal input is determined and displayed.
Step 706: the hardware interface module sends a signal source change signal to the signal source control module.
In the embodiment of the application, when a signal source is connected or pulled out, the hardware interface module of the signal source can generate an interrupt signal, namely a signal source change signal, and the interrupt signal is sent to the signal source control module through the driving program.
Step 707: and the signal source control module informs the streaming media service of the signal source detection result.
Specifically, after receiving a signal source change signal, the signal source control module reads a power-on or power-off state of a corresponding hardware interface, determines that a signal input exists in a signal source corresponding to the hardware interface if the power-on state is the power-on state, determines that no signal input exists in the corresponding signal source if the power-off state is the power-off state, further sends a determined signal source detection result to the streaming media service, and updates the state type of a signal source event recorded in a memory.
Step 708: the streaming service sends a broadcast notification.
Step 709: the signal source display module displays the content data.
The execution manner of step 708 and step 709 is similar to that of step 704 and step 705, and is not described here again.
In steps 706-709, mainly for the passive event receiving and detecting manner, when a signal is plugged in or pulled out, the hardware interface module generates an interrupt signal, and sends the interrupt signal to the signal source control module through the driver, and further notifies the signal source display module that there is a signal input of the signal source or a signal interrupt of the signal source, and the signal source display module performs display.
It should be noted that, the execution order of each step in the embodiment of the present application is not limited, and this is only one possible example.
In step 705 or step 709, when the content data is displayed, a signal source identifier, for example, the number of paths of the signal source, is obtained from the Intent tool, and a corresponding play path is generated, a corresponding play window is newly created on the display interface, the play window corresponds to a player, and the play path is transmitted, so that the content data of the signal source can be displayed, specifically referring to fig. 8, which is a flowchart for displaying the content data of the signal source in the embodiment of the present application.
Step 800: a player is created.
Each playing window corresponds to a player, for example, a video player.
Step 801: and starting playing.
Step 802: and acquiring a play path.
Step 803: and collecting video data of the signal sources corresponding to the paths.
Step 804: returning the video data to the player.
And then the content data of each signal source can be played, if the terminal equipment accords with the video playing configuration condition, the video content is displayed, and if the terminal equipment does not accord with the low video playing configuration condition, one frame is extracted from the video data at intervals, a corresponding picture is generated, and the picture is displayed.
Based on the foregoing embodiments, the signal source display method in the embodiments of the present application is described below from a product implementation side, taking a terminal device as a television and detecting that there are 5 signal inputs of signal sources as an example, and specifically refer to fig. 9, which is an interface effect diagram displayed by the signal source in the embodiments of the present application.
As shown in fig. 9, a special signal source tag is on the home page, a display interface of the signal source tag may be used to display the content of each signal source, for example, a user switches to the signal source tag to automatically detect whether there is a signal input of the signal source, or when a signal source change signal is detected, detect an access state of the signal source, and whether there is a signal input, if it is determined that there are 5 signal inputs of the signal source, then set up 5 playing windows on the display interface, an arrangement manner of the playing windows is not limited, fig. 9 is only an example, each playing window corresponds to one signal source, acquire content data of each signal source, and display the content in each playing window, for a terminal device that does not conform to a video playing configuration condition, i.e., low configuration, display the content of the signal source in a picture manner, and can continuously update the picture, for a terminal device that conforms to a video playing configuration condition, i.e., high configuration, display the content of the signal source in a video manner, the content of multiple signal sources is displayed in a screen at the same time, the user can conveniently view the content of each signal source without switching, and further, the user can move back to the home page of the signal source from the 5 signal sources, and click the content of the display window, and return to the remote controller, and return to the home page of the remote controller, and the content of the signal source can return to the remote controller.
Therefore, the content of the signal sources can be displayed on one interface simultaneously, the method is more convenient and faster, the user can select the content of the signal source which the user wants to see more intuitively, the time is saved, and the user experience is improved.
Based on the same inventive concept, the embodiment of the present application further provides a signal source display apparatus, where the signal source display apparatus may be, for example, a terminal device in the foregoing embodiment, and supports access to multiple signal sources, and the signal source display apparatus may be a hardware structure, a software module, or a hardware structure plus a software module. Based on the foregoing embodiments, referring to fig. 10, a signal source display device in an embodiment of the present application specifically includes:
the detection module 1000 is used for responding to the operation of displaying the multi-channel signal source and detecting whether a signal of the signal source is input;
the processing module 1010 is configured to, if it is determined that there is a signal input of multiple signal sources, respectively establish a playing window corresponding to each signal source with the signal input on the display interface;
an obtaining module 1020, configured to obtain content data of each signal source respectively;
the displaying module 1030 is configured to display the content data of the corresponding signal source in each playing window respectively.
Optionally, the detection module 1000 is specifically configured to:
responding to the switching operation aiming at the set signal source label, and detecting whether a signal of a signal source is input; or, when the signal source change signal is determined to be detected, detecting the access state of the hardware interface corresponding to the signal source according to the signal source change signal, if the access state of the corresponding hardware interface is determined to be the power-on state, determining that the signal of the signal source is input, and if the access state of the corresponding hardware interface is determined to be the power-off state, determining that the signal of the corresponding signal source is not input.
Optionally, when the content data of each signal source is respectively acquired, the acquiring module 1020 is specifically configured to:
respectively acquiring the playing path of each signal source, wherein the playing path at least comprises a signal source identifier, a local streaming media server address and a local video signal source;
and respectively acquiring the content data of each signal source according to the playing path of each signal source.
Optionally, before the content data of the corresponding signal source is displayed in each playing window, the method further includes: an obtaining module 1040, configured to obtain configuration information of the apparatus;
when the content data of the corresponding signal source is displayed in each playing window, the displaying module 1030 is specifically configured to: and respectively displaying the content data of the corresponding signal source in each playing window according to the configuration information.
Optionally, when the content data of the corresponding signal source is displayed in each playing window according to the configuration information, the displaying module 1030 is specifically configured to:
if the configuration information accords with the video playing configuration condition, respectively displaying the video content of the corresponding signal source in each playing window, wherein the content data is streaming media data, and the streaming media data at least comprises video data;
if the configuration information does not accord with the video playing configuration conditions, pictures in the video data of each signal source are respectively extracted and displayed in corresponding playing windows.
Optionally, when the pictures in the video data of each signal source are respectively extracted and displayed in the corresponding playing windows, the display module 1030 is specifically configured to:
and respectively extracting the content of a frame of picture in the video data of each signal source according to a set time interval, and displaying the picture in each corresponding playing window according to the currently extracted picture content.
Optionally, when the content data of the corresponding signal source is displayed in each playing window, the displaying module 1030 is further configured to: and respectively displaying the names of the corresponding signal sources in each playing window.
Optionally, further comprising: the switching module 1050 is configured to switch to a full screen mode in response to a selection operation for any play window, and display video content of a signal source corresponding to the any play window in the full screen mode.
Optionally, if it is determined that the access state of the corresponding hardware interface is the power-down state, and it is determined that no signal is input to the corresponding signal source, the processing module 1010 is further configured to: and if the corresponding signal source is determined to have a playing window on the display interface, canceling the playing window of the corresponding signal source.
The division of the modules in the embodiment of the present application is schematic, and only one logic function division is provided, and in actual implementation, there may be another division manner, and in addition, each function module in the embodiment of the present application may be integrated in one processor, or may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Based on the above embodiments, fig. 11 is a schematic structural diagram of an electronic device in an embodiment of the present application.
An embodiment of the present application provides an electronic device, which may include a processor 1110 (CPU), a memory 1120, an input device 1130, an output device 1140, and the like, wherein the input device 1130 may include a keyboard, a mouse, a touch screen, and the like, and the output device 1140 may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
Memory 1120 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides program instructions and data stored in memory 1120 to processor 1110. In the embodiment of the present application, the memory 1120 may be used to store a program of any one of the signal source display methods in the embodiment of the present application.
The processor 1110 is configured to execute any signal source display method according to the present embodiment by calling the program instructions stored in the memory 1120, and the processor 1110 is configured to execute the signal source display method according to the obtained program instructions.
Based on the foregoing embodiments, in an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the signal source display method in any of the above method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (8)

1. A signal source display method is applied to terminal equipment supporting multi-channel signal source access, and comprises the following steps:
responding to the operation of displaying the multi-channel signal source, and detecting whether a signal of the signal source is input;
if the signal input of the multi-channel signal source is determined, respectively establishing a playing window corresponding to each signal source with the signal input on a display interface, wherein the display interface is used for simultaneously displaying the content data of each signal source with the signal input and accessed by the terminal equipment;
respectively acquiring content data of each signal source;
respectively displaying the content data of the corresponding signal source in each playing window;
before the content data of the corresponding signal source is displayed in each playing window, the method further comprises the following steps: acquiring configuration information of the terminal equipment; the displaying the content data of the corresponding signal source in each playing window respectively comprises: if the configuration information accords with the video playing configuration condition, respectively displaying the video content of the corresponding signal source in each playing window, wherein the content data is streaming media data, and the streaming media data at least comprises video data; and if the configuration information does not accord with the video playing configuration conditions, respectively extracting pictures in the video data of each signal source and displaying the pictures in each corresponding playing window.
2. The method of claim 1, wherein detecting whether a signal from a signal source is input comprises:
responding to the switching operation aiming at the set signal source label, and detecting whether a signal of a signal source is input; or the like, or, alternatively,
when the signal source change signal is determined to be detected, detecting the access state of the hardware interface corresponding to the signal source according to the signal source change signal, if the access state of the corresponding hardware interface is determined to be the power-on state, determining that the signal of the signal source is input, and if the access state of the corresponding hardware interface is determined to be the power-off state, determining that the signal of the corresponding signal source is not input.
3. The method of claim 1, wherein the obtaining the content data of the signal sources respectively comprises:
respectively acquiring the playing paths of the signal sources, wherein the playing paths at least comprise signal source identifiers, local streaming media server addresses and local video signal sources;
and respectively acquiring the content data of each signal source according to the playing path of each signal source.
4. The method of claim 1, wherein the steps of respectively extracting pictures from the video data of each signal source and displaying the pictures in each corresponding playing window comprise:
and respectively extracting the content of a frame of picture in the video data of each signal source according to a set time interval, and displaying the picture in each corresponding playing window according to the currently extracted picture content.
5. The method of claim 1, wherein when each playing window displays the content data of the corresponding signal source, further comprising:
and respectively displaying the names of the corresponding signal sources in each playing window.
6. The method of claim 1, further comprising:
and responding to the selection operation aiming at any playing window, switching to a full screen mode, and displaying the video content of the signal source corresponding to any playing window in the full screen mode.
7. The method of claim 2, wherein if it is determined that the access state of the corresponding hardware interface is a power-down state, and it is determined that the corresponding signal source has no signal input, further comprising:
and if the corresponding signal source is determined to have a playing window on the display interface, canceling the playing window of the corresponding signal source.
8. A signal source display apparatus, comprising:
the detection module is used for responding to the operation of displaying the multi-channel signal source and detecting whether a signal of the signal source is input;
the processing module is used for respectively establishing a playing window corresponding to each signal source with signal input on a display interface if the signal input of the multi-channel signal source is determined, wherein the display interface is used for simultaneously displaying the content data of each signal source with signal input and accessed by the terminal equipment;
the acquisition module is used for respectively acquiring the content data of each signal source;
the display module is used for respectively displaying the content data of the corresponding signal source in each playing window;
wherein, before the content data of the corresponding signal source is displayed in each playing window, the display module is further configured to: acquiring configuration information of the signal source display device; when the content data of the corresponding signal source is displayed in each playing window, the display module is used for: if the configuration information meets the video playing configuration conditions, video content of the corresponding signal source is displayed in each playing window respectively, wherein the content data are streaming media data, and the streaming media data at least comprise video data; and if the configuration information does not accord with the video playing configuration conditions, respectively extracting pictures in the video data of each signal source and displaying the pictures in each corresponding playing window.
CN201910600016.9A 2019-07-04 2019-07-04 Signal source display method and device Active CN112188294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910600016.9A CN112188294B (en) 2019-07-04 2019-07-04 Signal source display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910600016.9A CN112188294B (en) 2019-07-04 2019-07-04 Signal source display method and device

Publications (2)

Publication Number Publication Date
CN112188294A CN112188294A (en) 2021-01-05
CN112188294B true CN112188294B (en) 2023-04-07

Family

ID=73915150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910600016.9A Active CN112188294B (en) 2019-07-04 2019-07-04 Signal source display method and device

Country Status (1)

Country Link
CN (1) CN112188294B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573148A (en) * 2021-07-06 2021-10-29 三星电子(中国)研发中心 Method and apparatus for sharing source device of display apparatus
CN113766164B (en) * 2021-09-28 2023-04-25 海信视像科技股份有限公司 Display equipment and signal source interface display method
CN114928760B (en) * 2022-05-09 2024-04-16 海信视像科技股份有限公司 Key setting method of control device and display equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200636478A (en) * 2005-04-08 2006-10-16 Coretronic Corp Method for selecting signal sources of a display
CN1997135A (en) * 2006-01-03 2007-07-11 晨星半导体股份有限公司 Method of intelligently selecting a signal source and associated apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2408163C2 (en) * 2008-12-25 2010-12-27 Общество с ограниченной ответственностью "Стани 3Д" Method of creating and viewing stereo images with maximum spatial resolution and apparatus for realising said method (versions)
KR101677527B1 (en) * 2009-09-22 2016-11-21 삼성전자주식회사 Method and apparatus for displaying video signals from a plurality of input sources
CN102629446B (en) * 2012-03-22 2015-08-05 京东方科技集团股份有限公司 Display panel and method of controlling operation thereof thereof and display device
CN106792192B (en) * 2016-12-21 2020-03-17 深圳Tcl数字技术有限公司 Digital television multi-window playing method and device
CN106792102B (en) * 2017-01-05 2019-11-15 深圳市爱立峰科技有限公司 The method and set-top box that the multiple audio video synchronizations of set top box side homepage play
CN107682750B (en) * 2017-05-11 2020-02-18 腾讯科技(北京)有限公司 Video playing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200636478A (en) * 2005-04-08 2006-10-16 Coretronic Corp Method for selecting signal sources of a display
CN1997135A (en) * 2006-01-03 2007-07-11 晨星半导体股份有限公司 Method of intelligently selecting a signal source and associated apparatus

Also Published As

Publication number Publication date
CN112188294A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
WO2021238913A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
CN112188294B (en) Signal source display method and device
US20220400137A1 (en) Widget display method and apparatus
CN112367543B (en) Display device, mobile terminal, screen projection method and screen projection system
CN109600656B (en) Video list display method and device, terminal equipment and storage medium
EP2986013A1 (en) User terminal apparatus, display apparatus, system and control method thereof
US10728486B2 (en) Smart television playing method and device
US11861381B2 (en) Icon updating method and apparatus, and electronic device
EP4123472A1 (en) Information sharing method, apparatus, electronic device, and storage medium
US11962837B2 (en) Video update push method and terminal
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
US20140351876A1 (en) Broadcast receiver and computer program product
US10104450B2 (en) Method and device for controlling implementation of application and recording medium thereof
US20120300127A1 (en) System for managing detection of advertisements in an electronic device, for example in a digital tv decoder
CN112738620A (en) Media resource screen projection method, equipment and system
CN109922366B (en) Equipment parameter adjusting method, device, equipment and medium
CN108882004B (en) Video recording method, device, equipment and storage medium
CN111131863A (en) Token issuing method, device and system
WO2018082643A1 (en) Program list display method and system
CN111246242A (en) Searching method and device based on played video, application server and terminal equipment
CN117319736A (en) Video processing method, device, electronic equipment and storage medium
CN108093289B (en) Popularization information avoiding method and device
CN111586492A (en) Video playing method and device, client device and storage medium
CN112351340A (en) Method and device for processing public events through key distribution and set top box

Legal Events

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