WO2020030044A1 - 电视墙场景切换方法、装置、电子设备及存储介质 - Google Patents
电视墙场景切换方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2020030044A1 WO2020030044A1 PCT/CN2019/099793 CN2019099793W WO2020030044A1 WO 2020030044 A1 WO2020030044 A1 WO 2020030044A1 CN 2019099793 W CN2019099793 W CN 2019099793W WO 2020030044 A1 WO2020030044 A1 WO 2020030044A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- scene
- target output
- output board
- instruction
- video data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/268—Signal distribution or switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Definitions
- the present application relates to video surveillance technology, and in particular, to a method, a device, an electronic device, and a storage medium for switching a TV wall scene.
- the TV wall scene is composed of multiple front-end cameras (such as IPC (Internet Protocol Camera) to decode and output images according to the arrangement of the TV wall window.
- IPC Internet Protocol Camera
- the user operates a window through the client interface on the PC (Personal Computer) terminal (the window corresponds to a certain IPC).
- the server board receives the command, it notifies the sub-chip on a certain output board to initiate the IPC.
- the network connection fetches the stream.
- the sub-chip sends the stream to the decoding chip for decoding, and finally outputs it to the display for image output display.
- the present application provides a TV wall scene switching method, device, electronic device and storage medium.
- a method for switching a TV wall scene including:
- a prefetch stream instruction for the second scene is issued to a first target output board, so that the first A target output board pre-fetches the audio and video data of the second scene, and saves the media header information of the audio and video data of the second scene;
- a stop display instruction for the first scene is issued to the second target output board, and the target output board is issued for the first target output board.
- a display enable instruction for the second scene so that the second target output board stops outputting, fetching, and decoding audio and video data for the first scene, and causes the first target output board to output the second target output board.
- the audio and video data of the scene are decoded and output.
- a television wall scene switching device including:
- a receiving unit configured to receive a scene switching instruction for instructing to switch a TV wall scene from a first scene to a second scene;
- a sending unit configured to send a prefetch stream instruction for the second scene to the first target output board, so that the first target output board prefetches the audio and video data of the second scene, and Save media header information of the audio and video data of the second scene;
- the sending unit is further configured to, when it is determined that the pre-fetching flow of the first target output board is completed, send a stop display instruction for the first scene to the second target output board, and send the first display output stop command to the first target output board.
- the target output board issues an open display instruction for the second scene, so that the second target output board stops outputting, streaming, and decoding audio and video data for the first scene, and makes the first The target output board decodes and outputs audio and video data of the second scene.
- a scene switching method including:
- a prefetch stream instruction for the second scene is issued, and the prefetch stream instruction is used for the second scene. Pre-fetch the audio and video data of the scene;
- a stop display instruction for the first scene is issued, and an open display instruction for the second scene is issued, and the stop display instruction is used to stop The output, streaming, and decoding of the audio and video data of the first scene, and the display enable instruction is used to decode and output the audio and video data of the second scene.
- an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
- the processor is configured to implement the foregoing method steps when executing a program stored in the memory.
- a computer-readable storage medium stores a computer program, and the computer program implements the foregoing method steps when executed by a processor.
- a television wall scene switching system including a service board and multiple output boards, where the multiple output boards include one or more first target output boards and one or more first boards.
- Two target output boards of which:
- the service board is configured to, when receiving a scene switching instruction instructing to switch a TV wall scene from a first scene to a second scene, issue a pre-plan for the second scene to the first target output board.
- the first target output board is configured to pre-fetch the audio and video data of the second scene when a pre-fetch instruction for the second scene is received, and save the audio of the second scene.
- Media header information of video data
- the service board is further configured to, when it is determined that the pre-fetching flow of the first target output board is completed, send a stop display instruction for the first scene to the second target output board, and send the first display output stop command to the first target output board.
- the target output board issues an open display instruction for the second scene;
- the second target output board is further configured to stop outputting, streaming, and decoding audio and video data for the first scene when receiving a stop display instruction for the first scene;
- the first target output board is further configured to decode and output audio and video data of the second scene when a display start instruction for the second scene is received.
- FIG. 1 is a schematic diagram of a network architecture of a video surveillance system according to an exemplary embodiment of the present application
- FIG. 2 is a schematic flowchart of a video wall scene switching method according to an exemplary embodiment of the present application
- FIG. 3 is a schematic structural diagram of a specific application scenario shown in an exemplary embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a video wall scene switching device according to an exemplary embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a video wall scene switching device according to another exemplary embodiment of the present application.
- FIG. 6 is a schematic diagram of a hardware structure 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.
- a method for scene switching provided in the embodiment of the present application, wherein the method for scene switching can be applied to a controller. It should be noted that the method can also be applied to, for example, an integrated platform or a decoder having functions such as streaming, decoding and output. Other equipment.
- the controller may include a main control chip, a stream taking unit, a decoding unit, and an output unit.
- the scene switching method provided in the embodiment of the present application may include the following steps:
- Step 1 When receiving a scene switching instruction that instructs the scene to be switched from the first scene to the second scene, the controller issues a prefetch stream instruction for the second scene, and the prefetch stream instruction is used for the second scene. Pre-fetch the audio and video data of the scene;
- the main control chip when the main control chip receives a scene switching instruction for instructing the scene to switch from the first scene to the second scene, the main control chip does not stop the display of the first scene first, but keeps the first When a scene is displayed, a pre-fetch instruction for the second scene is issued to the stream taking unit corresponding to the second scene, so that the stream taking unit corresponding to the second scene pre-fetches the audio and video data of the second scene. flow.
- the controller may save the data obtained in the pre-fetching stream stage.
- Media header information of the audio and video data of the second scene and discard the audio and video data of the subject to save storage space.
- Step 2 When it is determined that the prefetch flow for the second scene is completed, a stop display instruction for the first scene is issued, and a start display instruction for the second scene is issued, and the stop display instruction is used to stop the first scene.
- the display enable instruction is used to decode and output the audio and video data of the second scene.
- the main control chip when the main control chip determines that the pre-fetching of the stream taking unit corresponding to the second scene is completed, on the one hand, the main control chip may issue a stop display instruction for the first scene, so that the output corresponding to the first scene is output.
- the unit, the stream fetching unit and the decoding unit stop the output, streaming and decoding of the audio and video data of the first scene; on the other hand, the main control chip can issue an open display instruction for the second scene to enable the corresponding decoding of the second scene
- the unit and the output unit decode and output the audio and video data of the second scene, so that the scene is switched from the first scene to the second scene.
- the streaming unit corresponding to the second scene is controlled to pre-fetch the audio and video data of the second scene, and when the When pre-fetching the audio and video data of the second scene, the display of the first scene is stopped and the display of the second scene is started. Because the streaming unit corresponding to the second scene has pre-fetched the audio and video data of the second scene before the display of the first scene is stopped, the audio and video data of the second scene can be quickly decoded and output. It greatly reduces the transition time during scene switching, realizes smooth switching of scenes, and greatly improves the user experience.
- the display of the second scene when the display of the second scene is turned on, the acquired audio and video data stream of the second scene is decoded, and at this time, a decoding resource is allocated to the second scene to implement code stream decoding. .
- determining the decoding resources of the second scene in advance can further improve the efficiency of scene switching.
- the method before issuing the stop display instruction for the first scene and the start display instruction for the second scene, the method may further include: pre-allocating decoding resources for the second scene.
- all the decoding units (including the decoding unit used in the first scene) in the controller may be used as available decoding resources, and the second scene is pre-allocated with decoding resources from the available decoding resources.
- One decoding unit can be divided into multiple decoding resources.
- the issuing of the stop display instruction for the first scene and the start display instruction for the second scene may include:
- a decoding resource recycling instruction for the first scene is issued, and a decoding instruction for the second scene is issued.
- the decoding resource recycling instruction is used to release the decoding resource of the first scene, and the decoding instruction is used to use the allocated decoding resource pair. Decode the audio and video data of the second scene;
- the audio and video data output instruction is used to output audio and video data for the second scene
- the stop streaming instruction It is used to stop the streaming of the audio and video data of the first scene.
- the controller may stop and clear the audio and video data output of all windows of the first scene ⁇ switch decoding resources, turn off decoding of the first scene, and turn on decoding of the second scene ⁇ open all windows of the second scene
- the audio and video data is output, and the order of streaming the first scene is stopped, the display of the first scene is stopped, and the display of the second scene is turned on to further improve the efficiency of scene switching and reduce the time of empty scenes during the scene switching.
- FIG. 1 is a schematic diagram of a network architecture of a video monitoring system according to an embodiment of the present application.
- the video monitoring system may include a monitoring center, a service board (including a main control chip), and multiple outputs.
- the monitoring center may send a scene switching instruction to the service board to instruct the service board to perform scene switching on the TV wall.
- the TV wall is switched from the first scene to the second scene as an example, where the first scene is the current scene of the TV wall and the second scene is the scene after the TV wall is switched.
- the service board When the service board receives the scene switching instruction, it will not first control the output board to stop the display of the first scene on the TV wall, but will first control the output board to pre-fetch the audio and video data of the second scene and save the second Media header information of the scene's audio and video data.
- the media header information of the audio and video data is used to distinguish the type and bit rate of the code stream.
- the decoding chip can decode the audio and video data of the same channel according to the media header information of the audio and video data of a certain channel.
- the service board may control the output board to stop the display of the first scene on the TV wall, and control the output board to turn on the display of the second scene on the TV wall.
- the output board has pre-fetched the audio and video data of the second scene, that is, the front end of the second scene
- the camera establishes a streaming connection (usually a TCP (Transmission Control Protocol) connection) and saves the media header information of the audio and video data of each front-end camera. Therefore, when the audio and video data of the second scene is uploaded, When the wall is displayed, the output board can quickly decode and output, which greatly reduces the transition time during the TV wall scene switching process, and realizes the smooth switching of the TV wall scene.
- TCP Transmission Control Protocol
- the time during which the TV wall is in the middle of the empty scene is extremely short, which can even make the user undetectable, optimize the display effect of the TV wall, and greatly improve the user experience.
- the service board may be packaged and deployed as a server, and the output board may be packaged and deployed as an output box.
- multiple output boards can be packaged as one or more output boxes.
- the multiple output boxes can be deployed in a distributed manner.
- FIG. 2 is a schematic flowchart of a television wall scene switching method according to an embodiment of the present application.
- the television wall switching method can be applied to a service board (such as a service board in a video monitoring system shown in FIG. 1).
- the TV wall scene switching method may include the following steps:
- Step S200 When receiving a scene switching instruction for instructing to switch the TV wall scene from the first scene to the second scene, issue a prefetch stream instruction for the second scene to the first target output board, so that the first The target output board pre-fetches the audio and video data of the second scene, and saves the media header information of the audio and video data of the second scene.
- the service board when the service board receives a scene switching instruction for instructing the TV wall scene to be switched from the first scene to the second scene, the service board does not first stop the display of the first scene on the TV wall, but instead While maintaining the display of the first scene on the TV wall, a prefetch stream instruction for the second scene is issued to the first target output board.
- the first target output board may include one or more output boards among a plurality of output boards in a video surveillance system.
- the sub-chip of the first target output board when the sub-chip of the first target output board receives the prefetching stream instruction issued by the service board, it may be based on the stream taking parameters carried in the prefetching stream instruction (such as the IPC corresponding to the second scenario (under The address referred to herein as the target IPC) establishes a TCP connection with the target IPC, and obtains audio and video data of the second scene from the target IPC.
- the stream taking parameters carried in the prefetching stream instruction such as the IPC corresponding to the second scenario (under The address referred to herein as the target IPC) establishes a TCP connection with the target IPC, and obtains audio and video data of the second scene from the target IPC.
- the sub chip of the first target output board obtains the audio and video data from the target IPC, it does not transmit the acquired audio and video data to the decoding chip for decoding, but saves the media header information of the acquired audio and video data.
- the acquired audio and video data can be decoded according to the saved media header information in the subsequent process.
- the first target output board can Save the media header information of the audio and video data of the second scene obtained in the pre-fetching stage, and discard the audio and video data of the subject to save storage space.
- Step S210 When it is determined that the pre-fetching flow of the first target output board is completed, a stop display instruction for the first scene is issued to the second target output board, and an open display instruction for the second scene is issued to the first target output board. To make the second target output board stop outputting, streaming, and decoding audio and video data for the first scene, and cause the first target output board to decode and output audio and video data for the second scene.
- the first target output board when the first target output board establishes a TCP connection with the corresponding target IPC and obtains audio and video data including media header information from the corresponding target IPC, it may send a prefetch stream completion response to the service board Message.
- the server board may determine that the first target output board has completed the prefetch stream.
- the server board may send a prefetch stream instruction to output board 1 that carries the address information of IPC1 and IPC2, and output board 2 to output board 2.
- a prefetch stream instruction carrying the IPC3 address information is issued, and a prefetch stream instruction carrying the IPC4 address information is issued to the output board 3.
- output board 1 When receiving the prefetch stream instruction, output board 1 can establish TCP connections with IPC1 and IPC2 respectively, and obtain audio and video data streams from IPC1 and IPC2, respectively. When output board 1 obtains the media header from both IPC1 and IPC2 When streaming audio and video data, the output board 1 may send a prefetch stream completion response message to the service board.
- the output board 2 can send a prefetch stream completion response message to the server board when it establishes a TCP connection with IPC3 and obtains an audio and video data stream containing media header information from IPC3;
- the output board 3 may send a prefetch stream completion response message to the server board when a TCP connection is established with IPC4 and an audio and video data stream containing media header information is obtained from the IPC4.
- the service board may determine that the first target output board prefetch stream is completed.
- the service board when the service board determines that the pre-fetching flow of the first target output board is completed, the service board may send a stop display instruction for the first scene to the second target output board, so that the second target output board Stop the output, streaming, and decoding of audio and video data for the first scene; on the other hand, you can send an open display instruction for the second scene to the first target output board, so that the first target output board for the second scene The audio and video data is decoded and output, so that the TV wall is switched from the first scene to the second scene.
- the second target output board is an output board for acquiring audio and video data of the first scene, and decoding and outputting the acquired audio and video data of the first scene.
- the output board may include multiple outputs in a video surveillance system.
- the output board when a scene switching instruction is received, while the display of the audio and video data of the first scene on the TV wall is maintained, the output board is controlled to perform the audio and video data prediction of the second scene. Take the stream, and when the output board completes the pre-fetching of the audio and video data of the second scene, control the output board to stop the display of the first scene on the TV wall, and control the output board to turn on the display of the second scene on the TV wall.
- the output board has pre-fetched the audio and video data of the second scene before the display of the first scene on the TV wall is stopped, when the audio and video data of the second scene is displayed on the wall, the output board It can decode and output quickly, greatly reducing the transition time during the TV wall scene switching, achieving smooth switching of the TV wall scene, optimizing the display effect of the TV wall, and greatly improving the user experience.
- the display of the second scene on the TV wall when the display of the second scene on the TV wall is turned on, the acquired audio and video data stream of the second scene is decoded, and at this time, a decoding resource is allocated for the second scene to Implement code stream decoding.
- the service board when the service board receives the scene switching instruction, in addition to controlling the first target output board to pre-fetch the second scene in the manner described in step S200, it can also control the TV wall to stop the first scene. Before displaying the scene and turning on the display of the second scene, pre-allocate decoding resources for the second scene.
- the service board may use all normal decoding chips (including the decoding chip used in the first scene) in the video surveillance system as available decoding resources, and pre-allocate decoding resources for the second scene from the available decoding resources.
- the audio and video data of the second scene is not decoded (i.e. Decoding the audio and video data of the second scene obtained in the prefetching stream stage).
- a decoding chip can decode multiple code streams obtained from the IPC, using one decoding chip only as a decoding resource of one code stream of the IPC will cause waste of resources. Therefore, in order to improve resource utilization, a decoding chip can be divided into multiple decoding resources, and each decoding resource can be used to decode an IPC code stream.
- a decoding chip it can be divided into 8 decoding resources.
- the video surveillance system includes 5 output boards and 1 decoding chip is deployed on one output board, there can be 40 copies in the video surveillance system.
- Decoding resources When decoding resource pre-allocation is performed, the 40 decoding resources can be used as available decoding resources.
- the issuing the stop display instruction for the first scene to the second target output board and the opening display instruction for the second scene to the first target output board may include:
- a decoding resource recovery instruction is issued to the second target output board, and a decoding instruction for the second scene is issued to the first target output board, so that the second target output board releases the decoding resources, and the first target output board uses all the resources.
- the allocated decoding resources decode the audio and video data of the second scene;
- the data is output, and the second target output board stops streaming the audio and video data of the first scene.
- the service board may stop and clear audio and video data output of all windows of the first scene ⁇ switch decoding resources, and close the first Decode the scene and enable the decoding of the second scene ⁇ turn on the audio and video data output of all windows of the second scene, and stop the order of streaming of the first scene, stop the display of the first scene of the TV wall, and start the second scene. It is shown that its specific implementation can be described below with specific examples.
- the service board when the first target output board includes multiple output boards, in order to ensure the display effect of the video wall, the service board sends a stream instruction, a decoding instruction, or a first target output board.
- a batch interface can be used to ensure that the instructions can be sent to each first target output board synchronously.
- FIG. 3 is a schematic diagram of a specific application scenario provided by an embodiment of the present application.
- a monitoring center is a PC client
- a front-end camera is an IPC
- an output board is used as an example.
- 1 ⁇ output board n is deployed in a distributed deployment mode.
- the implementation process of the TV wall scene switching solution provided by the embodiment of the present application is as follows (taking the TV wall scene from scene A (that is, the first scene) to scene B (that is, the second scene) as an example):
- Pre-allocate decoding resources for scenario B One copy of decoding resources decodes the bitstream obtained from IPC: Mark the resources used in scenario A as available decoding resources, and form the currently available decoding resources with the remaining decoding resources. Among the currently available decoding resources, a decoding resource is selected to be pre-allocated to Scene B. The resource pre-allocation process is completed on the main control chip of the service board.
- each decoding chip has 8 decoding resources and a total of 5 decoding chips (assuming that one output board contains 1 decoding chip), there are a total of 40 decoding resources.
- the 40 decoding All resources can be used as currently available decoding resources.
- the sub chip of the output board may discard the acquired main data of the audio and video data of the scene B (that is, only the media header information needs to be saved).
- the time for establishing the streaming connection and obtaining the media header information is "hidden" in the process of displaying scene A on the TV wall, so that subsequent decoding resources can be smoothly switched to achieve audio and video data output during the scene switching Non-stop effect to eliminate the intermediate state of the empty scene during scene switching.
- the sub-chip when the sub-chip receives the decoding instruction issued by the main control chip of the service board, it can transmit the acquired audio and video data of scene B to the decoding chip corresponding to the allocated decoding resource to implement scene B Decoding of audio and video data.
- the audio and video data of scene B is first Perform prefetching without decoding (only fetching does not occupy decoding resources), and the obtained bitstream only retains media header information (media header information is used to distinguish the type of bitstream, bit rate, etc.), so that it can be used for subsequent scenes.
- the audio and video data of B is quickly decoded, and all the main data is discarded.
- a prefetch stream instruction for the second scene is issued to the first target output board, so as to Enable the first target output board to pre-fetch the audio and video data of the second scene, and save the media header information of the audio and video data of the second scene;
- the output board issues a stop display instruction for the first scene, and issues an open display instruction for the second scene to the first target output board, so that the second target output board stops outputting audio and video data for the first scene, Streaming and decoding, and enabling the first target output board to decode and output the audio and video data of the second scene, realize the smooth switching of the TV wall scene, optimize the display effect of the TV wall, and improve the user experience.
- FIG. 4 is a schematic structural diagram of a TV wall scene switching device according to an embodiment of the present application.
- the TV wall scene switching device can be applied to a service board in the foregoing method embodiment, as shown in FIG. 4.
- the TV wall scene switching device may include:
- the receiving unit 410 is configured to receive a scene switching instruction for instructing to switch a TV wall scene from a first scene to a second scene.
- the sending unit 420 is configured to send a prefetching stream instruction for the second scene to the first target output board, so that the first target output board performs prefetching of the audio and video data of the second scene, And save media header information of the audio and video data of the second scene;
- the sending unit 420 is further configured to, when it is determined that the pre-fetching flow of the first target output board is completed, send a stop display instruction for the first scene to the second target output board, and send the stop display instruction to the first target output board.
- a target output board issues an open display instruction for the second scene, so that the second target output board stops outputting, streaming, and decoding audio and video data for the first scene, and causes the first A target output board decodes and outputs audio and video data of the second scene.
- the TV wall scene switching device further includes:
- a resource allocation unit 430 is configured to pre-allocate decoding resources for the second scene.
- the sending unit 420 is specifically configured to pronounce a video data output stop instruction under the second target output board, so that the second target output board stops outputting the first scene Audio and video data;
- the first target output board includes one or more of a plurality of output boards deployed in a distributed manner
- the second target output board includes one or more of a plurality of output boards deployed in a distributed manner.
- a decoding chip on an 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 application.
- 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 complete communication with each other through the communication bus 604.
- a computer program is stored in the memory 603; the processor 601 can execute the scene switching method and the TV wall scene switching method described in the foregoing method flow by executing the program stored in the memory 603.
- the memory 603 mentioned herein may be any electronic, magnetic, optical or other physical storage device, and may contain or store information such as executable instructions, data, and so on.
- the memory 603 may be: RAM (Radom Access Memory), volatile memory, nonvolatile memory, flash memory, storage drive (such as hard drive), solid state hard disk, any type of storage disk (such as optical disk , Dvd, etc.), or similar storage media, or a combination thereof.
- An embodiment of the present application further provides a machine-readable storage medium storing a computer program, such as the memory 603 in FIG. 6, and the computer program may be executed by the processor 601 in the electronic device shown in FIG. 6 to implement the foregoing description.
- Scene switching method and TV wall scene switching method are examples of computer program.
- FIG. 7 is a schematic structural diagram of a television wall scene switching system according to an embodiment of the present application.
- the television wall scene switching system may include a service board 710 and multiple output boards 720;
- the service board 710 is configured to issue a prefetch for the second scene to the first target output board when a scene switching instruction for switching the TV wall scene from the first scene to the second scene is received.
- the output board 720 is configured to pre-fetch the audio and video data of the second scene when a pre-fetch instruction for the second scene is received, and save the audio and video data of the second scene Media header information;
- the service board 710 is further configured to, when it is determined that the pre-fetching flow of the first target output board is completed, send a stop display instruction to the second target output board for the first scene, and send the stop display instruction to the first target.
- the output board issues a display start instruction for the second scene;
- the output board 720 is further configured to stop outputting, streaming, and decoding of audio and video data for the first scene when receiving a stop display instruction for the first scene;
- the output board 720 is further configured to decode and output audio and 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 can implement the TV wall scene switching in the manner described in the above method embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
Claims (16)
- 一种电视墙场景切换方法,其特征在于,包括:当接收到用于指示将电视墙场景由第一场景切换为第二场景的场景切换指令时,向第一目标输出板下发针对所述第二场景的预取流指令,以使所述第一目标输出板对所述第二场景的音视频数据进行预取流,并保存所述第二场景的音视频数据的媒体头信息;当确定所述第一目标输出板预取流完成时,向所述第二目标输出板下发针对所述第一场景的停止显示指令,并向所述第一目标输出板下发针对所述第二场景的开启显示指令,以使所述第二目标输出板停止针对所述第一场景的音视频数据的输出、取流和解码,并使所述第一目标输出板对所述第二场景的音视频数据进行解码和输出。
- 根据权利要求1所述的方法,其特征在于,所述向所述第二目标输出板下发针对所述第一场景的停止显示指令,并向所述第一目标输出板下发针对所述第二场景的开启显示指令之前,还包括:为所述第二场景预分配解码资源。
- 根据权利要求1所述的方法,其特征在于,所述向所述第二目标输出板下发针对所述第一场景的停止显示指令,并向所述第一目标输出板下发针对所述第二场景的开启显示指令,包括:向所述第二目标输出板下发音视频数据输出停止指令,使所述第二目标输出板停止输出所述第一场景的音视频数据;向所述第二目标输出板下发解码资源回收指令,并向所述第一目标输出板下发针对所述第二场景的解码指令,以使所述第二目标输出板释放解码资源,并使所述第一目标输出板利用所分配的解码资源对所述第二场景的音视频数据进行解码;向所述第一目标输出板下发针对所述第二场景的音视频数据输出指令,并向所述第二目标输出板下发针对所述第一场景的停止取流指令,以使所述第一目标输出板对所述第二场景的音视频数据进行输出,并使所述第二目标输出板停止对所述第一场景的音视频数据的取流。
- 根据权利要求1-3任一项所述的方法,其特征在于,所述第一目标输出板包括分布式部署的多个输出板中的一个或多个;所述第二目标输出板包括分布式部署的多个输出板中的一个或多个。
- 根据权利要求1-3任一项所述的方法,其特征在于,输出板上的一个解码芯片被划分为多份解码资源。
- 一种电视墙场景切换装置,其特征在于,包括:接收单元,用于接收用于指示将电视墙场景由第一场景切换为第二场景的场景切换指令;发送单元,用于向第一目标输出板下发针对所述第二场景的预取流指令,以使所述第一目标输出板对所述第二场景的音视频数据进行预取流,并保存所述第二场景的音视频数据的媒体头信息;所述发送单元,还用于当确定所述第一目标输出板预取流完成时,向所述第二目标输出板下发针对所述第一场景的停止显示指令,并向所述第一目标输出板下发针对所述第二场景的开启显示指令,以使所述第二目标输出板停止针对所述第一场景的音视频数据的输出、取流和解码,并使所述第一目标输出板对所述第二场景的音视频数据进行解码和输出。
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:资源分配单元,用于为所述第二场景预分配解码资源。
- 根据权利要求6所述的装置,其特征在于,所述发送单元,具体用于向所述第二目标输出板下发音视频数据输出停止指令,使所述第二目标输出板停止输出所述第一场景的音视频数据;向所述第二目标输出板下发解码资源回收指令,并向所述第一目标输出板下发针对所述第二场景的解码指令,以使所述第二目标输出板释放解码资源,并使所述第一目标输出板利用所分配的解码资源对所述第二场景的音视频数据进行解码;向所述第一目标输出板下发针对所述第二场景的音视频数据输出指令,并向所述第二目标输出板针对所述第一场景的停止取流指令,以使所述第一目标输出板对所述第二场景的音视频数据进行输出,并使所述第二目标输出板停止对所述第一场景的音视频数据的取流。
- 根据权利要求6-8任一项所述的装置,其特征在于,所述第一目标输出板包括分布式部署的多个输出板中的一个或多个;所述第二目标输出板包括分布式部署的多个输出板中的一个或多个。
- 根据权利要求6-8任一项所述的装置,其特征在于,输出板上的一个解码芯片被划分为多份解码资源。
- 一种电视墙场景切换系统,其特征在于,包括服务板以及多个输出板,所述多个输出板包括一个或多个第一目标输出板以及一个或多个第二目标输出板,其中:所述服务板,用于当接收到用于指示将电视墙场景由第一场景切换为第二场景的场景切换指令时,向所述第一目标输出板下发针对所述第二场景的预取流指令;所述第一目标输出板,用于当接收到针对所述第二场景的预取流指令时,对所述第二场景的音视频数据进行预取流,并保存所述第二场景的音视频数据的媒体头信息;所述服务板,还用于当确定所述第一目标输出板预取流完成时,向所述第二目标输出板下发针对所述第一场景的停止显示指令,并向所述第一目标输出板下发针对所述第二场景的开启显示指令;所述第二目标输出板,还用于当接收到针对所述第一场景的停止显示指令时,停止针对所述第一场景的音视频数据的输出、取流和解码;所述第一目标输出板,还用于当接收到针对所述第二场景的开启显示指令时,对所述第二场景的音视频数据进行解码和输出。
- 一种场景切换方法,其特征在于,包括:当接收到用于指示将场景由第一场景切换为第二场景的场景切换指令时,下发针对所述第二场景的预取流指令,所述预取流指令用于对所述第二场景的音视频数据进行预取流;当确定针对所述第二场景的预取流完成时,下发针对所述第一场景的停止显示指令,并下发针对所述第二场景的开启显示指令,所述停止显示指令用于停止所述第一场景的音视频数据的输出、取流和解码,所述开启显示指令用于对所述第二场景的音视频数据进行解码和输出。
- 根据权利要求12所述的方法,其特征在于,下发针对所述第一场景的停止显示指令,并下发针对所述第二场景的开启显示指令之前,还包括:为所述第二场景预分配解码资源。
- 根据权利要求12所述的方法,其特征在于,下发针对所述第一场景的停止显示指令,并下发针对所述第二场景的开启显示指令,包括:下发针对所述第一场景的音视频数据输出停止指令,所述音视频数据输出停止指令用于停止输出所述第一场景的音视频数据;下发针对所述第一场景的解码资源回收指令,并下发针对所述第二场景的解码指令,所述解码资源回收指令用于释放所述第一场景的解码资源,所述解码指令用于利用所分配的解码资源对所述第二场景的音视频数据进行解码;下发针对所述第二场景的音视频数据输出指令,并下发针对所述第一场景的停止取流指令,所述音视频数据输出指令用于对所述第二场景的音视频数据进行输出,所述停止取流指令用于停止对所述第一场景的音视频数据的取流。
- 一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其 中,处理器,通信接口,存储器通过通信总线完成相互间的通信;存储器,用于存放计算机程序;处理器,用于执行存储器上所存放的程序时,实现权利要求1-5或12-14任一所述的方法步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-5或12-14任一所述的方法步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810911527.8A CN110830761B (zh) | 2018-08-10 | 2018-08-10 | 电视墙场景切换方法、装置、系统、电子设备及存储介质 |
CN201810911527.8 | 2018-08-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020030044A1 true WO2020030044A1 (zh) | 2020-02-13 |
Family
ID=69413969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/099793 WO2020030044A1 (zh) | 2018-08-10 | 2019-08-08 | 电视墙场景切换方法、装置、电子设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110830761B (zh) |
WO (1) | WO2020030044A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113382196B (zh) * | 2020-02-25 | 2022-06-03 | 杭州海康消防科技有限公司 | 一种场景切换方法、系统、装置及视频综合处理平台 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102302A (zh) * | 2006-07-04 | 2008-01-09 | 北京江南天安科技有限公司 | 多路音视频信号输出切换器和音视频监控系统及切换方法 |
CN102801956A (zh) * | 2012-04-28 | 2012-11-28 | 武汉兴图新科电子股份有限公司 | 一种网络视频监控装置及方法 |
CN103458292A (zh) * | 2013-08-30 | 2013-12-18 | 小米科技有限责任公司 | 一种显示输入源的视频数据的方法和装置 |
US20150147731A1 (en) * | 2013-05-15 | 2015-05-28 | Julia Pavlovna Astafiev | Shifting visual attention between multiple video displays to train attention and memory |
CN106792120A (zh) * | 2017-02-07 | 2017-05-31 | 青岛海信电器股份有限公司 | 视频画面的显示方法、装置和终端 |
CN107465884A (zh) * | 2017-09-15 | 2017-12-12 | 广州视源电子科技股份有限公司 | 电视信号的切换方法及装置、智能电视及存储介质 |
CN107888846A (zh) * | 2017-11-08 | 2018-04-06 | 深圳Tcl数字技术有限公司 | 新接入信源的信号预览方法及电视机 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104519372B (zh) * | 2014-12-19 | 2017-11-21 | 深圳市九洲电器有限公司 | 一种流媒体播放的切换方法和系统 |
-
2018
- 2018-08-10 CN CN201810911527.8A patent/CN110830761B/zh active Active
-
2019
- 2019-08-08 WO PCT/CN2019/099793 patent/WO2020030044A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102302A (zh) * | 2006-07-04 | 2008-01-09 | 北京江南天安科技有限公司 | 多路音视频信号输出切换器和音视频监控系统及切换方法 |
CN102801956A (zh) * | 2012-04-28 | 2012-11-28 | 武汉兴图新科电子股份有限公司 | 一种网络视频监控装置及方法 |
US20150147731A1 (en) * | 2013-05-15 | 2015-05-28 | Julia Pavlovna Astafiev | Shifting visual attention between multiple video displays to train attention and memory |
CN103458292A (zh) * | 2013-08-30 | 2013-12-18 | 小米科技有限责任公司 | 一种显示输入源的视频数据的方法和装置 |
CN106792120A (zh) * | 2017-02-07 | 2017-05-31 | 青岛海信电器股份有限公司 | 视频画面的显示方法、装置和终端 |
CN107465884A (zh) * | 2017-09-15 | 2017-12-12 | 广州视源电子科技股份有限公司 | 电视信号的切换方法及装置、智能电视及存储介质 |
CN107888846A (zh) * | 2017-11-08 | 2018-04-06 | 深圳Tcl数字技术有限公司 | 新接入信源的信号预览方法及电视机 |
Also Published As
Publication number | Publication date |
---|---|
CN110830761B (zh) | 2020-12-29 |
CN110830761A (zh) | 2020-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021135160A1 (zh) | 游戏直播控制方法及装置、计算机存储介质、电子设备 | |
US20160353160A1 (en) | Smart terminal as well as fast channel switching method and device thereof | |
US20220272402A1 (en) | Video stream playing method, system, terminal and storage medium | |
US9769239B2 (en) | Systems and methods for user agent signaling request acceleration by transport accelerator | |
RU2392753C2 (ru) | Способ подачи устройству команды не выполнять синхронизацию или ввести задержку синхронизации для мультимедийных потоков | |
US10225613B2 (en) | Method and apparatus for video playing processing and television | |
WO2019154221A1 (zh) | 发送流数据的方法及数据发送设备 | |
US20140111670A1 (en) | System and method for enhanced image capture | |
CN111147947B (zh) | 一种基于websocket的flv视频传输及网页播放的方法 | |
JP2008503926A (ja) | ネットワークを介したメディアの対話型制御のための方法及びシステム | |
WO2017101355A1 (zh) | 图像处理方法及装置 | |
WO2007059684A1 (en) | Device for managing video image and method thereof | |
US9525892B2 (en) | Video image distribution method | |
WO2018001184A1 (zh) | 频道快速切换的方法、服务器和机顶盒 | |
WO2017080175A1 (zh) | 用于多机位的视频播放器、播放系统及播放方法 | |
CN108174280A (zh) | 一种音视频在线播放方法及系统 | |
WO2017088394A1 (zh) | 在线直播视频播放器及方法 | |
CN110582012A (zh) | 视频切换方法、视频处理方法、装置及存储介质 | |
WO2023160361A1 (zh) | Rtc数据的处理方法以及装置 | |
WO2020030044A1 (zh) | 电视墙场景切换方法、装置、电子设备及存储介质 | |
US11811890B2 (en) | Pushing content in time windows based on different positions | |
KR101710011B1 (ko) | 영상 데이터 전송 및 수신 방법 및 장치 | |
CN113709518B (zh) | 一种基于rtsp协议的视频实时传输模式设计方法 | |
CN115278319A (zh) | 一种投屏数据传输方法、装置、电子设备和存储介质 | |
CN108600696B (zh) | 一种视频流解码方法及解码设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19847974 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19847974 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19847974 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.08.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19847974 Country of ref document: EP Kind code of ref document: A1 |