CN112995542B - Data transmission method and device, electronic equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN112995542B
CN112995542B CN202110510327.3A CN202110510327A CN112995542B CN 112995542 B CN112995542 B CN 112995542B CN 202110510327 A CN202110510327 A CN 202110510327A CN 112995542 B CN112995542 B CN 112995542B
Authority
CN
China
Prior art keywords
transmission
data
video
control signaling
link state
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
CN202110510327.3A
Other languages
Chinese (zh)
Other versions
CN112995542A (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 CN202110510327.3A priority Critical patent/CN112995542B/en
Publication of CN112995542A publication Critical patent/CN112995542A/en
Application granted granted Critical
Publication of CN112995542B publication Critical patent/CN112995542B/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/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/775Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The application relates to the technical field of data transmission, and particularly discloses a data transmission method, a data transmission device, electronic equipment and a computer-readable storage medium. Acquiring the current link state of each transmission channel; determining a rearrangement result of control signaling and video data according to the current link state; distributing physical data resources to each transmission node according to the rearrangement result; and sending the rearranged control signaling and video data to each transmission channel. When the link state is not good, the control signaling and the video data are transmitted after being rearranged, so that the transmission reliability of the control signaling and the video data is enhanced while the system overhead and the complexity are reduced, and the transmitted video data can be normally displayed.

Description

Data transmission method and device, electronic 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 transmission method and apparatus, an electronic device, and a computer-readable storage medium.
Background
At present, with a Video image processing system, especially a Video image processing system with a DisplayPort (DP) of VESA (Video Electronics Standards Association), MIPI (Mobile Industry Processor Interface standard), and HDMI (High Definition Multimedia Interface standard), when a display terminal such as a liquid crystal display or an organic light emitting diode is driven to perform multi-channel display, a display effect of the Video display terminal is poor, and Video synchronization and transmission delay on each link are greatly different due to changes of physical layer states of different Video links, transmission loss, differences of devices and cable configurations on each node on the Video link, and transmission distance, etc., which finally results in that the Video cannot be normally displayed.
Disclosure of Invention
Based on this, it is necessary to provide a data transmission method, an apparatus, an electronic device, and a computer-readable storage medium for solving the problem of display abnormality of a display terminal in a video image processing system.
A data transmission method is applied to a video image processing system, the video image processing system comprises a video source end, the video source end transmits control signaling and video data through a plurality of transmission channels, and each transmission channel comprises a plurality of transmission nodes; the data transmission method comprises the following steps:
acquiring the current link state of each transmission channel;
determining a rearrangement result of control signaling and video data according to the current link state;
distributing physical data resources to each transmission node according to the rearrangement result;
and sending the rearranged control signaling and video data to each transmission channel.
In one embodiment, the step of obtaining the current link status of each transmission channel includes:
sending a transmission condition test request to each transmission node;
receiving the self link state fed back by each transmission node;
and determining the current link state of the transmission channel in which each transmission node is positioned according to the self link state fed back by each transmission node.
In one embodiment, the step of determining a rearrangement result of control signaling and video data according to the current link state includes:
and rearranging the control signaling and the video data according to time and/or coding according to the current link state, and determining a rearrangement result.
In one embodiment, the current link state is divided into a first level, a second level, a third level, a fourth level and a fifth level in sequence according to the quality from high to low, the control signaling comprises a control header and a control command, the control header is used for indicating rearrangement and the rearrangement result, and the control command is used for representing a control method of data transmission;
the step of rearranging the control signaling and the video data according to time and/or code and determining the rearrangement result according to the current link state comprises the following steps:
when the current link state is a first level, rearranging the control signaling and the video data according to time, and only transmitting a control head once at the head end of the video frame when the video frame is transmitted for the first time;
when the current link state is in a second level, rearranging the control signaling and the video data according to time, and sending a control head at the head end of the video frame when sending the video frame at a preset moment;
when the current link state is in three stages, rearranging the control signaling and the video data according to time, and sending a control head at the head end of the video frame when sending the video frame each time;
when the current link state is four levels, rearranging the control signaling and the video data according to the coding;
and when the current link state is five levels, rearranging the control signaling and the video data according to time and coding.
In one embodiment, after the step of determining the rearrangement result of the control signaling and the video data according to the current link state, the data transmission method further includes:
caching the rearranged control command and video data;
sending the rearrangement result to each transmission node to inform each transmission node;
and receiving a switching request of each transmission node, switching the data to be transmitted to the rearranged control command and the video data, and completing information synchronization between the video source end and each transmission node.
In one embodiment, the step of allocating physical data resources to each of the transmission nodes according to the rearrangement result includes:
determining a resource allocation result of the physical data resources of each transmission node according to the rearrangement result;
issuing the resource allocation result to each transmission node to inform each transmission node;
and receiving the switching and resource occupation requests of the transmission nodes, and distributing physical data resources for the transmission nodes.
In one embodiment, after the step of sending the rearranged control signaling and video data to each transmission channel, the data transmission method further includes:
receiving data receiving results fed back by the transmission nodes;
and when the data receiving result is successful, preparing the data transmission of the next round.
A data transmission device is applied to a video image processing system, the video image processing system comprises a video source end, the video source end transmits control signaling and video data through a plurality of transmission channels, and each transmission channel comprises a plurality of transmission nodes; the data transmission apparatus includes:
an obtaining unit, configured to obtain a current link state of each transmission channel;
a determining unit, configured to determine a rearrangement result of the control signaling and the video data according to the current link state;
a resource allocation unit, configured to allocate physical data resources to each transmission node according to the rearrangement result;
and the data sending unit is used for sending the rearranged control signaling and video data to each transmission channel.
An electronic device comprising a memory storing a computer program and a processor implementing the data transmission method as described above when the processor executes the computer program.
A computer readable storage medium having stored therein computer instructions which, when executed by a processor, implement a data transmission method as described above.
The data transmission method comprises the steps of firstly obtaining the current link state of each transmission channel, then determining the rearrangement result of the control signaling and the video data according to the current link state, then distributing physical data resources for each transmission node according to the rearrangement result, and finally sending the rearranged control signaling and video data to each transmission channel. That is, when the link state is not good, the control signaling and the video data are rearranged and then transmitted, so that the transmission reliability of the control signaling and the video data is enhanced while the system overhead and the complexity are reduced, and the transmitted video data can be normally displayed.
Drawings
Fig. 1 is a flow chart of a data transmission method according to an embodiment of the present application;
fig. 2 is a block flow diagram of step S100 in the data transmission method according to the embodiment of the present application;
fig. 3 is a schematic diagram illustrating a rearrangement mode when a link state is a first stage in the data transmission method according to the embodiment of the present application;
fig. 4 is a schematic diagram illustrating a rearrangement mode when a link state is in a second stage in the data transmission method according to the embodiment of the present application;
fig. 5 is a schematic diagram illustrating a rearrangement mode when a link state is three levels in the data transmission method according to the embodiment of the present application;
fig. 6 is a schematic diagram illustrating a rearrangement mode when a link state is in five stages in the data transmission method according to the embodiment of the present application;
fig. 7 is a flowchart of an implementation manner of a data transmission method according to an embodiment of the present application;
fig. 8 is a flowchart of step S500 in the data transmission method according to the embodiment of the present application;
fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic 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, with a Video image processing system, especially a Video image processing system with display port (DP, digital Video Interface standard) of VESA (Video Electronics Standards Association), MIPI (Mobile Industry Processor Interface standard), and HDMI (High Definition Multimedia Interface standard), the problem that when multiple channels are transmitted using the same Video source is caused by the change of the physical layer state of different Video links, transmission loss, the difference of the device and cable configuration on each node on the Video link, and the change of the transmission distance, the display effect of the Video display terminal is greatly different, when the transmission distance is increased and the number of the connected channels, nodes and devices is increased, the problems of video synchronization and abnormal great transmission delay can be caused, and the problems can finally cause that the video can not be normally displayed on the video display terminal.
In view of the foregoing problems, embodiments of the present application provide a data transmission method, a data transmission apparatus, an electronic device, and a computer-readable storage medium.
Example one
The embodiment provides a data transmission method, which is applied to a video image processing system, wherein the video image processing system comprises a video source end, the video source end transmits control signaling and video data through a plurality of transmission channels, and each transmission channel comprises a plurality of transmission nodes. The main execution body of the data transmission method of the present embodiment is a video source end. Referring to fig. 1, the data transmission method includes the steps of:
step S100, obtaining the current link state of each transmission channel;
step S300, determining a rearrangement result of the control signaling and the video data according to the current link state;
step S500, distributing physical data resources for each transmission node according to the rearrangement result;
step S700, issuing the rearranged control signaling and video data to each transmission channel.
The data transmission method comprises the steps of firstly obtaining the current link state of each transmission channel, then determining the rearrangement result of the control signaling and the video data according to the current link state, then distributing physical data resources for each transmission node according to the rearrangement result, and finally sending the rearranged control signaling and video data to each transmission channel. That is, when the link state is not good, the control signaling and the video data are rearranged and then transmitted, so that the transmission reliability of the control signaling and the video data is enhanced while the system overhead and the complexity are reduced, and the transmitted video data can be normally displayed.
The video source end is connected with the video display terminal through the transmission nodes which are connected in sequence, and videos sent by the video source end are transmitted to the video display terminal in a step-by-step transmission mode. The transmission nodes may include embedded physical repeaters, cables with source IDs, detachable physical repeaters, video display ends, etc.
In one embodiment, referring to fig. 2, step S100, that is, the step of obtaining the current link state of each transmission channel includes the following steps:
step S110, sending a transmission condition test request to each transmission node;
step S120, receiving the self link state fed back by each transmission node;
step S130, determining a current link state of a transmission channel in which each transmission node is located according to the self link state fed back by each transmission node.
Before sending data, the state of each transmission node in the transmission channel needs to be detected to obtain the actual transmission condition. Firstly, a video source end initiates a transmission condition test request to each transmission node, and the transmission condition test request is used for requesting the transmission node to test and feed back the link state of the transmission node; after each transmission node receives the transmission condition test request, each transmission node measures the link state of the transmission node and returns the measurement result to the video source end; after the video source end receives the link state of the video source end fed back by the transmission nodes, the transmission state of the current link of the transmission channel where each transmission node is located can be determined according to the link state.
In one embodiment, the step S300 of determining a rearrangement result of the control signaling and the video data according to the current link status includes:
and rearranging the control signaling and the video data according to time and/or coding according to the current link state, and determining a rearrangement result.
When the video source end determines the current link state of each transmission channel, a rearrangement strategy of the control signaling and the video data can be established. In this embodiment, different rearrangement strategies may be formulated in different manners according to different link states. Specifically, the control signaling and the video data may be rearranged according to time, or according to coding, or simultaneously according to time and coding.
In one embodiment, the current link state is divided into a first level, a second level, a third level, a fourth level and a fifth level in sequence according to the quality from high to low, the control signaling comprises a control header and a control command, the control header is used for indicating rearrangement and the rearrangement result, and the control command is used for representing a control method of data transmission;
the step of rearranging the control signaling and the video data according to time and/or code and determining the rearrangement result according to the current link state comprises the following steps:
when the current link state is a first level, rearranging the control signaling and the video data according to time, and only transmitting a control head once at the head end of the video frame when the video frame is transmitted for the first time;
when the current link state is in a second level, rearranging the control signaling and the video data according to time, and sending a control head at the head end of the video frame when sending the video frame at a preset moment;
when the current link state is in three stages, rearranging the control signaling and the video data according to time, and sending a control head at the head end of the video frame when sending the video frame each time;
when the current link state is four levels, rearranging the control signaling and the video data according to the coding;
and when the current link state is five levels, rearranging the control signaling and the video data according to time and coding.
Specifically, when the current link state is a first level, it represents that the transmission link conditions of all transmission channels and transmission nodes connected to the video source end are ideal, a rearrangement mode does not need to be frequently changed, only a control header needs to be sent once at the head end of a video frame when the video frame is sent for the first time, and data transmission is controlled through a control command in the subsequent video frame transmission process, which can be referred to fig. 3. The control command may be inserted into the corresponding position of the video frame according to actual requirements, for example, the control command is inserted at 1/3 of the video frame, and the control command may also be inserted at the end of video data transmission of all channels (the end of one video frame) to mark the beginning of the next video frame. This approach reduces the overhead of the system.
When the current link state is in a second-level state, the transmission link conditions of all transmission channels and transmission nodes connected with the video source end are good, the rearrangement mode does not need to be frequently changed, and the rearrangement is initiated only according to the actual requirements of the video image processing system. I.e. a control header is inserted as required at the beginning of each video frame for reordering, see fig. 4.
When the current link state is in three levels, it means that the transmission link conditions of all transmission channels and transmission nodes connected to the video source end are poor, and the rearrangement mode needs to be frequently changed. At this time, the control header needs to be transmitted at the beginning of each transmission of a video frame, as can be seen in fig. 5.
When the current link state is at four levels, the transmission link conditions of all transmission channels and transmission nodes connected with the video source end are poor. In this case, the control signaling and the Video Data are rearranged according to the Coding, and the Video Coding Data (VCD) is to rearrange the control signaling (including the control header and the control command) and the Video Data of all the transmission channels, transmission nodes, and devices according to the Coding. During encoding, the following example modes can be adopted: the control header, the control command and the video data are rearranged respectively, or different transmission channels, transmission nodes and devices carry out grouping rearrangement according to link quality, or all control signaling is rearranged according to coding, or the video data is rearranged according to coding. Therefore, the anti-interference capability of the control signaling and the video data can be enhanced, the stability of the data is improved, the retransmission times caused by poor quality of the control signaling and the video data are effectively reduced, and the overhead of the system is obviously reduced. Specifically, for example, the control signaling of the channel 1 and the video data bit of the channel 2 are encoded and rearranged, and the video data of the channel 1 and the control signaling bit of the channel 2 are encoded and rearranged, so that during decoding, high reliability of transmission can be realized through cross decoding verification of the control signaling and the video data on the channel 1 and the channel 2.
When the current link state is at four levels, it represents that the transmission link conditions of all transmission channels and transmission nodes connected with the video source end are very poor. In this case, the control signaling and the video data are rearranged jointly according to time and coding, and this transmission method is generally suitable for long-distance transmission of the control signaling and the video data, and the transmission link quality is poor. Specifically, the control header is transmitted at the beginning of each video frame transmission, and the video data is rearranged according to the encoding, as shown in fig. 6. The mode combines the rearrangement modes of the time domain and the code domain, is favorable for controlling the effective transmission of signaling and video data, and avoids retransmission as much as possible.
In one embodiment, referring to fig. 7, after step S300, that is, after the step of determining the rearrangement result of the control signaling and the video data according to the current link state, the data transmission method provided in this embodiment further includes the following steps:
step S410, caching the rearranged control command and video data;
step S420, sending the rearrangement result to each transmission node to notify each transmission node;
step S430, receiving a switching request of each transmission node, switching the data to be transmitted to the rearranged control command and video data, and completing information synchronization between the video source end and each transmission node.
And when the rearrangement result of the control signaling and the video data is determined, caching the rearranged control signaling and the video data at a video source end, and then informing each transmission node of the rearrangement result. And after receiving the switching request and the confirmed rearrangement result, the video source end disconnects the original transmission mode, starts a new transmission mode and switches the data to be sent to the rearranged control signaling and video data. In addition, the video source end sends a transmission mode switching command to each transmission node so as to keep synchronization between the video source end and the transmission nodes.
In one embodiment, referring to fig. 8, step S500, that is, the step of allocating physical data resources to each of the transmission nodes according to the rearrangement result includes the following steps:
step S510, determining a resource allocation result of the physical data resources of each transmission node according to the rearrangement result;
step S520, issuing the resource allocation result to each of the transmission nodes to notify each of the transmission nodes;
step S530, receiving the switching and resource occupation request of each transmission node, and allocating physical data resources to each transmission node.
When the rearrangement result is determined, the video source end can allocate physical data resources for the prepared control command and video data, where the physical data resources generally refer to information such as occupied physical channels, resource block positions, and the like, that is, resources capable of carrying control signaling and video data. When the physical data resource allocation result is determined, the resource allocation result is notified to each transmission node, when each transmission node receives the resource allocation result, the resource allocation result is confirmed, and a switching and resource occupation request is sent to the video source end, and when the video source end receives the switching and resource occupation request, the physical data resource is allocated to each transmission node, so that the subsequent control signaling and the video data can be conveniently issued.
In step S700, the rearranged control signaling and video data are sent to each transmission channel. In one embodiment, the video source end is connected to a video output control device, the video output control device is connected to each transmission node, and the video output control device may be an FPGA, an embedded system, or the like, and is configured to process the control signaling and the video data sent by the video source end according to the requirements of each transmission node and then send the processed control signaling and video data. In this step, the video source end firstly issues the rearranged control signaling and video data to the video output control device, and the video output control device caches the rearranged control signaling and video data and simultaneously issues the video data to each transmission node according to the control command.
In one embodiment, in step S700, after the step of issuing the rearranged control signaling and video data to each transmission channel, the data transmission method provided in this embodiment further includes the following steps:
step S810, receiving data receiving results fed back by each transmission node;
step S820, when the data receiving result is successful, preparing the next round of data transmission.
After receiving the video data, the transmission node judges whether the video data is received correctly, if the video data is received correctly, the result of correctly receiving the data is fed back to the video output control equipment, after the video output control equipment receives the result of correctly receiving the data, the current data buffer area is emptied, the video source end is informed to empty the data buffer area and feed back a message of finishing transmission to the video source end, and the video source end confirms that the transmission of the control signaling and the video data is finished and prepares for the transmission of the control signaling and the video data of the next round.
Example two
The embodiment provides a data transmission device, which is applied to a video image processing system, wherein the video image processing system comprises a video source end, the video source end transmits control signaling and video data through a plurality of transmission channels, and each transmission channel comprises a plurality of transmission nodes; referring to fig. 9, the data transmission apparatus provided in this embodiment includes an obtaining unit 100, a determining unit 200, a resource allocating unit 300, and a data transmitting unit 400.
The obtaining unit 100 is configured to obtain a current link state of each transmission channel;
the determining unit 200 is configured to determine a rearrangement result of the control signaling and the video data according to the current link state;
the resource allocation unit 300 is configured to allocate physical data resources to each of the transmission nodes according to the rearrangement result;
the data sending unit 400 is configured to issue the rearranged control signaling and video data to each transmission channel.
The data transmission method comprises the steps of firstly obtaining the current link state of each transmission channel, then determining the rearrangement result of the control signaling and the video data according to the current link state, then distributing physical data resources for each transmission node according to the rearrangement result, and finally sending the rearranged control signaling and video data to each transmission channel. That is, when the link state is not good, the control signaling and the video data are rearranged and then transmitted, so that the transmission reliability of the control signaling and the video data is enhanced while the system overhead and the complexity are reduced, and the transmitted video data can be normally displayed.
The data transmission device provided in this embodiment and the data transmission method provided in the first embodiment belong to the same inventive concept, and for the specific content of the data transmission device provided in this embodiment, reference may be made to the description in the first embodiment, which is not repeated herein.
EXAMPLE III
The embodiment of the present application provides an electronic device, as shown in fig. 10, including a memory 500 and a processor 600, where the memory 500 and the processor 600 are communicatively connected with each other, and may be connected through a bus or in another manner, and fig. 10 takes the example of connection through a bus as an example.
Processor 600 may be a Central Processing Unit (CPU). The Processor 600 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 500, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as data transmission methods in embodiments of the present invention. The processor 600 executes various functional applications and data processing of the processor 600, i.e., a data transmission method, by executing non-transitory software programs, instructions, and modules stored in the memory 500.
The memory 500 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 600, and the like. Further, the memory 500 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 500 optionally includes memory located remotely from processor 600, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
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 a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
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 invention, 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 inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A data transmission method is applied to a video image processing system and is characterized in that the video image processing system comprises a video source end, the video source end transmits control signaling and video data through a plurality of transmission channels, and each transmission channel comprises a plurality of transmission nodes; the data transmission method comprises the following steps:
acquiring the current link state of each transmission channel;
determining a rearrangement result of the control signaling and the video data according to the current link state, wherein the rearrangement result comprises rearranging the control signaling and the video data according to time and/or coding according to the current link state, and determining a rearrangement result, the control signaling comprises a control head and a control command, the control head is used for indicating rearrangement and the rearrangement result, and the control command is used for representing a control method of data transmission;
distributing physical data resources to each transmission node according to the rearrangement result;
and sending the rearranged control signaling and video data to each transmission channel.
2. The data transmission method according to claim 1, wherein the step of obtaining the current link status of each transmission channel comprises:
sending a transmission condition test request to each transmission node;
receiving the self link state fed back by each transmission node;
and determining the current link state of the transmission channel in which each transmission node is positioned according to the self link state fed back by each transmission node.
3. The data transmission method according to claim 1, wherein the current link status is divided into a first level, a second level, a third level, a fourth level and a fifth level according to the quality from high to low;
the step of rearranging the control signaling and the video data according to time and/or code and determining the rearrangement result according to the current link state comprises the following steps:
when the current link state is a first level, rearranging the control signaling and the video data according to time, and only transmitting a control head once at the head end of the video frame when the video frame is transmitted for the first time;
when the current link state is in a second level, rearranging the control signaling and the video data according to time, and sending a control head at the head end of the video frame when sending the video frame at a preset moment;
when the current link state is in three stages, rearranging the control signaling and the video data according to time, and sending a control head at the head end of the video frame when sending the video frame each time;
when the current link state is four levels, rearranging the control signaling and the video data according to the coding;
and when the current link state is five levels, rearranging the control signaling and the video data according to time and coding.
4. The data transmission method according to claim 1, wherein after the step of determining the rearrangement result of the control signaling and the video data according to the current link status, the data transmission method further comprises:
caching the rearranged control command and video data;
sending the rearrangement result to each transmission node to inform each transmission node;
and receiving a switching request of each transmission node, switching the data to be transmitted to the rearranged control command and the video data, and completing information synchronization between the video source end and each transmission node.
5. The data transmission method according to claim 1, wherein the step of allocating physical data resources to each of the transmission nodes according to the rearrangement result comprises:
determining a resource allocation result of the physical data resources of each transmission node according to the rearrangement result;
issuing the resource allocation result to each transmission node to inform each transmission node;
and receiving the switching and resource occupation requests of the transmission nodes, and distributing physical data resources for the transmission nodes.
6. The data transmission method according to claim 1, wherein after the step of sending down the rearranged control signaling and video data to each of the transmission channels, the data transmission method further comprises:
receiving data receiving results fed back by the transmission nodes;
and when the data receiving result is successful, preparing the data transmission of the next round.
7. A data transmission device is applied to a video image processing system and is characterized in that the video image processing system comprises a video source end, the video source end transmits control signaling and video data through a plurality of transmission channels, and each transmission channel comprises a plurality of transmission nodes; the data transmission apparatus includes:
an obtaining unit, configured to obtain a current link state of each transmission channel;
a determining unit, configured to determine a rearrangement result of the control signaling and the video data according to the current link state, where the rearrangement result includes rearranging the control signaling and the video data according to time and/or coding according to the current link state, and determining a rearrangement result, where the control signaling includes a control header and a control command, the control header is used to indicate rearrangement and the rearrangement result, and the control command is used to characterize a control method for data transmission;
a resource allocation unit, configured to allocate physical data resources to each transmission node according to the rearrangement result;
and the data sending unit is used for sending the rearranged control signaling and video data to each transmission channel.
8. An electronic device, comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the data transmission method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, having stored thereon computer instructions, which, when executed by a processor, implement the data transmission method of any one of claims 1-6.
CN202110510327.3A 2021-05-11 2021-05-11 Data transmission method and device, electronic equipment and computer readable storage medium Active CN112995542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110510327.3A CN112995542B (en) 2021-05-11 2021-05-11 Data transmission method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110510327.3A CN112995542B (en) 2021-05-11 2021-05-11 Data transmission method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112995542A CN112995542A (en) 2021-06-18
CN112995542B true CN112995542B (en) 2021-09-07

Family

ID=76337517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110510327.3A Active CN112995542B (en) 2021-05-11 2021-05-11 Data transmission method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112995542B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794850B (en) * 2021-09-30 2024-04-26 苏州华兴源创科技股份有限公司 Timing correction method, apparatus, electronic device and readable storage medium
CN114257772A (en) * 2021-11-26 2022-03-29 苏州华兴源创科技股份有限公司 Data transmission adjusting method and device, computer equipment and readable storage medium
CN114760529B (en) * 2022-06-14 2022-09-27 苏州华兴源创科技股份有限公司 Transmission method and device of multichannel video data and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888664B (en) * 2010-06-25 2013-04-24 陶洋 Video multi-path parallel transfer method in wireless self-organization network
WO2018006771A1 (en) * 2016-07-05 2018-01-11 Vishare Technology Limited Methods and systems for video streaming
CN109818874B (en) * 2017-11-21 2022-06-28 华为技术有限公司 Data transmission method, device and computer storage medium
CN112383383B (en) * 2020-11-11 2021-09-14 苏州华兴源创科技股份有限公司 Adaptive adjustment method for multichannel data transmission and data processing system

Also Published As

Publication number Publication date
CN112995542A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112995542B (en) Data transmission method and device, electronic equipment and computer readable storage medium
US7774424B1 (en) Method of rate snooping in a SAS/SATA environment
US20210007005A1 (en) Message transmission method and apparatus
CN110808948B (en) Remote procedure calling method, device and system
US10020916B2 (en) Method and apparatus for data communication of vehicle
CN115022293B (en) Multichannel resource allocation method and device, computer equipment and storage medium
CN105900481B (en) bandwidth selection method of wireless fidelity technology and access point AP
KR20130069815A (en) Reducing the maximum latency of reserved streams
CN111064788B (en) Signal transmission method, robot, and computer-readable storage medium
US20160277246A1 (en) Method and device for media multiplexing negotiation
KR101251371B1 (en) Flexray-CAN Gateway Structure and Message Mapping Method
US9839042B2 (en) Method, apparatus, and system for resource scheduling
CN107171915B (en) Communication protocol changing method and device
US20230403735A1 (en) Message Transmission Method, Terminal and Storage Medium
CN114615337A (en) Equipment scheduling method, system, server and storage medium
WO2020250778A1 (en) Communication device, communication method, and program
CN110312094B (en) Signal receiving apparatus, signal output control system, and signal output control method
CN112738053A (en) Video color ring playing method, system, server, network equipment and storage medium
CN103237017B (en) A kind of based on High level data link control time-division multiplexing method and system
US8045578B2 (en) Method for controlling event and reporting status of cable modem and apparatus thereof
CN112671512A (en) CAN message sending method, control unit, CAN node and network thereof
CN113766449A (en) Information transmission method and device and terminal equipment
CN111083127B (en) Session management method, electronic device, and computer-readable storage medium
CN113747206B (en) Data feedback control method and system, display screen controller and display control card
WO2023197969A1 (en) Resource configuration method and apparatus, and 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