CN115119015A - Data transmission system and method - Google Patents

Data transmission system and method Download PDF

Info

Publication number
CN115119015A
CN115119015A CN202210748868.4A CN202210748868A CN115119015A CN 115119015 A CN115119015 A CN 115119015A CN 202210748868 A CN202210748868 A CN 202210748868A CN 115119015 A CN115119015 A CN 115119015A
Authority
CN
China
Prior art keywords
data
target data
transmission system
data transmission
speed video
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
CN202210748868.4A
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.)
Guangzhou Strong Information Technology Co ltd
Original Assignee
Guangzhou Strong Information 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 Guangzhou Strong Information Technology Co ltd filed Critical Guangzhou Strong Information Technology Co ltd
Priority to CN202210748868.4A priority Critical patent/CN115119015A/en
Publication of CN115119015A publication Critical patent/CN115119015A/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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明的实施例提供了一种数据传输系统及方法,数据传输系统包括数据发送端、高速视频线以及数据接收端,数据发送端包括第一接口,数据接收端包括第二接口,高速视频线包括第一接头以及第二接头,第一接头与第一接口物理连接,所述第二接头与第二接口物理连接;数据发送端,用于基于预设视频帧格式对目标数据进行编码,获得编码后的目标数据,编码后的目标数据的格式为预设视频帧格式;发送编码后的目标数据;高速视频线,用于使数据发送端与数据接收端通信连接,并将数据发送端发送的编码后的目标数据传输至数据接收端;数据接收端,用于接收编码后的目标数据;基于预设解码算法对编码后的目标数据解码,得到目标数据;存储目标数据。

Figure 202210748868

Embodiments of the present invention provide a data transmission system and method. The data transmission system includes a data sending end, a high-speed video cable, and a data receiving end. The data sending end includes a first interface, the data receiving end includes a second interface, and the high-speed video cable It includes a first connector and a second connector, the first connector is physically connected to the first interface, and the second connector is physically connected to the second interface; the data sending end is used to encode the target data based on the preset video frame format, and obtain The encoded target data, the format of the encoded target data is the preset video frame format; the encoded target data is sent; the high-speed video cable is used to connect the data sending end and the data receiving end, and send the data sending end The encoded target data is transmitted to the data receiving end; the data receiving end is used to receive the encoded target data; decode the encoded target data based on a preset decoding algorithm to obtain the target data; and store the target data.

Figure 202210748868

Description

Data transmission system and method
Technical Field
The invention relates to the technical field of data processing, in particular to a data transmission system and a data transmission method.
Background
In the prior art, data interaction between an intranet and an extranet is generally performed in a data ferrying manner. The traditional internal and external network data ferrying mode mainly uses firewall/DMZ zone separation transmission or ferry through an optical disk ferrying machine.
However, in the course of the inventor's research, it was found that since the firewall/DMZ zone isolation transmission is based on network protocol transmission, the security level is low; the ferry of the optical disk ferry machine achieves high security level through a physical isolation mode, but the data transmission speed is too slow, and the steps are complicated.
Disclosure of Invention
The object of the present invention includes, for example, providing a data transmission system and method which can solve at least partially the above technical problems.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a data transmission system, where the data transmission system includes a data sending end, a high-speed video line, and a data receiving end, the data sending end includes a first interface, the data receiving end includes a second interface, the high-speed video line includes a first connector and a second connector, the first connector is physically connected to the first interface, and the second connector is physically connected to the second interface;
the data sending end is used for coding target data based on a preset video frame format to obtain coded target data, and the format of the coded target data is the preset video frame format; transmitting the encoded target data;
the high-speed video line is used for enabling the data sending end to be in communication connection with the data receiving end and transmitting the coded target data sent by the data sending end to the data receiving end;
the data receiving end is used for receiving the coded target data; decoding the encoded target data based on a preset decoding algorithm to obtain the target data; and storing the target data.
Optionally, the data transmission system further includes a reverse inhibitor, and the reverse inhibitor is installed at a connection between the first interface or the second interface and the high-speed video line;
the reverse inhibitor is used for enabling the target data to be transmitted in a single direction.
Optionally, the step of the data sending end encoding the target data based on a preset video frame format includes:
segmenting the target data to obtain a plurality of continuous target data segments;
setting operation parameters according to the preset video frame format;
and sequentially inserting each target data segment into the operation parameters to obtain a plurality of continuous coded target data segments, and completing the coding of the target data.
Optionally, the step of decoding, by the data receiving end, the encoded target data based on a preset decoding algorithm includes:
sequentially reading the operating parameters in each coded target data segment;
decoding the operation parameters in sequence to obtain a plurality of continuous target data segments;
and storing a plurality of continuous target data segments to finish decoding the target data.
Optionally, the data sending end is further configured to generate a check code according to preset information; inserting said check code into each of said target data segments prior to said completing encoding of said target data;
the data receiving end is further configured to verify the check code corresponding to each target data segment after the target data is obtained; and if the verification is passed, storing the target data segment.
Optionally, the data receiving end is further configured to:
when the check code fails the check, performing data recovery on a target data segment corresponding to the check code which fails the check;
if the recovery is successful, storing the recovered target data segment;
and if the recovery fails, discarding the target data segment with failed recovery.
Optionally, the high speed video lines include HDMI high speed video lines, DVI high speed video lines, and DP high speed video lines.
Optionally, the encoding mode of the encoding includes a data full-coverage encoding mode and a data half-coverage encoding mode.
In a second aspect, the present invention provides a data transmission method, which is applied to a data transmitting end of a data transmission system, wherein the data transmission system further comprises a high speed video line and a data receiving end, and the data transmitting end and the data receiving end are in communication connection through the high speed video line; the method comprises the following steps:
acquiring a preset video frame format;
encoding target data based on the preset video frame format to obtain encoded target data;
and sending the encoded target data to the data receiving end through the high-speed video line.
Optionally, the encoding the target data based on the preset video frame format includes:
segmenting the target data to obtain a plurality of continuous target data segments;
setting operation parameters according to the preset video frame format;
and sequentially inserting each target data segment into the operation parameters to obtain a plurality of continuous coded target data segments, and completing the coding of the target data.
Optionally, the method further comprises:
generating a check code according to preset information;
inserting the check code into each of the target data segments before the encoding of the target data is completed.
Optionally, the encoding mode of the encoding includes a data full-coverage encoding mode and a data half-coverage encoding mode.
In a third aspect, the present invention provides a data transmission method, which is applied to a data receiving end of a data transmission system, where the data transmission system further includes a high-speed video line and a data transmitting end, and the data transmitting end and the data receiving end are in communication connection through the high-speed video line; the method comprises the following steps:
receiving the encoded target data over the high-speed video line;
decoding the encoded target data based on a preset decoding algorithm to obtain the target data;
and storing the target data.
Optionally, the decoding the encoded target data based on a preset decoding algorithm includes:
sequentially reading the operating parameters in each coded target data segment;
decoding the operation parameters in sequence to obtain a plurality of continuous target data segments;
and storing a plurality of continuous target data segments to finish decoding the target data.
Optionally, after the obtaining the target data, the method further includes:
checking the check code corresponding to each target data segment;
and if the verification is passed, storing the target data segment.
Optionally, the method further comprises:
when the check code fails the check, performing data recovery on a target data segment corresponding to the check code which fails the check;
if the recovery is successful, storing the recovered target data segment;
and if the recovery fails, discarding the target data segment with failed recovery.
The beneficial effects of the embodiment of the invention include, for example:
the data sending end and the data receiving end are physically isolated and connected through a high-speed video line, so that high security of data transmission is ensured; meanwhile, the data is transmitted by using the high-speed video line, so that the transmission speed of data transmission is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram of a data transmission system according to an embodiment of the present invention;
FIG. 2 is a schematic view of a reverse inhibitor according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps for encoding target data according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of decoding encoded target data according to an embodiment of the present invention.
Icon: 10-a data transmission system; 11-a data transmitting end; 111-a first interface; 12-high speed video line; 121-a first joint; 122-a second joint; 13-a data receiving end; 131-a second interface; 14-reverse inhibitor.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
The traditional data ferrying mode of internal and external network isolation mainly uses the modes of firewall DMZ zone isolation transmission, unidirectional network gate/optical gate ferrying, optical disk ferrying machine ferrying, two-dimensional code camera ferrying and the like. The main technology of the firewall DMZ zone isolation transmission is to set a DMZ zone to place an external network server and then control the data isolation transmission of the internal and external network servers through an internal firewall. The main implementation mode of the unidirectional network gate or unidirectional optical gate ferrying is a unidirectional feedback-free transmission technology, and absolute unidirectional flow of data is ensured at a physical link layer and a transmission layer. The ferry of the optical disk ferry machine realizes data ferry by automatically recording and reading optical disks. The two-dimension code camera ferry is realized by generating a two-dimension code at a display end and reading the two-dimension code by a camera at a reading end.
However, the firewall DMZ zone isolation transmission and the unidirectional gatekeeper/optical gate ferry both adopt network protocol transmission, and are only suitable for data ferry scenes with intermediate security level and below because a network protocol needs to be used; and the data transmission speed of the ferry of the optical disk ferry machine or the ferry of the two-dimensional code camera is slow, and the steps are complicated.
Therefore, the traditional data ferrying mode cannot give consideration to both the high security of data and the transmission speed of data.
Therefore, to solve the above problem, referring to fig. 1, an embodiment of the present invention provides a data transmission system 10, including a data sending end 11, a high-speed video line 12 and a data receiving end 13, where the data sending end 11 includes a first interface 111, the data receiving end 13 includes a second interface 131, the high-speed video line 12 includes a first connector 121 and a second connector 122, the first connector 121 is physically connected to the first interface 111, and the second connector 122 is physically connected to the second interface 131;
a data sending end 11, configured to encode target data based on a preset video frame format to obtain encoded target data, where the format of the encoded target data is the preset video frame format; transmitting the encoded target data;
a high-speed video line 12, configured to communicatively connect the data sending end 11 and the data receiving end 13, and transmit the encoded target data sent by the data sending end 11 to the data receiving end 13;
a data receiving end 13, configured to receive the encoded target data; decoding the encoded target data based on a preset decoding algorithm to obtain the target data; and storing the target data.
The preset video frame format may be a video frame format preset by a user, such as a wide value, a high value, and a pixel format value; the target data may be data that needs to be transmitted.
As an alternative embodiment, the data sending end 11 may be internally provided with a data buffer, a frame providing area, and an encoding area. When data transmission is required, the data sending end 11 stores the target data in the data buffer area, acquires the preset video frame format from the frame providing area, codes the target data by adopting the preset video frame format provided by the frame providing area in the coding area, and obtains the coded target data with the preset video frame format, that is, the coded target data is used as the video frame with the preset video frame format, so that the coded target data can be transmitted through the high-speed video line 12.
An interface (i.e., the first interface 111) for connecting the high-speed video line 12 may be provided on the data transmitting end 11, and is adapted to the first connector 121 of the high-speed video line 12. The other connector (second connector 122) of the high-speed video line 12 is adapted to a second interface 131 provided on the data receiving terminal 13. The data transmitting end 11 may be connected to the data receiving end 13 through a high-speed video line 12, thereby performing transmission of target data.
As an alternative embodiment, a decoding area and a data storage area may be provided inside the data receiving end 13. After receiving the encoded target data sent from the data sending end 11 through the high-speed video line 12, the data receiving end 13 may decode the encoded target data in the decoding area by using a preset decoding algorithm; and obtaining target data after decoding, and storing the target data in a data storage area to finish the data transmission process.
Optionally, as shown in fig. 2, the data transmission system 10 further includes a reverse inhibitor 14, where the reverse inhibitor 14 is installed at a connection between the first interface 111 or the second interface 131 and the high-speed video line 12; the reverse inhibitor 14 is used to make the target data transmitted in one direction.
The reverse inhibiting means 14 is configured to inhibit the reverse signal of the specific pin of the first interface 111 or the second interface 131 from being kept at the low level all the time, so that the target data can only be transmitted in one direction. On the basis of improving the data transmission security of the physical isolation, the data transmission system 10 further meets the security requirements of a secure network.
Alternatively, the high-speed video lines 12 include HDMI high-speed video lines, DVI high-speed video lines, and DP high-speed video lines.
Optionally, as shown in fig. 3, the encoding of the target data by the data transmitting end 11 based on the preset video frame format includes the following steps:
step S110: and segmenting the target data to obtain a plurality of continuous target data segments.
Step S111: and setting operation parameters according to the preset video frame format.
Step S112: and sequentially inserting each target data segment into the operation parameters to obtain a plurality of continuous coded target data segments, and completing the coding of the target data.
When executing a data transmission task, the data sending end can segment the target data according to the length of the target data, and if the target data is within the segment length set by a user, the target data is directly coded; and if the target data is out of the segment length set by the user, dividing the target data into a plurality of segments according to the segment length set by the user. For example, the length of a certain target data is 400000 bytes, and if the segment length set by the user is 600000 bytes/segment, the target data is directly encoded (the target data may be divided into one target data segment); if the segment length set by the user is 200000 bytes/segment, the target data is divided into 2 consecutive target data segments.
After dividing the target data into target data segments, the data sending end 11 obtains a preset video frame format set by a user from the frame providing area, and sets an operation parameter according to a width value, a height value and a pixel format value of the preset video frame format. After the operation parameters are set, each target data segment can be inserted into the operation parameters respectively, and the encoding of each target data segment is completed. It should be noted that, a manner of inserting the target data segment into the operation parameter may also be to sequentially insert each target data segment into the operation parameter according to an order of the target data segments, which is not specifically limited in this embodiment of the specification.
Optionally, the encoding mode of the encoding includes a data full-coverage encoding mode and a data half-coverage encoding mode.
In the specific implementation process, a suitable coding mode can be selected according to actual conditions to code the target data so as to ensure the smoothness of data transmission and improve the efficiency of data transmission.
For example, in a 1080P video transmission general YUV422P format, a full-coverage data writing frame mode is adopted, each frame can carry 1920 × 1080 × 2 ═ 4147200 bytes of data, and if the number of frames per second of video is 60 frames, 237 million of data can be transmitted per second, thereby realizing high-speed data transmission.
Optionally, as shown in fig. 4, the data receiving end 13 decodes the encoded target data based on a preset decoding algorithm, including the following steps:
step S210: and sequentially reading the operating parameters in each coded target data segment.
Step S211: and decoding the operation parameters in sequence to obtain a plurality of continuous target data segments.
Step S212: and storing a plurality of continuous target data segments to finish decoding the target data.
When the encoded target data segments are transmitted through the high-speed video line 12, the data transmitting end 11 may transmit the encoded target data segments in the order of the target data segments, and the data receiving end 13 may sequentially receive each encoded target data segment in the order.
After receiving the target data segment, the data receiving end 13 may decode the operation parameter through a decoding algorithm preset by the user and corresponding to the operation parameter. It should be clear that, the data receiving end 13 may have various reading sequences for the operation parameters in the encoded target data segments, and may read the operation parameters in each encoded target data segment in sequence after all the encoded target data segments are received; or, the operating parameters of the target data segment can be read every time the target data segment is received after being coded. This is not particularly limited in this description.
After decoding all the encoded target data segments, the data receiving end 13 may store the obtained target data in its internal data storage area.
Optionally, the data sending end 11 is further configured to generate a check code according to preset information;
inserting the check code into each target data segment before encoding of the target data is completed;
the data receiving end 13 is further configured to verify the check code corresponding to each target data segment after the target data is obtained;
and if the verification is passed, storing the target data segment.
During the transmission process of the target data, data omission, errors and the like may be generated due to various problems, so that data is abnormal, and other data may be affected by the data. In order to improve the accuracy of target data transmission, before the target data is encoded, the data sending end 11 may generate a check code according to the preset information, and insert the generated check code into each target data segment. The preset information may be information that is set in the data transmission system 10 by the user according to specific requirements to generate the check code.
After obtaining the target data, the data receiving end 13 may check the check code corresponding to each target data segment, and if the check is successful, it indicates that the target data segment corresponding to the check code has no problem, and stores the target data segment.
Optionally, the data receiving end 13 is further configured to:
when the check code fails the check, performing data recovery on a target data segment corresponding to the check code which fails the check; if the recovery is successful, storing the recovered target data segment; and if the recovery fails, discarding the target data segment with the failed recovery.
When the data receiving end 13 fails to verify a certain target data segment, data recovery may be performed on the target data segment corresponding to the check code that fails to pass the verification, for example, the target data segment is recovered by using a forward error correction method. If the recovery is successful, the target data segment after recovery can be stored; if recovery fails, the target data segment for which recovery failed may be discarded.
In order to better understand the solution of the present invention, the present description also provides the following alternative specific examples:
a data buffer area of a data sending end 11 buffers target data A, a frame providing area provides a preset video frame format with the width of X, the height of Y and the pixel format of YUV422P, a coding area sets operation parameters according to the preset video frame format, the coding area reads the target data A of an N (N < X Y-5) byte data buffer area according to the operation parameters, and the data can be a target data section A1; the encoding area encodes the target data segment A1 according to the operation parameters, the first 4 bytes and the last C (C < ═ 8) bits of the operation parameters are written into 'partial operation parameter codes of the encoding area', the 5 th to the Mth (M < ═ N × 8/C +4) bytes and the last C bits of the operation parameters are steganographically written into the target data segment A1, the last C bits of the rest bytes are written into check codes, the encoded target data are sent to the data receiving end 13 through the high-speed video line 12, and the data sending end 11 repeats the encoding process until the target data A are sent completely.
The data receiving end 13 receives the encoded target data a through the second interface 131, the decoding area of the data receiving end 13 reads the running parameter code of the first 4 bytes of the frame, decodes the target data segment a1 and the check code, stores the target data segment a1 into the storage area after the check is passed, and the data receiving end 13 repeats the decoding process until the target data a is received completely.
Based on the same inventive concept, the embodiment of the present specification further provides a data transmission method, which is applied to a data transmitting end of a data transmission system, where the data transmission system further includes a high-speed video line and a data receiving end, and the data transmitting end and the data receiving end are in communication connection through the high-speed video line; the method comprises the following steps:
acquiring a preset video frame format;
encoding target data based on the preset video frame format to obtain encoded target data;
and sending the encoded target data to the data receiving end through the high-speed video line.
Optionally, the encoding the target data based on the preset video frame format includes:
segmenting the target data to obtain a plurality of continuous target data segments;
setting operation parameters according to the preset video frame format;
and sequentially inserting each target data segment into the operation parameters to obtain a plurality of continuous coded target data segments, and completing the coding of the target data.
Optionally, the method further comprises:
generating a check code according to preset information;
inserting the check code into each of the target data segments before the encoding of the target data is completed.
Optionally, the encoding mode of the encoding includes a data full-coverage encoding mode and a data half-coverage encoding mode.
With regard to the above-mentioned data transmission method, the respective steps have been described in detail in the embodiment of the data transmission system provided in the present specification, and will not be elaborated herein.
Based on the same inventive concept, the invention also provides a data transmission method, which is applied to a data receiving end of a data transmission system, the data transmission system also comprises a high-speed video line and a data transmitting end, and the data transmitting end is in communication connection with the data receiving end through the high-speed video line; the method comprises the following steps:
receiving the encoded target data over the high-speed video line;
decoding the encoded target data based on a preset decoding algorithm to obtain the target data;
and storing the target data.
Optionally, the decoding the encoded target data based on a preset decoding algorithm includes:
sequentially reading the operating parameters in each coded target data segment;
decoding the operation parameters in sequence to obtain a plurality of continuous target data segments;
and storing a plurality of continuous target data segments to finish decoding the target data.
Optionally, after the obtaining the target data, the method further includes:
checking the check code corresponding to each target data segment;
and if the verification is passed, storing the target data segment.
Optionally, the method further comprises:
when the check code fails the check, performing data recovery on a target data segment corresponding to the check code which fails the check;
if the recovery is successful, storing the recovered target data segment;
and if the recovery fails, discarding the target data segment with failed recovery.
With regard to the above-mentioned data transmission method, the respective steps have been described in detail in the embodiment of the data transmission system provided in the present specification, and will not be elaborated herein.
By adopting the scheme in the embodiment of the invention, the following effects can be at least partially achieved:
1. the data sending end 11 is physically isolated from the data receiving end 13, and is connected with the data receiving end 12 through a high-speed video line, so that high security of data transmission is ensured; meanwhile, the data is transmitted by using the high-speed video line 12, so that the transmission speed of data transmission is ensured.
2. The reverse inhibiting means 14 is configured to inhibit the reverse signal of the specific pin of the first interface 111 or the second interface 131 from being kept at the low level all the time, so that the target data can only be transmitted in one direction. On the basis of improving the data transmission security of the physical isolation, the data transmission system 10 further meets the security requirements of a secure network.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1.一种数据传输系统,其特征在于,所述数据传输系统包括数据发送端、高速视频线以及数据接收端,所述数据发送端包括第一接口,所述数据接收端包括第二接口,所述高速视频线包括第一接头以及第二接头,所述第一接头与所述第一接口物理连接,所述第二接头与所述第二接口物理连接;1. a data transmission system, it is characterised in that the data transmission system comprises a data transmission end, a high-speed video cable and a data reception end, the data transmission end comprises a first interface, and the data reception end comprises a second interface, The high-speed video cable includes a first connector and a second connector, the first connector is physically connected to the first interface, and the second connector is physically connected to the second interface; 所述数据发送端,用于基于预设视频帧格式对目标数据进行编码,获得编码后的目标数据,所述编码后的目标数据的格式为所述预设视频帧格式;发送所述编码后的目标数据;The data sending end is configured to encode the target data based on the preset video frame format, and obtain the encoded target data, and the format of the encoded target data is the preset video frame format; sending the encoded target data target data; 所述高速视频线,用于使所述数据发送端与所述数据接收端通信连接,并将所述数据发送端发送的所述编码后的目标数据传输至所述数据接收端;The high-speed video cable is used to connect the data sending end and the data receiving end in communication, and transmit the encoded target data sent by the data sending end to the data receiving end; 所述数据接收端,用于接收所述编码后的目标数据;基于预设解码算法对所述编码后的目标数据解码,得到所述目标数据;存储所述目标数据。The data receiving end is configured to receive the encoded target data; decode the encoded target data based on a preset decoding algorithm to obtain the target data; and store the target data. 2.如权利要求1所述的数据传输系统,其特征在于,所述数据传输系统还包括反向抑制件,所述反向抑制件安装于所述第一接口或所述第二接口与所述高速视频线的连接处;2. The data transmission system according to claim 1, characterized in that, the data transmission system further comprises a reverse suppression member, the reverse suppression member is installed on the first interface or the second interface and the the connection of the high-speed video cable; 所述反向抑制件用于使所述目标数据单向传输。The reverse suppressor is used for unidirectional transmission of the target data. 3.如权利要求1所述的数据传输系统,其特征在于,所述数据发送端基于预设视频帧格式对目标数据进行编码的步骤,包括:3. data transmission system as claimed in claim 1, is characterized in that, the step that described data sending end encodes target data based on preset video frame format, comprises: 将所述目标数据分段,获得多个连续的目标数据段;Segmenting the target data to obtain a plurality of continuous target data segments; 根据所述预设视频帧格式设置运行参数;Setting operating parameters according to the preset video frame format; 依次将每个所述目标数据段插入所述运行参数,得到多个连续的编码后的目标数据段,完成对所述目标数据的编码。Each of the target data segments is sequentially inserted into the operating parameters to obtain a plurality of consecutive encoded target data segments, and the encoding of the target data is completed. 4.如权利要求3所述的数据传输系统,其特征在于,所述数据接收端基于预设解码算法对所述编码后的目标数据解码的步骤,包括:4. The data transmission system according to claim 3, wherein the step of the data receiving terminal decoding the encoded target data based on a preset decoding algorithm, comprises: 依次读取每个所述编码后的目标数据段中的所述运行参数;Read the operating parameters in each of the encoded target data segments in turn; 依次对所述运行参数解码,获得多个连续的所述目标数据段;Decoding the operating parameters in turn to obtain a plurality of consecutive target data segments; 存储多个连续的所述目标数据段,完成对所述目标数据的解码。A plurality of consecutive segments of the target data are stored to complete the decoding of the target data. 5.如权利要求4所述的数据传输系统,其特征在于,所述数据发送端,还用于根据预设信息,生成校验码;在所述完成对所述目标数据的编码之前,将所述校验码插入每个所述目标数据段;5. The data transmission system according to claim 4, wherein the data sending end is also used to generate a check code according to preset information; before the encoding of the target data is completed, the inserting the check code into each of the target data segments; 所述数据接收端,还用于在所述得到所述目标数据之后,对每个所述目标数据段对应的所述校验码进行校验;若通过所述校验,则存储所述目标数据段。The data receiving end is further configured to check the check code corresponding to each target data segment after obtaining the target data; if the check is passed, store the target data segment. 6.如权利要求5所述的数据传输系统,其特征在于,所述数据接收端,还用于:6. The data transmission system according to claim 5, wherein the data receiving terminal is also used for: 在所述校验码未通过所述校验时,对未通过所述校验的校验码所对应的目标数据段进行数据恢复;When the check code fails the check, perform data recovery on the target data segment corresponding to the check code that fails the check; 若恢复成功,则存储恢复后的目标数据段;If the recovery is successful, the recovered target data segment is stored; 若恢复失败,则将恢复失败的目标数据段丢弃。If the recovery fails, the failed target data segment will be discarded. 7.如权利要求1所述的数据传输系统,其特征在于,所述高速视频线包括HDMI高速视频线、DVI高速视频线以及DP高速视频线。7 . The data transmission system according to claim 1 , wherein the high-speed video lines comprise HDMI high-speed video lines, DVI high-speed video lines, and DP high-speed video lines. 8 . 8.如权利要求1~5任一项权利要求所述的数据传输系统,其特征在于,所述编码的编码方式包括数据全覆盖编码方式以及数据半覆盖编码方式。8. The data transmission system according to any one of claims 1 to 5, wherein the encoding method includes a data full-coverage encoding method and a data half-coverage encoding method. 9.一种数据传输方法,其特征在于,应用于数据传输系统的数据发送端,所述数据传输系统还包括高速视频线以及数据接收端,所述数据发送端与所述数据接收端通过所述高速视频线通信连接;所述方法包括:9. A data transmission method, characterized in that it is applied to a data transmission end of a data transmission system, the data transmission system further comprising a high-speed video cable and a data reception end, and the data transmission end and the data reception end are passed through the The high-speed video line communication connection; the method includes: 获取预设视频帧格式;Get the preset video frame format; 基于所述预设视频帧格式对目标数据进行编码,获得编码后的目标数据;The target data is encoded based on the preset video frame format, and the encoded target data is obtained; 通过所述高速视频线,向所述数据接收端发送所述编码后的目标数据。The encoded target data is sent to the data receiving end through the high-speed video cable. 10.一种数据传输方法,其特征在于,应用于数据传输系统的数据接收端,所述数据传输系统还包括高速视频线以及数据发送端,所述数据发送端与所述数据接收端通过所述高速视频线通信连接;所述方法包括:10. A data transmission method, characterized in that it is applied to a data receiving end of a data transmission system, the data transmission system further comprising a high-speed video cable and a data transmitting end, the data transmitting end and the data receiving end passing through the The high-speed video line communication connection; the method includes: 通过所述高速视频线,接收所述编码后的目标数据;Receive the encoded target data through the high-speed video line; 基于预设解码算法对所述编码后的目标数据解码,得到所述目标数据;Decode the encoded target data based on a preset decoding algorithm to obtain the target data; 存储所述目标数据。The target data is stored.
CN202210748868.4A 2022-06-28 2022-06-28 Data transmission system and method Pending CN115119015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210748868.4A CN115119015A (en) 2022-06-28 2022-06-28 Data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210748868.4A CN115119015A (en) 2022-06-28 2022-06-28 Data transmission system and method

Publications (1)

Publication Number Publication Date
CN115119015A true CN115119015A (en) 2022-09-27

Family

ID=83329632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210748868.4A Pending CN115119015A (en) 2022-06-28 2022-06-28 Data transmission system and method

Country Status (1)

Country Link
CN (1) CN115119015A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359550A1 (en) * 2014-12-31 2017-12-14 Huawei Technologies Co., Ltd. Video Communication Method and System, and Terminal
US20180165164A1 (en) * 2015-08-17 2018-06-14 Huawei Technologies Co., Ltd. Data Recovery Method, Data Storage Method, and Corresponding Apparatus and System
CN110312147A (en) * 2019-06-12 2019-10-08 高新兴科技集团股份有限公司 Method, system and the storage medium of business data transmission
CN110418165A (en) * 2019-08-01 2019-11-05 辽宁奥创纪元科技有限公司 Across the level of confidentiality unidirectional file transmission method of one kind

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359550A1 (en) * 2014-12-31 2017-12-14 Huawei Technologies Co., Ltd. Video Communication Method and System, and Terminal
US20180165164A1 (en) * 2015-08-17 2018-06-14 Huawei Technologies Co., Ltd. Data Recovery Method, Data Storage Method, and Corresponding Apparatus and System
CN110312147A (en) * 2019-06-12 2019-10-08 高新兴科技集团股份有限公司 Method, system and the storage medium of business data transmission
CN110418165A (en) * 2019-08-01 2019-11-05 辽宁奥创纪元科技有限公司 Across the level of confidentiality unidirectional file transmission method of one kind

Similar Documents

Publication Publication Date Title
CN1164082C (en) Wireless Communication System for Video Packet Transmission
CN114374470B (en) Data transmission method, system and computer readable storage medium
CN100579245C (en) Device and method for encoding and generating multi-view video using camera parameters
US8385429B2 (en) Video compression encoder
CN103404146A (en) Video file repairing method and device
US8036314B2 (en) Automatic correction of data polarity on a differential serial bus
CN115119015A (en) Data transmission system and method
CN117493248A (en) USB data transmission method, device, system, electronic equipment and storage medium
CN101540901A (en) Method and device for coding/decoding
KR100840877B1 (en) Signal coding method and apparatus, coded data stream coding method and apparatus, channel encoding method and channel coder, channel decoding method and channel decoder, and storage medium
JP3093830B2 (en) Image data compression transmission method
KR101642965B1 (en) Apparatus and method for processing depth image using bit depth reduction
JP4642854B2 (en) Decoding device
CN113228662A (en) Methods, apparatuses, computer programs and computer readable media for scalable video coding and transmission
KR101777349B1 (en) Method and apparatus for transmitting and receiving video stream
US20080095243A1 (en) H.264 decoding method and device for detection of NAL-unit error
CN115941936A (en) Abnormal code stream generation method and device and electronic equipment
CN111010575A (en) Code stream fault tolerance method and device and readable storage medium
JP2001308711A (en) Control information encoding and decoding methods and control information transmitter and receiver
JP4755691B2 (en) High-quality compressed video transmission system
US5963152A (en) Resolving block method for synchronization correction in run-length limited codes
JP3076070B2 (en) Encoded data transmission device
US20090172497A1 (en) Data processing system and method for processing optical information
CN117640890A (en) A method of one-way data transmission using video interface
JP2762528B2 (en) Transmission line encoding / decoding method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220927