Data transmission method and device, data transmission equipment and storage medium
By integrating data access devices, switches, optical transmitters, wavelength converters, and multiplexers/demultiplexers, along with a link detection module, the problem of large size and high cost in existing communication systems has been solved. This enables the optimal selection and flexible configuration of various communication links, thereby improving the reliability of data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 北京东土军悦科技有限公司
- Filing Date
- 2022-11-01
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, the setup and optimization of multiple communication links cannot be achieved, and wavelength conversion and multiplexing/demultiplexing requirements can only be met through dedicated equipment and boards, resulting in large communication system size and high cost.
It employs a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer/demultiplexer, combined with a link detection module, to detect and select the best communication link in real time, enabling the setting and optimization of multiple communication links while meeting the requirements of wavelength conversion and multiplexing/demultiplexing.
It reduces implementation costs, saves on power supplies and controllers in the board, enables the configuration and optimization of multiple communication links, and improves the reliability and flexibility of data transmission.
Smart Images

Figure CN115643507B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data communication technology, and in particular to a data transmission method, apparatus, data transmission device, and storage medium. Background Technology
[0002] To enable data communication between two points, data communication devices such as switches or routers are typically set up. Their standard protocols have Layer 2 switching and Layer 3 routing functions, which enable the correct transmission of data between the two points.
[0003] When multiple communication channels are deployed simultaneously between two points to improve communication reliability, multiple communication links will be physically formed. Traditional data communication devices such as switches or routers can block some links to achieve link selection through protocols such as STP / RSTP / MSTP.
[0004] However, protocols such as STP / RSTP / MSTP do not specify link optimization principles, thus they cannot achieve optimal communication link selection. Furthermore, users may require wavelength conversion and multiplexing / demultiplexing, which currently can only be achieved through dedicated equipment and boards. This separate deployment method results in an excessively large and costly overall communication system. Summary of the Invention
[0005] This application provides a data transmission method, apparatus, data transmission device, and storage medium to enable the setup and optimization of various communication links at a lower cost, while meeting the user's needs for wavelength conversion and multiplexing / demultiplexing.
[0006] In a first aspect, embodiments of this application provide a data transmission device, including: a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer;
[0007] The data access device includes a data input terminal and a data output terminal, both of which are connected to the data exchanger.
[0008] The data output terminal is connected to the optical transmitter and is used to send the radar information data routed by the data exchange to the optical transmitter so as to convert the radar information data into the form of an optical signal.
[0009] The optical transmitter is connected to the multiplexer / demultiplexer, and the wavelength converter is connected to the multiplexer / demultiplexer. The wavelength converter is used to perform wavelength conversion on the incoming radar video data so that the multiplexer / demultiplexer can combine the radar information data in optical signal form and the wavelength-converted radar video.
[0010] The data exchange is equipped with a link detection module, which is used to detect the best communication link from multiple communication links and send the combined communication data through the best communication link.
[0011] Secondly, embodiments of this application also provide a data transmission method, applied to a data transmission device as provided in any embodiment of this application, the method comprising:
[0012] The on / off status of multiple communication links of the data transmission device is detected in real time, and the current best communication link is determined based on the on / off status and preset link priority information.
[0013] Having acquired the radar information data and radar video data to be transmitted, determine the type of the optimal communication link;
[0014] Obtain the data processing strategy corresponding to the type of the optimal communication link, and process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted.
[0015] The processed data to be transmitted is sent to the other end through the optimal communication link.
[0016] Thirdly, embodiments of this application also provide a data transmission apparatus, the apparatus comprising:
[0017] The connectivity detection module is used to detect the connectivity status of multiple communication links between the data transmission device and the peer in real time, and determine the current best communication link based on the connectivity status and preset link priority information.
[0018] The type determination module is used to determine the type of the optimal communication link after acquiring the radar information data and radar video data to be transmitted.
[0019] The data processing module is used to obtain the data processing strategy corresponding to the type of the optimal communication link, and to process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted.
[0020] The sending module is used to send the processed data to be transmitted to the other end through the optimal communication link.
[0021] Fourthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the data transmission method provided in any embodiment of this application.
[0022] In the technical solution of this application embodiment, the data transmission device is provided with a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer. The data exchanger is provided with a link detection module. Based on the above structure, the data transmission device of this application can transmit radar information data and radar video data after multiplexing them into optical transmission signals, i.e., multiplexed communication data; it can also transmit radar information data after converting it into optical transmission signals, i.e., radar information data converted into optical signal form; or it can directly transmit radar information data, i.e., radar information data routed by the data exchanger.
[0023] Since different communication links can transmit different data sizes and signal formats, and the different signals processed in this application can be transmitted by different types of communication links, multiple communication links can be set up for the data transmission device. Then, a link detection module can be used to select the optimal communication link from among these multiple links and send the corresponding type of communication data. The data transmission device integrates a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer. These devices can easily share a power supply and controller. Compared to existing technologies that use different boards to achieve the same function, this saves redundant power supplies and controllers on the boards, greatly reducing implementation costs. It also enables the setting and optimization of multiple communication links, while simultaneously meeting the user's needs for wavelength conversion and multiplexing / demultiplexing. Attached Figure Description
[0024] Figure 1 A schematic diagram of the structure of a data transmission device provided in Embodiment 1 of this application;
[0025] Figure 2 A schematic diagram of a data transmission device communication link provided in Embodiment 1 of this application;
[0026] Figure 3 This is a flowchart illustrating the data transmission method provided in Embodiment 2 of this application;
[0027] Figure 4 A schematic diagram of data transmission provided for Embodiment 2 of this application;
[0028] Figure 5 Another data transmission schematic diagram provided for Embodiment 2 of this application;
[0029] Figure 6 Another data transmission schematic diagram provided for Embodiment 2 of this application;
[0030] Figure 7 Another data transmission schematic diagram provided for Embodiment 2 of this application;
[0031] Figure 8Another data transmission schematic diagram provided for Embodiment 2 of this application;
[0032] Figure 9 Another data transmission schematic diagram provided for Embodiment 2 of this application;
[0033] Figure 10 Another data transmission schematic diagram provided for Embodiment 2 of this application;
[0034] Figure 11 This is a schematic diagram of a data transmission device provided in Embodiment 3 of this application. Detailed Implementation
[0035] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present application, not the entire structure.
[0036] Example 1
[0037] Figure 1 This is a schematic diagram of a data transmission device provided in Embodiment 1 of this application. Figure 1 As shown, the data transmission device in this embodiment includes a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer.
[0038] The data access device includes a data input terminal and a data output terminal, both of which are connected to the data exchanger.
[0039] The data output terminal is connected to the optical transmitter and is used to send the radar information data routed by the data exchange to the optical transmitter so as to convert the radar information data into the form of optical signals.
[0040] The optical transmitter is connected to the multiplexer and the wavelength converter is connected to the multiplexer. The wavelength converter is used to convert the wavelength of the incoming radar video data so that the multiplexer can combine the radar information data in the form of optical signals and the radar video after wavelength conversion.
[0041] The data exchange is equipped with a link detection module, which is used to detect the best communication link from multiple communication links and send the corresponding type of communication data based on the link type of the best communication link. The types of communication data include: communication data after multiplexing, radar information data converted into optical signal form, or radar information data routed by the data exchange.
[0042] It should be noted that since some radar video data is short-range gray light signal, while the data processing center may need long-range colored light signal, this embodiment can set a wavelength converter in the data transmission device. The wavelength converter can access the radar video data at the radar end. If the radar video data is a short-range gray light signal, its wavelength can be converted to obtain radar video data in the form of long-range colored light signal, which meets the needs of the data processing center.
[0043] In addition, the data input end of the data access device can work with the data exchanger to route radar information data, and then output it to the optical transmitter through the data output end to convert the radar information data into the form of optical signals.
[0044] To save light resources and reduce project construction costs, the data transmission equipment in this embodiment is also equipped with a multiplexer / demultiplexer. The multiplexer / demultiplexer combines the radar information data in optical signal form and the radar video data after wavelength conversion, thereby achieving the purpose of transmitting two types of information using a single optical fiber.
[0045] Of course, after the data transmission equipment receives the multiplexed signal, it can also split the signal into radar video data in the form of long-range colored light signal and radar information data in the form of optical signal. The radar video data in the form of long-range colored light signal is converted into short-range gray light signal by wavelength converter and then fed back to the radar end.
[0046] The radar information data is transmitted back to the optical transmission module, where it is converted into radar information data in the form of electrical signals. This data is then routed to the radar terminal in conjunction with the data exchange.
[0047] In the above structure, the data transmission device includes a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer. The data exchanger includes a link detection module. Based on this structure, the data transmission device of this application can transmit radar information data and radar video data after multiplexing them into optical transmission signals, i.e., multiplexed communication data; it can also transmit radar information data by simply converting it into optical transmission signals, i.e., radar information data converted into optical signal form; or it can directly transmit radar information data, i.e., radar information data routed by the data exchange.
[0048] Since different communication links can transmit different data sizes and signal formats, and the different signals processed in this application can be transmitted by different types of communication links, multiple communication links can be set up for the data transmission device. Then, a link detection module can be used to select the optimal communication link from among these multiple links and send the corresponding type of communication data. The data transmission device integrates a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer. These devices can easily share a power supply and controller. Compared to existing technologies that use different boards to achieve the same function, this saves redundant power supplies and controllers on the boards, greatly reducing implementation costs. It also enables the setting and optimization of multiple communication links, while simultaneously meeting the user's needs for wavelength conversion and multiplexing / demultiplexing.
[0049] Specifically, the multiple communication links configured on the data transmission equipment can be found in [reference needed]. Figure 2 , Figure 2 This is a schematic diagram of a data transmission device communication link provided in Embodiment 1 of this application.
[0050] like Figure 2 As shown, the communication architecture system between the radar terminal and the data processing center can include a master control terminal and a slave control terminal. The data transmission devices in the master control terminal and the slave control terminal are configured the same. Taking the slave control terminal as an example, it is equipped with two data transmission devices and one wireless communication device.
[0051] Based on the above structure, for any wireless communication device at the control end, its communication links may include: a primary optical fiber link connecting the first data transmission device at the peer end (i.e., the master control end), a backup optical fiber link connecting the second data transmission device at the peer end, and a wireless communication link formed between the wireless communication device at this end and the wireless communication device at the peer end.
[0052] The primary fiber optic link consists of a multiplexer / demultiplexer at one end and a multiplexer / demultiplexer at the other end of the first data transmission device at the other end; the backup fiber optic link consists of an optical transmitter at one end and an optical transmitter at the other end of the first data transmission device at the other end.
[0053] It should be noted that the backup fiber optic link connects to the optical transmitter, which ensures that radar information data can be sent to the other end when the backup fiber optic link is used. This meets the other end's requirement to receive radar information data and avoids the situation where radar video data and radar information data cannot be sent to the other end when the primary fiber optic link is unavailable. This improves the reliability of data transmission to the other end to a certain extent.
[0054] In this embodiment, two data transmission devices are set up to improve the reliability of data transmission. During data transmission, the same two channels of radar video data and radar information data can be sent through the two data transmission devices respectively. In this way, the probability that the main control end can successfully receive the data will be greatly increased, and the reliability of data transmission will also be improved accordingly.
[0055] It should be noted that the two data transmission devices operate independently of each other. For any data transmission device, its link detection module can be used to detect the connectivity status of each communication link in real time, and determine the optimal communication link based on the connectivity status and preset priority information. This process will be described in subsequent embodiments and will not be repeated here.
[0056] Of course, the two data transmission devices can also be set to a non-completely independent state, and data can be sent using each other's communication links. In this case, a communication link that can transmit data between the two data transmission devices needs to be set up.
[0057] In a specific example, if the primary fiber optic link of the first data transmission device is unavailable, the relevant data can be sent to the second data transmission device via the aforementioned communication link capable of mutual data transmission. The second data transmission device then transmits the relevant data via its primary fiber optic link. This also achieves the goal of sending two identical copies of the data to the other end, thereby increasing the likelihood that the other end will receive at least one copy of the data, and thus improving the reliability of data transmission.
[0058] In a specific example, the data transmission devices are connected independently to their counterparts. Specifically, the first data transmission device connects to the primary fiber optic link of the counterpart's first data transmission device and to the backup fiber optic link of the counterpart's second data transmission device. The second data transmission device connects to the primary fiber optic link of the counterpart's third data transmission device and to the backup fiber optic link of the counterpart's fourth data transmission device, thus ensuring data reliability.
[0059] Preferably, in a specific example, the data transmission equipment and the peer data transmission equipment are interleaved, that is, the first data transmission equipment is connected to the primary optical fiber link of the peer first data transmission equipment and the backup optical fiber link of the peer second data transmission equipment; the second data transmission equipment is connected to the primary optical fiber link of the peer second data transmission equipment and the backup optical fiber link of the peer first data transmission equipment, thereby reducing the number of data transmission equipment and reducing costs.
[0060] Example 2
[0061] Figure 3This is a flowchart illustrating the data transmission method provided in Embodiment 2 of this application. This embodiment is applicable to data transmission scenarios. The method can be executed by any data transmission device, either a master or slave control device. This data transmission device can be implemented in hardware and / or software, and specifically includes the following steps:
[0062] Step 301: Real-time detection of the connectivity status of multiple communication links between the data transmission device and the peer, and determination of the current best communication link based on the connectivity status and preset link priority information.
[0063] In this step, if the detected data transmission device is set at the slave control end, then the peer end mentioned is the master control end; if the detected data transmission device is set at the master control end, then the peer end mentioned is the slave control end. For ease of explanation, this embodiment will use the slave control end as the local end and the master control end as the peer end for explanation.
[0064] The multiple communication links between the data transmission device and the peer are as mentioned in the previous embodiments: the primary optical fiber link connecting the first data transmission device at the peer, the backup optical fiber link connecting the second data transmission device at the peer, and the wireless communication link formed by the wireless communication device at this end and the wireless communication device at the peer.
[0065] During real-time monitoring, a preset broadcast message can be sent into the system to probe the port devices of each subordinate peer within the system. This system is the communication architecture system mentioned in the previous embodiments, and the preset broadcast message can be sent from each communication link separately.
[0066] It should be noted that the message content and format of the preset broadcast message can be found in the relevant technologies for communication link detection message content and format, or in the relevant content of the PFC protocol, which will not be elaborated here.
[0067] The port devices of the subordinate peer end within the system refer to the devices in the peer data transmission equipment that form a communication link with the local data transmission equipment. In a specific example, the multiplexer / demultiplexer (connected via the primary fiber optic link), the optical transmitter (connected via the backup fiber optic link), and the wireless communication equipment (connected via the wireless communication link) in the peer end are all port devices.
[0068] Upon receiving a unicast feedback message from any port device of the subordinate peer, the system repeatedly sends heartbeat messages to the port device using unicast data at preset time intervals. After each heartbeat message is sent, if feedback is received from the port device, the system determines that the communication link with the port device is currently active.
[0069] To achieve real-time detection of the connectivity status of each communication link, when a unicast feedback message is received from a port device, it indicates that the corresponding communication link is in a connected state. At this time, instead of sending a preset broadcast message, the MAC address of the port device is recorded, and then a heartbeat message is repeatedly sent to the port device via unicast data at preset time intervals based on the MAC address. As long as the port device responds, it indicates that the corresponding communication link is currently in a connected state.
[0070] After determining the connectivity status of each communication link, this embodiment further determines the current optimal communication link based on the connectivity status and preset link priority information. Specifically, based on the connectivity status, all communication links currently in a connected state can be identified from multiple communication links. Then, the communication link with the highest priority among all identified communication links is determined as the optimal communication link.
[0071] In a specific example, the preset link priorities, from highest to lowest, are: primary fiber optic link, wireless communication link, and backup fiber optic link. The backup fiber optic link and the wireless communication link are both currently active (detected in real-time). Of these, the wireless communication link has the highest priority; therefore, in this example, the wireless communication link is determined to be the optimal communication link.
[0072] It should be noted that each time the connectivity status of a communication link is determined, an optimal communication link must be identified to ensure that the optimal communication link is always active, thereby further improving the reliability of data transmission.
[0073] Step 302: After obtaining the radar information data and radar video data to be transmitted, determine the type of optimal communication link.
[0074] It should be noted that, depending on the user's needs, different types of communication links can transmit different amounts of data. For example, when the primary fiber optic link is down, the wireless communication link used is usually microwave wireless transmission, which has a much smaller bandwidth than fiber optic transmission. However, the transmission of radar video data requires a larger bandwidth, and under the user's explicit permission, it is not necessary to transmit this radar video data at this time.
[0075] Under the predefined link priority rules, a backup fiber optic link will only be used if both the primary fiber optic link and the wireless communication link are down. The backup fiber optic link is primarily to prevent a situation where both diagonally opposite data transmission devices fail simultaneously, resulting in the inability to transmit data from either path. This is a special exception, and without explicit user intervention, transmitting 10G radar video data is not required.
[0076] Therefore, this step requires obtaining the type of the currently determined optimal communication link in order to determine what kind of data ultimately needs to be transmitted.
[0077] Specifically, in this step, each type of communication link can be labeled. For example, the primary fiber optic link can be labeled "1", the wireless communication link can be labeled "2", and the backup fiber optic link can be labeled "3". After determining the optimal communication link, the corresponding label can be recorded. Then, in this step, the type corresponding to the label can be determined by the label of the optimal communication link.
[0078] Step 303: Obtain the data processing strategy corresponding to the type of optimal communication link, and process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted.
[0079] Since different types of communication links can transmit different data contents and have different corresponding signal forms, and the data processing equipment involved is also different, this application sets out corresponding data processing strategies for each type of communication link, as shown in Table 1 below:
[0080] Table 1
[0081] Link Identifier Types of communication links Data processing strategy 1 Primary fiber optic link Data processing strategy 1 2 Wireless communication link Data processing strategy 2 3 Backup fiber optic link Data processing strategy 3
[0082] For ease of explanation, this embodiment uses the communication architecture system in Embodiment 1 as an example. It should be noted that this embodiment uses the example of the slave control end sending two channels of radar information data and radar video data (hereinafter referred to as radar information data A, radar video data A, and radar information data B, radar video data B) to the master control end. Each channel of radar information data and radar video data is transmitted through a data transmission device. That is, the slave control end is equipped with two data transmission devices (data transmission device 1 and data transmission device 2), and the master control end is also equipped with two data transmission devices (data transmission device 3 and data transmission device 4).
[0083] In scenario one, for data transmission device 1 and data transmission device 2, if the optimal communication link is a primary fiber optic link, an optical transmitter can be used to convert radar information data into optical radar information data; then, a wavelength converter is used to perform wavelength conversion on the incoming radar video data, and a multiplexer / demultiplexer is used to combine the optical radar information data and the wavelength-converted radar video data to obtain the data to be transmitted.
[0084] For details, please refer to [link / reference]. Figure 4 , Figure 4 This is a schematic diagram of data transmission provided for Embodiment 2 of this application. For example... Figure 4As shown, the radar information data and radar video data of channel A are combined after passing through data transmission device 1, and then transmitted to data transmission device 3 through the main fiber optic link. Data transmission device 3 then splits the radar information data and radar video data of channel A back to the main fiber optic link.
[0085] The B-channel radar information data and B-channel radar video data are combined after passing through data transmission device 2, and then transmitted to data transmission device 4 via the main fiber optic link. Data transmission device 4 then splits the B-channel radar information data and B-channel radar video data back.
[0086] In scenario two, for data transmission device 1, if the optimal communication link is a primary fiber optic link, an optical transmitter can be used to convert radar information data into optical radar information data; then, a wavelength converter is used to perform wavelength conversion on the incoming radar video data, and a multiplexer / demultiplexer is used to combine the optical radar information data and the wavelength-converted radar video data to obtain the data to be transmitted.
[0087] For data transmission device 2, if the optimal communication link is a wireless communication link, the radar information data is converted into wireless radar information data using the local wireless communication device, and the wireless radar information data is determined as the data to be transmitted.
[0088] For details, please refer to [link / reference]. Figure 5 , Figure 5 Another data transmission schematic diagram provided for Embodiment 2 of this application, as shown below. Figure 5 As shown, during the transmission process, the primary optical fiber communication link between data transmission device 2 and data transmission device 4 fails. Therefore, the optimal communication link for data transmission device 2 is the wireless communication link, and the optimal communication link for data transmission device 1 is the primary optical fiber link.
[0089] Radar information data and radar video data from channel A are combined after passing through data transmission device 1, and then transmitted to data transmission device 3 via the main fiber optic link. Data transmission device 3 then splits the signal back to the radar information data and radar video data from channel A.
[0090] The radar information data from channel B is transmitted to wireless communication device 1 via data transmission device 2, then to wireless communication device 2 via wireless communication link, and finally to data transmission device 4 via wireless communication device 2.
[0091] Scenario 3: For data transmission device 1, if the optimal communication link is a wireless communication link, the radar information data is converted into wireless radar information data using the local wireless communication device, and the wireless radar information data is identified as the data to be transmitted.
[0092] For data transmission device 2, if the optimal communication link is a primary fiber optic link, an optical transmitter can be used to convert radar information data into optical radar information data; then a wavelength converter is used to convert the wavelength of the incoming radar video data, and a multiplexer and demultiplexer are used to combine the optical radar information data and the wavelength-converted radar video data to obtain the data to be transmitted.
[0093] For details, please refer to [link / reference]. Figure 6 , Figure 6 Another data transmission schematic diagram provided for Embodiment 2 of this application, as shown below. Figure 6 As shown, during the transmission process, the primary optical fiber communication link between data transmission device 1 and data transmission device 3 fails. Therefore, the optimal communication link for data transmission device 1 is the wireless communication link, and the optimal communication link for data transmission device 2 is the primary optical fiber link.
[0094] Radar information data from path A is transmitted to wireless communication device 1 after passing through data transmission device 1, then to wireless communication device 2 via wireless communication link, and finally to data transmission device 3 by wireless communication device 2.
[0095] The B-channel radar information data and B-channel radar video data are combined after passing through data transmission device 2, and then transmitted to data transmission device 4 via the main fiber optic link. Data transmission device 4 then splits the B-channel radar information data and B-channel radar video data back.
[0096] Scenario 4: For data transmission device 1, if the optimal communication link is a wireless communication link, the radar information data is converted into wireless radar information data using the local wireless communication device, and the wireless radar information data is identified as the data to be transmitted.
[0097] For data transmission device 2, if the optimal communication link is a wireless communication link, the radar information data is converted into wireless radar information data using the local wireless communication device, and the wireless radar information data is determined as the data to be transmitted.
[0098] For details, please refer to [link / reference]. Figure 7 , Figure 7 Another data transmission schematic diagram provided for Embodiment 2 of this application, as shown below. Figure 7 As shown, during this transmission process, the primary fiber optic communication link between data transmission device 1 and data transmission device 3 fails. Therefore, the optimal communication link for data transmission device 1 is a wireless communication link. Similarly, the primary fiber optic communication link between data transmission device 2 and data transmission device 4 fails. Therefore, the optimal communication link for data transmission device 2 is a wireless communication link.
[0099] Because wireless communication devices can only transmit one set of data at a time, Figure 7 In this case, the two radar information data can only be sent sequentially. However, the radar information data is small, so the probability of error during transmission is not high. Moreover, the sequential transmission method will cause delays in the subsequent data transmission. The more data is sent later, the greater the delay will be. Therefore, in this embodiment, the principle of prioritizing the transmission of the B channel is set in the wireless communication device, that is, only the B channel radar information data is sent, and the A channel radar information data is not sent.
[0100] therefore, Figure 7 In the process, the radar information data of channel B is sent to wireless communication device 1 after passing through data transmission device 2, then to wireless communication device 2 via wireless communication link, and finally to data transmission device 4 by wireless communication device 2.
[0101] Case 5: For data transmission device 1 and data transmission device 2, if the optimal communication link is a backup fiber optic link, the radar information data is converted into optical radar information data using an optical transmitter, and the optical radar information data is identified as the data to be transmitted.
[0102] For details, please refer to [link / reference]. Figure 8 , Figure 8 Another data transmission schematic diagram provided for Embodiment 2 of this application, as shown below. Figure 8 As shown, during the transmission process, the primary optical fiber communication link between data transmission device 1 and data transmission device 3 fails, the primary optical fiber communication link between data transmission device 2 and data transmission device 4 fails, and the wireless communication link also fails. At this time, the backup optical fiber link between data transmission device 1 and data transmission device 4 is the best communication link for data transmission device 1, and the backup optical fiber link between data transmission device 2 and data transmission device 3 is the best communication link for data transmission device 2.
[0103] Radar information data from channel A is transmitted to data transmission device 4 via a backup fiber optic link, and radar information data from channel B is transmitted to data transmission device 3 via a backup fiber optic link.
[0104] Case 6: For data transmission device 1, all communication links are disconnected. For data transmission device 2, if the optimal communication link is a backup fiber optic link, the radar information data is converted into optical radar information data using an optical transmitter, and the optical radar information data is identified as the data to be transmitted.
[0105] For details, please refer to [link / reference]. Figure 9 , Figure 9 Another data transmission schematic diagram provided for Embodiment 2 of this application, as shown below. Figure 9As shown, during the transmission process, the primary optical fiber communication link between data transmission device 1 and data transmission device 3 fails, the primary optical fiber communication link between data transmission device 2 and data transmission device 4 fails, the wireless communication link also fails, and the backup optical fiber link between data transmission device 1 and data transmission device 4 also fails. At this time, the backup optical fiber link between data transmission device 2 and data transmission device 3 is the best communication link for data transmission device 2.
[0106] Radar information data from route B is transmitted to data transmission device 3 via a backup fiber optic link.
[0107] Scenario 7: For data transmission device 2, all communication links are in a disconnected state. For data transmission device 1, if the optimal communication link is a backup fiber optic link, the radar information data is converted into optical radar information data using an optical transmitter, and the optical radar information data is identified as the data to be transmitted.
[0108] For details, please refer to [link / reference]. Figure 10 , Figure 10 Another data transmission schematic diagram provided for Embodiment 2 of this application, as shown below. Figure 10 As shown, during the transmission process, the primary optical fiber communication link between data transmission device 1 and data transmission device 3 fails, the primary optical fiber communication link between data transmission device 2 and data transmission device 4 fails, the wireless communication link also fails, and the backup optical fiber link between data transmission device 2 and data transmission device 3 also fails. At this time, the backup optical fiber link between data transmission device 1 and data transmission device 4 is the best communication link for data transmission device 1.
[0109] Radar information data from route A is transmitted to data transmission device 4 via a backup fiber optic link.
[0110] Of course, in actual operation, the data transmission equipment itself may also fail. Therefore, a state machine can be maintained among the four data transmission equipment in the communication architecture system. When the state machine corresponding to a data transmission equipment detects a failure of a data transmission equipment, it notifies the other data transmission equipment. It should be noted that when only one data transmission equipment fails, the backup fiber optic link is not activated. Instead, the primary fiber optic link, where neither end of the equipment has failed, is used for data transmission.
[0111] In a specific example, if data transmission device 1 fails, data A is interrupted, but data B is transmitted normally; if data transmission device 2 fails, data B is interrupted, but data A is transmitted normally.
[0112] Step 304: Send the processed data to be transmitted to the other end through the optimal communication link.
[0113] The sending process in this step can refer to the content of step 303 above, and will not be repeated here.
[0114] In this embodiment, different signals obtained through different data processing strategies can be transmitted by different types of communication links. This allows for the configuration of multiple communication links in the data transmission device. Furthermore, a link detection module is used to select the optimal communication link from among these multiple links and send the corresponding type of communication data. The data transmission device integrates a data access unit, a data exchanger, an optical transmitter, a wavelength converter, and a multiplexer / demultiplexer. These devices can easily share a power supply and controller. Compared to existing technologies that use different boards to achieve the same function, this saves on redundant power supplies and controllers on the boards, significantly reducing implementation costs. It also enables the configuration and optimization of multiple communication links while meeting the user's wavelength conversion and multiplexing / demultiplexing requirements.
[0115] Example 3
[0116] Figure 11 This is a schematic diagram of a data transmission device provided in Embodiment 3 of this application. The data transmission device provided in this embodiment can execute the data transmission method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of executing the method. This device can be implemented in software and / or hardware, such as... Figure 11 As shown, the data transmission device specifically includes: a continuity detection module 1101, a type determination module 1102, a data processing module 1103, and a transmission module 1104.
[0117] Among them, the connectivity detection module is used to detect the connectivity status of multiple communication links between the data transmission device and the peer in real time, and determine the current best communication link based on the connectivity status and preset link priority information.
[0118] The type determination module is used to determine the optimal type of communication link after acquiring the radar information data and radar video data to be transmitted.
[0119] The data processing module is used to obtain the data processing strategy corresponding to the type of optimal communication link, and to process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted.
[0120] The sending module is used to send the processed data to be transmitted to the other end through the optimal communication link.
[0121] Furthermore, the continuity detection module includes:
[0122] The broadcast detection unit is used to send preset broadcast messages to the system to detect the port devices of the subordinate peers within the system.
[0123] The heartbeat detection unit is used to repeatedly send heartbeat messages to the port device in unicast data at preset time intervals when it receives a unicast feedback message from any port device of the subordinate peer.
[0124] The status determination unit is used to determine whether the communication link with the port device is currently active after receiving feedback from the port device after each heartbeat message is sent.
[0125] Furthermore, the data processing module includes:
[0126] The first optical conversion unit is used to convert radar information data into optical radar information data using an optical transmitter, provided that the type of optimal communication link is mainly an optical fiber link.
[0127] The multiplexing unit is used to convert the wavelength of the incoming radar video data using a wavelength converter, and to combine the optical radar information data and the wavelength-converted radar video data using a multiplexer and demultiplexer to obtain the data to be transmitted.
[0128] The second optical conversion unit is used to convert radar information data into optical radar information data using an optical transmitter if the type of the best communication link is a backup optical fiber link, and to determine the optical radar information data as the data to be transmitted.
[0129] The wireless data conversion unit is used to convert radar information data into wireless radar information data using the local wireless communication equipment if the optimal communication link is a wireless communication link, and to determine the wireless radar information data as the data to be transmitted.
[0130] Furthermore, the continuity detection module includes:
[0131] The filtering unit is used to determine all communication links that are currently in an on / off state from multiple communication links based on their on / off status;
[0132] The optimal communication link determination unit is used to determine the communication link with the highest priority among all the determined communication links as the optimal communication link.
[0133] Example 4
[0134] Embodiment 4 of this application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a data transmission method, the method comprising:
[0135] Real-time detection of the connectivity status of multiple communication links between the data transmission device and the peer, and determination of the current best communication link based on the connectivity status and preset link priority information;
[0136] Once the radar information data and radar video data to be transmitted are obtained, the type of optimal communication link is determined.
[0137] Obtain the data processing strategy corresponding to the type of optimal communication link, and process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted.
[0138] The processed data to be transmitted is sent to the other end through the optimal communication link.
[0139] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the above-described method operations, but can also perform related operations in the data transmission method provided in any embodiment of this application.
[0140] Based on the above description of the implementation methods, those skilled in the art can clearly understand that this application can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0141] It is worth noting that in the embodiments of the search device described above, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of this application.
[0142] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.
Claims
1. A data transmission device, characterized in that, include: Data access devices, data switches, optical transmitters, wavelength converters, and multiplexers / demultiplexers; The data access device includes a data input terminal and a data output terminal, both of which are connected to the data exchanger. The data output terminal is connected to the optical transmitter and is used to send the radar information data routed by the data exchange to the optical transmitter so as to convert the radar information data into the form of optical signals. The optical transmitter is connected to the multiplexer / demultiplexer, and the wavelength converter is connected to the multiplexer / demultiplexer. The wavelength converter is used to perform wavelength conversion on the incoming radar video data so that the multiplexer / demultiplexer can combine the radar information data in optical signal form and the wavelength-converted radar video data. The data exchange is equipped with a link detection module, which is used to detect the best communication link from multiple communication links and send corresponding types of communication data based on the link type of the best communication link. The types of communication data include: communication data after multiplexing, radar information data converted into optical signal form, or radar information data routed by the data exchange.
2. The data transmission device according to claim 1, characterized in that, The multiple communication links of the data transmission device include: The primary optical fiber link connecting the first data transmission device at the other end, the backup optical fiber link connecting the second data transmission device at the other end, and the wireless communication link formed between the wireless communication device at this end and the wireless communication device at the other end; One end of the primary optical fiber link is the multiplexer / demultiplexer at this end, and the other end is the multiplexer / demultiplexer in the first data transmission device at the other end. One end of the backup fiber optic link is the optical transmitter at this end, and the other end is the optical transmitter in the first data transmission device at the other end.
3. The data transmission device according to claim 1, characterized in that, The link detection module is specifically used to detect the connectivity status of each communication link of the data transmission device in real time, and determine the optimal communication link based on the connectivity status and preset priority information.
4. A data transmission method, characterized in that, Applied to the data transmission device as described in claim 1, the method includes: Real-time detection of the connectivity status of multiple communication links between the data transmission device and the peer, and determination of the current optimal communication link based on the connectivity status and preset link priority information; Having acquired the radar information data and radar video data to be transmitted, determine the type of the optimal communication link; Obtain the data processing strategy corresponding to the type of the optimal communication link, and process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted. The processed data to be transmitted is sent to the other end through the optimal communication link.
5. The method according to claim 4, characterized in that, The real-time detection of the connectivity status of multiple communication links of the data transmission device includes: Send a preset broadcast message into the system to detect each port device of the subordinate peer in the system; Upon receiving a unicast feedback message from any port device of the subordinate peer, the heartbeat message is repeatedly sent to the port device in unicast data at preset time intervals. After each heartbeat message is sent, if feedback is received from the port device, it is determined that the communication link with the port device is currently active.
6. The method according to claim 4, characterized in that, The process of obtaining the data processing strategy corresponding to the type of the optimal communication link, and processing the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted, includes: If the type of the optimal communication link is a primary fiber optic link, the radar information data is converted into optical radar information data using the optical transmitter; The wavelength converter is used to convert the wavelength of the received radar video data, and the multiplexer is used to combine the optical radar information data and the wavelength-converted radar video data to obtain the data to be transmitted.
7. The method according to claim 6, characterized in that, The step of obtaining the data processing strategy corresponding to the type of the optimal communication link, and processing the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted, further includes: If the optimal communication link is a backup fiber optic link, the radar information data is converted into optical radar information data using the optical transmitter, and the optical radar information data is determined as the data to be transmitted. If the optimal communication link is a wireless communication link, the radar information data is converted into wireless radar information data using the local wireless communication device, and the wireless radar information data is identified as the data to be transmitted.
8. The method according to claim 4, characterized in that, The step of determining the current optimal communication link based on the on / off status and preset link priority information includes: Based on the on / off status, all communication links that are currently in an on / off state are determined from multiple communication links; The communication link with the highest priority among all identified communication links is determined as the best communication link.
9. A data transmission device, characterized in that, Applied to the data transmission device as described in claim 1, the device comprises: The connectivity detection module is used to detect the connectivity status of multiple communication links between the data transmission device and the peer in real time, and determine the current best communication link based on the connectivity status and preset link priority information. The type determination module is used to determine the type of the optimal communication link after acquiring the radar information data and radar video data to be transmitted. The data processing module is used to obtain the data processing strategy corresponding to the type of the optimal communication link, and to process the radar information data and radar video data to be transmitted based on the data processing strategy to obtain the data to be transmitted. The sending module is used to send the processed data to be transmitted to the other end through the optimal communication link.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the data transmission method as described in any one of claims 4-8.
Citation Information
Patent Citations
Heterogeneous multimode gateway device, and transmission method and application thereof
CN107018070A