CN110830761A - Television wall scene switching method and device, electronic equipment and storage medium - Google Patents

Television wall scene switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110830761A
CN110830761A CN201810911527.8A CN201810911527A CN110830761A CN 110830761 A CN110830761 A CN 110830761A CN 201810911527 A CN201810911527 A CN 201810911527A CN 110830761 A CN110830761 A CN 110830761A
Authority
CN
China
Prior art keywords
scene
output board
target output
audio
video data
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.)
Granted
Application number
CN201810911527.8A
Other languages
Chinese (zh)
Other versions
CN110830761B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810911527.8A priority Critical patent/CN110830761B/en
Priority to PCT/CN2019/099793 priority patent/WO2020030044A1/en
Publication of CN110830761A publication Critical patent/CN110830761A/en
Application granted granted Critical
Publication of CN110830761B publication Critical patent/CN110830761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The application provides a method and a device for switching scenes of a television wall, electronic equipment and a storage medium, wherein the method comprises the following steps: when a scene switching instruction for indicating that a video wall scene is switched from a first scene to a second scene is received, issuing a pre-fetching stream instruction aiming at the second scene to a first target output board; and when the prefetching stream of the first target output board is determined to be completed, issuing a display stopping instruction aiming at the first scene to the second target output board, and issuing a display starting instruction aiming at the second scene to the first target output board. The method can realize smooth switching of the television wall scene, optimize the display effect of the television wall and improve the user experience.

Description

Television wall scene switching method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to video surveillance technologies, and in particular, to a method and an apparatus for switching scenes on a video wall, an electronic device, and a storage medium.
Background
The video wall scene is composed of a plurality of front-end cameras (such as Internet Protocol Cameras (IPCs)) which decode and output images according to the arrangement of the video wall windows.
A user operates a window through a client interface of a PC (Personal Computer) end to perform wall-up operation (the window corresponds to a certain IPC), after receiving a command, a service board informs a sub-chip on a certain output board to initiate network connection to the IPC to fetch a stream, after a video code stream is fetched, the sub-chip sends the code stream to a decoding chip to decode, and finally the code stream is output to a display to perform image output display.
At present, when a video wall scene needs to be switched, taking switching from a scene a to a scene B as an example, display of all windows in the video wall scene a needs to be stopped (video images stop being output); then, the main control chip of the service board sends a command to the sub-chip of the output board to stop fetching all IPCs in the current scene, and the sub-chip sends a command to the decoding chip to stop decoding the code stream; then the service board issues the stream taking parameters of all windows of the scene B to the output board; and the sub-chip of the output board starts to fetch the stream, the decoding chip starts to decode, and finally, the image output display of all windows of the television wall scene B is started.
Practice shows that in the above-mentioned television wall scene switching scheme, the time from the time when the scene a stops displaying to the time when the scene B restarts displaying is relatively long, which results in that no image is output and displayed for a period of time during the scene switching process on the television wall, and the user experience is poor.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for switching a video wall scene, an electronic device, and a storage medium.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of an embodiment of the present application, a method for switching a video wall scene is provided, including:
when a scene switching instruction for indicating that a video wall scene is switched from a first scene to a second scene is received, issuing a pre-fetching stream instruction aiming at the second scene to a first target output board so that the first target output board pre-fetches the audio and video data of the second scene and stores the media header information of the audio and video data of the second scene;
when the fact that the prefetching of the stream of the first target output board is completed is determined, a display stopping instruction for the first scene is issued to the second target output board, and a display starting instruction for the second scene is issued to the first target output board, so that the second target output board stops outputting, fetching and decoding audio and video data for the first scene, and the first target output board decodes and outputs the audio and video data for the second scene.
According to a second aspect of the embodiments of the present application, there is provided a video wall scene switching apparatus, including:
the television wall scene switching device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a scene switching instruction used for indicating that a television wall scene is switched from a first scene to a second scene;
the sending unit is used for issuing a pre-fetching stream instruction aiming at the second scene to a first target output board so that the first target output board can pre-fetch the stream of the audio and video data of the second scene and store the media header information of the audio and video data of the second scene;
the sending unit is further configured to issue a display stop instruction for the first scene to the second target output board and issue a display start instruction for the second scene to the first target output board when it is determined that the prefetching of the stream by the first target output board is completed, so that the second target output board stops outputting, fetching and decoding of the audio and video data for the first scene, and the first target output board decodes and outputs the audio and video data for the second scene.
According to a third aspect of the embodiments of the present application, there is provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the television wall scene switching method when executing the program stored in the memory.
According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the above-mentioned steps of the video wall scene switching method.
According to a fifth aspect of the embodiments of the present application, there is provided a video wall scene switching system, including a service board and a plurality of output boards; wherein:
the service board is used for issuing a pre-fetching stream instruction aiming at a second scene to a first target output board when receiving a scene switching instruction for indicating that a video wall scene is switched from a first scene to the second scene;
the output board is used for prefetching the stream of the audio and video data of the second scene and storing the media header information of the audio and video data of the second scene when a stream prefetching instruction for the second scene is received;
the service board is further configured to issue a display stop instruction for the first scene to the second target output board and issue a display start instruction for the second scene to the first target output board when it is determined that the prefetching stream of the first target output board is completed;
the output board is further used for stopping outputting, streaming and decoding of the audio and video data for the first scene when a display stopping instruction for the first scene is received;
and the output board is also used for decoding and outputting the audio and video data of the second scene when a display starting instruction aiming at the second scene is received.
According to the television wall scene switching method, when a scene switching instruction for indicating that a television wall scene is switched from a first scene to a second scene is received, a pre-fetching stream instruction for the second scene is issued to a first target output board, so that the first target output board pre-fetches stream for audio and video data of the second scene, and media header information of the audio and video data of the second scene is stored; when the fact that the prefetching of the stream of the first target output board is completed is determined, a display stopping instruction for the first scene is issued to the second target output board, and a display starting instruction for the second scene is issued to the first target output board, so that the second target output board stops outputting, stream fetching and decoding of the audio and video data for the first scene, and the first target output board fetches, decodes and outputs the audio and video data for the second scene, smooth switching of the television wall scene is achieved, the display effect of the television wall is optimized, and user experience is improved.
Drawings
FIG. 1 is a schematic diagram of a networking architecture of a video surveillance system according to an exemplary embodiment of the present application;
fig. 2 is a flowchart illustrating a video wall scene switching method according to an exemplary embodiment of the present application;
FIG. 3 is an architectural diagram illustrating a specific application scenario according to an exemplary embodiment of the present application;
fig. 4 is a schematic structural diagram of a video wall scene switching apparatus according to an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a video wall scene switching apparatus according to another exemplary embodiment of the present application;
FIG. 6 is a diagram illustrating a hardware configuration of an electronic device according to an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a video wall scene switching system according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In order to make those skilled in the art better understand the technical solutions provided by the embodiments of the present application, a brief description is first given below of a network architecture to which the embodiments of the present application are applicable.
Referring to fig. 1, a schematic diagram of a networking architecture of a video monitoring system according to an embodiment of the present disclosure is shown in fig. 1, where the video monitoring system may include a monitoring center, a service board (including a main control chip), a plurality of output boards (including a sub-chip and a decoding chip), a plurality of front-end cameras, and a video wall (formed by splicing LCD (Liquid Crystal Display) displays or LED (Light Emitting Diode) Display units); the service board, the output board and the monitoring center are connected to a network through the switch respectively to achieve network communication.
In the video monitoring system shown in fig. 1, the monitoring center may issue a scene switching instruction to the service board to instruct the service board to perform scene switching on the television wall.
For example, the first scene of the video wall is switched to the second scene, where the first scene is a current scene of the video wall, and the second scene is a switched scene of the video wall.
When the service board receives the scene switching instruction, the output board is not controlled to stop the display of the first scene on the television wall firstly, but is controlled to pre-fetch the stream of the audio and video data of the second scene firstly, and the media header information of the audio and video data of the second scene is stored. The decoding chip can decode the same path of audio and video data according to the media header information of a certain path of audio and video data.
When the output board finishes prefetching the audio and video data of the second scene, the service board can control the output board to stop displaying the first scene on the television wall and control the output board to start displaying the second scene on the television wall.
Before the first scene display on the television wall is stopped (the first scene display on the television wall is kept), the output board prefetches streams for the audio and video data of the second scene, namely, stream fetching connection (usually TCP (Transmission Control Protocol) connection) is established with the front-end camera of the second scene, and media header information of the audio and video data of each front-end camera is stored.
In the process of switching the scenes of the television wall, the time that the television wall is in the intermediate state of the empty scene is extremely short, even the user can not perceive the time, the display effect of the television wall is optimized, and the user experience is greatly improved.
It should be noted that, in the embodiment of the present application, in an actual application scenario, the service board may be packaged and deployed in the form of a server, and the output board may be packaged and deployed in the form of an output box.
Wherein the plurality of output boards may be packaged as one or more output boxes. When multiple output boards are packaged as multiple output boxes, the multiple output boxes can be deployed in a distributed fashion.
In order to make the aforementioned objects, features and advantages of the embodiments of the present application more comprehensible, embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a schematic flow chart of a method for switching a video wall scene provided in an embodiment of the present application is shown, where the method for switching a video wall may be applied to a service board (for example, the service board in the video monitoring system shown in fig. 1), and as shown in fig. 2, the method for switching a video wall scene may include the following steps:
step S200, when a scene switching instruction for indicating that the video wall scene is switched from a first scene to a second scene is received, issuing a pre-fetching stream instruction for the second scene to a first target output board, so that the first target output board pre-fetches the audio and video data of the second scene, and storing the media header information of the audio and video data of the second scene.
In the embodiment of the application, when the service board receives a scene switching instruction for instructing the television wall scene to be switched from the first scene to the second scene, the service board does not stop the display of the first scene on the television wall first, but issues a prefetch stream instruction for the second scene to the first target output board under the condition that the display of the first scene on the television wall is maintained.
Wherein the first target output board may comprise one or more of a plurality of output boards in a video surveillance system.
In this embodiment of the application, when the sub-chip of the first target output board receives a prefetch stream instruction issued by the service board, a TCP connection may be established with a target IPC according to a stream fetching parameter (for example, an address of an IPC (hereinafter, referred to as a target IPC) corresponding to a second scene) carried in the prefetch stream instruction, and audio and video data of the second scene may be obtained from the target IPC.
When the sub-chip of the first target output board acquires the audio and video data from the target IPC, the acquired audio and video data is not transmitted to the decoding chip for decoding, but the media header information of the acquired audio and video data is stored, so that the acquired audio and video data can be decoded according to the stored media header information in the subsequent process, and the decoding efficiency of the audio and video data of the second scene in the subsequent process is improved.
It should be noted that, in this embodiment of the application, since the audio and video data of the second scene acquired by the first target output board in the pre-fetching stage is not used for decoding and displaying, the first target output board may store the media header information of the audio and video data of the second scene acquired in the pre-fetching stage, and discard the audio and video data of the main body, so as to save the storage space.
Step S210, when it is determined that the prefetching stream of the first target output board is completed, issuing a display stop instruction for the first scene to the second target output board, and issuing a display start instruction for the second scene to the first target output board, so that the second target output board stops outputting, fetching and decoding the audio and video data for the first scene, and the first target output board decodes and outputs the audio and video data for the second scene.
In the embodiment of the application, the first target output board establishes a TCP connection with the corresponding target IPC, and when the audio and video data including the media header information is acquired from the corresponding target IPC, a prefetch stream completion response message may be sent to the service board.
When the service board receives all the prefetch stream completion response messages sent by the first target output board, the service board may determine that the first target output board prefetches stream completion.
For example, assuming that the first target output board includes output boards 1 to 3, and the target IPCs include IPCs 1 to 4, the service board may issue a prefetch stream instruction carrying address information of IPCs 1 and IPCs 2 to the output board 1, issue a prefetch stream instruction carrying an address of IPC3 to the output board 2, and issue a prefetch stream instruction carrying an address of IPC4 to the output board 3.
When receiving the prefetch stream instruction, the output board 1 may establish TCP connections with IPCs 1 and IPCs 2, respectively, and obtain audio and video data streams from IPCs 1 and IPCs 2, respectively, and when the output board 1 obtains audio and video data streams containing media header information from both IPCs 1 and IPCs 2, the output board 1 may send a prefetch stream completion response message to the service board.
Similarly, when the output board 2 establishes TCP connection with the IPC3 and acquires the audio and video data stream containing the media header information from the IPC3, the output board 2 may send a prefetch stream completion response message to the service board;
when the output board 3 establishes a TCP connection with IPC4 and acquires the audio-video data stream containing the media header information from IPC4, the output board 3 may send a prefetch stream complete response message to the service board.
When the service board receives the prefetch stream completion response messages sent by output board 1, output board 2, and output board 3, the service board may determine that the first target output board prefetch stream is complete.
In the embodiment of the application, when the service board determines that the prefetching stream of the first target output board is completed, on one hand, the service board may issue a display stopping instruction for the first scene to the second target output board, so that the second target output board stops outputting, fetching and decoding audio and video data for the first scene; and on the other hand, a display starting instruction for the second scene can be issued to the first target output board, so that the first target output board decodes and outputs the audio and video data of the second scene, and the television wall is switched from the first scene to the second scene.
The second target output board is an output board used for acquiring the audio and video data of the first scene, decoding and outputting the acquired audio and video data of the first scene, and may include one or more output boards in a plurality of output boards in the video monitoring system.
It can be seen that, in the method flow shown in fig. 2, when a scene switching instruction is received, the output board is controlled to perform pre-fetching of the audio and video data of the second scene under the condition that the display of the audio and video data of the first scene on the television wall is maintained, and when the output board completes the pre-fetching of the audio and video data of the second scene, the output board is controlled to stop the display of the first scene on the television wall and to start the display of the second scene on the television wall. The output board prefetches the stream of the audio and video data of the second scene before the display of the first scene on the television wall is stopped, and then when the audio and video data of the second scene need to be displayed on the wall, the output board can decode and output quickly, so that the transition time in the switching process of the television wall scenes is greatly reduced, the smooth switching of the television wall scenes is realized, the display effect of the television wall is optimized, and the user experience is greatly improved.
Further, in the embodiment of the present application, when the display of the second scene on the video wall needs to be started, the audio and video data stream of the acquired second scene needs to be decoded, and at this time, decoding resources need to be allocated for the second scene to implement code stream decoding.
Considering that when the audio and video data of the second scene needs to be decoded, selecting and allocating decoding resources for the second scene takes a certain time, if the decoding resources of the second scene are determined in advance, the efficiency of switching the video wall scene can be further improved.
Correspondingly, in one embodiment of the present application, before issuing the display stop instruction for the first scene to the second target output board and issuing the display start instruction for the second scene to the first target output board, the method may further include:
decoding resources are pre-allocated for the second scene.
In this embodiment, when the service board receives the scene switching instruction, in addition to controlling the first target output board to perform the pre-fetching stream on the second scene in the manner described in step S200, the video wall may also be controlled to stop the display of the first scene, and to pre-allocate decoding resources for the second scene before starting the display of the second scene.
The service board can use all normal decoding chips (including the decoding chip used by the first scene) in the video monitoring system as available decoding resources, and pre-allocate the decoding resources for the second scene from the available decoding resources.
It should be noted that, in this embodiment, for the decoding resource pre-allocated to the second scene, before the service board controls the television wall to display the second scene, the audio/video data of the second scene is not decoded (i.e., the audio/video data of the second scene acquired in the pre-fetching stage is not decoded).
Further, in the embodiment of the present application, it is considered that one decoding chip can decode multiple code streams obtained from the IPC, and using one decoding chip as a decoding resource of one code stream of the IPC only causes resource waste, so in order to improve resource utilization, one decoding chip may be divided into multiple decoding resources, and each decoding resource may be used for decoding one code stream of the IPC.
For example, for one decoding chip, the decoding chip may be divided into 8 decoding resources, when the video monitoring system includes 5 output boards and 1 decoding chip is deployed on 1 output board, 40 decoding resources may coexist in the video monitoring system, and when the decoding resources need to be pre-allocated, the 40 decoding resources may all be available decoding resources.
In one embodiment of the present application, the issuing a display stop instruction for a first scene to a second target output board and issuing a display start instruction for a second scene to the first target output board may include:
issuing an audio/video data output stop instruction to a second target output board to enable the second target output board to stop outputting the audio/video data of the first scene;
issuing a decoding resource recovery instruction to a second target output board, and issuing a decoding instruction aiming at a second scene to a first target output board so as to enable the second target to output and release decoding resources and enable the first target output board to decode audio and video data of the second scene by using the allocated decoding resources;
and issuing an audio and video data output instruction aiming at the second scene to the first target output board, and issuing a stream fetching stopping instruction aiming at the first scene to the second target output board so as to enable the first target output board to output the audio and video data of the second scene and enable the second target output board to stop fetching the stream of the audio and video data of the first scene.
In this embodiment, in order to further improve the efficiency of switching the video wall scenes and reduce the time of the empty scenes in the scene switching process, the service board may stop the display of the first scene of the video wall and start the display of the second scene in the sequence of stopping and clearing the audio and video data output of all windows of the first scene → switching the decoding resources, closing the decoding of the first scene, and starting the decoding of the second scene → starting the audio and video data output of all windows of the second scene, and stopping the stream fetching of the first scene, which may be described below with reference to specific examples.
It should be noted that, in this embodiment of the application, when the first target output board includes a plurality of output boards, in order to ensure the display effect of the television wall, when the service board issues a streaming instruction, a decoding instruction, or an audio/video data output instruction to the first target output board, the batch interface may be used to ensure that the instruction can be synchronously sent to each first target output board.
In order to enable those skilled in the art to better understand the technical solutions provided in the embodiments of the present application, the following describes the technical solutions provided in the embodiments of the present application with reference to specific application scenarios.
Referring to fig. 3, an architectural schematic diagram of a specific application scenario provided in the embodiment of the present application is shown in fig. 3, where in the application scenario, a monitoring center is taken as a PC client, a front-end camera is taken as an example, and output boards 1 to n are deployed in a distributed deployment manner.
Based on the application scenario shown in fig. 3, the implementation flow of the video wall scenario switching scheme provided in the embodiment of the present application is as follows (taking the example that the video wall scenario is switched from scenario a (i.e., the first scenario is scenario a) to scenario B (i.e., the second scenario is scenario B)):
1. pre-allocating decoding resources of a scene B, decoding one path of code stream acquired from IPC by using one decoding resource: and marking the resources used by the scene A as available decoding resources, forming currently available decoding resources with the remaining decoding resources, and selecting the decoding resources from the currently available decoding resources to be pre-allocated to the scene B. The resource pre-allocation process is completed on a main control chip of the service board.
Assuming that each decoding chip has 8 decoding resources and 5 decoding chips in total (assuming that 1 output board has 1 decoding chip), 40 decoding resources in total exist, and when decoding resource pre-allocation is performed, the 40 decoding resources can be used as currently available decoding resources.
2. Issuing a prefetch stream instruction, starting scene B prefetch stream: when the sub-chip of the output board receives the pre-fetching stream instruction, the pre-fetching stream is carried out on the audio and video data of the scene B under the condition that the scene A of the television wall is kept to be displayed, and the obtained code stream stores the media header information of the code stream.
In this embodiment, before receiving the decoding instruction, the sub-chip of the output board may discard the main data of the acquired audio/video data of the scene B (i.e., only the media header information needs to be saved).
The time for establishing the stream fetching connection and acquiring the media header information is hidden in the process of displaying the scene A on the television wall in a stream pre-fetching mode so as to smoothly switch the subsequent decoding resources, thereby achieving the effect of no stop of audio and video data output in the scene switching process and eliminating the intermediate state of the hollow scene in the scene switching process.
3. Stopping audio and video data output of the scene A: after the sub-chip starts the pre-fetching stream of the scene B, the output of the audio and video data of the scene A can be stopped.
4. Clearing the decoding resources of the scene A and starting the decoding of the scene B: and (3) the main control chip of the service board performs resource recovery on the decoding resources used by the scene A and allocates the decoding resources pre-allocated in the step (1) to the scene B.
In this embodiment, when the sub-chip receives a decoding instruction issued by the main control chip of the service board, the acquired audio/video data of the scene B may be transmitted to the decoding chip corresponding to the allocated decoding resource, so as to decode the audio/video data of the scene B.
Therefore, by pre-allocation of decoding resources, the code stream decoding is directly switched from the scene A to the code stream taken from the scene B for decoding on the premise of not stopping decoding.
5. And starting audio and video data output of the scene B, and stopping stream taking of the scene A.
Because the instruction execution time for stopping audio and video data output and starting audio and video data output is very short (almost negligible), under the condition of not stopping scene A decoding and displaying, the audio and video data of scene B are firstly pre-fetched but not decoded (only fetching the stream does not occupy decoding resources), and the fetched code stream only retains media head information (the media head information is used for distinguishing the type, code rate and the like of the code stream), so that the audio and video data of scene B can be rapidly decoded subsequently, and all main data are discarded. And when the pre-fetching stream of the scene B is finished, stopping displaying and decoding resources of the scene A, simultaneously switching the decoding resources to the scene B for decoding the code stream, starting audio and video data output of the scene B and stopping the stream fetching of the scene A, and realizing smooth switching from the scene A to the scene B.
In the embodiment of the application, when a scene switching instruction for indicating that a video wall scene is switched from a first scene to a second scene is received, a pre-fetching stream instruction for the second scene is issued to a first target output board, so that the first target output board pre-fetches stream for audio and video data of the second scene, and media header information of the audio and video data of the second scene is stored; when the fact that the prefetching of the stream of the first target output board is completed is determined, a display stopping instruction for the first scene is issued to the second target output board, and a display starting instruction for the second scene is issued to the first target output board, so that the second target output board stops outputting, stream fetching and decoding of the audio and video data for the first scene, and the first target output board fetches, decodes and outputs the audio and video data for the second scene, smooth switching of the television wall scene is achieved, the display effect of the television wall is optimized, and user experience is improved.
The methods provided herein are described above. The following describes the apparatus provided in the present application:
referring to fig. 4, a schematic structural diagram of a video wall scene switching apparatus provided in an embodiment of the present application is shown, where the video wall scene switching apparatus may be applied to a service board in the foregoing method embodiment, and as shown in fig. 4, the video wall scene switching apparatus may include:
a receiving unit 410, configured to receive a scene switching instruction for instructing to switch a video wall scene from a first scene to a second scene;
a sending unit 420, configured to issue a prefetch stream instruction for the second scene to a first target output board, so that the first target output board prefetches audio and video data of the second scene and stores media header information of the audio and video data of the second scene;
the sending unit 420 is further configured to issue a display stop instruction for the first scene to the second target output board and issue a display start instruction for the second scene to the first target output board when it is determined that the prefetching of the stream by the first target output board is completed, so that the second target output board stops outputting, fetching and decoding the audio and video data for the first scene, and the first target output board decodes and outputs the audio and video data for the second scene.
In an alternative embodiment, as shown in fig. 5, the video wall scene switching apparatus further includes:
a resource allocation unit 430, configured to pre-allocate decoding resources for the second scene.
In an optional implementation manner, the sending unit 420 is specifically configured to issue an audio/video data output stop instruction to the second target output board, so that the second target output board stops outputting the audio/video data of the first scene;
issuing a decoding resource recovery instruction to the second target output board, and issuing a decoding instruction for the second scene to the first target output board so as to enable the second target to output and release decoding resources and enable the first target output board to decode audio and video data of the second scene by using the allocated decoding resources;
and issuing an audio and video data output instruction aiming at the second scene to the first target output board, and issuing a stream fetching stopping instruction aiming at the first scene to the second target output board so as to enable the first target output board to output the audio and video data of the second scene and enable the second target output board to stop fetching the audio and video data of the first scene.
In an alternative embodiment, the first target output board comprises one or more of a plurality of output boards deployed in a distributed manner;
the second target output board comprises one or more of a plurality of output boards in a distributed deployment.
In an alternative embodiment, one decoding chip on the output board is divided into multiple decoding resources
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. The electronic device may include a processor 601, a communication interface 602, a memory 603, and a communication bus 604. The processor 601, the communication interface 602, and the memory 603 communicate with each other via a communication bus 604. Wherein, the memory 603 is stored with a computer program; the processor 601 may execute the program stored in the memory 603 to execute the video wall scene switching method described in the above method flow.
The memory 603 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the memory 602 may be: RAM (random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, dvd, etc.), or similar storage medium, or a combination thereof.
The embodiment of the present application also provides a machine-readable storage medium, such as the memory 603 in fig. 6, storing a computer program, which can be executed by the processor 601 in the electronic device shown in fig. 6 to implement the above-described video wall scene switching method.
Referring to fig. 7, a schematic structural diagram of a video wall scene switching system according to an embodiment of the present disclosure is shown in fig. 7, where the video wall scene switching system may include a service board 710 and a plurality of output boards 720; wherein:
the service board 710 is configured to issue a prefetch stream instruction for a second scene to a first target output board when receiving a scene switching instruction for instructing to switch a video wall scene from a first scene to the second scene;
the output board 720 is configured to, when a prefetch stream instruction for the second scene is received, prefetch streams for the audio and video data of the second scene, and store media header information of the audio and video data of the second scene;
the service board 7110 is further configured to issue a display stop instruction for the first scene to the second target output board and issue a display start instruction for the second scene to the first target output board when it is determined that the prefetching stream of the first target output board is completed;
the output board 720 is further configured to stop outputting, streaming and decoding of the audio and video data for the first scene when a stop display instruction for the first scene is received;
the output board 720 is further configured to decode and output the audio/video data of the second scene when a display start instruction for the second scene is received.
The service board 710 and the output board 720 may implement the tv wall scene switching in the manner described in the above method embodiments.
It is noted that, herein, 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 above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (13)

1. A method for switching scenes of a television wall is characterized by comprising the following steps:
when a scene switching instruction for indicating that a video wall scene is switched from a first scene to a second scene is received, issuing a pre-fetching stream instruction aiming at the second scene to a first target output board so that the first target output board pre-fetches the audio and video data of the second scene and stores the media header information of the audio and video data of the second scene;
when the fact that the prefetching of the stream of the first target output board is completed is determined, a display stopping instruction for the first scene is issued to the second target output board, and a display starting instruction for the second scene is issued to the first target output board, so that the second target output board stops outputting, fetching and decoding audio and video data for the first scene, and the first target output board decodes and outputs the audio and video data for the second scene.
2. The method according to claim 1, wherein before issuing a stop display instruction for the first scene to the second target output board and issuing an open display instruction for the second scene to the first target output board, further comprising:
and pre-allocating decoding resources for the second scene.
3. The method of claim 1, wherein issuing a stop display instruction for the first scene to the second target output board and issuing an open display instruction for the second scene to the first target output board comprises:
issuing an audio/video data output stop instruction to the second target output board to enable the second target output board to stop outputting the audio/video data of the first scene;
issuing a decoding resource recovery instruction to the second target output board, and issuing a decoding instruction for the second scene to the first target output board so as to enable the second target to output and release decoding resources and enable the first target output board to decode audio and video data of the second scene by using the allocated decoding resources;
and issuing an audio and video data output instruction aiming at the second scene to the first target output board, and issuing a stream fetching stopping instruction aiming at the first scene to the second target output board so as to enable the first target output board to output the audio and video data of the second scene and enable the second target output board to stop fetching the audio and video data of the first scene.
4. The method of any of claims 1-3, wherein the first target output board comprises one or more of a plurality of output boards in a distributed deployment;
the second target output board comprises one or more of a plurality of output boards in a distributed deployment.
5. A method as claimed in claims 1-3, characterized in that one decoding chip on the output board is divided into a plurality of decoding resources.
6. A video wall scene switching apparatus, comprising:
the television wall scene switching device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a scene switching instruction used for indicating that a television wall scene is switched from a first scene to a second scene;
the sending unit is used for issuing a pre-fetching stream instruction aiming at the second scene to a first target output board so that the first target output board can pre-fetch the stream of the audio and video data of the second scene and store the media header information of the audio and video data of the second scene;
the sending unit is further configured to issue a display stop instruction for the first scene to the second target output board and issue a display start instruction for the second scene to the first target output board when it is determined that the prefetching of the stream by the first target output board is completed, so that the second target output board stops outputting, fetching and decoding of the audio and video data for the first scene, and the first target output board decodes and outputs the audio and video data for the second scene.
7. The apparatus of claim 6, further comprising:
and the resource allocation unit is used for pre-allocating decoding resources for the second scene.
8. The apparatus of claim 6,
the transmitting unit is specifically configured to issue an audio/video data output stop instruction to the second target output board, so that the second target output board stops outputting the audio/video data of the first scene;
issuing a decoding resource recovery instruction to the second target output board, and issuing a decoding instruction for the second scene to the first target output board so as to enable the second target to output and release decoding resources and enable the first target output board to decode audio and video data of the second scene by using the allocated decoding resources;
and issuing an audio and video data output instruction aiming at the second scene to the first target output board, and issuing a stream fetching stopping instruction aiming at the first scene to the second target output board so as to enable the first target output board to output the audio and video data of the second scene and enable the second target output board to stop fetching the audio and video data of the first scene.
9. The apparatus of any of claims 6-8, wherein the first target output board comprises one or more of a plurality of output boards in a distributed deployment;
the second target output board comprises one or more of a plurality of output boards in a distributed deployment.
10. The apparatus of any one of claims 6-8, wherein one decoding chip on the output board is divided into multiple decoding resources.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
13. A television wall scene switching system is characterized by comprising a service board and a plurality of output boards; wherein:
the service board is used for issuing a pre-fetching stream instruction aiming at a second scene to a first target output board when receiving a scene switching instruction for indicating that a video wall scene is switched from a first scene to the second scene;
the output board is used for prefetching the stream of the audio and video data of the second scene and storing the media header information of the audio and video data of the second scene when a stream prefetching instruction for the second scene is received;
the service board is further configured to issue a display stop instruction for the first scene to the second target output board and issue a display start instruction for the second scene to the first target output board when it is determined that the prefetching stream of the first target output board is completed;
the output board is further used for stopping outputting, streaming and decoding of the audio and video data for the first scene when a display stopping instruction for the first scene is received;
and the output board is also used for decoding and outputting the audio and video data of the second scene when a display starting instruction aiming at the second scene is received.
CN201810911527.8A 2018-08-10 2018-08-10 Television wall scene switching method, device and system, electronic equipment and storage medium Active CN110830761B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810911527.8A CN110830761B (en) 2018-08-10 2018-08-10 Television wall scene switching method, device and system, electronic equipment and storage medium
PCT/CN2019/099793 WO2020030044A1 (en) 2018-08-10 2019-08-08 Video-wall scene switching method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810911527.8A CN110830761B (en) 2018-08-10 2018-08-10 Television wall scene switching method, device and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110830761A true CN110830761A (en) 2020-02-21
CN110830761B CN110830761B (en) 2020-12-29

Family

ID=69413969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810911527.8A Active CN110830761B (en) 2018-08-10 2018-08-10 Television wall scene switching method, device and system, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110830761B (en)
WO (1) WO2020030044A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382196A (en) * 2020-02-25 2021-09-10 杭州海康消防科技有限公司 Scene switching method, system and device and video comprehensive processing platform

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102302A (en) * 2006-07-04 2008-01-09 北京江南天安科技有限公司 Multi-channel audio and video signal output switcher and audio and video monitoring system and its switching method
CN102801956A (en) * 2012-04-28 2012-11-28 武汉兴图新科电子股份有限公司 Network video monitoring device and method
CN103458292A (en) * 2013-08-30 2013-12-18 小米科技有限责任公司 Method and device for displaying video data of input source
CN104519372A (en) * 2014-12-19 2015-04-15 深圳市九洲电器有限公司 Switching method and switching system for streaming media playing
US20150147731A1 (en) * 2013-05-15 2015-05-28 Julia Pavlovna Astafiev Shifting visual attention between multiple video displays to train attention and memory
CN106792120A (en) * 2017-02-07 2017-05-31 青岛海信电器股份有限公司 The display methods of video pictures, device and terminal
CN107465884A (en) * 2017-09-15 2017-12-12 广州视源电子科技股份有限公司 Switching method and device, the intelligent television and storage medium of TV signal
CN107888846A (en) * 2017-11-08 2018-04-06 深圳Tcl数字技术有限公司 The signal method for previewing and television set of new access information source

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102302A (en) * 2006-07-04 2008-01-09 北京江南天安科技有限公司 Multi-channel audio and video signal output switcher and audio and video monitoring system and its switching method
CN102801956A (en) * 2012-04-28 2012-11-28 武汉兴图新科电子股份有限公司 Network video monitoring device and method
US20150147731A1 (en) * 2013-05-15 2015-05-28 Julia Pavlovna Astafiev Shifting visual attention between multiple video displays to train attention and memory
CN103458292A (en) * 2013-08-30 2013-12-18 小米科技有限责任公司 Method and device for displaying video data of input source
CN104519372A (en) * 2014-12-19 2015-04-15 深圳市九洲电器有限公司 Switching method and switching system for streaming media playing
CN106792120A (en) * 2017-02-07 2017-05-31 青岛海信电器股份有限公司 The display methods of video pictures, device and terminal
CN107465884A (en) * 2017-09-15 2017-12-12 广州视源电子科技股份有限公司 Switching method and device, the intelligent television and storage medium of TV signal
CN107888846A (en) * 2017-11-08 2018-04-06 深圳Tcl数字技术有限公司 The signal method for previewing and television set of new access information source

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382196A (en) * 2020-02-25 2021-09-10 杭州海康消防科技有限公司 Scene switching method, system and device and video comprehensive processing platform
CN113382196B (en) * 2020-02-25 2022-06-03 杭州海康消防科技有限公司 Scene switching method, system and device and video comprehensive processing platform

Also Published As

Publication number Publication date
CN110830761B (en) 2020-12-29
WO2020030044A1 (en) 2020-02-13

Similar Documents

Publication Publication Date Title
US10225613B2 (en) Method and apparatus for video playing processing and television
US20160353160A1 (en) Smart terminal as well as fast channel switching method and device thereof
US9609270B2 (en) Method for performing a video talk enhancement function and an electric device having the same
CN111147947A (en) Websocket-based flv video transmission and webpage playing method
US9525892B2 (en) Video image distribution method
JP2006115046A (en) Video image distribution apparatus and client
CN114442971A (en) Wireless screen projection method, mobile device and computer readable storage medium
CN108174280A (en) A kind of online playback method of audio and video and system
CN110024395A (en) Image real time transfer, transmission method and controlling terminal
EP2903260A1 (en) Multi-speed playing method, device and system
CN110830761B (en) Television wall scene switching method, device and system, electronic equipment and storage medium
CN107920281A (en) A kind of network direct broadcasting video loading method and terminal
CN105635613B (en) A kind of record screen method and apparatus of mobile device
CN105635128B (en) System and method for video streaming
CN114363643B (en) Intelligent high-speed large-screen real-time video stream playing method and device
US10674188B2 (en) Playback apparatus, method of controlling playback apparatus, playback method and server apparatus
CN112243136A (en) Content playing method, video storage method and equipment
CN113709518B (en) Real-time video transmission mode design method based on RTSP protocol
KR101711510B1 (en) Control system and method for displaying image data from IP cameras
CN115278319A (en) Screen projection data transmission method and device, electronic equipment and storage medium
CN110308975B (en) Play starting method and device for player
US11303692B2 (en) Communication apparatus for transmitting response, communication method, and storage medium
JP2003046945A (en) Preprocessing and postprocessing method for effective image processing, and preprocessing and postprocessing system using the method
JP6436762B2 (en) Information processing apparatus and service providing method
CN116170622A (en) Audio and video playing method, device, equipment and medium

Legal Events

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