CN113472969B - Multichannel link synchronization control method and device and video image processing equipment - Google Patents

Multichannel link synchronization control method and device and video image processing equipment Download PDF

Info

Publication number
CN113472969B
CN113472969B CN202110639228.5A CN202110639228A CN113472969B CN 113472969 B CN113472969 B CN 113472969B CN 202110639228 A CN202110639228 A CN 202110639228A CN 113472969 B CN113472969 B CN 113472969B
Authority
CN
China
Prior art keywords
synchronization
video
node
state
synchronous
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
CN202110639228.5A
Other languages
Chinese (zh)
Other versions
CN113472969A (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.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC 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 Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202110639228.5A priority Critical patent/CN113472969B/en
Publication of CN113472969A publication Critical patent/CN113472969A/en
Application granted granted Critical
Publication of CN113472969B publication Critical patent/CN113472969B/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
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a multichannel link synchronization control method, a multichannel link synchronization control device and video image processing equipment.A video source end sets a field value of a synchronization control register and a synchronization state control signaling deployed on a video source end according to state information to be synchronized by acquiring the state information to be synchronized of a multichannel link; and sending the synchronization state control signaling to the video node device, so that the video node device corrects the synchronization state of the video node device according to the synchronization state control instruction, sends synchronization feedback information to a video source end, the video source end receives the synchronization feedback information sent by the video node device, and synchronously controls the multi-channel link according to the synchronization feedback information, thereby improving the multi-channel link synchronization control mode in the prior art, reducing the error rate of video data on the multi-channel link, and reducing the probability of misjudgment of the video data on the multi-channel link.

Description

Multichannel link synchronization control method and device and video image processing equipment
Technical Field
The invention relates to the technical field of multichannel data transmission, in particular to a multichannel link synchronization control method and device and video image processing equipment.
Background
At present, a Video image processing system based on an FPGA (Field Programmable Gate Array) and an embedded system, in particular, relates to a Video image processing system with a DisplayPort (DP, digital Video Interface standard) of VESA (Video Electronics Standards Association), MIPI (Mobile Industry Processor Interface standard), HDMI (High Definition Multimedia Interface standard) for driving and displaying a Display panel such as a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), and a terminal.
In the conventional technology, when multi-channel display is supported, although video data is transmitted by using the same video source through a multi-channel link, a synchronous control mode of the video source and each video node device on the multi-channel link needs to be improved.
Disclosure of Invention
Therefore, in order to solve the above technical problems, it is necessary to provide a multi-channel link synchronization control method, a multi-channel link synchronization control device, and a video image processing apparatus, which can improve a multi-channel link synchronization control method in the conventional technology, thereby reducing an error rate of video data on a multi-channel link and reducing a probability of erroneous judgment of the video data on the multi-channel link.
A method of multi-channel link synchronization control, the method comprising:
acquiring state information to be synchronized of a multichannel link, wherein the multichannel link is a link formed by connecting a video source end and video node equipment, and the video source end is provided with a synchronization control register;
setting a field value and a synchronous state control signaling of the synchronous control register according to the state information to be synchronized;
sending the synchronization state control signaling to the video node equipment so that the video node equipment corrects the synchronization state of the video node equipment according to the synchronization state control instruction;
and receiving synchronous feedback information sent by the video node equipment, and synchronously controlling the multichannel link according to the synchronous feedback information.
In one embodiment, the bits of the synchronization control register include: at least one of a node type bit, a status indication bit, a link indication bit, a signaling check bit, and a policy acknowledgement bit.
In one embodiment, the synchronization state control signaling comprises: at least one of a signaling transmission type, a device type to be synchronized, a device synchronization state, a signaling sending period, a synchronization control strategy and a signaling check value.
In one embodiment, the performing synchronization control on the multi-channel link according to the synchronization feedback information includes:
correcting the synchronous state control signaling and the field value of the synchronous control register according to the synchronous feedback information;
and performing synchronous control on the multi-channel link according to the corrected synchronous state control signaling and the corrected field value.
In one embodiment, the policy acknowledgment bit has a synchronization acknowledgment value stored thereon; the method further comprises the following steps:
and matching the synchronous feedback information with the synchronous confirmation value, and verifying the synchronously controlled multi-channel link according to the matching result.
In one embodiment, the signaling check bit has a synchronization check value stored thereon; before the checking the multi-channel link after the synchronization control according to the matching result, the method further includes:
acquiring the receiving times of the synchronous feedback information;
the checking the multi-channel link after the synchronous control according to the matching result comprises the following steps:
when the synchronous feedback information is matched with the synchronous check value and the receiving times reach the synchronous check value, confirming that each video node device on the multichannel link completes synchronous control;
and when the synchronous feedback information is not matched with the synchronous check value, restarting to synchronously control other video node equipment, wherein the other video node equipment comprises video node equipment except the current video node equipment on the multichannel link, and the current video node equipment is the video node equipment for sending the synchronous feedback information.
In one embodiment, the video source has a synchronization control list; the restarting of the synchronous control of other video node devices comprises:
deleting the current video node equipment from the multi-channel link and updating the synchronous control list;
and connecting the superior node equipment and the subordinate node equipment of the current video node equipment according to the updated synchronous control list.
In one embodiment, the synchronization feedback information includes a status of the current video node device; the deleting the current video node device from the multi-channel link includes:
and when the state of the current video node equipment is a non-link control state or a state to be switched, deleting the current video node equipment from the multi-channel link.
In one embodiment, after said removing said current video node device from said multi-channel link, said method further comprises:
and when the state of the current video node equipment is the state to be switched, sending a link switching command to the current video node equipment, wherein the link switching command is used for indicating that the current video node is switched to other video source ends.
In one embodiment, the video node device is deployed with a first synchronization register; the modifying the synchronization state of the video node device according to the synchronization state control instruction includes:
when the synchronization is successful, correcting the state indication bit and the strategy confirmation bit of the first synchronization register into synchronization successful states respectively according to the synchronization state control instruction;
and when the synchronization fails, correcting the state indication bit and the strategy confirmation bit of the first synchronization register into synchronization failure states respectively according to the synchronization state control instruction.
In one embodiment, the setting of the field value of the synchronization control register and the synchronization state control signaling according to the state information to be synchronized includes:
setting the equipment synchronization state as a to-be-synchronized state according to the to-be-synchronized state information, setting the signaling sending period as a system period preset value, setting the synchronization control strategy as a synchronization success state, setting the signaling verification value as a system verification preset value, setting the state indication bit as a synchronization success state, setting the signaling verification bit as the system verification preset value, setting the strategy confirmation bit as a synchronization success state, and setting the signaling verification bit as a synchronization success state.
In one embodiment, the signaling transmission type includes a progressive synchronization control type, the device to be synchronized is a video node device belonging to the video source, and the node type bit is an adjacent next-stage node device; the sending the synchronization state control signaling to the video node device includes:
and after the upper-level node equipment of the adjacent lower-level node equipment completes synchronization, the upper-level node equipment sends the synchronization state control signaling to the adjacent lower-level node equipment so that the adjacent lower-level node equipment corrects the synchronization state of the adjacent lower-level node equipment according to the synchronization state control instruction.
In one embodiment, the node device that completes synchronization is marked as the current node device, and when the adjacent next-level node device is not the last-level node device, the following steps are executed in a loop-repeat manner:
when the adjacent next-level node equipment completes synchronization, the adjacent next-level node equipment which completes synchronization is the current node equipment, the current node equipment sends the synchronization state control signaling to the next-level node equipment of the current node equipment, so that the next-level node equipment corrects the synchronization state of the next-level node equipment according to the synchronization state control instruction, and sends synchronization feedback information to the current node equipment, and the current node equipment sends the synchronization feedback information step by step until the video source end;
and when the next-level node equipment completes synchronization, the next-level node equipment completing synchronization is the current node equipment.
In one embodiment, the signaling transmission type is a step-by-step homologous synchronization control type, the device to be synchronized is a video node device belonging to the video source end, and the node type bit is an adjacent next-step node device; the sending the synchronization state control signaling to the video node device includes:
and after the upper-level node equipment of the adjacent lower-level node equipment completes synchronization, the video source end continuously sends the synchronization state control signaling to the adjacent lower-level node equipment so that the adjacent lower-level node equipment corrects the synchronization state of the adjacent lower-level node equipment according to the synchronization state control instruction.
In one embodiment, the node device that completes synchronization is marked as the current node device, and when the adjacent next-level node device is not the last-level node device, the following steps are executed in a loop-repeat manner:
when the adjacent next-level node equipment completes synchronization, the adjacent next-level node equipment which completes synchronization is the current node equipment, the video source end continuously sends the synchronization state control signaling to the next-level node equipment of the current node equipment so that the next-level node equipment corrects the synchronization state of the next-level node equipment according to the synchronization state control instruction and sends synchronization feedback information to the current node equipment, and the current node equipment sends the synchronization feedback information step by step until the video source end;
and when the next-level node equipment completes synchronization, the next-level node equipment completing synchronization is the current node equipment.
In one embodiment, when the adjacent next-stage node device is a last-stage node device, the adjacent next-stage node device sends synchronous feedback information to the previous-stage node device, and the previous-stage node device sends the synchronous feedback information step by step until the video source end.
In one embodiment, the signaling transmission type is a peer-to-peer homologous synchronization control type, the device to be synchronized is a video node device belonging to the video source end, and the node type bit is a direct sending node device for directly sending a control signaling from the video source end; the sending the synchronization state control signaling to the video node device includes:
and the video source end simultaneously sends the synchronous state control signaling to each direct sending node device, and the synchronous direct sending node devices finish sending synchronous feedback information to the video source end step by step or directly.
In one embodiment, the signaling transmission type is a packet homologous synchronization control type, the to-be-synchronized device type is each group of feedback node devices, the group of feedback node devices are any designated node device in a node device packet obtained by grouping each video node device on the multichannel link, and the node type bit is a group of feedback node devices for directly sending a control signaling from a video source end; the sending the synchronization state control signaling to the video node device includes:
the video source end simultaneously sends the synchronization state control signaling to each group of feedback node equipment, so that the group of feedback node equipment forwards the synchronization state control signaling to each node equipment in the node equipment group to which the group of feedback node equipment belongs, and the group of feedback node equipment receives synchronization feedback information of each node equipment in the node equipment group to which the group of feedback node equipment belongs and sends the synchronization feedback information to the video source end.
A multi-channel link synchronization control apparatus, the apparatus comprising:
the system comprises a to-be-synchronized information acquisition module, a synchronization control register and a synchronization control register, wherein the to-be-synchronized information acquisition module is used for acquiring to-be-synchronized state information of a multi-channel link, the multi-channel link is formed by connecting a video source end and video node equipment, and the video source end is provided with the synchronization control register;
the signaling field setting module is used for setting the field value of the synchronous control register and the synchronous state control signaling according to the state information to be synchronized;
a synchronization signaling sending module, configured to send the synchronization state control signaling to the video node device, so that the video node device corrects the synchronization state of the video node device according to the synchronization state control instruction;
and the synchronous control module is used for receiving synchronous feedback information sent by the video node equipment and synchronously controlling the multi-channel link according to the synchronous feedback information.
A video image processing apparatus comprising a memory storing a computer program and a processor executing the computer program with the method steps of any of the above.
According to the multichannel link synchronization control method, the multichannel link synchronization control device and the video image processing equipment, by acquiring the state information to be synchronized of a multichannel link, the video source end sets the field value of the synchronization control register and the synchronization state control signaling deployed on the video source end according to the state information to be synchronized; and sending the synchronization state control signaling to the video node device, so that the video node device corrects the synchronization state of the video node device according to the synchronization state control instruction, sends synchronization feedback information to a video source end, the video source end receives the synchronization feedback information sent by the video node device, and synchronously controls the multi-channel link according to the synchronization feedback information, thereby improving the multi-channel link synchronization control mode in the prior art, reducing the error rate of video data on the multi-channel link, and reducing the probability of misjudgment of the video data on the multi-channel link.
Drawings
FIG. 1 is a schematic diagram of a video imaging system in one embodiment;
FIG. 2 is a flow diagram illustrating a multi-channel link synchronization control method according to an embodiment;
FIG. 3 is a flowchart illustrating step S240 according to an embodiment;
FIG. 4 is a flow chart of a multi-channel link synchronization control method in another embodiment;
FIG. 5 is a flow chart of a multi-channel link synchronization control method in another embodiment;
fig. 6 is a block diagram showing the structure of a multi-channel link synchronization control apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As shown in fig. 1, the video image system according to the present application includes an embedded control module, an FPGA module, an external storage module, a fast storage module, a peripheral module, a video interface physical layer implementation module, and a video transmission link.
The embedded control module may use any embedded chip and system, and is mainly responsible for initiating signaling interaction, such as reading/writing a register, enabling/shutting down a video display module and module, peripheral control, parameter setting of the video display module, and the like.
The FPGA module is mainly responsible for implementing the implementation parts requiring a large amount of data processing and low round-trip delay (latency) such as storage control, peripheral control, video interface IP core implementation, and the like.
The external storage module is mainly responsible for storing original data streams of video images to be displayed in the video image processing system, and storage media such as NandFlash and SSD are applied to the external storage module, but not limited to the external storage module.
The fast storage module is used in an implementation process that requires a large amount of data processing and low round-trip delay (latency) inside the FPGA module, and in order to reduce the delay, the module uses a fast and low-delay physical device, such as DDR3, but not limited thereto.
The peripheral module includes GPIO (General-purpose input/output), UART (Universal Asynchronous Receiver/Transmitter), USB (Universal Serial Bus), network interface, and the like, but is not limited thereto.
The video interface physical layer implementation module is mainly responsible for the physical layer implementation required for driving the display module, such as, but not limited to, TX/RX (Transmitter/Receiver) -PHY of DisplayPort, DPHY of MIPI, and the like.
Furthermore, the FPGA module includes a bus interaction module, an MCU (micro controller Unit, micro control module) video stream preprocessing module, a video data stream transmission control module, a clock control module, an embedded soft core control module, a bus controller module, an internal storage controller module, an external control module, a display clock generator module, a video timing controller module, and a video interface IP core module.
The bus interaction module is mainly responsible for the functions of selection, decision and the like of all other modules connected to the bus interaction module.
The MCU video stream preprocessing module is mainly responsible for preprocessing and converting the video data stream input from the external storage module according to a format and a parameter type set by a system so as to facilitate the post-processing.
The video data stream transmission control module is mainly responsible for controlling the time sequence, parameters and the like of the data stream after data stream preprocessing and conversion.
The clock control module is mainly responsible for generating and controlling a global clock in the video image processing system.
The embedded soft core control module is a control core of the FPGA module, and is mainly responsible for core functions of timing control, parameter configuration, physical process implementation and the like of all modules inside the FPGA module, and the embedded soft core control module can be used in the implementation of the core functions, such as Xilinx MicroBlaze and the like, but is not limited to the implementation.
The bus controller module is mainly responsible for controlling all modules connected with the bus interaction module, but is not limited to this.
The video pattern processing module is mainly responsible for mode conversion, timing control and the like of video image data streams corresponding to the video interface IP core module, but is not limited thereto.
The internal storage controller module is mainly responsible for controlling the fast storage module, including, but not limited to, writing/reading of data streams, frame control, and the like.
The peripheral control module is mainly responsible for controlling all the peripheral modules, including enabling/shutting down of the peripheral, controlling the working mode, and the like, but not limited thereto.
The display clock generator module is mainly responsible for timing control of all modules, including but not limited to the video interface IP core module and the video interface physical layer implementation module.
The video timing controller module is mainly responsible for data conversion, timing control and other processing when data input from the video pattern processing module is transmitted to the video interface IP core module, but is not limited thereto.
The video transmission link includes, but is not limited to, a video transmission source, an embedded physical repeater, a cable with a source ID, a detachable physical repeater, a video receiving end, and the like.
In the conventional technology, when a video link is transmitted through multiple stages, due to changes in Physical Layer (PHY) status of different video data transmission links, transmission loss, differences in equipment and cable configurations on the video link, and changes in transmission distance, etc., although multiple channels are transmitted using the same video source, the display effect at the video receiving end is greatly different. Such as: when the transmission distance becomes longer and the number of connected channels, nodes and devices increases, video synchronization and abnormal significance in transmission delay exist. Meanwhile, a video sending end (namely a video source end) does not have an effective way to monitor the synchronization condition of each video terminal and each video node, and also does not have a recovery mechanism after the synchronization and the desynchronization of each video terminal and each video node on a video data transmission link are maintained, so that the problem of Bit Error Rate (BER) of video data on different links and the misjudgment of current video frame data are caused by the synchronization of each video node device belonging to the same node.
Based on the video image system, the application provides a multichannel link synchronization control method, which completes the synchronization control of each video node device in the multichannel link by using a synchronization state control command and a synchronization control register. Specifically, state information to be synchronized of a multi-channel link is obtained, the multi-channel link is a link formed by connecting a video source end and video node equipment, and a synchronization control register is deployed at the video source end; setting a field value of a synchronous control register and a synchronous state control signaling according to the state information to be synchronized; sending a synchronous state control signaling to the video node equipment so that the video node equipment corrects the synchronous state of the video node equipment according to the synchronous state control instruction; and receiving synchronous feedback information sent by the video node equipment, and synchronously controlling the multi-channel link according to the synchronous feedback information. Wherein the bits of the synchronization control register include: at least one of a node type bit, a status indication bit, a link indication bit, a signaling check bit, and a policy validation bit. The synchronization state control signaling includes: at least one of a signaling transmission type, a device type to be synchronized, a device synchronization state, a signaling sending period, a synchronization control strategy and a signaling check value.
In one embodiment, the present application provides a multi-channel link synchronization control method, as shown in fig. 2, the method including:
s210, acquiring the state information to be synchronized of the multi-channel link.
The multi-channel link is formed by connecting a video source end and video node equipment, and a synchronous control register is arranged at the video source end. A multi-channel link may include a video source → a video node, a video source → a video device, a video source → a video node → a video device, a video node → a video node. Specifically, the video source obtains status information to be synchronized of the multi-channel link, where the status information to be synchronized may include types of devices on the channel link and/or a synchronization device list formed by the devices, such as the video source, the video node, or the video device, and the status information to be synchronized may also be types between the devices on the channel link, or may also be a type of a signaling transmission link.
S220, setting the field value of the synchronization control register and the synchronization state control signaling according to the state information to be synchronized.
Wherein, the bit of the synchronous control register comprises at least one of a node type bit, a state indicating bit, a link indicating bit, a signaling check bit and a strategy confirming bit. The synchronization state control signaling comprises at least one of a signaling transmission type, a device type to be synchronized, a device synchronization state, a signaling sending period, a synchronization control strategy and a signaling check value.
The node type bit is used for storing the types of the node devices to be synchronized, and comprises the node to which the current video source belongs, the device to which the current video source belongs, the node to which the heterogeneous source belongs, the device to which the heterogeneous source belongs and the like.
The state indicating bit is used for storing the synchronization success state or the synchronization failure state of the current node equipment to be synchronized.
The link indicating bit is used for storing video sources to which the node equipment to be synchronized belongs and connection states of upper and lower level node equipment, such as a to-be-switched state and an unconnected state, directly connecting the upper level and the lower level of the node equipment in the unconnected state, and switching the node or the equipment to other video sources in the to-be-switched state.
The signaling check bit is used for storing a synchronization check value carried by a synchronization control signaling received by the current node device to be synchronized from a video source (i.e., a video source end), and the value is used for indicating how many times the current node device to be synchronized needs to successfully receive the synchronization control signaling before starting synchronization control, so as to ensure that the current node device to be synchronized does not start synchronization control due to mistakenly receiving the synchronization control signaling.
The data stored in the policy confirmation bit is used to indicate further operations to be performed after the node device to be synchronized fails to complete synchronization, and may be understood as a synchronization control policy.
The signaling transmission type comprises at least one of a progressive synchronous control type, a progressive homologous synchronous control type, a peer homologous synchronous control type, a grouping homologous synchronous control type and the like.
The device type to be synchronized may refer to a type of a node device to be synchronized currently in the multi-channel link, such as a node, a device, and the like, and the registration of each node device type in the entire multi-channel link may be completed in a form of a list.
The device synchronization state may refer to a synchronization condition of a node device to be synchronized currently in the multi-channel link, that is, a synchronization success or a synchronization failure.
The signaling sending period may refer to a frequency at which the video source sends the synchronization state control signaling, and if the signaling sending period is short, the video source may monitor the synchronization condition of each node device on the multi-channel link more timely, thereby avoiding frequent desynchronization, but increasing the overhead of the video source for sending the synchronization state control signaling. The arrangement is suitable for the topology with poor quality of the video transmission link; if the signaling sending period is long, the overhead of sending the synchronization state control signaling by the video source is obviously reduced, but the video source can monitor the synchronization condition of each node device (also called as video node device) on the multi-channel link for a longer time, which may cause frequent desynchronization.
The synchronization control policy may be matched with a policy validation bit in a synchronization control register to pass on further processing of the current node device after completion of synchronization control.
The signaling check value is matched with the signaling check bit in the synchronous control register and is used for transmitting the effective times that each node device on the multichannel link needs to receive the synchronous state control signaling, and misoperation caused by the fact that each node device receives the wrong synchronous control signaling is avoided.
Specifically, to-be-synchronized state information of each video node device on the multi-channel link is acquired, each field in a synchronization state control signaling to be issued is initialized and set in combination with the to-be-synchronized state information, and a field value of a synchronization control register deployed on a video source end is initialized and set.
And S230, sending a synchronization state control signaling to the video node equipment so that the video node equipment corrects the synchronization state of the video node equipment according to the synchronization state control instruction.
Specifically, the video source end sends a synchronization state control signaling to the video node device, where the synchronization state control signaling carries information data for performing synchronization control on the multi-channel link, such as a field value of at least one field of a signaling transmission type, a device type to be synchronized, a device synchronization state, a signaling sending period, a synchronization control policy, and a signaling check value. And the video node equipment receives the synchronous state control signaling and corrects the synchronous state of the video node equipment according to the synchronous state control instruction. For example, if the synchronization control is successful, the synchronization state of the video node device is modified to be a synchronization successful state. And if the synchronization control fails, correcting the synchronization state of the video node equipment into a synchronization failure state.
S240, receiving the synchronous feedback information sent by the video node equipment, and synchronously controlling the multi-channel link according to the synchronous feedback information.
The synchronization feedback information may be used to reflect a synchronization condition of each video node device on the multi-channel link, such as a synchronization success status or a synchronization failure status. Specifically, after completing the correction of the synchronization state, the video node device sends synchronization feedback information to the video source end, and the video source end receives the synchronization feedback information sent by the video node device. And the video source end synchronously controls each video node device on the multi-channel link according to the synchronous feedback information.
According to the multichannel link synchronization control method, the video source end sets the field value of a synchronization control register and a synchronization state control signaling deployed on the video source end according to the state information to be synchronized by acquiring the state information to be synchronized of the multichannel link; and sending a synchronous state control signaling to the video node equipment so that the video node equipment corrects the synchronous state of the video node equipment according to the synchronous state control instruction, sends synchronous feedback information to the video source end, the video source end receives the synchronous feedback information sent by the video node equipment and synchronously controls the multi-channel link according to the synchronous feedback information, and the improvement of a multi-channel link synchronous control mode in the traditional technology is realized, so that the error rate of video data on the multi-channel link is reduced, and the misjudgment probability of the video data on the multi-channel link is reduced.
In one embodiment, as shown in fig. 3, the performing synchronization control on the multi-channel link according to the synchronization feedback information includes:
s310, correcting the synchronous state control signaling and the field value of the synchronous control register according to the synchronous feedback information.
And S320, performing synchronous control on the multi-channel link according to the corrected synchronous state control signaling and the corrected field value.
Specifically, the video source receives synchronization feedback information sent by the video node device, where the synchronization feedback information carries information reflecting synchronization conditions of the video node device, and the synchronization feedback information may be sent to the video source in a form of signaling. A first synchronization register can be deployed on the video node equipment; and the video node equipment corrects the state indicating bit and the strategy confirming bit of the first synchronization register into synchronization success states respectively. When the synchronization fails, the video node equipment corrects the state indicating bit and the strategy confirming bit of the first synchronization register into synchronization failure states respectively. The synchronization feedback information carries data stored in the status indication bit and the policy confirmation bit of the first synchronization register, such as data reflecting a synchronization failure status or a synchronization success status. The video source end corrects the synchronous state control signaling and the field value of the synchronous control register according to the synchronous feedback information carrying the data reflecting the synchronous failure state or the synchronous success state, the field value of the synchronous control register can determine the stored data on the bit by strategy and is used for reflecting the corresponding synchronous control strategy, and the multichannel link is synchronously controlled according to the corrected synchronous state control signaling and the synchronous control strategy.
In this embodiment, the synchronization condition of the multi-channel link is fed back to the video source end through the synchronization feedback information, so as to ensure the effectiveness of the synchronized multi-channel link.
In one embodiment, the policy acknowledgment bit has a synchronization acknowledgment value stored thereon. The method further comprises the following steps: and matching the synchronous feedback information with the synchronous confirmation value, and verifying the synchronously controlled multi-channel link according to the matching result.
Specifically, after completing the synchronization control, the video source end can check the transmission link that has established synchronization, so as to ensure the accuracy and validity of the transmission link that has established synchronization. The synchronization feedback information carries data reflecting synchronization conditions, such as synchronization success or synchronization failure status data stored by a status indication bit and a policy validation bit of the first synchronization register. And matching the synchronous feedback information with the synchronous confirmation value, and if the data carried in the synchronous feedback information is consistent with the synchronous confirmation value, the video source end sends a check to the multi-channel link and determines a synchronous result. If the data carried in the synchronization feedback information is inconsistent with the synchronization confirmation value, the synchronization control is completed according to the synchronization control strategy.
In this embodiment, the synchronization feedback information is matched with the synchronization confirmation value, and the multi-channel link after the synchronization control is verified according to the matching result, so as to further ensure that the multi-channel link is synchronously controlled.
In one embodiment, the signaling parity bits have a synchronization check value stored thereon. As shown in fig. 4, before checking the multi-channel link after synchronization control according to the matching result, the method further includes:
and S410, acquiring the receiving times of the synchronous feedback information.
And verifying the synchronously controlled multi-channel link according to the matching result, wherein the verification comprises the following steps:
and S420, when the synchronous feedback information is matched with the synchronous check value and the receiving times reach the synchronous check value, confirming that the current video node equipment on the multi-channel link completes synchronous control.
And S430, when the synchronization feedback information is not matched with the synchronization check value, restarting to perform synchronization control on other video node equipment.
The other video node devices comprise video node devices except the current video node device on the multichannel link, and the current video node device is the video node device sending the synchronous feedback information. Specifically, the video source end records the number of times of reception of the synchronization feedback information each time the synchronization feedback information is received. Before the multi-channel link is verified, the video source end obtains the receiving times of the synchronous feedback information, compares the receiving times with the synchronous verification value, and can confirm that the current video node equipment on the multi-channel link completes synchronous control if the receiving times reach the synchronous verification value and the synchronous feedback information is matched with the synchronous verification value. When the synchronization feedback information is not matched with the synchronization check value, which indicates that synchronization fails, the current video node device may be deleted, and synchronization control of other video node devices needs to be restarted. In this embodiment, it can be avoided that the video node device receives an erroneous synchronization control signaling to cause an erroneous operation.
In one embodiment, the video source has a synchronization control list. As shown in fig. 5, resuming the synchronous control of the other video node devices includes:
s510, deleting the current video node equipment from the multichannel link, and updating the synchronous control list.
And S520, connecting the superior node equipment and the subordinate node equipment of the current video node equipment according to the updated synchronous control list.
Specifically, the video source peer has a synchronization control list that is generated based on the registration of each video node device on the multi-channel link. The synchronization control list includes the current video node device. If the synchronization of the current video node equipment fails, the current video node equipment can be deleted from the multichannel link, and the synchronization control list can be updated. And connecting the superior node device and the subordinate node device of the current video node device according to the updated synchronous control list. It should be noted that the upper node device of the current video node device is an upper node device that is immediately adjacent or neighboring to the current video node device. The lower node device of the current video node device is a next-level node device next adjacent or neighboring to the current video node device.
In this embodiment, after synchronization of the current video node device fails, the current video node device is deleted from the multi-channel link, and synchronization control is continuously performed on other video node devices, so that synchronization control over the multi-channel link is determined, time spent by the current video node device is reduced, and synchronization efficiency is improved.
In one embodiment, the synchronization feedback information includes a current video node device status; deleting a current video node device from a multi-channel link, comprising: and when the current video node equipment is in a non-link control state or a state to be switched, deleting the current video node equipment from the multichannel link.
Wherein, the non-link control state refers to a state that the video node device is not connected to the multi-channel video link; the state to be switched means that the video node device is already connected to the multi-channel video link but needs to be switched to another video source. Whether the state is the non-link control state or the state to be switched, it indicates that the current video node device may have a fault, or the state of the current video node device is no longer suitable for the current multi-channel video link. Thus, the current video node device is removed from the multi-channel link. Further, the video source end may also switch to other links that better conform to the video parameters of the current video node device according to the video parameters of the current video node device, such as the change of the link rate, the resolution, and the like.
In one embodiment, after removing the current video node device from the multi-channel link, the method further comprises: and when the current video node equipment is in the state to be switched, sending a link switching command to the current video node equipment.
And the link switching command is used for indicating that the current video node is switched to other video source ends. Specifically, when the current video node device is in a state to be switched, the video source terminal deletes the current video node device from the multi-channel link and sends a link switching command to the current video node device, so that the current video node device is switched to other video sources. Further, the video source updates the synchronization control list. And connecting the superior node device and the subordinate node device of the current video node device according to the updated synchronous control list.
In one embodiment, a video node device is deployed with a first synchronization register; the method for correcting the synchronization state of the video node equipment according to the synchronization state control instruction comprises the following steps:
and when the synchronization is successful, modifying the state indication bit and the strategy confirmation bit of the first synchronization register into synchronization successful states respectively according to the synchronization state control instruction.
And when the synchronization fails, modifying the state indication bit and the strategy confirmation bit of the first synchronization register into synchronization failure states respectively according to the synchronization state control instruction.
Specifically, the video node device is deployed with a first synchronization register, and bits of the first synchronization register include at least one of a node type bit, a status indication bit, a link indication bit, a signaling check bit, and a policy confirmation bit. When the video node equipment successfully synchronizes according to the synchronization state control signaling sent by the video source end, the video node equipment corrects the state indication bit and the strategy confirmation bit of the first synchronization register to be in synchronization success states respectively. When the video node equipment fails to synchronize according to a synchronization state control signaling sent by the video source end, the video node equipment corrects a state indication bit and a strategy confirmation bit of the first synchronization register to be in synchronization failure states respectively.
In one embodiment, setting a field value of a synchronization control register and a synchronization state control signaling according to the state information to be synchronized includes: setting the equipment synchronization state as a to-be-synchronized state according to the to-be-synchronized state information, setting the signaling sending period as a system period preset value, setting the synchronization control strategy as a synchronization success state, setting the signaling verification value as a system verification preset value, setting the state indication bit as a synchronization success state, setting the signaling verification bit as a system verification preset value, setting the strategy confirmation bit as a synchronization success state, and setting the signaling verification bit as a synchronization success state.
In one embodiment, the signaling transmission type includes a progressive synchronization control type, the device type to be synchronized is each video node device belonging to the video source, and the node type bit is an adjacent next-level node device. Sending a synchronization state control signaling to a video node device, comprising: and after the upper-level node equipment of the adjacent lower-level node equipment completes synchronization, the upper-level node equipment sends a synchronization state control signaling to the adjacent lower-level node equipment so that the adjacent lower-level node equipment corrects the synchronization state of the adjacent lower-level node equipment according to the synchronization state control instruction.
Specifically, the progressive synchronization control type means that a video sending end sends a synchronization state control signaling to a next-level node device (denoted as a first-level node device) next to the video sending end, and after the first-level node device completes synchronization, the first-level node device sets a synchronization control register deployed on the first-level node device as a completion state and sends synchronization feedback information to the video sending end to feed back the synchronization state of the first-level node device.
When the first-stage node equipment completes synchronization, the first-stage node equipment sends a synchronization state control signaling to next-stage node equipment (marked as second-stage node equipment) adjacent to the first-stage node equipment, after the second-stage node equipment completes synchronization, the second-stage node equipment sets a synchronization control register deployed on the second-stage node equipment as a completion state and sends synchronization feedback information to the first-stage node equipment to feed back the synchronization state of the second-stage node equipment, and the first-stage node equipment sends synchronization feedback information to a video sending end to feed back the synchronization state of the second-stage node equipment. That is, the synchronous feedback information is fed back to the video sending end (i.e., video source end) in a step-by-step reporting manner, and the video sending end (i.e., video source end) updates its synchronous control register, thereby completing the synchronous control of the second-stage node device. The synchronization feedback information may take the form of control signaling in a multi-channel link synchronization state.
When the second-level node equipment completes synchronization, the second-level node equipment sends a synchronization state control signaling to next-level node equipment (marked as third-level node equipment) adjacent to the second-level node equipment, after the third-level node equipment completes synchronization, the third-level node equipment sets a synchronization control register deployed on the third-level node equipment as a completion state, sends synchronization feedback information to the second-level node equipment to feed back the synchronization state of the third-level node equipment, and sends synchronization feedback information to the first-level node equipment to feed back the synchronization state of the third-level node equipment. And the first-level node equipment sends synchronous feedback information to the video sending end to feed back the synchronous state of the third-level node equipment. That is, the synchronous feedback information is fed back to the video sending end (i.e., video source end) in a step-by-step reporting manner, and the video sending end (i.e., video source end) updates its synchronous control register, thereby completing the synchronous control of the third-level node device. The synchronization feedback information may take the form of control signaling in a multi-channel link synchronization state. And by analogy, the synchronous control of the multi-channel link is completed in a step-by-step progressive synchronous control mode.
And when the adjacent next-stage node equipment is the last-stage node equipment, the adjacent next-stage node equipment sends synchronous feedback information to the previous-stage node equipment, and the previous-stage node equipment sends the synchronous feedback information step by step until the video source end.
In one embodiment, the node device that completes synchronization is marked as the current node device, and when the adjacent next-stage node device is not the last-stage node device, the following steps are executed in a loop-repeated manner:
when the adjacent next-stage node equipment completes synchronization, the adjacent next-stage node equipment which completes synchronization is current node equipment, and the current node equipment sends a synchronization state control signaling to the next-stage node equipment of the current node equipment, so that the next-stage node equipment corrects the synchronization state of the next-stage node equipment according to the synchronization state control signaling and sends synchronization feedback information to the current node equipment, and the current node equipment sends the synchronization feedback information step by step to a video source end;
and when the next-level node equipment completes synchronization, the next-level node equipment completing synchronization is the current node equipment.
In particular, an implementation flow of progressive synchronization control type is exemplarily provided. The progressive synchronization control type means that a video sending end sends a multi-channel link synchronization state control command to an adjacent next-stage node device, the node device after synchronization sets a synchronization control register on the node device to be in a completion state, feeds back the synchronization state of the node device to the previous stage, feeds back synchronization feedback information to the video sending end in a form of signaling (the multi-channel link synchronization state control command) in a progressive reporting mode, and the video sending end updates the synchronization control register on the video sending end to complete the synchronization control of the current stage. And then, the current-stage node equipment which completes the synchronous control sends a synchronous state control command to the next-stage node equipment which is next to the current-stage node equipment, and the steps are repeated until the last-stage node equipment of the multi-channel video transmission channel completes the synchronous control. The type of synchronous control is used for the condition that the video transmission link in multiple channels has fewer stages, and has the advantages that the synchronous state is confirmed one by one in a step-by-step mode, and the invalid synchronous operation of node equipment of a subsequent stage caused by the fact that synchronization is not completed in a certain stage is avoided.
Specifically, the synchronization status control signaling may be a multi-channel link synchronization status control command, and the implementation steps are as follows:
step S602, the video source end initializes the signaling transmission type of the multi-channel link synchronization state control command to be a progressive synchronization control type.
Step S604, the video source initializes the types of devices to be synchronized of the multi-channel link synchronization state control command, that is, each node device to be synchronously controlled in the synchronization control list.
Step S606, the video source initializes the device synchronization state of the multi-channel link synchronization state control command to the state to be synchronized.
Step S608: the video source end initializes the signaling sending period of the multi-channel link synchronization state control command to be a system specific value.
Step S610: the video source end initializes the synchronization control strategy of the multi-channel link synchronization state control command to a synchronization success state.
Step S612: and the video source end initializes the signaling check value of the multi-channel link synchronization state control command to be a system specific value.
Step S614: the video source end initializes the next node device whose node type bit of the synchronous control register is adjacent.
Step S616: the video source end initializes the status indicator bit of the synchronization control register to a synchronization success status.
Step S618: the video source end initializes the upper level and the lower level of the link indicating bit of the synchronous control register as the adjacent node equipment.
Step S620: and the signaling check bit of the video source end initialization synchronous control register is a system specific value.
Step S622: the video source end initializes the strategy confirmation bit of the synchronization control register to be in a synchronization success state.
Step S624: the synchronized node equipment sends a synchronization control signaling to the next level node equipment;
step S626: the next node device receives the synchronization control signaling and completes synchronization control, and if the synchronization control is successful, the step goes to step S628, otherwise, the step goes to step S632.
Step S628: and the current node equipment to be synchronously controlled corrects the state indication bit of the synchronous control register into a synchronous success state.
Step S630: the node device currently to be synchronously controlled modifies the policy validation bit of the synchronization control register to a synchronization success state, and goes to step S636.
Step S632: and the current node equipment to be synchronously controlled corrects the state indication bit of the synchronous control register into a synchronous failure state.
Step S634: the node or device currently to be synchronously controlled modifies the policy validation bit of the synchronization control register to be in the synchronization failure state, and then goes to step S638.
Step 636: and if the node equipment to be synchronously controlled currently is the last level, the step is carried out to step S638, and if not, the step is carried out to step S626.
Step S638: and the node equipment to be synchronously controlled currently feeds back a synchronization result to the node equipment at the previous stage until the synchronization result is fed back to the video source end.
Step S640: and the video source end receives the synchronization result feedback and corrects all fields of the multi-channel link synchronization state control signaling.
The method comprises the following steps of 642: and the video source end receives the synchronization result feedback and corrects all fields of the synchronization control register.
Step S644: the video source end completes the synchronous control according to the multi-channel link synchronous state control signaling and the synchronous control strategy in the synchronous control register, if the synchronization is successful, the step S646 is carried out, otherwise, the step S648 is carried out.
Step S646: and the video source end initiates video transmission link verification and confirms a synchronization result.
Step S648: and the video source end completes the synchronous control according to the synchronous control strategy.
In one embodiment, the signaling transmission type is a step-by-step homologous synchronization control type, the device to be synchronized is each video node device belonging to a video source end, and the node type is an adjacent next-step node device; sending a synchronization state control signaling to a video node device, comprising: after the upper-level node device of the adjacent lower-level node device completes synchronization, the video source end continuously sends a synchronization state control signaling to the adjacent lower-level node device, so that the adjacent lower-level node device corrects the synchronization state of the adjacent lower-level node device according to the synchronization state control instruction.
The step-by-step homologous type synchronous control means that all synchronous state control commands are sent by a video source end, the video source end sends synchronous state control commands to a next-stage node device next to the video source end, the node device after synchronization sets a synchronous control register deployed on the node device to be in a completion state, the synchronous state of the node device is fed back to the previous-stage node device, synchronous feedback information is fed back to the video source end in a synchronous state control signaling mode in a step-by-step reporting mode, the video source end updates the synchronous control register of the node device to complete synchronous control of the current-stage node device, and then the video source end continues to send the synchronous state control signaling to the next-stage node device and repeats the operation until the last-stage node device of the multi-channel link completes synchronous control.
Specifically, the video source end sends a synchronization state control signaling to the next level node device (denoted as a first level node device) adjacent to the video source end, and after the first level node device completes synchronization, the first level node device sets a synchronization control register deployed on the first level node device to be in a completion state, and sends synchronization feedback information to the video sending end to feed back the synchronization state of the first level node device.
When the first-stage node equipment completes synchronization, the video source end sends a synchronization state control signaling to next-stage node equipment (marked as second-stage node equipment) close to the first-stage node equipment, and after the second-stage node equipment completes synchronization, the second-stage node equipment sets a synchronization control register deployed on the second-stage node equipment as a completion state and sends synchronization feedback information to the video sending end step by step to feed back the synchronization state of the second-stage node equipment.
When the second-level node device completes synchronization, the video source end sends a synchronization state control signaling to a next-level node device (marked as a third-level node device) close to the second-level node device, and after the third-level node device completes synchronization, the third-level node device sets a synchronization control register deployed on the third-level node device as a completion state and sends synchronization feedback information to the video sending end step by step to feed back the synchronization state of the third-level node device. And by analogy, the synchronous control of the multi-channel link is completed in a step-by-step homologous synchronous control mode.
And when the adjacent next-stage node equipment is the last-stage node equipment, the adjacent next-stage node equipment sends synchronous feedback information to the previous-stage node equipment, and the previous-stage node equipment sends the synchronous feedback information step by step until the video source end.
In one embodiment, the node device that completes synchronization is marked as the current node device, and when the adjacent next-stage node device is not the last-stage node device, the following steps are executed in a loop-repeated manner:
when the adjacent next-stage node equipment completes synchronization, the adjacent next-stage node equipment which completes synchronization is the current node equipment, the video source end continuously sends a synchronization state control signaling to the next-stage node equipment of the current node equipment so that the next-stage node equipment corrects the synchronization state of the next-stage node equipment according to the synchronization state control signaling and sends synchronization feedback information to the current node equipment, and the current node equipment sends the synchronization feedback information step by step to the video source end;
and when the next-level node equipment completes synchronization, the next-level node equipment completing synchronization is the current node equipment.
The step-by-step homologous type synchronous control means that all synchronous state control commands are sent by a video source end, the video source end sends synchronous state control commands to an adjacent next-stage node device, the node device after synchronization is finished sets a synchronous control register to be in a finished state and feeds back the synchronous state of the synchronous control register to a previous-stage node device, synchronous state information is fed back to a video sending end in a multi-channel link synchronous state control command mode in a step-by-step reporting mode, the video source end updates the synchronous control register of the synchronous control register to finish synchronous control of the current-stage node device, and then the video source end continues to send synchronous state control commands to the next-stage node device and repeats the operation until the last-stage node device on the multi-channel link finishes synchronous control. The type of synchronous control is used for the situation that a video transmission link has a complex link topological structure with multiple levels of nodes and equipment, the transmission times of synchronous control signaling between different node equipment can be obviously reduced, and the system load is reduced.
Specifically, the synchronization status control signaling may be a multi-channel link synchronization status control command, and the implementation steps are as follows:
step S702, the video source end initializes the signaling transmission type of the multi-channel link synchronization state control command to the step-by-step homologous synchronization control type.
Step S704, the video source initializes the types of devices to be synchronized of the multi-channel link synchronization state control command, that is, each node device to be synchronously controlled in the synchronization control list.
Step S706, the video source end initializes the device synchronization state of the multi-channel link synchronization state control command to a state to be synchronized.
Step S708, the video source initializes a signaling transmission period of the multi-channel link synchronization state control command to a system specific value.
Step S710, the video source initializes the synchronization control policy of the multi-channel link synchronization state control command to a synchronization success state.
Step S712, the video source initializes a signaling check value of the multi-channel link synchronization state control command to a system specific value.
Step S714, the video source initializes the node type bit of the synchronization control register to be the synchronized node or the next node device next to the device.
Step S716, the video source initializes the status indicator bit of the synchronization control register to the synchronization success status.
Step S718, the video source initializes the upper and lower levels of the link indicator bit of the synchronization control register as its adjacent node devices.
Step S720, the video source end initializes the signaling check bit of the synchronous control register to be a system specific value.
Step S722, the video source initializes the policy confirmation bit of the synchronization control register to the synchronization success state.
Step S724, the next node device next to the node device synchronized at the video source end sends a synchronization control signaling.
Step S726, the next-level node device next to the next node device receives the synchronization state control signaling, and completes synchronization control, if the synchronization control is successful, go to step S728, otherwise go to step S732.
Step S728, the node device currently to be synchronously controlled corrects the synchronization control state indication field of the synchronization control register to a synchronization success state.
Step S730, the node device currently to be synchronously controlled modifies the synchronization control policy confirmation field of the synchronization control register to a synchronization success state, and goes to step S736.
In step S732, the node device currently to be synchronously controlled modifies the synchronization control state indication field of the synchronization control register to be in a synchronization failure state.
In step S734, the node device currently under synchronous control modifies the synchronization to the synchronization control policy confirmation field of the control register to be in the synchronization failure state, and goes to step S738.
Step S736, whether the node device currently to be synchronously controlled is the last level, if yes, go to step S738, otherwise, go to step S726.
Step S737, the node device currently to be synchronously controlled feeds back the synchronization result to the previous node device until the synchronization result is fed back to the video source end.
Step S740, the video source end receives the synchronization result feedback, and corrects all fields of the multi-channel link synchronization state control signaling.
Step S742, the video source receives the synchronization result feedback, and corrects all fields of the synchronization control register.
Step S744, the video source end completes the synchronous control according to the multi-channel link synchronous state control signaling and the synchronous control strategy in the synchronous control register, if the synchronization is successful, the step S746 is carried out, otherwise, the step S748 is carried out.
Step S746, the video source end initiates the video transmission link check and confirms the synchronization result.
And step S748, the video source end completes the synchronous control according to the synchronous control strategy.
In one embodiment, the signaling transmission type is a peer-to-peer homologous synchronization control type, the device to be synchronized is each video node device belonging to a video source end, and the node type bit is a direct sending node device for directly sending a control signaling from the video source end; sending a synchronization state control signaling to a video node device, comprising:
and the video source end simultaneously sends a synchronous state control signaling to each direct sending node device, and the synchronous direct sending node devices finish step-by-step sending or directly send synchronous feedback information to the video source end.
The same-level homologous synchronous control type means that a video source end directly sends synchronous control signaling to all nodes or equipment of different levels to acquire synchronous state information of the nodes or equipment, the state of a synchronous control register of the nodes or the equipment is set, and two modes can be adopted when the synchronous state is fed back to the video source end, wherein one mode is to directly establish a synchronous control signaling transmission link between a video source and the nodes/equipment and directly feed back the synchronous control signaling transmission link to the video source end, and the mode has higher system overhead; in addition, the video source end is fed back by a step-by-step feedback mode, which can report in a step-by-step mode to reduce the system overhead, but the synchronization state of each step is unknown, so that the condition of synchronization control signaling transmission failure can occur. The type has the advantages that the synchronous control signaling is sent to all nodes and equipment at one time, the synchronous control time delay is greatly shortened, but the defect that the synchronous state of each stage cannot be predicted is overcome, and therefore, invalid synchronous control signaling sending and feedback can be caused, and larger system load is brought.
Specifically, the synchronization status control signaling may be a multi-channel link synchronization status control command, and the implementation steps are as follows:
step S802, the signaling transmission type of the multi-channel link synchronization state control command initialized by the video source end is the same-level source synchronization control type.
Step S804, the video source initializes the types of devices to be synchronized of the multi-channel link synchronization state control command, that is, each node device to be synchronously controlled in the synchronization control list.
Step S806, the video source initializes the device synchronization status of the multi-channel link synchronization status control command to the state to be synchronized.
Step S808, the video source end initializes the signaling sending period of the multi-channel link synchronization state control command to be a system specific value.
Step S810, the video source initializes the synchronization control policy of the multi-channel link synchronization state control command to a synchronization success state.
Step S812, the video source initializes a signaling check value of the multi-channel link synchronization state control command to a system specific value.
Step S814, the video source initializes the node type bit of the synchronization control register to be the node device that the video source directly sends the synchronization status control signaling.
Step S816, the video source initializes the status indicator bit of the synchronization control register to the synchronization success status.
Step S818, the video source initializes the node devices of the upper and lower link indicator bits of the synchronization control register, which directly send the synchronization status control signaling for the video source.
Step S820, the video source initializes the signaling check bit of the synchronization control register to a system specific value.
Step S822, the video source initializes the policy confirmation bit of the synchronization control register to the synchronization success state.
Step S824, the video source sends synchronization control signaling to all nodes or devices to be synchronized at the same time.
Step S826, all the node devices to be synchronized receive the synchronization control signaling, and complete synchronization control.
Step S828, all the node devices to be synchronously controlled modify the synchronization control status indication field of the synchronization control register to be the status after the synchronization control is completed.
Step S830, all the node devices to be synchronized read the values of the fields of the multi-channel link synchronization state control command and the bits of the synchronization control register, if the node devices are in a step-by-step feedback mode, the step S832 is carried out, and if the node devices are in a direct feedback mode to the video source end, the step S834 is carried out.
Step S832, the node device that has currently completed synchronization control feeds back the synchronization result to the node device at the previous stage until the synchronization result is fed back to the video source end.
Step S834, the video source end receives the synchronization result feedback, and corrects all fields of the node or device matching with the currently received synchronization result in the multi-channel link synchronization state control signaling.
Step S836, the video source end completes the synchronous control according to the multi-channel link synchronous state control signaling and the synchronous control strategy in the synchronous control register, if the synchronization is successful, the step S838 is proceeded, otherwise, the step S840 is proceeded.
Step S838, the video source initiates a video transmission link check, and confirms the synchronization result.
And step S840, the video source end completes the synchronous control according to the synchronous control strategy.
In one embodiment, the signaling transmission type is a grouping homologous synchronization control type, the type of the device to be synchronized is each group of feedback node devices, the group feedback node devices are any designated node devices in node device groups obtained by grouping each video node device on a multi-channel link, and the node type bit is the group feedback node device for directly sending a control signaling from a video source end; sending a synchronization state control signaling to a video node device, comprising:
the video source end simultaneously sends a synchronization state control signaling to each group of feedback node equipment so that the group feedback node equipment forwards the synchronization state control signaling to each node equipment in the node equipment group to which the group feedback node equipment belongs, and the group feedback node equipment receives synchronization feedback information of each node equipment in the node equipment group to which the group feedback node equipment belongs and sends the synchronization feedback information to the video source end.
The grouping homologous type synchronous control type refers to grouping node equipment on a current video transmission link according to synchronous measurement results of the node equipment, such as synchronous time delay, link quality, Bit Error Rate (BER) and the like, wherein for the same group, a video source only sends a synchronous control signaling once, and the synchronous control result of the whole group is considered as a whole; meanwhile, for node devices in the same group, a video source may designate a certain specific node device as a synchronization control result for feeding back all node devices, and if one or more node devices in the group do not complete synchronization control, only the certain node device feeds back the video source that synchronization control is unsuccessful; otherwise, delay waiting or feedback synchronization control success can be adopted; the method has the advantages that the synchronous control signaling is sent only once for the packets, the sending times of the synchronous control signaling are effectively reduced, and particularly, the effect of reducing the signaling overhead is more obvious in a complex topology with a large number of nodes or equipment in a video transmission link, so that the method is more suitable for the rapid synchronous control of all the node equipment in the video transmission link topology under a good transmission environment.
In particular, the synchronization state control signaling may be a multi-channel link synchronization state control command. The implementation steps are as follows:
step S902, the signaling transmission type of the multi-channel link synchronization state control command initialized by the video source end is a packet-homologous synchronization control type.
Step S904, the video source initializes the types of devices to be synchronized of the multi-channel link synchronization state control command, i.e., each group of feedback node devices. Wherein the group feedback node device is any designated node device in the node device group obtained by grouping each video node device on the multi-channel link
Step S906, the video source end initializes the equipment synchronization state of the multi-channel link synchronization state control command to be a state to be synchronized.
Step S908, the video source initializes a signaling sending period of the multi-channel link synchronization state control command to a system specific value.
Step S910, the video source initializes the synchronization control policy of the multi-channel link synchronization state control command to a synchronization success state.
Step S912, the video source initializes a signaling check value of the multi-channel link synchronization state control command to a system specific value.
Step S914, the node type bit of the video source end initialization synchronization control register is a group feedback node device for the video source end to directly send the control signaling.
Step S916, the video source initializes the synchronization control status indication field of the synchronization control register to the synchronization success status.
Step S918, the video source initializes the upper and lower levels of the link indicator bit of the synchronization control register to be the group feedback node device that the video source directly sends the synchronization state control signaling.
Step S920, the video source initializes the signaling check bit of the synchronization control register to a system specific value.
Step S922, the video source initializes the policy confirmation bit of the synchronization control register to the synchronization success state.
Step S924, the video source sends a synchronization control signaling to all the group feedback node devices at the same time.
Step S926, the group feedback node device receives the synchronization control signaling, and completes synchronization control.
Step S928, the group feedback node device modifies the status indicator bit of the synchronization control register to the status after the synchronization control is completed.
Step S930, the group feedback node device forwards the synchronization control signaling to all node devices in the same group to which the group feedback node device belongs.
Step 932, all node devices in the same group receive the synchronization state control signaling, and complete synchronization control.
And step S934, modifying the state indication bits of the synchronous control registers to be the state after synchronous control is completed by all the node devices in the same group.
In step S926, all node devices belonging to the same group read the multi-channel link synchronization state control command and the synchronization control register.
And step S938, all the node devices in the same group feed back the synchronization condition to the group feedback node device according to the synchronization control signaling and the value of the synchronization control register.
Step S940, the video source receives the synchronization result feedback of the group feedback node device, and corrects values on each bit of the node device matching the currently received synchronization result in the multi-channel link synchronization state control signaling.
Step S942, the video source end completes synchronization control according to the multi-channel link synchronization state control signaling and the synchronization control policy in the synchronization control register, if the synchronization is successful, go to step S944, otherwise, go to step S946.
Step S944, the video source initiates a video transmission link check, and confirms a synchronization result.
And S946, the video source end completes the synchronous control according to the synchronous control strategy.
In one embodiment, table 1 shows a synchronization control strategy embodiment, but is not so limited.
Table 1 synchronization control strategy embodiment
Figure BDA0003106489050000231
Figure BDA0003106489050000241
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
In one embodiment, as shown in fig. 6, there is provided a multi-channel link synchronization control apparatus 600, including: a to-be-synchronized information acquisition module 610, a signaling field setting module 620, a synchronization signaling sending module 630 and a synchronization control module 640, wherein:
a to-be-synchronized information obtaining module 610, configured to obtain to-be-synchronized state information of a multi-channel link, where the multi-channel link is a link formed by connecting a video source end and a video node device, and the video source end is deployed with a synchronization control register;
a signaling field setting module 620, configured to set a field value of the synchronization control register and a synchronization state control signaling according to the to-be-synchronized state information;
a synchronization signaling sending module 630, configured to send the synchronization state control signaling to the video node device, so that the video node device corrects the synchronization state of the video node device according to the synchronization state control instruction;
and the synchronization control module 640 is configured to receive synchronization feedback information sent by the video node device, and perform synchronization control on the multi-channel link according to the synchronization feedback information.
For specific limitations of the multi-channel link synchronization control apparatus, reference may be made to the above limitations of the multi-channel link synchronization control method, which is not described herein again. The modules in the multi-channel link synchronization control device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment, a video image processing device is provided, comprising a memory having a computer program stored therein and a processor implementing the method steps of the above embodiments when executing the computer program.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A method for multi-channel link synchronization control, the method comprising:
acquiring state information to be synchronized of a multi-channel link, wherein the multi-channel link is a link formed by connecting a video source end and video node equipment, and the video source end is provided with a synchronization control register;
setting a field value of the synchronous control register and a synchronous state control signaling according to the state information to be synchronized;
sending the synchronization state control signaling to the video node equipment so that the video node equipment corrects the synchronization state of the video node equipment according to the synchronization state control signaling;
and receiving synchronous feedback information sent by the video node equipment, and synchronously controlling the multichannel link according to the synchronous feedback information.
2. The method of claim 1, wherein the bits of the synchronization control register comprise: at least one of a node type bit, a status indication bit, a link indication bit, a signaling check bit, and a policy confirmation bit;
the synchronization state control signaling comprises: at least one of a signaling transmission type, a device type to be synchronized, a device synchronization state, a signaling sending period, a synchronization control strategy and a signaling check value.
3. The method according to claim 2, wherein the performing synchronization control on the multi-channel link according to the synchronization feedback information comprises:
correcting the synchronous state control signaling and the field value of the synchronous control register according to the synchronous feedback information;
and performing synchronous control on the multi-channel link according to the corrected synchronous state control signaling and the corrected field value.
4. The method of claim 3, wherein the policy acknowledgment bit has a synchronization acknowledgment value stored thereon; the method further comprises the following steps:
and matching the synchronous feedback information with the synchronous confirmation value, and verifying the synchronously controlled multi-channel link according to the matching result.
5. The method of claim 4, wherein the signaling parity bits have a synchronization check value stored thereon; before the checking the multi-channel link after the synchronization control according to the matching result, the method further includes:
acquiring the receiving times of the synchronous feedback information;
the checking the multi-channel link after the synchronous control according to the matching result comprises the following steps:
when the synchronous feedback information is matched with the synchronous check value and the receiving times reach the synchronous check value, confirming that each video node device on the multichannel link completes synchronous control;
and when the synchronous feedback information is not matched with the synchronous check value, restarting to synchronously control other video node equipment, wherein the other video node equipment comprises video node equipment except the current video node equipment on the multichannel link, and the current video node equipment is the video node equipment for sending the synchronous feedback information.
6. The method of claim 5, wherein the video source has a synchronization control list; the restarting of the synchronous control of other video node devices comprises:
deleting the current video node equipment from the multi-channel link and updating the synchronous control list;
and connecting the superior node equipment and the subordinate node equipment of the current video node equipment according to the updated synchronous control list.
7. The method of claim 6, wherein the synchronization feedback information comprises a status of the current video node device; the deleting the current video node device from the multi-channel link includes:
and when the state of the current video node equipment is a non-link control state or a state to be switched, deleting the current video node equipment from the multi-channel link.
8. The method of claim 6, wherein after said removing the current video node device from the multi-channel link, the method further comprises:
and when the state of the current video node equipment is the state to be switched, sending a link switching command to the current video node equipment, wherein the link switching command is used for indicating that the current video node is switched to other video source ends.
9. The method of claim 2, wherein the video node device is deployed with a first synchronization register; the modifying the synchronization state of the video node device according to the synchronization state control signaling includes:
when the synchronization is successful, correcting the state indication bit and the strategy confirmation bit of the first synchronization register into synchronization successful states respectively according to the synchronization state control signaling;
and when the synchronization fails, correcting the state indication bit and the strategy confirmation bit of the first synchronization register into synchronization failure states respectively according to the synchronization state control signaling.
10. The method according to any one of claims 3 to 9, wherein the setting of the field value of the synchronization control register and the synchronization state control signaling according to the state information to be synchronized comprises:
setting the equipment synchronization state as a to-be-synchronized state according to the to-be-synchronized state information, setting the signaling sending period as a system period preset value, setting the synchronization control strategy as a synchronization success state, setting the signaling verification value as a system verification preset value, setting the state indication bit as a synchronization success state, setting the signaling verification bit as the system verification preset value, setting the strategy confirmation bit as a synchronization success state, and setting the signaling verification bit as at least one of a synchronization success state.
11. The method according to claim 10, wherein the signaling transmission type includes a progressive synchronization control type, the device type to be synchronized is each video node device belonging to the video source end, and the node type bit is an adjacent next-level node device; the sending the synchronization state control signaling to the video node device includes:
after the upper-level node equipment of the adjacent lower-level node equipment completes synchronization, the upper-level node equipment sends the synchronization state control signaling to the adjacent lower-level node equipment so that the adjacent lower-level node equipment corrects the synchronization state of the adjacent lower-level node equipment according to the synchronization state control signaling;
and recording the node equipment which completes synchronization as current node equipment, and circularly and repeatedly executing the following steps when the adjacent next-stage node equipment is not the last-stage node equipment: when the adjacent next-level node device completes synchronization, the adjacent next-level node device which completes synchronization is the current node device, the current node device sends the synchronization state control signaling to the next-level node device of the current node device, so that the next-level node device corrects the synchronization state of the next-level node device according to the synchronization state control signaling and sends synchronization feedback information to the current node device, and the current node device sends the synchronization feedback information step by step to the video source end; when the next-level node equipment completes synchronization, the next-level node equipment which completes synchronization is the current node equipment;
and when the adjacent next-stage node equipment is the last-stage node equipment, the adjacent next-stage node equipment sends synchronous feedback information to the previous-stage node equipment, and the previous-stage node equipment sends the synchronous feedback information step by step until the video source end.
12. The method according to claim 10, wherein the signaling transmission type is a progressive homologous synchronization control type, the device type to be synchronized is each video node device belonging to the video source end, and the node type bit is an adjacent next-level node device; the sending the synchronization state control signaling to the video node device includes:
after the upper-level node device of the adjacent lower-level node device completes synchronization, the video source end continues to send the synchronization state control signaling to the adjacent lower-level node device, so that the adjacent lower-level node device corrects the synchronization state of the adjacent lower-level node device according to the synchronization state control signaling;
and recording the node equipment which completes synchronization as current node equipment, and circularly and repeatedly executing the following steps when the adjacent next-stage node equipment is not the last-stage node equipment: when the adjacent next-level node equipment completes synchronization, the adjacent next-level node equipment which completes synchronization is the current node equipment, the video source end continuously sends the synchronization state control signaling to the next-level node equipment of the current node equipment, so that the next-level node equipment corrects the synchronization state of the next-level node equipment according to the synchronization state control signaling and sends synchronization feedback information to the current node equipment, and the current node equipment sends the synchronization feedback information step by step until the video source end; when the next-level node equipment completes synchronization, the next-level node equipment which completes synchronization is the current node equipment;
and when the adjacent next-stage node equipment is the last-stage node equipment, the adjacent next-stage node equipment sends synchronous feedback information to the previous-stage node equipment, and the previous-stage node equipment sends the synchronous feedback information step by step until the video source end.
13. The method of claim 10, wherein the signaling transmission type is a peer-to-peer type of synchronization control, the device to be synchronized is a video node device belonging to the video source, and the node type bit is a direct sending node device that directly sends control signaling from a video source; the sending the synchronization state control signaling to the video node device includes:
and the video source end simultaneously sends the synchronous state control signaling to each direct sending node device, and the synchronous direct sending node devices finish sending synchronous feedback information to the video source end step by step or directly.
14. The method according to claim 10, wherein the signaling transmission type is a packet homologous synchronization control type, the device type to be synchronized is each group of feedback node devices, the group of feedback node devices is any designated node device in a node device packet obtained by grouping each video node device on the multi-channel link, and the node type bit is a group of feedback node devices for directly sending a control signaling from a video source; the sending the synchronization state control signaling to the video node device includes:
the video source end sends the synchronization state control signaling to each group of feedback node devices at the same time, so that the group of feedback node devices forwards the synchronization state control signaling to each node device in the node device group to which the group of feedback node devices belongs, and the group of feedback node devices receives synchronization feedback information of each node device in the node device group to which the group of feedback node devices belongs and sends the synchronization feedback information to the video source end.
15. A multi-channel link synchronization control apparatus, the apparatus comprising:
the system comprises a to-be-synchronized information acquisition module, a synchronization control register and a synchronization control register, wherein the to-be-synchronized information acquisition module is used for acquiring to-be-synchronized state information of a multi-channel link, the multi-channel link is formed by connecting a video source end and video node equipment, and the video source end is provided with the synchronization control register;
the signaling field setting module is used for setting the field value of the synchronous control register and the synchronous state control signaling according to the state information to be synchronized;
a synchronization signaling sending module, configured to send the synchronization state control signaling to the video node device, so that the video node device corrects the synchronization state of the video node device according to the synchronization state control signaling;
and the synchronous control module is used for receiving synchronous feedback information sent by the video node equipment and synchronously controlling the multi-channel link according to the synchronous feedback information.
16. A video image processing apparatus comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 14.
CN202110639228.5A 2021-06-08 2021-06-08 Multichannel link synchronization control method and device and video image processing equipment Active CN113472969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110639228.5A CN113472969B (en) 2021-06-08 2021-06-08 Multichannel link synchronization control method and device and video image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110639228.5A CN113472969B (en) 2021-06-08 2021-06-08 Multichannel link synchronization control method and device and video image processing equipment

Publications (2)

Publication Number Publication Date
CN113472969A CN113472969A (en) 2021-10-01
CN113472969B true CN113472969B (en) 2022-05-10

Family

ID=77869480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110639228.5A Active CN113472969B (en) 2021-06-08 2021-06-08 Multichannel link synchronization control method and device and video image processing equipment

Country Status (1)

Country Link
CN (1) CN113472969B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020005063A (en) * 2018-06-26 2020-01-09 キヤノン株式会社 Processing device and control method thereof, output device, synchronization control system, and program
CN112684994A (en) * 2020-12-24 2021-04-20 苏州华兴源创科技股份有限公司 Multichannel resource adjustment method and computer-readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526034B2 (en) * 2006-04-18 2009-04-28 2Wire, Inc. Method and apparatus for communicating between devices having no common electrical ground
CN102647303B (en) * 2012-04-28 2015-08-26 浪潮电子信息产业股份有限公司 The method for designing of the dynamic self-healing mechanism of a kind of data transmission link
CN108702327B (en) * 2016-02-01 2020-10-23 斯塔尔邓迪有限公司 Multi-channel communication interface, communication link and communication method on multi-channel communication link
CN109104260B (en) * 2018-07-26 2019-09-24 电子科技大学 The synchronous method of plate card type multichannel data acquisition system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020005063A (en) * 2018-06-26 2020-01-09 キヤノン株式会社 Processing device and control method thereof, output device, synchronization control system, and program
CN112684994A (en) * 2020-12-24 2021-04-20 苏州华兴源创科技股份有限公司 Multichannel resource adjustment method and computer-readable storage medium

Also Published As

Publication number Publication date
CN113472969A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
WO2018177190A1 (en) Method and device for synchronizing blockchain data
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN112346425B (en) Factory automation testing method, system, projection equipment and storage medium
CN113472969B (en) Multichannel link synchronization control method and device and video image processing equipment
CN104883611A (en) Debugging method and system of television screen
CN104703028B (en) A kind of frame of video correcting method, apparatus and system
JP6601256B2 (en) Ethernet switch device
JPWO2020166378A1 (en) Communication equipment and methods, and programs
US20130016762A1 (en) Data communication system, method of optimizing preamble length, and communication apparatus
CN111327393A (en) Image detector parameter transmission method based on serial communication interface
JP5376990B2 (en) Relay device and relay method of relay device
WO2017000713A1 (en) Method and device for synchronizing clock time transport modes in optical transport network
CN115485998A (en) Communication device and communication system
CN110224786B (en) Data transmission method, device and system and display device
JP2009089262A (en) Image formation system, image formation method, and program
US12040962B2 (en) Routing information management method and apparatus, and computer storage medium
JP5494028B2 (en) Switch device
US9294704B2 (en) Image capturing apparatus and image capturing method
TWI763299B (en) Television system, control method and non-transient computer readable medium
JP6813637B1 (en) Transmission device and transmission method
US10979259B1 (en) Communication device and skew correction method thereof
JP2005228222A (en) Serial data transfer method and device
KR102091445B1 (en) Data receiving apparatus and method thereof
US20140281838A1 (en) Sensor and sensing method
JP2016096493A (en) Communication system and image forming device

Legal Events

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