CN114257847A - Data correction method and device, computer equipment and computer readable storage medium - Google Patents

Data correction method and device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN114257847A
CN114257847A CN202111368541.6A CN202111368541A CN114257847A CN 114257847 A CN114257847 A CN 114257847A CN 202111368541 A CN202111368541 A CN 202111368541A CN 114257847 A CN114257847 A CN 114257847A
Authority
CN
China
Prior art keywords
transmission
data
channel
correction
node
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.)
Pending
Application number
CN202111368541.6A
Other languages
Chinese (zh)
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 CN202111368541.6A priority Critical patent/CN114257847A/en
Publication of CN114257847A publication Critical patent/CN114257847A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2404Monitoring of server processing errors or hardware failure
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The application relates to the technical field of data transmission, and particularly discloses a data correction method, a data correction device, computer equipment and a computer readable storage medium. The method comprises the following steps: receiving a transmission correction instruction sent by a transmission node, wherein the transmission correction instruction is generated when the transmission node determines that the received video data is wrong; detecting the transmission capability of each transmission node in each channel to generate a capability detection result; and determining a transmission correction mode according to the capability detection result, and correcting data according to the transmission correction mode. When data received by a certain level of transmission nodes is wrong, the video source end determines the transmission nodes with surplus transmission capacity by detecting the current transmission capacity of each transmission node in each channel, and determines a transmission correction mode according to the transmission capacity, so that the transmission correction of the data is completed, and the problems of discontinuous display, incomplete image, overlapping and the like of a large number of transmission nodes caused by the fact that the certain level of transmission nodes have the wrong video data are avoided.

Description

Data correction method and device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data correction method, apparatus, computer device, and computer-readable storage medium.
Background
At present, with Video image processing systems, especially Video image processing systems with DisplayPort (DP, digital Video Interface standard) of VESA (Video Electronics Standards Association), MIPI (Mobile Industry Processor Interface standard), HDMI (High Definition Multimedia Interface standard), in the process of driving the display terminals such as liquid crystal and organic light emitting diode to perform multi-channel display, when the nodes in each channel detect that the current frame data has errors, the problems of discontinuity, incomplete images, overlapping, tearing and the like in display can be caused, particularly in complex network topologies where multiple channels exist in the video image processing system and multiple levels of nodes exist in each channel, if the video data of the previous stage is wrong, the display of all other nodes subordinate to the node of the current stage is influenced.
Disclosure of Invention
In view of the above, it is desirable to provide a data correction method, a data correction apparatus, a computer device, a computer-readable storage medium, and a computer program product, which address the above problems.
A data correction method is used for correcting errors occurring when data are transmitted by multiple channels, and each channel comprises a plurality of transmission nodes; the data correction method comprises the following steps:
receiving a transmission correction instruction sent by the transmission node, wherein the transmission correction instruction is generated when the transmission node determines that the received video data is wrong;
detecting the transmission capability of each transmission node in each channel to generate a capability detection result;
and determining a transmission correction mode according to the capability detection result, and correcting data according to the transmission correction mode.
In one embodiment, the transmission modification instruction includes an identifier of each transmission node on a channel where the transmission node to be modified is located.
In one embodiment, when the transmission node detects that the number of errors of the received video data reaches a preset threshold, it determines that the video data is erroneous.
In one embodiment, when the transfer node determines that the received video data is faulty, the transfer node calls the buffered data in the memory and displays the data.
In one embodiment, the step of determining a transmission correction manner according to the capability detection result includes:
determining a target channel and a target transmission node which are suitable for correcting data according to the transmission capability of each transmission node in each channel;
and correcting data through the target channel and a target transmission node in the target channel.
In one embodiment, the target channel includes a channel where the transmission node to be corrected is located, and the target transmission node includes other single or multiple transmission nodes in the channel where the transmission node to be corrected is located;
or, the target channel includes a channel other than the channel where the transmission node to be corrected is located, and the target transmission node includes a single or multiple transmission nodes in the channel other than the channel where the transmission node to be corrected is located.
A data correction device is used for correcting errors occurring when data are transmitted by multiple channels, wherein each channel comprises a plurality of transmission nodes; the data correction apparatus includes:
a receiving module, configured to receive a transmission correction instruction sent by the transmission node, where the transmission correction instruction is generated when the transmission node determines that the received video data is incorrect;
the detection module is used for detecting the transmission capability of each transmission node in each channel and generating a capability detection result;
and the correction module is used for determining a transmission correction mode according to the capability detection result and correcting data according to the transmission correction mode.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the data correction method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data correction method described above.
A computer program product comprising a computer program which, when executed by a processor, carries out the steps of the data correction method described above.
According to the data correction method, when data received by a certain level of transmission node is wrong, a video source end does not directly retransmit video data to the transmission node, but determines the transmission node with the transmission capacity having the margin by detecting the current transmission capacity of each transmission node in each channel, and determines the transmission correction mode according to the transmission capacity, so that the data transmission correction is completed. Meanwhile, compared with the method of directly retransmitting video data, the method can be combined with other nodes to assist in completing data transmission, so that the correction efficiency is effectively improved, and the correction effect is guaranteed.
Drawings
FIG. 1 is a schematic diagram of a video image processing system in one particular example;
fig. 2 is a schematic structural diagram of a data transmission network topology in a specific example;
fig. 3 is a block flow diagram of a data correction method according to an embodiment of the present application;
fig. 4 is a block flow diagram of a data modification apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
As described in the background art, in an application scenario in which a video image processing system drives a display terminal to perform multi-channel display, when nodes in each channel detect that there is an error in current frame data, problems of discontinuity, incomplete images, overlapping, tearing, and the like during display may occur. If the video data of the same frame is repeatedly transmitted in order to solve the problem, the transmission efficiency of the channel will be significantly reduced, and meanwhile, a large amount of video data will be stored at a node where a data error occurs, which causes an excessive payload and causes instability of a video transmission link on the channel.
In order to solve the above-mentioned problems, the present application provides a data correction method, a data correction apparatus, a computer device, a computer-readable storage medium, and a computer program product.
First, a video image processing system according to the present application will be described:
referring to fig. 1, the video image processing system 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.
Specifically, 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/closing a video display module, peripheral control, setting parameters of the video display module, and the like; the FPGA module is mainly responsible for implementing the implementation parts which need 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 needing to be displayed in the video image processing system, and the part is applied to storage media such as NandFlash, SSD and the like, but is not limited to the storage media; the fast storage module is used for a module which needs a large amount of data processing and low round-trip delay (latency) in the implementation process of the FPGA module, and is stored with delay in order to reduce delay, and the module applies a fast and low-delay physical device, such as DDR3, but is not limited thereto; the peripheral module includes GPIO (General-purpose input/output), UART (Universal Asynchronous Receiver/Transmitter), USB (Universal Serial Bus), network port, etc., but is not limited thereto; the video interface physical layer implementation module is mainly responsible for driving the physical layer implementation required by the display module, such as, but not limited to, TX/RX (Transmitter/Receiver) -PHY of DisplayPort, DPHY of MIPI, and the like.
The FPGA module comprises a bus interaction module, an MCU (micro controller Unit) 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 time schedule controller module, a video pattern processing 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 the format and parameter types set by the 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, but not limited to, Xilinx MicroBlaze and the like; the bus controller module is mainly responsible for controlling all modules connected with the bus interaction module, but is not limited to the control; the video pattern processing module is mainly responsible for mode conversion, time sequence control and the like of video image data streams corresponding to the video interface IP core module, but is not limited to the mode conversion, the time sequence control and the like; the internal storage controller module is mainly responsible for controlling the fast storage module, including but not limited to writing/reading of data stream, frame control, etc.; the peripheral control module is mainly responsible for controlling all peripheral modules, including enabling/closing of peripherals, working mode control and the like, but not limited thereto; the display clock generator module is mainly responsible for the time sequence control of all modules for realizing the video interface IP core module and the video interface physical layer, but is not limited to the time sequence control; 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 (i.e. channel) includes a video source end (i.e. video transmission source) and transmission nodes (including an embedded physical repeater, a cable with a source ID, a detachable physical repeater, a video sink, etc.), but is not limited thereto.
Fig. 2 is an example of a data transmission network topology structure of the video image processing system, where the data transmission network topology structure includes a video source end, which is equivalent to 1 centralized control node, and further includes 5 video nodes and 11 video devices, where a transmission channel includes a plurality of nodes, which are respectively: video source → video node 1 → video device 1/2/3, video source → video device 3, video source → video node 2 → video device 4/5, video source → video device 6, video source → video node 3 → video device 6/7/8/9/10, video source → video node 4 → video node 5 → video device 11. The process of multi-channel data transmission is that the video source end issues video data to each transmission channel, and transmits the video data to each video device through each transmission channel, so as to realize video display.
In one embodiment, a data correction method is provided, which can be applied to the video image processing system, and can also be applied to other forms of multi-channel transmission and display systems, and the present embodiment is only described in the context of the video image processing system. The video image processing system comprises a video source end, wherein the video source end transmits video data through a plurality of channels, and each channel comprises a plurality of transmission nodes.
Referring to fig. 3, the data correction method provided in this embodiment includes the following steps:
step S200, receiving a transmission correction instruction sent by the transmission node, where the transmission correction instruction is generated when the transmission node determines that the received video data is faulty.
The method comprises the steps that firstly, a video source end sends video data to each channel, the video data are sequentially transmitted through transmission nodes of all levels in each channel, if a certain level of transmission nodes judge that the received video data are wrong, a transmission correction instruction is generated, and the transmission correction instruction is sent to the video source end to request the video source end to correct the wrong video data at the transmission nodes.
Step S400, the transmission capability of each transmission node in each channel is detected, and a capability detection result is generated.
After the video source end receives the transmission correction instruction sent by the transmission node, the video source end does not directly retransmit the video data to the transmission node, but makes a correction scheme by combining the actual state of each channel. In this embodiment, the current transmission capability of each transmission node in each channel is first detected to obtain a capability detection result, so that a correction strategy is formulated subsequently in combination with the actual transmission capability of each transmission node.
And S600, determining a transmission correction mode according to the capability detection result, and correcting data according to the transmission correction mode.
When the video source end determines the transmission capability of each transmission node in each channel, a transmission correction mode can be determined according to the capability detection result, and then data correction is performed according to the transmission correction mode. Specifically, the transmission nodes with surplus transmission capability can be determined according to the capability detection result, and the transmission nodes with surplus transmission capability are selected to assist in completing the transmission of the video data, so that the transmission nodes with wrong video data can receive correct video data.
According to the data correction method, when data received by a certain level of transmission node is wrong, a video source end does not directly retransmit video data to the transmission node, but determines the transmission node with the transmission capacity having the margin by detecting the current transmission capacity of each transmission node in each channel, and determines the transmission correction mode according to the transmission capacity, so that the data transmission correction is completed. Meanwhile, compared with the method of directly retransmitting video data, the method can be combined with other nodes to assist in completing data transmission, so that the correction efficiency is effectively improved, and the correction effect is guaranteed.
In one embodiment, the transmission modification instruction includes an identifier of each transmission node on a channel where the transmission node to be modified is located. When the transmission node detects that the received video data is wrong, the identification of the current transmission node and the identifications of all the transmission nodes on the channel can be carried in a transmission correction instruction and sent to the video source end, so that the video data can be transmitted according to the path corresponding to the identification during correction.
Specifically, the transmission correction instruction may include a node flag bit, and the identifier of the current transmission node and the identifiers of all transmission nodes on the channel where the current transmission node is located may be written into the node flag bit, and the video source end may determine the transmission node in which the error occurs only by reading the content in the node flag bit from the transmission correction instruction, so as to transmit the video data to the corresponding transmission node after determining the correction mode.
In addition, the transmission correction instruction may further include a correction request flag bit, where the correction request flag bit is used to mark a data transmission correction request initiated by a transmission node where the video data error occurs to the video source end, and when the video source end acquires the transmission correction instruction, the video source end may read the correction request flag bit therein, and then perform the subsequent steps of correction.
In one embodiment, when the transmission node detects that the number of errors of the received video data reaches a preset threshold, it determines that the video data is erroneous.
Specifically, the transmission node may detect the received video data in real time, and determine that the video data received by the current transmission node is erroneous if the number of times of continuously detecting the video data errors reaches a preset threshold. In practical applications, a counter may be set to count the number of times an error is detected. The setting of the preset threshold value can avoid misjudgment of the video data caused by misdetection, and improve the detection accuracy. The preset threshold value can reduce the initiation times of transmitting the correction instruction, thereby reducing the occupied effective bandwidth and the occupied effective load.
In one embodiment, when the transfer node determines that the received video data is faulty, the transfer node calls the buffered data in memory and displays it. When the transmission node determines that the received video data is wrong, the transmission node needs to request the video source end to perform data transmission correction, but before new video data is transmitted, the transmission node still needs to perform display, in order to avoid display errors, the transmission node can read the stored data from the local memory to perform display, and maintain the current display state until the video source end completes the data transmission correction, and the transmission node receives correct video data. Specifically, the video data displayed in the previous frame can be read from the local memory to satisfy the effect of the whole display as much as possible.
In step S400, that is, in the step of detecting the transmission capability of each transmission node in each channel and generating the capability detection result, the video source end may generate a transmission capability detection request and send the transmission capability detection request to the transmission node of each channel, and after receiving the transmission capability detection request, the transmission node of each channel feeds back its own transmission capability to the video source end, so that the video source end may obtain the transmission capability of each transmission node in each channel and generate the capability detection result.
In this embodiment, the video source end may obtain transmission capabilities of other transmission nodes on the channel where the transmission node of the erroneous video data is located, so that data correction may be completed in the following by assistance of the other transmission nodes on the channel, and may also obtain transmission capabilities of each transmission node on the other channels, so that data correction may be completed in the following by assistance of the transmission nodes on the other channels.
In one embodiment, the step S600 of determining the transmission correction manner according to the capability detection result includes:
step S610, determining a target channel and a target transmission node suitable for the correction data according to the transmission capability of each transmission node in each channel.
And S620, correcting data through the target channel and the target transmission node in the target channel.
The method aims to complete the correction of data transmission with the assistance of other transmission nodes, and firstly needs to determine which transmission nodes can be used for assisting the correction, that is, a channel (namely a target channel) and a transmission node (namely a target transmission node) which can be used for correcting data are determined according to the transmission capability of each transmission node in each channel, and then the data correction is performed with the assistance of the determined target channel and the target transmission node in the target channel.
The target channel may include a channel in which the transmission node to be corrected is located, and the target transmission node may include other single or multiple transmission nodes in the channel in which the transmission node to be corrected is located.
The target channel may further include a channel other than the channel where the transmission node to be corrected is located, and the target transmission node may further include a single or a plurality of transmission nodes in the channel other than the channel where the transmission node to be corrected is located.
The following are correction modes in several situations:
Figure BDA0003361475290000111
Figure BDA0003361475290000121
it should be noted that, the priority of selection of the above correction method is from high to low in turn mode 1-mode 2-mode 3-mode 4-mode 5, that is, if there is an available transmission node in the channel where the transmission node to be corrected for data transmission is located, the transmission node in the current channel is preferentially selected, on this basis, when a single transmission node can complete correction, a single transmission node is preferentially adopted, and if a single transmission node cannot complete correction, a plurality of transmission nodes are selected. If the channel where the transmission node to be corrected for data transmission is located has no available transmission node, the transmission nodes in other channels are selected, if the correction can be completed by a single transmission node in other channels, the single transmission node is preferentially selected, and if the correction cannot be completed by the single transmission node, a plurality of transmission nodes are selected. The priority is set in consideration that when the video source end schedules the transmission node for data transmission correction, multiple instruction transmissions are carried out, which increases the scheduling complexity of the video source end and further causes instability in the multi-channel data transmission correction process, so that in order to ensure correction, scheduling complexity can be avoided as much as possible, stability can be guaranteed, and the number of channels and the number of transmission nodes can be controlled as much as possible. In addition, when the modes 1-4 can not finish the data transmission correction, the mode of retransmitting the video data is adopted.
After step S610, that is, determining a target channel and a target transmission node suitable for the correction data according to the transmission capability of each transmission node in each channel, the method may further include: resources for data transmission modification are allocated to the target transmission node.
Wherein, the allocated resource may include an incompletely used frame rate, for example, the maximum frame rate is 120Hz, and the used frame rate is 60Hz, and then the remaining 60Hz may be used for data transmission correction; the allocated resources may also include resource usage of Dummy Video (for Dummy data padding) and Fill Video (padding data for padding when data is insufficient) in a standard frame structure for data transmission correction. Of course, the allocated resources may also include other types, which are not exemplified herein.
In this embodiment, information interaction between the video source and the transmission node can be performed in the form of read-write fields. For example, the method may include a node flag bit, a node modification request flag bit, a detection threshold flag bit, a node transmission capability detection flag bit, and a modification method selection flag bit, where a transmission node may read a preset threshold from the detection threshold flag bit when detecting video data, and then determine whether the video data is erroneous; when the received video data is detected to be wrong, the identification of the current transmission node and the identifications of other transmission nodes in the channel where the current transmission node is located can be written into the node zone bit, so that the video source end can read the identification conveniently, and meanwhile, the state of the node correction request zone bit can be set to be a correction state; when the video source end needs to detect the transmission capability of each transmission node, the capability detection request can be written into the node transmission capability detection flag bit, so that the transmission node can read the request and feed back the transmission capability of the transmission node; when the video source determines the transmission correction mode according to the capability detection result, the determined correction mode may be written to the correction method selection flag. The information interaction mode improves interaction efficiency and interaction accuracy.
The flag bit can be added into a standard frame structure to obtain a modified frame structure, and the information interaction process between the video source end and each transmission node can be carried out through the transmission of the modified frame.
Specifically, the standard frame structure includes BS (Blanking Start), VB-ID (Vertical Blanking Identifier), Mvid (timer value of Video data), Naud (timer value of audio data), Dummy Video (for Dummy data padding), BE (Blanking End), pixel data (for transmission of Video data), FS (Fill Start), Fill Video (for padding when data is insufficient), and FE (Fill End). And adding a node zone bit, a node correction request zone bit, a detection threshold zone bit, a node transmission capacity detection zone bit and a correction method selection zone bit at the preset position of the standard frame structure.
The node flag bit, the node correction request flag bit, the detection threshold flag bit and the correction method selection flag bit play a role in identification and do not involve long round-trip delay, so that the setting positions of the flag bits can be adjacent to each other in a correction frame structure. As for the node transmission capability detection flag, since links requiring a large amount of round-trip delay such as transmission and feedback need to be performed during capability detection initiation, in the modified frame structure, the transmission capability detection flag needs to be set to two positions, i.e., a capability detection initiation position and a capability detection termination position, where the initiation position is used for initiating capability detection at the video source end, and the termination position is used for receiving feedback information at the video source end to confirm whether all transmission nodes complete capability monitoring. For a complex link topology structure, the round-trip delay possibly required in the capability detection process is large, and the capability detection starting and ending positions can be dynamically adjusted according to the complexity of the link topology structure so as to adapt to the correct completion of capability detection of link topologies with different structures.
The following describes the entire data correction method with a specific example:
step 01: the video source end initializes the node zone bit of the multi-channel data transmission correction command as the video source end, namely, the multi-channel data transmission correction is not needed;
step 02: initializing a node correction request flag bit of a multi-channel data transmission correction command by a video source end to be in a video data normal transmission state;
step 03: a video source end initializes a detection threshold marker bit of a multi-channel data transmission correction command to be a preset initial value;
step 04: the video source end initializes the node transmission capability detection flag bit of the multi-channel data transmission correction command to be invalid, namely, any data transmission capability detection is not needed;
step 05: the video source end initializes the correction method of the multi-channel data transmission correction command and selects the zone bit as the normal transmission state of the video data;
step 06: the video source end sends video data to the node through a multi-channel video transmission link;
step 07: the current node receives and detects the current frame video data, if the current frame video data is correctly transmitted, the step 08 is carried out, otherwise, the step 09 is carried out;
step 08: the current node uses a local memory to cache the current frame video data, and performs normal video image processing and display, and goes to step 06;
step 09: the current node uses the video data cached by the local memory to display;
step 10: detecting the counting of an error counter by the image data of the current node, judging whether the value of the counter exceeds the preset initial value of a detection threshold marker bit, if not, turning to the step 06, otherwise, turning to the step 11;
step 11: setting a node correction request flag bit as a data transmission correction state by a current node;
step 12: setting a node zone bit by a current node;
step 13: the current node sends a multi-channel data transmission correction command to a video source end through a current multi-channel video transmission link;
step 14: after a current multichannel video transmission link of a current node receives a multichannel data transmission correction command, setting a node zone bit, and writing the current node into the node zone bit;
step 15: the video source end receives a multi-channel data transmission correction command of a current node, and corrects a node transmission capability detection flag bit into a transmission capability detection request;
step 16: the video source end sends a multi-channel data transmission correction command on all channels and initiates a transmission capability detection request;
and step 17: each node feeds back the transmission capability of the node to a video source end;
step 18: the video source end selects a correction mode according to the transmission capability feedback result, and selects a zone bit according to the correction method;
step 19: the video source end distributes nodes and used resources for data transmission correction for the selected correction mode;
step 20: and the video source end detects the use condition of the currently used correction mode, and if the correction mode is still available, the step is carried out to the step 09, otherwise, the step is carried out to the step 01.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially 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 flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a data correction apparatus for implementing the data correction method. The implementation scheme for solving the problem provided by the data correction device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the data correction device provided below can be referred to the limitations of the data correction method in the foregoing, and details are not described herein again.
The data correction device provided by this embodiment is used to correct errors occurring when data is transmitted through multiple channels, where each channel includes multiple transmission nodes. Referring to fig. 4, the data correcting apparatus includes a receiving module 200, a detecting module 400, and a correcting module 600. Wherein:
a receiving module 200, configured to receive a transmission correction instruction sent by a transmission node, where the transmission correction instruction is generated when the transmission node determines that the received video data is faulty;
a detection module 400, configured to detect transmission capabilities of transmission nodes in each channel, and generate a capability detection result;
and a modification module 600, configured to determine a transmission modification manner according to the capability detection result, and modify data according to the transmission modification manner.
According to the data correction device, when data received by a certain level of transmission node is wrong, a video source end does not directly retransmit video data to the transmission node, but determines the transmission node with the transmission capacity having the margin by detecting the current transmission capacity of each transmission node in each channel, and determines the transmission correction mode according to the transmission capacity, so that the data transmission correction is completed. Meanwhile, compared with the method of directly retransmitting video data, the method can be combined with other nodes to assist in completing data transmission, so that the correction efficiency is effectively improved, and the correction effect is guaranteed.
In one embodiment, the transmission modification instruction includes an identifier of each transmission node on a channel where the transmission node to be modified is located.
In one embodiment, when the transmission node detects that the number of errors of the received video data reaches a preset threshold, it determines that the video data is erroneous.
In one embodiment, when the transfer node determines that the received video data is faulty, the transfer node calls the buffered data in memory and displays it.
In one embodiment, the modification module is configured to determine a target channel and a target transmission node suitable for modifying data according to transmission capabilities of transmission nodes in channels; and correcting the data through the target channel and the target transmission node in the target channel.
In one embodiment, the target channel includes a channel where the transmission node to be corrected is located, and the target transmission node includes other single or multiple transmission nodes in the channel where the transmission node to be corrected is located;
or, the target channel includes a channel other than the channel where the transmission node to be corrected is located, and the target transmission node includes a single or multiple transmission nodes in the channel other than the channel where the transmission node to be corrected is located.
The respective modules in the data modification apparatus described above may be implemented in whole or in part 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.
Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application, where the computer device may be a server, and an internal structural diagram of the computer device may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing various data related to the data correction method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of data correction.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
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.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification 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 claims. 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 application shall be subject to the appended claims.

Claims (10)

1. A data correction method is characterized in that the method is used for correcting errors occurring when data are transmitted by multiple channels, and each channel comprises a plurality of transmission nodes; the data correction method comprises the following steps:
receiving a transmission correction instruction sent by the transmission node, wherein the transmission correction instruction is generated when the transmission node determines that the received video data is wrong;
detecting the transmission capability of each transmission node in each channel to generate a capability detection result;
and determining a transmission correction mode according to the capability detection result, and correcting data according to the transmission correction mode.
2. The data correction method according to claim 1, wherein the transmission correction instruction includes an identification of each transmission node on a channel where the transmission node to be corrected is located.
3. The data correction method of claim 1, wherein the transmitting node determines that the video data is erroneous when it detects that the number of errors of the received video data reaches a preset threshold.
4. The data correction method of claim 1, wherein when the transfer node determines that the received video data is faulty, the transfer node calls the buffered data in the memory and displays the buffered data.
5. The data correction method of claim 1, wherein the step of determining the transmission correction manner according to the capability detection result comprises:
determining a target channel and a target transmission node which are suitable for correcting data according to the transmission capability of each transmission node in each channel;
and correcting data through the target channel and a target transmission node in the target channel.
6. The data correction method according to claim 5, wherein the target channel includes a channel in which the transmission node to be corrected is located, and the target transmission node includes other single or multiple transmission nodes in the channel in which the transmission node to be corrected is located;
or, the target channel includes a channel other than the channel where the transmission node to be corrected is located, and the target transmission node includes a single or multiple transmission nodes in the channel other than the channel where the transmission node to be corrected is located.
7. A data correction device is characterized in that the device is used for correcting errors occurring when data are transmitted by multiple channels, and each channel comprises a plurality of transmission nodes; the data correction apparatus includes:
a receiving module, configured to receive a transmission correction instruction sent by the transmission node, where the transmission correction instruction is generated when the transmission node determines that the received video data is incorrect;
the detection module is used for detecting the transmission capability of each transmission node in each channel and generating a capability detection result;
and the correction module is used for determining a transmission correction mode according to the capability detection result and correcting data according to the transmission correction mode.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the data correction method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the data correction method of one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the data correction method of any one of claims 1 to 6 when executed by a processor.
CN202111368541.6A 2021-11-18 2021-11-18 Data correction method and device, computer equipment and computer readable storage medium Pending CN114257847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111368541.6A CN114257847A (en) 2021-11-18 2021-11-18 Data correction method and device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111368541.6A CN114257847A (en) 2021-11-18 2021-11-18 Data correction method and device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114257847A true CN114257847A (en) 2022-03-29

Family

ID=80792728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111368541.6A Pending CN114257847A (en) 2021-11-18 2021-11-18 Data correction method and device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114257847A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037965A (en) * 2022-06-10 2022-09-09 苏州华兴源创科技股份有限公司 Multi-channel data transmission method and device based on occupation coordination mechanism
CN117201053A (en) * 2023-04-03 2023-12-08 杭州水务数智科技股份有限公司 Video security-based transmission and storage method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616952A (en) * 2018-03-23 2018-10-02 华南理工大学 MAC layer data transmission method based on neighbor node collaboration communication in a kind of car networking
CN109831768A (en) * 2019-03-25 2019-05-31 山东有人信息技术有限公司 A kind of LoRa multinode big data method for transmission processing, apparatus and system
CN110245154A (en) * 2019-05-20 2019-09-17 平安科技(深圳)有限公司 Multichannel links abnormality eliminating method and relevant device
CN113242177A (en) * 2021-05-07 2021-08-10 北京和峰科技有限公司 Method and device for multi-path concurrent data transmission, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616952A (en) * 2018-03-23 2018-10-02 华南理工大学 MAC layer data transmission method based on neighbor node collaboration communication in a kind of car networking
CN109831768A (en) * 2019-03-25 2019-05-31 山东有人信息技术有限公司 A kind of LoRa multinode big data method for transmission processing, apparatus and system
CN110245154A (en) * 2019-05-20 2019-09-17 平安科技(深圳)有限公司 Multichannel links abnormality eliminating method and relevant device
CN113242177A (en) * 2021-05-07 2021-08-10 北京和峰科技有限公司 Method and device for multi-path concurrent data transmission, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037965A (en) * 2022-06-10 2022-09-09 苏州华兴源创科技股份有限公司 Multi-channel data transmission method and device based on occupation coordination mechanism
CN115037965B (en) * 2022-06-10 2024-01-19 苏州华兴源创科技股份有限公司 Multichannel data transmission method and device based on occupation coordination mechanism
CN117201053A (en) * 2023-04-03 2023-12-08 杭州水务数智科技股份有限公司 Video security-based transmission and storage method and system
CN117201053B (en) * 2023-04-03 2024-05-07 杭州水务数智科技股份有限公司 Video security-based transmission and storage method and system

Similar Documents

Publication Publication Date Title
US8704839B2 (en) Video frame self-refresh in a sink device
CN114257847A (en) Data correction method and device, computer equipment and computer readable storage medium
CN114257772A (en) Data transmission adjusting method and device, computer equipment and readable storage medium
CN113225599B (en) Adjusting method and adjusting device for multi-channel data transmission
US8661277B2 (en) Communication apparatus and method of controlling the same
CN112383383B (en) Adaptive adjustment method for multichannel data transmission and data processing system
CN115022293B (en) Multichannel resource allocation method and device, computer equipment and storage medium
CN112684994B (en) Multichannel resource adjustment method and computer-readable storage medium
US11665313B2 (en) Adaptive method and system for data flow control based on variable frame structure in video image processing system
CN114650446B (en) Multi-channel video data self-adaptive transmission method and device and computer equipment
CN115150286B (en) Transmission node changing method, device, computer equipment and storage medium
CN112269749B (en) I2C communication system
CN113794850B (en) Timing correction method, apparatus, electronic device and readable storage medium
US9030609B1 (en) Segmented video data processing
US20150220399A1 (en) Method and system for facilitating one-to-many data transmissions with reduced network overhead
US20190051266A1 (en) Technologies for end-to-end display integrity verification for functional safety
CN115297552B (en) Configuration method and device of multichannel transmission node parameters and computer equipment
US10043480B2 (en) Inter-device conflict resolution on a multimedia link
CN114760529A (en) Transmission method and device of multichannel video data and computer equipment
CN113411467B (en) Multichannel link management method and device and video image processing equipment
CN117750061A (en) Adjustment method and device in data transmission process
CN114257739B (en) Video data rate adjustment method and device
CN115065797B (en) Dynamic adjustment method and device for multi-channel video transmission node and computer equipment
CN115442640A (en) Video data transmission method, device and storage medium
CN115225775B (en) Multichannel delay correction method and device and computer equipment

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