Disclosure of Invention
The invention provides a communication method, which is used for data transmission based on a double-channel unbalanced link, wherein the double-channel unbalanced link comprises a main communication node, one or more intermediate communication nodes and a plurality of branch communication nodes, the main communication node is connected with the one or more intermediate communication nodes through an upper-layer link, each intermediate communication node is connected with the plurality of branch communication nodes through a lower-layer link, and the lower-layer link comprises:
the lower-layer main channel is a point-to-multipoint parallel link, adopts a bidirectional communication mode and is used for downloading the first type data and uploading the second type data;
and the lower-layer auxiliary channel is a point-to-point serial link and adopts a one-way communication mode for downloading the third type data. .
In one embodiment, the upper link includes:
the upper layer main channel is a point-to-multipoint parallel link, adopts a unidirectional communication mode and is used for downloading the first type data;
and the upper-layer secondary channel is a point-to-point serial link, adopts a bidirectional communication mode, and is used for downloading the third type data and uploading the second type data.
In one embodiment, a complete working time domain is divided into two parts, wherein:
the upper layer main channel downloads the first type data in the first half section of the working time domain;
when the main communication node communicates with an intermediate communication node, the upper-layer auxiliary channel uploads the second type data in the second half of the working time domain;
when the main communication node communicates with a plurality of intermediate communication nodes, the upper-layer auxiliary channel downloads the third type data in the first half section of the working time domain and then uploads the second type data;
the lower layer main channel downloads the first type data in the first half of the working time domain and uploads the second type data in the second half of the working time domain;
and the lower-layer auxiliary channel downloads the third type data in the latter half of the working time domain.
In one embodiment:
the upper layer main channel and the lower layer main channel use RS485 protocol;
the upper layer secondary channel uses RS232 protocol.
In one embodiment, for the lower level secondary channel:
when the distance between the two point light sources is less than or equal to two meters, using a UART protocol;
when the distance between the two point light sources is more than two meters, the RS232 protocol is used.
In one embodiment:
the first type data is a program data frame;
the second type data is interaction information;
the third type of data is management information.
In one embodiment, the dual-channel unbalanced link conforms to the DMX512 protocol.
The invention also provides a communication system based on the communication method, and the system comprises:
a host for constructing the primary communication node configured to output the first type of data and the third type of data, receive a second type of data;
a head-end device connected to the host via the upper link, for constructing an intermediate node configured to forward the first type of data, receive the second type of data, and output the third type of data;
and the network element equipment is connected with the head end equipment through the lower layer link, is used for constructing a branch communication node, is configured to receive and output the first type data and the third type data, and acquires and outputs the second type data.
In an embodiment, the network element device includes:
the basic network element is used for receiving and outputting the first type data and the third type data and acquiring second type data;
and/or the presence of a gas in the gas,
a backhaul node network element for receiving and outputting the first type data and the third type data, obtaining the second type data, and uploading the second type data.
In an embodiment, the network element device further includes:
and the terminating network element is the last return node network element of the lower link and is used for returning the ending instruction of the second type of data.
According to the method, the transmission of three types of data can be realized by utilizing a double-channel unbalanced link; compared with the prior art, the method has the advantages of good data transmission stability, high data link utilization rate, and very high practical value and popularization value.
Additional features and advantages of the invention will be set forth in the description which follows. Also, some of the features and advantages of the invention will be apparent from the description, or may be learned by practice of the invention. The objectives and some of the advantages of the invention may be realized and attained by the process particularly pointed out in the written description and claims hereof as well as the appended drawings.
Detailed Description
The following detailed description will be provided for the embodiments of the present invention with reference to the accompanying drawings and examples, so that the practitioner of the present invention can fully understand how to apply the technical means to solve the technical problems, achieve the technical effects, and implement the present invention according to the implementation procedures. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
With the continuous progress of the video playing technology, the application range of the video playing technology is also continuously expanded, and at present, the video playing technology is widely used for media facades and luminous building materials, so that the video playing equipment becomes novel video playing equipment and is video playing equipment with a super-large screen. Meanwhile, with the continuous development of network technology, the novel video playing device is not limited to playing locally stored video files, but acquires the video files capable of being spliced from the server in a networking mode, so that large-scale group playing is realized.
However, with the continuous development of multimedia technology, the functions of the novel video playing device are not limited to only simple video playing, but also have real-time interactive functions, so that the novel video playing device can realize the field interaction with audiences, and becomes an intelligent video playing device. However, in the prior art, the video playing device usually does not have a logic processing function for the audience interaction information, and the audience interaction information needs to be transmitted to the network server through other devices for processing. Because the data volume of the video file is large, the video file occupies a large bandwidth during real-time playing and transmission, and under the condition, the transmission of audience interaction information inevitably increases the data transmission pressure, so that the transmission network congestion is caused, the error rate is increased, and the transmission efficiency is greatly reduced.
In order to solve the above problems, the present invention provides a communication method. The unbalanced link is a network link layer composed of a group of transmission channels adopting different transmission modes and different baud rates. In the method of the present invention, an unbalanced link uses three directions (i.e. 2C3D) of two channels for data transmission, and comprises a main communication node, one or more intermediate communication nodes and a plurality of branch communication nodes, wherein the main communication node is connected with the one or more intermediate communication nodes through an upper layer link, and each intermediate communication node is connected with the plurality of branch communication nodes through a lower layer link.
Specifically, as shown in fig. 1, in one embodiment, a primary communication node 100 is coupled to intermediate communication nodes 101, 102 via an upper link 110. The intermediate communication nodes 101, 102 are connected to the branch communication nodes 103, 104, 105, 106, 107, 108 by lower layer links 120, 130.
Further, in an embodiment, the lower link employs a dual-channel unbalanced link, which includes:
the lower-layer main channel is a point-to-multipoint parallel link, adopts a bidirectional communication mode and is used for downloading the first type data and uploading the second type data;
and the lower-layer auxiliary channel is a point-to-point serial link and adopts a one-way communication mode for downloading the third type data.
Specifically, as shown in fig. 1, the lower link 120 includes a lower primary channel 121 and a lower secondary channel 122. The lower link 130 includes a lower primary channel 131 and a lower secondary channel 132.
According to the method, the transmission of three types of data can be realized by utilizing a double-channel unbalanced link; compared with the prior art, the method has the advantages of good data transmission stability, high data link utilization rate, and very high practical value and popularization value.
Specifically, in an embodiment, the first type data is information with a large data volume, the second type data is information with a medium data volume, and the third type data is a short message.
Specifically, in an embodiment, for an interactive video file transmission scene, the first type data is a program data frame, the second type data is interactive information, and the third type data is management information.
Further, in one embodiment, the upper link uses a dual-channel unbalanced link.
Further, in one embodiment, the upper link and the lower link both use dual-channel unbalanced links. In another embodiment, only the lower link may use the dual-channel unbalanced link, and the upper link may use the link of other mode.
Further, in an embodiment, the upper link adopts a similar structure as the lower link, and the upper link includes:
the upper layer main channel is a point-to-multipoint link, adopts a bidirectional communication mode and is used for downloading the first type data and uploading the second type data;
and the upper layer secondary channel is a point-to-point link and adopts a one-way communication mode for downloading the third type data.
Further, in an embodiment, the upper link has a different structure from the lower link, as shown in fig. 2, and in an embodiment, the upper link 200 includes:
an upper layer main channel 201 which is a point-to-multipoint parallel link and adopts a unidirectional communication mode for downloading first type data;
the upper sub-channel 202, which is a point-to-point serial link, uses a bidirectional communication method for downloading the third type data and uploading the second type data.
Further, in an embodiment, a link structure of a dual-channel unbalanced link is adopted for both an upper link and a lower link, and a complete working time domain is divided into two parts, as shown in fig. 3, where:
the upper layer main channel downloads first type data in the first half section of the working domain;
when the main communication node communicates with one middle communication node, the upper layer auxiliary channel uploads second type data in the second half section of the working domain;
when the main communication node communicates with the plurality of intermediate communication nodes, the upper layer auxiliary channel downloads the third type data in the first half section of the working domain and then uploads the second type data;
the lower layer main channel downloads the first type data in the first half of the working domain and uploads the second type data in the second half of the working domain;
and the lower-layer auxiliary channel downloads the third type data in the second half of the working domain.
Further, in an embodiment, for an application scenario of video transmission, a program frame frequency period is taken as a complete working time domain.
Further, in an embodiment, the upper layer main channel and the lower layer main channel use RS485 protocol; the upper layer sub-channel and the lower layer sub-channel use RS232 protocol.
Further, in one embodiment, for lower level sub-channels: when the distance between the two point light sources is less than or equal to two meters, using a UART protocol; when the distance between the two point light sources is more than two meters, the RS232 protocol is used.
Further, in one embodiment, the dual channel unbalanced link of the upper link and/or the lower link conforms to the DMX512 protocol.
Based on the method of the invention, the invention also provides a communication system. Specifically, in one embodiment, the system includes:
a host for constructing a primary communication node configured to output data of a first type and data of a third type, receive data of a second type;
the head-end equipment is connected with the host through an upper link, is used for constructing an intermediate node and is configured to forward the first type data, the second type data and the third type data;
and the network element equipment is connected with the head end equipment through a lower layer link, is used for constructing a branch communication node, and is configured to receive and output the first type data and the third type data, and acquire and output the second type data.
Specifically, in one embodiment, the headend equipment has two-channel three-way communication capability. The network element equipment is used for forwarding the program content data packet downwards, sending an interactive information access instruction and an equipment management instruction, receiving interactive information returned by the network element equipment, and packaging and uploading the information. The lower link of each two-channel three-way unbalanced link has only one head-end device.
Specifically, in one embodiment, the network element device has two-channel three-way communication capability. The system is used for receiving program contents of a plurality of channels, outputting driving signals, receiving access interaction information instructions of the head-end equipment, collecting sensor state information according to instruction requirements, converting the sensor state information into uploading data and transmitting the data back to the head-end equipment. The lower link of each two-channel three-way unbalanced link may have a plurality of network element devices.
Further, in an embodiment, the network element device includes:
the basic network element is used for receiving and outputting the first type data and the third type data and acquiring second type data;
and/or the presence of a gas in the gas,
a backhaul node network element for receiving and outputting the first type data and the third type data, obtaining the second type data, and uploading the second type data.
Further, in an embodiment, the network element device further includes:
and the terminating network element is the last return node network element of the lower-layer link serial channel and is used for returning the ending instruction of the second type of data.
Specifically, in an embodiment, the head-end device and the network element device are connected through a lower link. As shown in fig. 4, in one embodiment, the UI is an uplink interface and the CI is a monitoring interface. The head-end equipment HE is configured to forward the first type of data (video program data packets) downward, send out the third type of data (interactive information collection instruction), and receive and return the second type of data (interactive information).
The network element equipment (NE 1-NEn) comprises:
basic network elements: the system is used for receiving a plurality of channel program signals and sampling interactive information;
a return node network element: besides the task of completing the basic network element, the system is also responsible for returning interaction information;
further, the network element arrangement comprises a terminating network element EE: and the last return node is responsible for returning the sampling end instruction.
Further, the headend equipment is connected to the host through the upper link, and in one embodiment, as shown in fig. 5, the host PC is used to edit the broadcast program signal, process the interaction and management information. The DI is a downstream interface connected to the headend equipment. The upper link includes:
master controller MC: and the system is responsible for distributing, collecting and distributing interactive and management information of the first-layer program signals.
Branch controller BC 1-BCn: and the system is responsible for distributing, collecting and distributing interaction and management information of the second layer program signals.
Specifically, in an embodiment, the ul is used for the basic link of the two-channel three-way unbalanced link to exchange information with the headend equipment. The uplink interface UI can convert the video signals sent by the front-end equipment into a plurality of DMX512 protocol data packets, and then the data packets are downloaded to the basic links of each unbalanced link; and the interactive information data packet sent by the HE can be converted into a data format used by the front-end equipment and is transmitted back to the front-end equipment. Each uplink interface UI can be connected with a plurality of basic links of two-channel three-way unbalanced links and is used for accessing massive interactive information in real time of a large-scale LED media vertical face video playing system.
Further, in one embodiment, the system employs the following basic timing of operation:
(1) the host computer sends the first type data, a round of interactive task process is started, and the head end equipment receives and forwards the first type data to the basic network element.
(2) After receiving and forwarding the first type data of one transmission cycle, the head-end equipment sends a collection instruction for collecting the second type data to the back-transmission node network element.
(3) And all the return node network elements return the second type data to the head-end equipment in sequence.
(4) The host polls the headend device in sequence to collect all of the second type data.
Further, in an embodiment, for an application scenario of the interactive video data transmission, the system adopts the following basic operation timing sequence:
(1) the front-end equipment sends a program data stream to an uplink interface UI, the uplink interface UI generates a plurality of DMX512 protocol data frames after receiving the data stream, the DMX512 protocol data frames are sent to a lower link of a three-way unbalanced link of two channels through parallel channels, and a task flow for accessing interactive information is started at the same time;
(2) after receiving a frame of DMX512 protocol data, the head-end equipment generates an access interaction information instruction packet based on a USMTP protocol and transmits the access interaction information instruction packet to each network element equipment of the basic link through a serial channel;
(3) according to the instruction, the NE transmits the interactive information data packet requested to be transmitted by the head end equipment from the target network element equipment to the head end equipment through the parallel channel;
(4) after receiving all the interactive information data packets, the head-end equipment forms a frame of BIT graph data stream, and then packs the frame data stream into an interactive information data packet based on the USMTP protocol;
(5) and the head-end equipment uploads the interactive information data packet to the uplink interface UI according to the request of the uplink interface UI, the uplink interface UI packs a plurality of frame data streams into a complete interactive information data packet, and then the complete interactive information data packet is sent to the front-end equipment to finish the task of accessing the interactive information.
The method and the system can form a multi-way access network based on a plurality of channels working at different baud rates. Under the condition of not increasing channel resources, original parallel channels and serial channels in the LED media vertical video playing system are fully utilized, the parallel channels are upgraded to be transmitted in a bidirectional mode from one-way transmission, the serial channels are upgraded to be used in a full time mode only once when the system is set, and the transmission capacity of the system is upgraded to be the latest 2C3D technology from the conventional 2C1.5D technology.
The 2C3D technology comprises a protocol stack, wherein NELP is a link layer protocol therein, and by matching with USMTP and other protocols in the stack, switching value interactive information of all points can be transmitted back in real time in a short period under the condition that sensors are installed point by point in the system, so that the transmission efficiency of an unbalanced link is improved, and the problem of accessing massive interactive information in an LED media vertical video playing system is solved.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. There are various other embodiments of the method of the present invention. Various corresponding changes or modifications may be made by those skilled in the art without departing from the spirit of the invention, and these corresponding changes or modifications are intended to fall within the scope of the appended claims.