[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111031194B - Multi-channel decoder synchronization control method, equipment and storage medium - Google Patents

Multi-channel decoder synchronization control method, equipment and storage medium Download PDF

Info

Publication number
CN111031194B
CN111031194B CN201911275533.XA CN201911275533A CN111031194B CN 111031194 B CN111031194 B CN 111031194B CN 201911275533 A CN201911275533 A CN 201911275533A CN 111031194 B CN111031194 B CN 111031194B
Authority
CN
China
Prior art keywords
decoder
message
time
delay request
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911275533.XA
Other languages
Chinese (zh)
Other versions
CN111031194A (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.)
Beijing Feixun Digital Technology Co ltd
Kyland Technology Co Ltd
Original Assignee
Beijing Feixun Digital Technology Co ltd
Kyland Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Feixun Digital Technology Co ltd, Kyland Technology Co Ltd filed Critical Beijing Feixun Digital Technology Co ltd
Priority to CN201911275533.XA priority Critical patent/CN111031194B/en
Publication of CN111031194A publication Critical patent/CN111031194A/en
Application granted granted Critical
Publication of CN111031194B publication Critical patent/CN111031194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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/2624Studio 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 for obtaining an image which is composed of whole input images, e.g. splitscreen
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a method, equipment and a storage medium for synchronously controlling a multi-channel decoder. The synchronous control method of the multi-channel decoder comprises the following steps: the master decoder and each slave decoder in the decoder group are time-synchronized; the master decoder determines switching time according to rendering completion messages sent by the slave decoders aiming at the next picture of the bound single screen and rendering completion time of the slave decoders aiming at the next picture of the bound single screen; and the master decoder sends the switching time to each slave decoder so that each decoder in the decoder group provides the corresponding next picture for display to the bound single screen at the switching time. According to the technical scheme of the embodiment of the invention, the decoders contained in the decoder grouping are subjected to time synchronization operation, so that the problem of picture tearing caused by the fact that a plurality of video streams output from the decoders to the television wall are asynchronous is solved, and the television wall formed by a plurality of single screens can be subjected to smooth picture display.

Description

Multi-channel decoder synchronization control method, equipment and storage medium
Technical Field
The present invention relates to video and audio decoder control technologies, and in particular, to a method, an apparatus, and a storage medium for synchronously controlling multiple decoders.
Background
Along with the splicing requirements of the fields of safety precaution, video monitoring and the like on physical screens are higher and higher, the requirement of large-screen display can not be met obviously only through a single decoder, and the display effects of single-picture splicing, windowing at any position of a spliced screen or dragging an image to any position and the like can be achieved through the use of multiple decoders.
In the prior art, the following problems are easy to occur when video multi-channel decoders are spliced for use: when the time synchronization mechanism is not provided between the decoders, the problem of picture tearing is easily caused by the condition, and the ideal large-screen picture display effect cannot be achieved.
Disclosure of Invention
The embodiment of the invention provides a method, equipment and a storage medium for synchronously controlling multiple decoders, which are used for realizing time synchronization among all decoders in a decoder group, solving the problem of picture tearing caused by asynchronous video streams output to a television wall by a plurality of decoders and enabling the television wall consisting of a plurality of single screens to smoothly display pictures.
In a first aspect, an embodiment of the present invention provides a method for controlling synchronization of multiple decoders, where the method includes:
the method comprises the steps that a master decoder and each slave decoder in a decoder grouping are subjected to time synchronization, and each decoder in the decoder grouping is used for providing a display picture to a pre-bound single screen to obtain a combined display picture;
the master decoder determines switching time according to rendering completion messages sent by the slave decoders aiming at the next picture of the bound single screen and rendering completion time of the slave decoders aiming at the next picture of the bound single screen;
and the master decoder sends the switching time to each slave decoder so that each decoder in the decoder group provides a corresponding next picture for display to the bound single screen at the switching time.
In a second aspect, an embodiment of the present invention further provides a method for controlling synchronization of multiple decoders, where the method includes:
time synchronization is carried out between the slave decoder and the master decoder in the decoder group, and each decoder in the decoder group is used for providing display pictures into the pre-bound single screen to obtain a combined display picture;
the slave decoder renders the next picture of the bound single screen, and sends a rendering completion message to the master decoder after rendering is completed so that the master decoder determines the switching time;
and the slave decoder receives the switching time sent by the master decoder, and provides the next picture for display to the bound single screen at the switching time.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for controlling synchronization of a multi-channel decoder according to any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling synchronization of multiple decoders provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, on the basis of time synchronization of the master decoder and each slave decoder in the decoder group, the master decoder determines the switching time according to the rendering completion message sent by each slave decoder aiming at the next picture of the bound single screen and the rendering completion time of the slave decoder aiming at the next picture of the bound single screen, and sends the switching time to each slave decoder, so that each decoder in the decoder group provides the corresponding next picture for display under the switching time, the time synchronization among the decoders contained in the decoder group is realized, the problem of picture tearing caused by the asynchronous video streams output to a television wall by a plurality of slave decoders is solved, and the television wall formed by a plurality of single screens can carry out smooth picture display.
Drawings
FIG. 1a is a flowchart of a method for controlling synchronization of multiple decoders according to a first embodiment of the present invention;
FIG. 1b is a block diagram of a multi-decoder grouping interface according to an embodiment of the present invention;
FIG. 2a is a flowchart of a method for controlling synchronization of multiple decoders according to a second embodiment of the present invention;
FIG. 2b is a schematic diagram of the clock synchronization phase in the second embodiment of the present invention;
FIG. 2c is a schematic diagram of the time synchronization phase in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a synchronous control device of a multi-channel decoder according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a synchronous control device of a multi-channel decoder according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1a is a flowchart of a method for controlling synchronization of multiple decoders in an embodiment of the present invention, where a decoder included in a decoder group provides a display picture to a single pre-bound screen to obtain a combined display picture, and the method may be executed by a device for controlling synchronization of multiple decoders, where the device may be implemented by software and/or hardware, and may be integrated in various general-purpose computer devices, and specifically includes the following steps:
and step 110, the master decoder is time-synchronized with each slave decoder in the corresponding decoder group, and each decoder in the decoder group is used for providing a display picture to a pre-bound single screen to obtain a combined display picture.
The decoder group is a decoder group consisting of a master decoder and at least one slave decoder according to decoder configuration information input by a user, each decoder contained in the decoder group is used for providing a display picture to a pre-bound single screen, and finally, a plurality of pictures displayed by the single screen form a combined display picture.
When a video stream is provided to a tv wall composed of a plurality of single screens by using a multi-decoder, the decoders are grouped first, for example, a decoder group can be formed by 4 decoders, and a video stream is provided to a 2 × 2 tv wall composed of 4 single screens, each decoder corresponding to a single screen. Specifically, as shown in fig. 1b, in the decoder grouping process, grouping management needs to be performed on the decoders bound to each single screen, including entering an IP address of a decoder, determining a single screen position corresponding to each decoder, and determining whether the decoder is a master decoder, where the master decoder is used for communicating with an external interface.
The specific process of providing the video stream to be displayed for the television wall through the multi-channel decoder is that the video stream in the digital coding format is sequentially input into each decoder, each decoder converts the video stream into the video stream in the analog data format and outputs the video stream to the television wall, and because the time for the decoder to receive the video stream in the digital coding format is asynchronous, the time for outputting the video stream in the analog data format to the television wall is asynchronous, and when no time synchronization mechanism exists among the decoders contained in the decoder grouping, the display pictures of the television wall are asynchronous. For example, the PPT is outputted to the video wall by using the four-way decoder, when the page is changed, the local computer displays that the PPT has completed the page change, and the PPT has a picture tearing phenomenon when the page is changed on the video wall.
In this embodiment, in order to solve the problem of picture non-synchronization of the video wall display, the master decoder and at least one slave decoder included in the decoder group need to perform time synchronization operation, and the time of the at least one slave decoder is completely synchronized to the master decoder, so as to implement synchronous display of the video wall pictures. The time synchronization operation can be divided into two phases of clock synchronization operation and time synchronization operation, wherein the clock synchronization operation phase mainly performs clock frequency synchronization (a phase difference may exist between the master decoder and the slave decoder), and the time synchronization operation phase mainly performs time synchronization, and the phase adjusts the time of the slave decoder to be completely synchronized with the time of the master decoder.
Optionally, before the master decoder performs time synchronization with each slave decoder in the group of the slave decoders, the method further includes:
each decoder receives decoder grouping information sent by a server, wherein the decoder grouping information comprises a decoder group to which each decoder belongs, the role of each decoder in the decoder group, and all decoders contained in the decoder group.
In this optional embodiment, an operation before the master decoder performs time synchronization with each slave decoder in the group of the slave decoders is provided, and specifically, the server receives decoder group information input by a user on the multi-channel decoder group interface, and notifies each decoder in the decoder group of the decoder group information, so that each decoder can obtain the specific information of the decoder group, including the decoder group to which each decoder belongs, the role of each decoder in the decoder group, and all decoders included in the decoder group, and finally confirms its role according to the decoder group information, where the roles of each decoder in the decoder group are divided into two types, namely, the master decoder and the slave decoder.
Optionally, the time synchronization between the master decoder and each slave decoder in the decoder group includes:
the master decoder sends a synchronous message and a following message to each slave decoder in the decoder grouping so that each slave decoder performs clock synchronization operation according to the synchronous message and the following message;
and responding to the delay request message sent by each slave decoder, and sending a delay request response message to each slave decoder so that the at least one slave decoder performs time synchronization operation according to the synchronization message, the following message, the delay request message and the delay request response message.
In this optional embodiment, a process of performing time synchronization operation on each slave decoder in a grouping of a master decoder and a slave decoder is provided, specifically, the master decoder first sends a synchronization message to each slave decoder, and after the sending of the synchronization message is completed, sends a following message to each slave decoder, so that each slave decoder calibrates its own clock according to the synchronization message and the following message sent by the master decoder, where the synchronization message is a message sent for calibrating a clock of the slave decoder, and the following message is a message sent after the synchronization message and carries information related to the synchronization message.
Specifically, after receiving the delay request message sent by each slave decoder, the master decoder feeds back a delay request response message to each slave decoder, so that each slave decoder completely synchronizes its own time to the master decoder according to the synchronization message, the following message, the delay request message, and the delay request response message.
Optionally, sending a delay request response message to each slave decoder in response to the delay request message sent by each slave decoder, includes:
the master decoder receives the delay request messages sent by the slave decoders and records the receiving time of the delay request messages;
and transmitting a delay request response message including the receiving time of the delay request message to each slave decoder.
In this optional embodiment, a manner is provided for sending a delay request response message to each slave decoder in response to a delay request message sent by each slave decoder, specifically, a master decoder receives the delay request message sent by each slave decoder and notifies a master decoder hardware device to record a receiving time T4 of the delay request message, and master decoder software feeds back the delay request response message to each slave decoder in response to the delay request message sent by each slave decoder, where the delay request response message carries a receiving time T4 of the delay request message.
And step 120, the master decoder determines the switching time according to the rendering completion message sent by each slave decoder aiming at the next picture of the bound single screen and the rendering completion time of the master decoder aiming at the next picture of the bound single screen.
In this embodiment, each slave decoder included in the decoder grouping sends a rendering completion message to the master decoder after completing rendering of the next picture of the bound single screen, and the master decoder determines the picture switching time after receiving all the rendering completion messages of the slave decoders and determining that rendering of the next picture of the bound single screen is completed. Illustratively, the decoder group consisting of a master decoder and 3 slave decoders, the master decoder completes its next picture rendering of the bound single screen at time t1, and receives the message of completing the picture rendering sent by the 3 slave decoders at times t2, t3 and t4, respectively, then time t6 is determined as the switching time, wherein time t6 is after the times t1, t2, t3 and t 4.
And step 130, the master decoder sends the switching time to each slave decoder, so that each decoder in the decoder group provides the corresponding next picture for display to the bound single screen at the switching time.
In this embodiment, the master decoder sends the switching time determined in step 120 to each slave decoder, and when the switching time is reached, all decoders in the decoder grouping synchronously provide the display content of the next picture to the single screen bound to each slave decoder, so as to realize the synchronous display of the pictures of the video wall.
According to the technical scheme, on the basis that time synchronization is carried out on each slave decoder in a group of the master decoder and the slave decoders, the master decoder determines the switching time according to the rendering completion message sent by each slave decoder aiming at the next picture of the bound single screen and the rendering completion time of the slave decoder aiming at the next picture of the bound single screen, and sends the switching time to each slave decoder, so that each decoder in the group of the decoders provides the corresponding next picture for display under the switching time, the problem of picture tearing caused by the fact that video streams output to a television wall by a plurality of slave decoders are asynchronous is solved, time synchronization among the decoders included in the group of the decoders is achieved, and the television wall formed by the plurality of single screens can carry out smooth picture display.
Example two
Fig. 2a is a flowchart of a multi-channel decoder synchronization control method in the second embodiment of the present invention, where the technical solution of this embodiment is suitable for a situation where a decoder included in a decoder group provides a display picture to a pre-bound single screen to obtain a combined display picture, and the method can be executed by a multi-channel decoder synchronization control apparatus, which can be implemented by software and/or hardware, and can be integrated in various general-purpose computer devices, and specifically includes the following steps:
step 210, time synchronization is performed between the slave decoder and the master decoder in the decoder group, where each decoder in the decoder group is used to provide a display picture into a pre-bound single screen to obtain a combined display picture.
When the time of the video streams input to the decoders is inconsistent, the time of the decoders supplying the video streams to the bound single screens is also not synchronous, so that the problem that the single-screen display pictures contained in the television wall are not synchronous is solved, and finally the phenomenon of tearing of the television screen pictures can be caused.
In this embodiment, in order to solve the problem that the single-screen display pictures included in the video wall are not synchronized, the master decoder and the at least one slave decoder included in the decoder group need to perform a time synchronization operation, and the time of the at least one slave decoder is completely synchronized to the master decoder, so as to implement the synchronous display of the video wall pictures.
Optionally, the time synchronization between the slave decoder and the master decoder in the corresponding decoder group includes:
receiving a synchronous message and a following message sent by the main decoder, and performing clock synchronization operation according to the synchronous message and the following message;
sending a delay request message to the main decoder, and receiving a delay request response message fed back by the main decoder;
and performing time synchronization operation according to the synchronous message, the following message, the delay request message and the delay request response message.
In this optional embodiment, a method for performing time synchronization operation between a slave decoder and a master decoder is provided, where the time synchronization operation may be divided into two stages, namely, a clock synchronization operation and a time synchronization operation, and specifically, each slave decoder receives a synchronization packet and a following packet sent by the master decoder, and then performs respective clock calibration according to the synchronization packet and the following packet, and calibrates respective clocks to a clock of the master decoder. The following message is a message which carries the relevant information of the synchronous message and is sent after the synchronous message.
After the clock calibration is completed, time synchronization operation needs to be further performed, specifically, the slave decoder sends a delay request message to the master decoder, receives a delay request response message fed back by the master decoder, and finally completely synchronizes the time of the slave decoder to the master decoder according to the synchronization message, the following message, the delay request message and the delay request response message.
Optionally, receiving a synchronization packet and a following packet sent by a main decoder, and performing clock synchronization operation according to the synchronization packet and the following packet, including:
receiving a synchronous message sent by the main decoder, and recording the receiving time of the synchronous message;
receiving a following message sent by the main decoder, and acquiring the sending time of the synchronous message contained in the following message;
performing clock synchronization calibration according to the receiving time of the synchronous message and the sending time of the synchronous message;
sending a delay request message to the main decoder, and receiving a delay request response message fed back by the main decoder, wherein the delay request response message comprises:
sending a delay request message to the main decoder, and recording the sending time of the delay request message;
and receiving a delay request response message fed back by the main decoder, and acquiring the receiving time of the delay request message contained in the delay request response message.
In this optional embodiment, a specific manner of receiving a sync message and a follow message sent by a master decoder and performing clock synchronization operation according to the sync message and the follow message is provided, and fig. 2b is a schematic diagram of a clock synchronization stage, where first, a slave decoder receives the sync message sent by the master decoder and notifies the slave decoder hardware to record a receiving time T2 of the sync message, and further, the slave decoder receives the follow message sent by the master decoder and obtains a sending time T1 of the sync message carried in the follow message, and performs clock synchronization calibration according to the receiving time T2 of the sync message and the sending time T1 of the sync message.
In this optional embodiment, a specific manner of sending a delay request message to the master decoder and receiving a delay request response message fed back by the master decoder is further provided, where fig. 2c is a schematic diagram of a time synchronization stage, first, the slave decoder sends the delay request message to the master decoder and notifies the slave decoder hardware of recording the sending time T3 of the delay request message, and after receiving the delay request message, the master decoder notifies the master decoder hardware of recording the receiving time T4 of the delay request message, and feeds back, through the master decoder software, the delay request response message carrying the receiving time T4 of the delay request message to the slave decoder, and finally receives the delay request response message from the slave decoder and obtains the receiving time T4 of the delay request message from the slave decoder.
Optionally, performing a time synchronization operation according to the synchronization packet, the following packet, the delay request packet, and the delay request response packet, including:
and performing time correction operation according to the receiving time of the synchronous message, the sending time of the synchronous message, the receiving time of the delay request message and the sending time of the delay request message.
In this optional embodiment, a manner is provided in which the slave decoder performs a time synchronization operation according to the sync message, the following message, the delay request message, and the delay request response message, specifically, the slave decoder performs a time correction operation according to a receiving time T2 of the sync message, a sending time T1 of the sync message obtained from the following message, a sending time T3 of the delay request message, and a receiving time T4 of the delay request message obtained from the delay request response message, and since signal transmission times from the master decoder to the slave decoder and from the slave decoder to the master decoder are the same, the following formula can be obtained:
T2-(T1+delta T)=(T4+delta T)-T3
from the above formula one can obtain: delta T ═ ((T2-T1) - (T4-T3))/2, so the final correction time from the decoder is determined as follows:
elta T=-[(T2-T1)-(T4-T3)]/2
the time of the slave decoder is corrected by the correction time, so that the time synchronization of the decoders in the decoder group is realized.
And step 220, rendering the next picture of the bound single screen by the slave decoder, and after the rendering is finished, sending a rendering finishing message to the master decoder so that the master decoder determines the switching time.
In this embodiment, the slave decoder renders the next picture of the bound single screen, and sends a rendering completion message to the master decoder after the rendering is completed, so that the master decoder obtains the rendering completion time of each slave decoder, determines the switching time of the television wall picture after receiving all the rendering completion messages sent by the slave decoders, and finally sends the switching time to each slave decoder.
And step 230, receiving the switching time sent by the master decoder from the slave decoder, and providing the next picture for display to the bound single screen at the switching time.
In this embodiment, after receiving the switching time sent by the master decoder, each slave decoder provides the picture to be displayed to the bound single screen at the switching time, so as to implement the synchronous display of the picture on the video wall.
According to the technical scheme, on the basis of time synchronization between the slave decoder and the master decoder in the decoder group, the slave decoder renders the next picture of the bound single screen, sends a rendering completion message to the master decoder after rendering is completed, and provides the next picture for display to the bound single screen at the switching time after receiving the switching time sent by the master decoder, so that the problem of picture tearing caused by asynchronization of video streams output to a television wall by a plurality of slave decoders is solved, time synchronization among the decoders contained in the decoder group is realized, and the television wall formed by a plurality of single screens can be used for smooth picture display.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a synchronous control device of a multi-channel decoder according to a third embodiment of the present invention, including:
a decoder time synchronization module 310, configured to perform time synchronization between a master decoder and each slave decoder in a decoder group to which the master decoder belongs, where each decoder in the decoder group is configured to provide a display picture to a pre-bound single screen to obtain a combined display picture;
a switching time determining module 320, configured to determine, by the master decoder, a switching time according to a rendering completion message sent by each slave decoder for a next picture of the bound single screen and a rendering completion time of the master decoder for the next picture of the bound single screen;
a switching time sending module 330, configured to send the switching time to each slave decoder by the master decoder, so that each decoder in the decoder group provides a corresponding next picture to the bound single screen for display at the switching time.
According to the technical scheme, on the basis that time synchronization is carried out on each slave decoder in a group of the master decoder and the slave decoders, the master decoder determines the switching time according to the rendering completion message sent by each slave decoder aiming at the next picture of the bound single screen and the rendering completion time of the slave decoder aiming at the next picture of the bound single screen, and sends the switching time to each slave decoder, so that each decoder in the group of the decoders provides the corresponding next picture for display under the switching time, the problem of picture tearing caused by the fact that video streams output to a television wall by a plurality of slave decoders are asynchronous is solved, time synchronization among the decoders included in the group of the decoders is achieved, and the television wall formed by the plurality of single screens can carry out smooth picture display.
Optionally, the decoder time synchronization module 310 includes:
a synchronous message sending unit, configured to send a synchronous message and a following message to each slave decoder in the decoder grouping by the master decoder, so that each slave decoder performs clock synchronization operation according to the synchronous message and the following message;
a delay request response message sending unit, configured to send a delay request response message to each slave decoder in response to the delay request message sent by each slave decoder, so that the at least one slave decoder performs a time synchronization operation according to the synchronization message, the following message, the delay request message, and the delay request response message.
Optionally, the delay request response packet sending unit is specifically configured to:
the master decoder receives the delay request messages sent by the slave decoders and records the receiving time of the delay request messages;
and transmitting a delay request response message including the receiving time of the delay request message to each slave decoder.
The multi-channel decoder synchronous control device provided by the embodiment of the invention can execute the multi-channel decoder synchronous control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a synchronous control device of a multi-channel decoder according to a fourth embodiment of the present invention, the synchronous control device of the multi-channel decoder including:
a decoder time synchronization module 410, configured to perform time synchronization between a master decoder and each slave decoder in the decoder group to which the master decoder belongs, where each decoder in the decoder group is configured to provide a display picture to a pre-bound single screen to obtain a combined display picture;
a message sending module 420, configured to determine, by the master decoder, a switching time according to a rendering completion message sent by each slave decoder for a next picture of the bound single screen and a rendering completion time of the master decoder for the next picture of the bound single screen;
and the picture display module 430 is configured to send the switching time to each slave decoder by the master decoder, so that each decoder in the decoder group provides a corresponding next picture to the bound single screen for display at the switching time.
According to the technical scheme, on the basis of time synchronization between the slave decoder and the master decoder in the decoder group, the slave decoder renders the next picture of the bound single screen, sends a rendering completion message to the master decoder after rendering is completed, and provides the next picture for display to the bound single screen at the switching time after receiving the switching time sent by the master decoder, so that the problem of picture tearing caused by asynchronization of video streams output to a television wall by a plurality of slave decoders is solved, time synchronization among the decoders contained in the decoder group is realized, and the television wall formed by a plurality of single screens can be used for smooth picture display.
Optionally, the decoder time synchronization module 410 includes:
a synchronous message receiving unit, configured to receive a synchronous message and a following message sent by the master decoder, and perform clock synchronization operation according to the synchronous message and the following message;
a delay request message sending unit, configured to send a delay request message to the master decoder, and receive a delay request response message fed back by the master decoder;
and the decoder time synchronization unit is used for performing time synchronization operation according to the synchronization message, the following message, the delay request message and the delay request response message.
Optionally, the synchronous packet receiving unit is specifically configured to:
receiving a synchronous message sent by the main decoder, and recording the receiving time of the synchronous message;
receiving a following message sent by the main decoder, and acquiring the sending time of the synchronous message contained in the following message;
performing clock synchronization calibration according to the receiving time of the synchronous message and the sending time of the synchronous message;
the delay request packet sending unit is specifically configured to:
sending a delay request message to the main decoder, and recording the sending time of the delay request message;
and receiving a delay request response message fed back by the main decoder, and acquiring the receiving time of the delay request message contained in the delay request response message.
Optionally, the decoder time synchronization unit is specifically configured to:
and performing time correction operation according to the receiving time of the synchronous message, the sending time of the synchronous message, the receiving time of the delay request message and the sending time of the delay request message.
The multi-channel decoder synchronous control device provided by the embodiment of the invention can execute the multi-channel decoder synchronous control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, as shown in fig. 5, the electronic device includes a processor 50 and a memory 51; the number of the processors 50 in the electronic device may be one or more, and one processor 50 is taken as an example in fig. 5; the processor 50 and the memory 51 in the electronic device may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 51 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a method for controlling synchronization of a multi-channel decoder according to an embodiment of the present invention (for example, the decoder time synchronization module 310, the switching time determination module 320, and the switching time transmission module 330 in the multi-channel decoder synchronization control apparatus). The processor 50 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 51, that is, implements the above-described method for controlling synchronization of the multi-decoder.
The method comprises the following steps:
the method comprises the steps that a master decoder and each slave decoder in a decoder grouping are subjected to time synchronization, and each decoder in the decoder grouping is used for providing a display picture to a pre-bound single screen to obtain a combined display picture;
the master decoder determines switching time according to rendering completion messages sent by the slave decoders aiming at the next picture of the bound single screen and rendering completion time of the slave decoders aiming at the next picture of the bound single screen;
and the master decoder sends the switching time to each slave decoder so that each decoder in the decoder group provides a corresponding next picture for display to the bound single screen at the switching time.
The storage program area can store an operating system and application programs required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 51 may further include memory located remotely from the processor 50, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Example six
Fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention, as shown in fig. 6, the electronic device includes a processor 60 and a memory 61; the number of the processors 60 in the electronic device may be one or more, and one processor 60 is taken as an example in fig. 6; the processor 60 and the memory 61 in the electronic device may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The memory 61 is a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a method for controlling synchronization of multiple decoders in the embodiment of the present invention (for example, the decoder time synchronization module 410, the message transmission module 420, and the picture display module 430 in the device for controlling synchronization of multiple decoders). The processor 60 executes various functional applications and data processing of the electronic device by running software programs, instructions and modules stored in the memory 61, that is, implements the above-described method for controlling the synchronization of the multi-decoders.
The method comprises the following steps:
time synchronization is carried out between the slave decoder and the master decoder in the decoder group, and each decoder in the decoder group is used for providing display pictures into the pre-bound single screen to obtain a combined display picture;
the slave decoder renders the next picture of the bound single screen, and sends a rendering completion message to the master decoder after rendering is completed so that the master decoder determines the switching time;
and the slave decoder receives the switching time sent by the master decoder, and provides the next picture for display to the bound single screen at the switching time.
The storage program area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE seven
An embodiment of the present invention further provides a computer-readable storage medium having stored thereon a computer program, which when executed by a computer processor is configured to perform a method for synchronous control of multiple decoders, the method including:
the method comprises the steps that a master decoder and each slave decoder in a decoder grouping are subjected to time synchronization, and each decoder in the decoder grouping is used for providing a display picture to a pre-bound single screen to obtain a combined display picture;
the master decoder determines switching time according to rendering completion messages sent by the slave decoders aiming at the next picture of the bound single screen and rendering completion time of the slave decoders aiming at the next picture of the bound single screen;
and the master decoder sends the switching time to each slave decoder so that each decoder in the decoder group provides a corresponding next picture for display to the bound single screen at the switching time.
The method may further comprise:
time synchronization is carried out between the slave decoder and the master decoder in the decoder group, and each decoder in the decoder group is used for providing display pictures into the pre-bound single screen to obtain a combined display picture;
the slave decoder renders the next picture of the bound single screen, and sends a rendering completion message to the master decoder after rendering is completed so that the master decoder determines the switching time;
and the slave decoder receives the switching time sent by the master decoder, and provides the next picture for display to the bound single screen at the switching time.
Of course, the storage medium provided by the embodiments of the present invention and containing the computer-executable instructions is not limited to the method operations described above, and may also perform related operations in the method for controlling synchronization of multiple decoders provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the synchronous control device for a multi-channel decoder, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A method for synchronization control of a multi-channel decoder, comprising:
a master decoder sends a synchronous message and a following message to each slave decoder in a decoder grouping so that each slave decoder performs clock synchronization operation according to the synchronous message and the following message; each decoder in the decoder group is used for providing display pictures into a pre-bound single screen to obtain a combined display picture;
responding to the delay request message sent by each slave decoder, sending a delay request response message to each slave decoder so that at least one slave decoder performs time synchronization operation according to the synchronization message, the following message, the delay request message and the delay request response message; wherein, according to the synchronous message, the following message, the delay request message and the delay request response message, performing time synchronization operation, including: performing time correction operation according to the receiving time of the synchronous message, the sending time of the synchronous message, the receiving time of the delay request message and the sending time of the delay request message;
the master decoder determines switching time according to rendering completion messages sent by the slave decoders aiming at the next picture of the bound single screen and rendering completion time of the slave decoders aiming at the next picture of the bound single screen;
and the master decoder sends the switching time to each slave decoder so that each decoder in the decoder group provides a corresponding next picture for display to the bound single screen at the switching time.
2. A method for synchronization control of a multi-channel decoder, comprising:
receiving a synchronous message and a following message sent by a main decoder, and performing clock synchronization operation according to the synchronous message and the following message; each decoder in the decoder group is used for providing display pictures into the pre-bound single screen to obtain a combined display picture;
sending a delay request message to the main decoder, and receiving a delay request response message fed back by the main decoder;
performing time synchronization operation according to the synchronization message, the following message, the delay request message and the delay request response message; wherein, according to the synchronous message, the following message, the delay request message and the delay request response message, performing time synchronization operation, including: performing time correction operation according to the receiving time of the synchronous message, the sending time of the synchronous message, the receiving time of the delay request message and the sending time of the delay request message;
the slave decoder renders the next picture of the bound single screen, and sends a rendering completion message to the master decoder after rendering is completed so that the master decoder determines the switching time;
and the slave decoder receives the switching time sent by the master decoder, and provides the next picture for display to the bound single screen at the switching time.
3. The method of claim 2, wherein receiving a synchronization packet and a follow packet sent by a master decoder, and performing clock synchronization operation according to the synchronization packet and the follow packet comprises:
receiving a synchronous message sent by the main decoder, and recording the receiving time of the synchronous message;
receiving a following message sent by the main decoder, and acquiring the sending time of the synchronous message contained in the following message;
performing clock synchronization calibration according to the receiving time of the synchronous message and the sending time of the synchronous message;
sending a delay request message to the main decoder, and receiving a delay request response message fed back by the main decoder, wherein the delay request response message comprises:
sending a delay request message to the main decoder, and recording the sending time of the delay request message;
and receiving a delay request response message fed back by the main decoder, and acquiring the receiving time of the delay request message contained in the delay request response message.
4. A method according to any of claims 2-3, further comprising, before time synchronization of the master decoder with each slave decoder in the group of slaves:
each decoder receives decoder grouping information sent by a server, wherein the decoder grouping information comprises a decoder group to which each decoder belongs, the role of each decoder in the decoder group, and all decoders contained in the decoder group.
5. An electronic device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of synchronous control of a multi-decoder as recited in claim 1.
6. An electronic device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of synchronous control of a multi-decoder as claimed in any of claims 2 to 4.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for synchronous control of a multi-decoder according to any one of claims 1 to 4.
CN201911275533.XA 2019-12-12 2019-12-12 Multi-channel decoder synchronization control method, equipment and storage medium Active CN111031194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911275533.XA CN111031194B (en) 2019-12-12 2019-12-12 Multi-channel decoder synchronization control method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911275533.XA CN111031194B (en) 2019-12-12 2019-12-12 Multi-channel decoder synchronization control method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111031194A CN111031194A (en) 2020-04-17
CN111031194B true CN111031194B (en) 2022-05-17

Family

ID=70206409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911275533.XA Active CN111031194B (en) 2019-12-12 2019-12-12 Multi-channel decoder synchronization control method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111031194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586454B (en) * 2020-05-21 2022-04-01 上海大因多媒体技术有限公司 Large screen splicing synchronization method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256128A (en) * 2011-07-12 2011-11-23 杭州华三通信技术有限公司 Synchronous decoding method and device
CN103491317A (en) * 2013-09-06 2014-01-01 北京东方艾迪普科技发展有限公司 Three-dimensional figure and image multi-screen synchronous broadcasting method, device and system
US8907963B2 (en) * 2011-11-14 2014-12-09 2236008 Ontario Inc. Concurrent graphic content on multiple displays
CN105635752A (en) * 2016-01-27 2016-06-01 广州偕作信息科技有限公司 Multi-level synchronous display system and method used for distributed splicing screen
CN109164997A (en) * 2018-08-22 2019-01-08 南京南瑞信息通信科技有限公司 Distributed picture rendering and picture control method for playing back, device and equipment
CN209086897U (en) * 2018-12-10 2019-07-09 深圳爱克莱特科技股份有限公司 Multi-screen synchronous play system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4095559B2 (en) * 2004-02-13 2008-06-04 株式会社東芝 H. H.264 codec IC, DVD playback device, H.264 H.264 codec method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256128A (en) * 2011-07-12 2011-11-23 杭州华三通信技术有限公司 Synchronous decoding method and device
US8907963B2 (en) * 2011-11-14 2014-12-09 2236008 Ontario Inc. Concurrent graphic content on multiple displays
CN103491317A (en) * 2013-09-06 2014-01-01 北京东方艾迪普科技发展有限公司 Three-dimensional figure and image multi-screen synchronous broadcasting method, device and system
CN105635752A (en) * 2016-01-27 2016-06-01 广州偕作信息科技有限公司 Multi-level synchronous display system and method used for distributed splicing screen
CN109164997A (en) * 2018-08-22 2019-01-08 南京南瑞信息通信科技有限公司 Distributed picture rendering and picture control method for playing back, device and equipment
CN209086897U (en) * 2018-12-10 2019-07-09 深圳爱克莱特科技股份有限公司 Multi-screen synchronous play system

Also Published As

Publication number Publication date
CN111031194A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN111541913B (en) Video playing method and device of spliced screen, computer equipment and medium
CN104375789B (en) The synchronous display method and system of mosaic screen
CN103491317B (en) Three-dimensional figure and image multi-screen synchronous broadcasting method, device and system
CN108366283B (en) Media synchronous playing method among multiple devices
US10203924B2 (en) Display apparatus, controlling method thereof and controlling method of display system
CN112653532B (en) Clock synchronization method, device and system
EP3326374A1 (en) Synchronizing audio content to audio and video devices
US10097790B2 (en) Carriage of PTP time reference data in a real-time video signal
WO2021136369A1 (en) Distributed cross-node video synchronization method and system
CN103402140A (en) Distributed IP (Internet Protocol) video decoder synchronous stitching and on-wall method and system
CN103079088A (en) Multi-screen video preprocessing and synchronous broadcasting method and system
CN110572532B (en) Synchronization device for splicer and splicing processing system
KR20080110083A (en) Tiled-display system and synchronization method in the system
CN107870754A (en) A kind of method and device of the content shown on control device
KR20170046989A (en) Display apparatus consisting a multi display system and control method thereof
CN105187689A (en) Method for synchronizing ultra-high-definition video played jointly by multiple terminals
CN111031194B (en) Multi-channel decoder synchronization control method, equipment and storage medium
CN104936030A (en) Startup picture display method, equipment and combined terminal system
WO2021207979A1 (en) Video processing device and system
CN112243105A (en) Distributed tiled display system, method and device and electronic equipment
CN111355861A (en) Multi-screen video synchronous splicing device and method
EP4391555A1 (en) Audio and video synchronization method and apparatus, electronic device and computer-readable storage medium
US9118947B2 (en) Multi-vision virtualization system and method
CN112309311B (en) Display control method, device, display control card and computer readable medium
CN104753997A (en) Multi-terminal real-time interaction method and system

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