Data transmission method and system, electronic equipment and storage medium

By obtaining network topology information to filter candidate paths and combining the number of path hops and load selection of the optimal path, the problem of low data transmission efficiency and reliability in complex network environments is solved, efficient and intelligent network resource scheduling and load balancing are achieved, and the efficiency and reliability of data transmission are improved.

CN120455356APending Publication Date: 2025-08-08CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD

Patent Information

Application Number
CN202510701670.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-28
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the existing technology, in large data volume, high frequency data transmission and complex network environments, it is difficult to maintain efficient transmission rates and high reliability. Especially in application scenarios where real-time communications are strictly required, it cannot provide sufficient response speed and transmission stability, affecting the overall system performance and user experience.

Method used

By obtaining network topology information, filtering out multiple candidate paths, and dynamically selecting the optimal path for data transmission based on the on-off status of the link channel and the network load, combining the number of path hops, the optimal path is dynamically selected for data transmission, and a shard transmission and backup path mechanism is adopted to ensure the reliability and efficiency of data transmission.

Benefits of technology

Efficient and intelligent network resource scheduling and load balancing are realized in complex network environments, effectively avoiding network congestion, data loss and transmission delay, and improving the efficiency and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455356A_ABST
    Figure CN120455356A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method and system, electronic equipment and a storage medium, and the method comprises the steps: obtaining network topology information and a target communication node of to-be-transmitted data, the network topology information comprising link channels of a plurality of communication nodes, and on-off states and network loads corresponding to the link channels; determining a plurality of candidate paths for transmitting the to-be-transmitted data to the target communication node according to the link channel of each communication node and the on-off state corresponding to the link channel; determining a target path from the plurality of candidate paths according to the network load corresponding to each link channel in each candidate path and the path hop count of each candidate path; and transmitting the to-be-transmitted data to the target communication node through the target path. The optimal path is dynamically and adaptively selected for data transmission, the problems of network congestion, data loss, transmission delay and the like can be effectively avoided, and the efficiency and reliability of data transmission are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, system, electronic device and storage medium. Background Art

[0002] With the rapid development of information technology, various terminal devices are evolving towards intelligence and integration, their functionality is becoming increasingly rich, and data exchange within the terminals and between them and the outside world is becoming more frequent. In IoT application scenarios such as industrial control, intelligent driving, and automated operations, the implementation of complex terminal functions requires the support and support of communication networks. Therefore, efficient and reliable network data transmission is crucial.

[0003] In related technologies, various transmission control protocols are widely adopted to achieve efficient and reliable data transmission. Although these protocols can meet basic data transmission needs in many scenarios, they still show certain limitations when facing large amounts of data, high-frequency data transmission, and complex environments involving a large number of transmission nodes. It is difficult to always maintain efficient transmission rates and high reliability. In particular, in application scenarios with strict requirements on real-time communication, they cannot provide sufficient response speed and transmission stability, thereby affecting the performance of the overall system and user experience. Summary of the Invention

[0004] In view of the above shortcomings, the present application discloses a data transmission method, system, electronic device and storage medium to solve the technical problems of low data transmission efficiency and reliability.

[0005] In a first aspect, the present application provides a data transmission method, the method comprising: obtaining network topology information and a target communication node for data to be transmitted, the network topology information including link channels of multiple communication nodes and the on / off status and network load corresponding to the link channels; determining multiple candidate paths for transmitting the data to be transmitted to the target communication node based on the link channels of each communication node and the on / off status corresponding to the link channels; determining a target path from multiple candidate paths based on the network load corresponding to each link channel in each candidate path and the number of path hops of each candidate path; and transmitting the data to be transmitted to the target communication node through the target path.

[0006] In one embodiment of the present application, determining a target path from multiple candidate paths based on the network load corresponding to each link channel in each candidate path and the path hop count of each candidate path includes: for each candidate path, if the network load corresponding to each link channel satisfies a first preset condition, determining it as a first pre-selected path; calculating the total network load of each first pre-selected path based on the network load corresponding to each link channel in each first pre-selected path; if the path hop counts corresponding to each first pre-selected path are the same, determining the first pre-selected path corresponding to the minimum total network load as the target path; if the path hop counts corresponding to each first pre-selected path are different, determining the target path based on the difference in first total network load between each pair of first pre-selected paths.

[0007] In one embodiment of the present application, determining the target path based on the total network load difference between the two first preselected paths includes: from the first preselected path pair whose first total network load difference satisfies the second preset condition, determining the first preselected path corresponding to the smaller path hop value as the second preselected path; if the second preselected path is one, determining the second preselected path as the target path; if the second preselected path is multiple, calculating the second total network load difference between the two second preselected paths, and from the second preselected path pair whose second total network load difference satisfies the third preset condition, determining the second preselected path corresponding to the smaller path hop value as the third preselected path; if the third preselected path is one, determining the third preselected path as the target path; if the third preselected path is multiple, continuously iteratively screening paths until only one preselected path remains, and obtaining the target path.

[0008] In one embodiment of the present application, the data to be transmitted is transmitted to the target communication node through the target path, including: if the maximum network load of the link channel in the target path meets the fourth preset condition, then according to the maximum network load and the preset mapping relationship, the target fragment length is determined, and the mapping relationship is the correspondence between different network loads and different fragment lengths; the data to be transmitted is fragmented according to the target fragment length to obtain multiple fragment data; and each fragment data is transmitted to the target communication node through the target path.

[0009] In one embodiment of the present application, transmitting the data to be transmitted to the target communication node through the target path further includes: if the maximum network load of the link channel in the target path meets the fourth preset condition, triggering the fragment length detection mechanism to perform fragment length detection to determine the target fragment length; fragmenting the data to be transmitted according to the target fragment length to obtain multiple fragment data; and transmitting each fragment data to the target communication node through the target path.

[0010] In one embodiment of the present application, transmitting the data to be transmitted to the target communication node via the target path further includes: encapsulating the data to be transmitted into a data frame according to a preset data frame structure, the data frame structure including a sequence number field, the data frame carrying a sequence number, and the sequence number increasing frame by frame; transmitting the data frame to the target communication node via the target path; if a response sequence number corresponding to the sequence number returned by the target communication node is not monitored within a preset first time interval and / or after the data transmission task is completed, transmitting the data frame to the target communication node via a backup path, and the backup path is one of the remaining candidate paths.

[0011] In one embodiment of the present application, the method for generating the network topology information includes: based on a preset second time interval, monitoring the on / off status and network load corresponding to each link channel of the source communication node, generating the first node link information of the source communication node, and at the same time, generating a link detection message to be transmitted to other communication nodes outside the source communication node to receive the second node link information from other communication nodes; generating the network topology information based on the first node link information and multiple second node link information.

[0012] In the second aspect, the present application provides a data transmission system, which includes: an acquisition module for acquiring network topology information and a target communication node of data to be transmitted, wherein the network topology information includes link channels of multiple communication nodes and the on-off status and network load corresponding to the link channels; a screening module for determining multiple candidate paths for transmitting the data to be transmitted to the target communication node based on the link channels of each communication node and the on-off status corresponding to the link channels; a selection module for determining a target path from multiple candidate paths based on the network load corresponding to each link channel in each candidate path and the number of path hops of each candidate path; and a transmission module for transmitting the data to be transmitted to the target communication node through the target path.

[0013] In a third aspect, the present application provides an electronic device comprising: one or more processors; a storage device for storing one or more programs, which, when executed by one or more processors, enables the electronic device to implement the data transmission method described in the first aspect.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the data transmission method described in the first aspect.

[0015] As described above, the data transmission method, system, electronic device, and storage medium provided by the embodiments of the present application have the following beneficial effects:

[0016] First, network topology information and the target communication node for data to be transmitted are obtained, where the network topology information includes the link channels of multiple communication nodes, the corresponding on / off status of the link channels, and the network load. Then, based on the link channels of each communication node and the corresponding on / off status of the link channels, multiple candidate paths for transmitting the data to be transmitted to the target communication node are determined. Then, based on the network load corresponding to each link channel in each candidate path and the path hop count of each candidate path, a target path is determined from the multiple candidate paths. Finally, the data to be transmitted is transmitted to the target communication node via the target path. The link channels of each communication node in the network topology information and the corresponding on / off status of the link channels are used to screen candidate paths that can reach the target communication node. A comprehensive evaluation is performed based on the link load and path hop count of each candidate path, and a more optimal path is dynamically and adaptively selected for data transmission. This can effectively avoid network congestion, data loss, and transmission delays. In the face of large-scale, high-frequency data transmission and complex environments involving a large number of transmission nodes, the system has efficient and intelligent network resource scheduling and load balancing capabilities, thereby improving the efficiency and reliability of data transmission.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, serving to explain the principles of the present application. It is obvious that the drawings described below are merely some embodiments of the present application, and a person of ordinary skill in the art can derive other drawings based on these drawings without inventive effort. In the drawings:

[0019] Figure 1 is a schematic diagram of an implementation environment of a data transmission system shown in an exemplary embodiment of the present application;

[0020] Figure 2 is a flowchart of a data transmission method shown in an exemplary embodiment of the present application;

[0021] Figure 3 is a schematic diagram of an electronic and electrical architecture of a vehicle shown in an exemplary embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a data frame structure shown in an exemplary embodiment of the present application;

[0023] Figure 5 is a schematic diagram of a communication node architecture shown in an exemplary embodiment of the present application;

[0024] Figure 6 is a block diagram of a data transmission system shown in an exemplary embodiment of the present application;

[0025] Figure 7 This is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will describe the embodiments of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand the other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for the purpose of illustrating the present application and are not intended to limit the scope of protection of the present application.

[0027] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the illustrations only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the shape, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0028] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0029] With the development of intelligent and integrated terminal devices, the realization of complex functions in the terminals cannot be separated from the support and support of the communication network. Therefore, the efficient and reliable transmission of network data is crucial. However, the inventors of this application have found that the current network environment is becoming increasingly complex, the number of nodes is increasing sharply, and the selection of data transmission paths faces huge challenges. How to achieve the optimal path selection in a multi-node, multi-path network topology while taking into account data transmission efficiency and reliability has become a technical problem that needs to be solved urgently. In particular, in application scenarios with strict requirements on real-time communication, it is impossible to provide sufficient response speed and transmission stability, which affects the performance of the overall system and user experience.

[0030] Therefore, see Figure 1 , Figure 1FIG. 1 is a schematic diagram of an implementation environment of a data transmission system according to an exemplary embodiment of the present application. Figure 1 As shown, the implementation environment includes a transmitter 110 and a receiver 120. The transmitter 110 and the receiver 120 are connected to a network. The specific connection method of the network connection is not limited here. For example, the connection can be through 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), 5G (fifth generation mobile information technology), Ethernet, and other network communication methods. In addition, the transmitter 110 and the receiver 120 can switch roles, that is, they can serve as the transmitter and receiver of each other. The data transmission system is applied to the sending end 110 and is used to realize data transmission between the sending end 110 and the receiving end 120. The candidate paths that can reach the target communication node are screened through the link channels of each communication node in the network topology information and the corresponding on-off status of the link channels. The system also conducts a comprehensive evaluation based on the link load and the number of path hops in each candidate path, and dynamically and adaptively selects a better path for data transmission. This system can effectively avoid network congestion, data loss, and transmission delays. In the face of large-scale, high-frequency data transmission and complex environments involving a large number of transmission nodes, the system has efficient and intelligent network resource scheduling and load balancing capabilities, thereby improving the efficiency and reliability of data transmission.

[0031] See Figure 2 , Figure 2 This is a flowchart of a data transmission method shown in an exemplary embodiment of the present application. This method can be applied to Figure 1 The implementation environment shown is specifically executed by the sending end 110 in the implementation environment. It should be understood that the method can also be applied to other exemplary implementation environments and specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment to which the method is applicable.

[0032] like Figure 2 As shown, in an exemplary embodiment, the data transmission method includes at least steps S210 to S240, which are described in detail as follows:

[0033] Step S210 , obtaining network topology information and a target communication node to which data is to be transmitted, wherein the network topology information includes link channels of multiple communication nodes and on / off states and network loads corresponding to the link channels.

[0034] Step S220 , determining multiple candidate paths for transmitting the to-be-transmitted data to the target communication node based on the link channel of each communication node and the on / off status corresponding to the link channel.

[0035] Step S230 : determining a target path from the plurality of candidate paths according to the network load corresponding to each link channel in each candidate path and the number of hops of each candidate path.

[0036] Step S240: transmitting the data to be transmitted to the target communication node via the target path.

[0037] Among them, network topology information refers to the real-time updated connection relationship of communication nodes and their link status, which is used to reflect the current network available links and their load levels; the target communication node refers to the receiving end of the data, corresponding to the source communication node, which is the sending end of the data; the candidate path refers to the effective transmission path selected based on the link connection and disconnection status to ensure path reachability; the path hop count refers to the number of communication nodes passed through in the transmission path; the target path refers to the path with a better comprehensive evaluation value determined from the candidate path set.

[0038] In step S210, when the source communication node needs to transmit data, it first obtains the current network topology information and the target communication node corresponding to the data to be transmitted.

[0039] In step S220, between the source communication node and the target communication node, based on the link channel of each communication node and the on / off status corresponding to the link channel, all valid transmission paths, that is, paths that can be connected, are traversed as candidate paths.

[0040] In step S230, for each candidate path, the load of the links it passes through and the hop count index of the entire path are synchronously counted, so as to comprehensively consider the network load and path hop count, weigh the value of each candidate path, and dynamically and adaptively select a better target path.

[0041] In step S240 , at the source communication node, the data to be transmitted is transmitted to the target communication node based on the selected target path.

[0042] In this embodiment, candidate paths that can reach the target communication node are screened through the link channels of each communication node in the network topology information and the on-off status corresponding to the link channels, and a comprehensive evaluation is performed in combination with the link load conditions and the number of path hops in each candidate path. The path hops and link load are dynamically correlated and analyzed, and a better path is adaptively selected for data transmission. The determined transmission path avoids the congestion risk of high-load links and controls the number of intermediate nodes for data transmission, which can effectively avoid network congestion, data loss, and transmission delays. In the face of large-scale, high-frequency data transmission and complex environments involving a large number of transmission nodes, it has efficient and intelligent network resource scheduling and load balancing capabilities, thereby improving the efficiency and reliability of data transmission.

[0043] In addition, in the process of determining candidate paths based on the link channel of each communication node and the on / off status corresponding to the link channel, the link channel with the on / off status of connected is selected, that is, the link channel with the on / off status of disconnected is directly ignored.

[0044] To further improve the efficiency of target path determination, for example, during candidate path determination, link channels that are connected but have saturated network loads are excluded. This is because saturated network loads indicate that the link has reached its maximum carrying capacity, meaning it cannot handle any further data transmission tasks. Excluding these channels effectively reduces the number of candidate paths while ensuring their quality, thereby accelerating the efficiency of subsequent selection of target paths from the candidate channels.

[0045] In one embodiment, a method for generating network topology information includes: based on a preset second time interval, monitoring the on / off status and network load corresponding to each link channel of the source communication node, generating first node link information of the source communication node, and at the same time, generating a link detection message to transmit to other communication nodes outside the source communication node to receive second node link information from other communication nodes; generating network topology information based on the first node link information and multiple second node link information.

[0046] Among them, the preset second time interval refers to the interval duration for periodic link status monitoring, which can be implemented by a fixed duration or a dynamically adjusted duration, for example, set to 1 minute or dynamically adjusted according to the network load; the link detection message refers to a request message used to actively detect the link status of other communication nodes, which can specifically include a source node identifier, a timestamp, and a link status query instruction; the first node link information refers to the link channel and the corresponding on / off status and network load collected locally by the source communication node, which can be obtained through a port status monitoring tool or a traffic statistics tool; the second node link information refers to the link status data returned by other communication nodes in response to the link detection message.

[0047] In this embodiment, the source communication node starts the link status monitoring process according to a preset period, obtains the on-off status of each link channel through the local interface status polling mechanism, and uses the traffic collection module to count the network load of each channel to form the first node link information including link availability and real-time load; at the same time, the source communication node generates a link detection message and transmits it to other communication nodes in the network, triggering other communication nodes to perform local link status collection and return a response message, that is, after receiving the link detection message, the other communication nodes extract the on-off status and network load of all link channels within their coverage area, encapsulate it into the second node link information and transmit it back to the source communication node; the source communication node integrates the locally collected first node link information and the received multiple second node link information, and generates network topology information including the link channels of each communication node and the on-off status and network load corresponding to the link channels through topology reconstruction.

[0048] In addition, the process of transmitting the link detection message from the source communication node to other communication nodes is: transmitting it from the source communication node to other communication nodes step by step according to the network hierarchy structure; the process of transmitting the second node link information from other communication nodes back to the source communication node is: transmitting it from other communication nodes back to the source communication node step by step according to the original path of receiving the link detection message.

[0049] In this way, through periodic active detection and multi-node data collaboration, topology information that can reflect the actual network status is maintained in real time, providing a reliable basis for the selection of data transmission paths, reducing path selection deviations caused by lagging topology information, and further ensuring the efficiency and reliability of data transmission.

[0050] The following uses the communication within the vehicle's electrical and electronic architecture as an example to illustrate the generation of network topology information.

[0051] See Figure 3 , Figure 3 This is a schematic diagram of an electronic and electrical architecture of a vehicle shown in an exemplary embodiment of the present application. Figure 3 As shown in the figure, the vehicle's electrical and electronic architecture includes a CDC (Cockpit Domain Controller), a VDC (Vehicle Dynamics Control), multiple VIUs (Vehicle Information Units), and multiple ECUs (Electronic Control Units). The CDC acts as a gateway to enable data and information exchange between the vehicle and the outside world (such as the cloud) through 4G / 5G communication technology. The vehicle's electrical and electronic architecture uses a CAN (Controller Area Network) bus or Ethernet bus for communication message transmission and signal interaction.

[0052] Taking the example of CDC transmitting data to ECU1-1, CDC serves as the source communication node and ECU1-1 serves as the target communication node. When the normal system is started or the vehicle is running, CDC monitors the on / off status and network load corresponding to each of its own link channels (such as the on / off between VDC, VIU3, and VIU4, respectively) based on the preset second time interval, and generates the first node link information at CDC. At the same time, CDC generates a link detection message and transmits it to other communication nodes (such as VDC, VIU1, VIU2, etc., where VIU1 and VIU2 can receive the link detection message through VDC), and receives the second node link information fed back by other communication nodes, where the second node link information of VIU1 and VIU2 is received through VDC. Finally, CDC generates network topology information based on the first node link information and multiple second node link information.

[0053] For example, the network topology information may be represented in the form of a network topology information table, which displays the connection relationship of communication nodes and their link status in real time, and reflects the current network available links and their load levels, as shown in Table 1:

[0054] Table 1: Network topology information table

[0055] Source communication node Link Channel Link Status Network load VDC CDC connect 30% VDC VIU1 connect 50% VDC VIU2 connect 60% CDC VDC connect 30% CDC VIU3 connect 10% CDC VIU4 disconnect / VIU1 VDC connect 50% VIU1 VIU2 connect 20% VIU1 VIU4 connect 25% VIU1 ECU1-1 connect 40% …… …… …… …… VIU1 ECU1-n disconnect / VIU2 VDC connect 60% …… …… …… …… VIU3 CDC connect 10% …… …… …… …… VIU4 CDC disconnect /

[0056] Of course, the communication within the vehicle's electronic and electrical architecture is only one communication scenario in the embodiments of this application and does not constitute a limitation on the communication scenario. This application can also be applied to the communication scenarios between the vehicle's electronic and electrical architecture and the cloud, as well as the communication scenarios within the cloud, that is, it can be applied to communication scenarios within various terminals, within servers, between terminals, between servers, and between terminals and servers.

[0057] In one embodiment, a target path is determined from multiple candidate paths based on the network load corresponding to each link channel in each candidate path and the path hop count of each candidate path. The method includes: for each candidate path, if the network load corresponding to each link channel satisfies a first preset condition, determining the path as a first preselected path; calculating the total network load of each first preselected path based on the network load corresponding to each link channel in each first preselected path; if the path hop counts corresponding to each first preselected path are the same, determining the first preselected path corresponding to the minimum total network load as the target path; if the path hop counts corresponding to each first preselected path are different, determining the target path based on the difference in first total network load between each pair of first preselected paths.

[0058] Among them, the first pre-selected path refers to a path in which the network loads of all link channels in the candidate path meet the first preset condition; the total network load refers to the combined load of each link channel in the candidate path; and the first total network load difference refers to the difference between the total network loads of two first pre-selected paths.

[0059] Exemplarily, the first preset condition includes a threshold condition, an event condition, etc., wherein the threshold condition includes that the network load corresponding to each link channel is less than a preset first load threshold or is in a preset first load range, and the event condition includes that the network load corresponding to each link channel is not marked as a preset high load state.

[0060] In this embodiment, after determining multiple candidate paths, first pre-selected paths are selected whose link loads all meet a first preset condition, to avoid selecting a path with a high-load link that affects data transmission. Then, for multiple first pre-selected paths, if the number of hops passed through the paths is the same, the first pre-selected path with the smallest total network load is selected as the target path for data transmission, thereby minimizing the risk of encountering network congestion. If the number of hops passed through the paths is different, the target path is further determined based on the difference in the first total network load between each pair of first pre-selected paths. That is, considering the load difference between different paths, the path that achieves the best balance between the total network load and the number of hops is selected.

[0061] In this way, the number of hops and load differences are comprehensively evaluated under the premise that the link load meets the requirements. That is, first, paths with single link channels that do not meet the requirements in the candidate paths are eliminated, and then a composite evaluation is performed based on the total network load and number of hops of the path to select the target path, so as to obtain the path that achieves the best balance between the total network load and the number of hops. The multi-stage composite screening mechanism is used to gradually narrow the path selection range, which is conducive to more intelligent and effective path decision-making in complex network environments, and improves the efficiency and reliability of data transmission.

[0062] For example, the total network load may be calculated by cumulative calculation or weighted summation.

[0063] For example, a candidate path includes three link channels with corresponding network loads of 20%, 10%, and 25%, respectively. If cumulative calculation is used, the total network load obtained is 55%. If the total network load of the first pre-selected path A is 55% and the total network load of the second pre-selected path B is 50%, then the first total network load difference between the first pre-selected path A and the second pre-selected path B is 5% = 55% - 50%.

[0064] Continuing with the example of CDC transmitting data to ECU1-1, the candidate paths from CDC to ECU1-1 determined according to Table 1 may include: CDC—>VDC—>VIU1—>ECU1-1, CDC—>VDC—>VIU2—>VIU1—>ECU1-1, and CDC—>VIU3—>VIU2—>VIU1—>ECU1-1. This list is not exhaustive, and only the above three candidate paths are taken as an example. If the first load threshold is 80%, and the network load of no link channel in the three candidate paths exceeds the threshold, then the three candidate paths are all determined as the first pre-selected path. Subsequently, the three candidate paths have different path hop counts of 3, 4, and 4, respectively. In this case, it is necessary to further determine the target path based on the difference in total network load between each of the three candidate paths.

[0065] In one embodiment, a target path is determined based on a total network load difference between two first preselected paths, including: from a pair of first preselected paths whose first total network load difference satisfies a second preset condition, determining the first preselected path corresponding to the smaller path hop value as the second preselected path; if there is one second preselected path, determining the second preselected path as the target path; if there are multiple second preselected paths, calculating a second total network load difference between two second preselected paths, and from a pair of second preselected paths whose second total network load difference satisfies a third preset condition, determining the second preselected path corresponding to the smaller path hop value as the third preselected path; if there is one third preselected path, determining the third preselected path as the target path; if there are multiple third preselected paths, continuously iteratively screening paths until only one preselected path remains, thereby obtaining the target path.

[0066] Exemplarily, the second preset condition includes a threshold condition, an event condition, etc., wherein the threshold condition includes that the first total network load difference of the first preselected path pair is less than the preset first difference or is in the preset first difference range, and the event condition includes that the first total network load difference of the first preselected path pair is not marked as a preset first-level difference state; the third preset condition includes a threshold condition, an event condition, etc., wherein the threshold condition includes that the second total network load difference of the second preselected path pair is less than the preset second difference or is in the preset second difference range, and the event condition includes that the second total network load difference of the second preselected path pair is not marked as a preset second-level difference state.

[0067] Exemplarily, the first difference and the second difference can be dynamically adjusted according to specific circumstances. The second difference is a threshold value smaller than the first difference, which can further narrow the screening range and improve the path selection accuracy. For example, the first difference is 15%, the second difference is 12%, and the subsequent difference values are 9%, 6%, etc.; the first difference interval and the second difference interval can be dynamically adjusted according to specific circumstances. The second difference interval is an interval smaller than the first difference interval, which can further narrow the screening range and improve the path selection accuracy. For example, the first difference interval is 12-15%, the second difference is 9-12%, and the subsequent difference intervals are 6-9%, 3-6%, etc.; the difference range of the first-level difference state is larger than the difference range in the second-level difference state, and the difference range in the subsequent-level difference state is smaller. For example, the difference range of 12-100% is the first-level difference state, and the difference range of 9-100% is the second-level difference state.

[0068] In this embodiment, considering that the smaller the total network load of a path, the more reliable the data transmission, and the fewer the path hops, the more efficient the data transmission, the optimal path is searched through a multi-level iterative screening mechanism that compares the total network load difference between any two paths with a difference threshold.

[0069] In addition, in this embodiment, for each pre-selected path pair, the path corresponding to the path with the smaller hop count is selected. That is, when the total load difference between two paths is less than a preset difference threshold, their load levels are considered to be equivalent. In this case, the path with the smaller hop count is selected as the target path. The entire path selection process is iteratively selected with gradually smaller differences. In this way, an optimal balance can be achieved between the total network load and the hop count.

[0070] Specifically, when there are multiple first pre-selected paths, the path pairs with total load differences within the allowable range are first screened out, and then the path with fewer hops is preferentially selected as the second pre-selected path. If there are still multiple pre-selected paths, a stricter difference threshold is introduced for secondary screening, and the optimization is again performed based on the number of hops. This process is continuously iterated, gradually narrowing the difference threshold and comparing the number of hops, and finally determining the only target path.

[0071] In this way, for multiple first pre-selected paths with different path hop counts, the optimal path is searched through a multi-level iterative screening mechanism that compares the total network load difference between any two paths with a difference threshold. When the total network load difference among multiple paths is small, the path with fewer hops can be preferentially selected, achieving a balance between the total network load and the number of hops, taking into account both network load balancing and transmission efficiency, and effectively improving the stability and real-time performance of data transmission in complex network environments.

[0072] In one possible embodiment, after obtaining the target path, the method further includes: determining the other path in the path pair where the target path is located as a candidate backup path; if there is only one candidate backup path, determining it as the final backup path; if there are multiple candidate backup paths, determining the candidate backup path corresponding to the minimum number of path hops as the final backup path.

[0073] As a possible embodiment, taking into account the problems of sudden failure, congestion or interruption of the target path, a backup path with better performance is determined in advance, which can be quickly switched when the target path fails to ensure the reliability of data transmission.

[0074] In one embodiment, transmitting data to be transmitted to a target communication node via a target path includes: if the maximum network load of a link channel in the target path satisfies a fourth preset condition, determining a target fragment length based on a mapping relationship between the maximum network load and a preset mapping relationship, wherein the mapping relationship is a correspondence between different network loads and different fragment lengths; fragmenting the data to be transmitted according to the target fragment length to obtain a plurality of fragment data; and transmitting each fragment data to the target communication node via the target path.

[0075] Among them, the maximum network load refers to the highest value among the real-time load values of all link channels in the target path at the transmission time; in the mapping relationship, the larger the network load, the smaller the corresponding fragment length; fragmented data refers to dividing the original data to be transmitted into multiple independently transmitted data units according to the target fragment length.

[0076] Exemplarily, the fourth preset condition includes a threshold condition, an event condition, etc., wherein the threshold condition includes that the maximum network load of the link channel in the target path is greater than a preset second load threshold or is in a preset second load range, and the event condition includes that the maximum network load of the link channel in the target path is marked as a high load state.

[0077] In addition, in the embodiment of the present application, there is no restriction on the magnitude relationship between the first load threshold and the second load threshold, and the magnitude relationship between the first load interval and the second load interval.

[0078] In this embodiment, considering that the link channel in the target path has a large network load and the size of the data to be transmitted is also large, a packet transmission strategy is adopted to implement data transmission, thereby further ensuring the reliability of data transmission.

[0079] Specifically, after determining the target path, if there is a link channel in the path whose load meets the fourth preset physical test, the preset mapping relationship table is queried according to the load value of the channel to obtain the corresponding target fragment length, so as to fragment the data to be transmitted according to the target fragment length and generate fragmented data that conforms to the current network status. When these fragmented data are transmitted through the target path, the transmission pressure of the high-load link can be reduced due to the reduction in the volume of a single data packet, and the probability of data packet loss or retransmission can be reduced.

[0080] In this way, through the mapping mechanism of load and fragment length, the fragment length is adjusted according to the severity of the network load. Compared with the method of using a fixed fragment length regardless of the network load, the fragment length can be dynamically adjusted to match the link carrying capacity, effectively solving the problem of reduced data transmission reliability in high-load link environments.

[0081] Exemplarily, the mapping relationship is a correspondence between different network loads and different fragment lengths, specifically a correspondence between different network load intervals and different fragment lengths. For example, when the maximum network load is monitored to be between 70% and 80%, the corresponding fragment length is 512 bytes; when the maximum network load is monitored to be between 80% and 90%, the corresponding fragment length is 256 bytes.

[0082] In one possible embodiment, if the network load of the link channel in the target path does not meet the preset fourth preset condition, the data to be transmitted will not be fragmented; if the maximum network load of the link channel in the target path meets the preset fifth preset condition, a network load severe congestion alarm will be issued.

[0083] The fifth preset condition includes a threshold condition, an event condition, and the like. The threshold condition includes the maximum network load of the link channel in the target path being greater than a preset third load threshold or being within a preset third load range. The event condition includes the maximum network load of the link channel in the target path being marked as severely congested. The third load threshold is greater than the second load threshold, and the third load range is greater than the second load range.

[0084] In this way, when the network load is at a low level, unnecessary fragmentation of data is avoided, and timely warnings are issued under high load conditions, which can prompt relevant administrators to take measures to alleviate network pressure and prevent system crashes or a significant decline in service quality.

[0085] In one embodiment, transmitting the data to be transmitted to the target communication node via the target path also includes: if the maximum network load of the link channel in the target path meets the fourth preset condition, triggering the fragment length detection mechanism to perform fragment length detection to determine the target fragment length; fragmenting the data to be transmitted according to the target fragment length to obtain multiple fragment data; and transmitting each fragment data to the target communication node via the target path.

[0086] The fragment length detection mechanism refers to a mechanism that determines the target fragment length by actively testing the transmission performance of different fragment lengths in the target path.

[0087] In this embodiment, considering that the link channel in the target path has a large network load and the size of the data to be transmitted is also large, a packet transmission strategy is adopted to implement data transmission, thereby further ensuring the reliability of data transmission.

[0088] Specifically, when the real-time network load of the link channel in the target path meets the fourth preset condition, the fragment length detection process is started to determine the target fragment length. After determining the target fragment length, the data to be transmitted is cut into multiple fragment data units according to the length and transmitted sequentially through the target path.

[0089] In this way, through the dynamic detection mechanism, the fragment length can be automatically optimized according to the real-time network conditions to match the link carrying capacity, effectively solving the problem of reduced data transmission reliability in high-load link environments. Compared with maintaining a fixed mapping relationship between load and fragment length, it significantly improves the adaptability of data transmission.

[0090] Exemplarily, the fragment length detection mechanism is triggered to detect the fragment length and determine the target fragment length. Specifically, a gradually increasing or decreasing test transmission method can be used to send a detection data packet on the target path and monitor the transmission delay and success rate to select a fragment length value that meets the preset stability index. For example, a test data packet containing different fragment lengths is first sent to the target path, such as using fragments of 1000 bytes, 800 bytes, and 600 bytes for transmission testing. The round-trip delay, packet loss rate, and throughput indicators corresponding to each fragment are monitored. Based on a pre-set selection strategy, for example, the fragment length with a packet loss rate of less than 5% and the highest throughput is selected as the target fragment length.

[0091] In one embodiment, transmitting the data to be transmitted to the target communication node via the target path also includes: encapsulating the data to be transmitted into a data frame according to a preset data frame structure, the data frame structure including a sequence number field, the data frame carrying a sequence number, and the sequence number increasing frame by frame; transmitting the data frame to the target communication node via the target path; if a response sequence number corresponding to the sequence number returned by the target communication node is not monitored within a preset first time interval and / or after the data transmission task is completed, transmitting the data frame to the target communication node via a backup path, the backup path being one of the remaining candidate paths.

[0092] Among them, the data frame structure refers to a predefined format for encapsulating data, which includes a sequence number field for identifying the data order to ensure that the order is traceable during data transmission; the sequence number increments frame by frame, which means that the sequence number carried by each data frame increases in sequence according to the transmission order. Specifically, this can be achieved by maintaining a global counter at the sending end; the backup path refers to other available paths among the candidate paths except the target path. Specifically, this can be achieved using a path priority list. For example, when screening the target path, the evaluation results of the candidate paths are synchronously recorded, and the backup paths are determined in order of priority.

[0093] In this embodiment, considering the problem of data loss during data transmission, the reliability of data transmission is ensured by introducing a sequence number field in the data frame structure, setting a response sequence number monitoring mechanism, and using a backup path to retransmit lost data.

[0094] Specifically, during the data transmission process, the data to be transmitted is first encapsulated into a data frame carrying an incrementing sequence number and transmitted through a pre-screened target path. After successfully receiving the data frame, the receiving end must return a response signal containing the corresponding sequence number. If the sending end does not receive a response within the set time, and / or detects that the sequence number is missing after the overall transmission task is completed, it is determined that there is a transmission anomaly in the target path, and the path switching mechanism is automatically triggered to resend the lost data frame through the backup path.

[0095] For example, when CDC transmits data to ECU1-1, if the serial number of the data frame currently sent by CDC is 99, ECU1-1 should respond with serial number 99 when receiving the data. If CDC does not receive a response with serial number 99, it indicates that the data frame transmission is abnormal. CDC can continue to send the data frame with serial number 100, and ECU1-1 responds with serial number 100 to CDC. The data frame with serial number 99 is sent to ECU1-1 via the backup path. ECU1-1 receives data messages from different paths and assembles them according to the serial number to obtain complete data.

[0096] In this way, by combining serial number tracking with the backup path switching mechanism, an alternative path can be selected for retransmission when a transmission anomaly is detected. This not only solves the problem of data loss caused by path failure, but also enables the retransmission of lost data without affecting subsequent data transmission on the target path. In a complex network environment, the efficiency and reliability of data transmission are effectively guaranteed.

[0097] In addition, in this embodiment, the monitoring of the response sequence number may be performed by determining that the response sequence number has not been detected if the response sequence number has not been received within a preset first time interval and / or after the data transmission task is completed. The retransmission of lost data frames may be performed immediately after the loss is detected, or all lost data frames may be retransmitted collectively after the data transmission task is completed.

[0098] In a possible embodiment, transmitting the data to be transmitted to the target communication node through the target path further includes: using UDP (User Datagram Protocol) to transmit the data to be transmitted to the target communication node through the target path.

[0099] As a possible embodiment, considering that TCP (Transmission Control Protocol) communication requires three interactions when establishing a connection and four waves when the communication is completed, and when the network status is poor, TCP-based communication may need to repeatedly reestablish the connection, resulting in communication waste and low communication efficiency, the UDP protocol is used for data transmission to further improve the efficiency and reliability of data transmission.

[0100] As a possible embodiment, based on the use of the UDP protocol, data transmission is performed by defining a sequence number field in the data frame structure, maintaining network topology information for multi-level path screening, and adopting a data fragmentation transmission mechanism and a backup path data retransmission mechanism to ensure data transmission efficiency and reliability.

[0101] See Figure 4 , Figure 4 FIG. 1 is a schematic diagram of a data frame structure shown in an exemplary embodiment of the present application. Figure 4 As shown, the data frame structure is an Ethernet frame data structure, which includes an Eth Head (Ethernet Header) field, an IP Head (IP Header) field, a UDP Head (UDP Header) field, a custom identification field (i.e., a sequence number field), a data field, and an FCS (Frame Check Sequence) field. For example, the Eth Head field is 14 bytes, the FCS field is 4 bytes, the IP Head is 20 bytes, the UDP Head is 8 bytes, the custom identification field is 8 bytes, and the data field is 28 to 1464 bytes. For example, in data transmission, the source port (16) represents the port number of the sender, the destination port (16) represents the port number of the receiver, the sending sequence number (16) represents the sequence number of the data frame, and the response sequence number (16) represents the response sequence number of the data frame. For example, the protocol number field in the IP Header of the UDP message type is defined as 0x06-UDP.

[0102] See Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a communication node architecture shown in an exemplary embodiment of the present application. Figure 5 As shown, both the sending and receiving ends include multiple layers from the application layer to the physical layer. First is the application layer, which includes the message packetization module, the message decapsulation module, the message transceiver module and the path selection module, and maintains the network topology information; then the network layer; followed by the link layer, including the link congestion monitoring module and the link on / off monitoring module; and finally the physical layer, which transmits data through Ethernet. Among them, the message packetization module is used to implement the fragmentation of transmitted data, the message decapsulation module is used to implement the decoding and encapsulation of data frames, the message transceiver module is used to implement the sending and receiving of data frames, the path selection module is used to implement the selection of the transmission path, the link congestion monitoring module is used to implement the link channel network load monitoring, and the link on / off monitoring module is used to implement the monitoring of the link channel on / off status.

[0103] The above-mentioned data transmission method first obtains network topology information and a target communication node for data to be transmitted, wherein the network topology information includes link channels of multiple communication nodes, the corresponding on / off status of the link channels, and the network load. Then, based on the link channels of each communication node and the corresponding on / off status of the link channels, multiple candidate paths for transmitting the data to be transmitted to the target communication node are determined. Then, based on the network load corresponding to each link channel in each candidate path and the number of hops of each candidate path, a target path is determined from the multiple candidate paths. Finally, the data to be transmitted is transmitted to the target communication node via the target path. The link channels of each communication node and the corresponding on / off status of the link channels in the network topology information are used to screen candidate paths that can reach the target communication node. A comprehensive evaluation is performed based on the link load and the number of hops in each candidate path to dynamically and adaptively select a preferred path for data transmission. This method can effectively avoid network congestion, data loss, and transmission delays. In complex environments with large amounts of data, high frequency data transmission, and a large number of transmission nodes, the method has efficient and intelligent network resource scheduling and load balancing capabilities, thereby improving the efficiency and reliability of data transmission.

[0104] See Figure 6 , Figure 6 This is a block diagram of a data transmission system shown in an exemplary embodiment of the present application. The system can be applied to Figure 1 The implementation environment shown is shown. It should be understood that the system can also be applied to other exemplary implementation environments, and this embodiment does not limit the implementation environment to which the system is applicable.

[0105] like Figure 6 As shown, in an exemplary embodiment, the data transmission system 600 includes at least an acquisition module 610, a screening module 620, a selection module 630 and a transmission module 640, which are described in detail as follows:

[0106] An acquisition module 610 is configured to acquire network topology information and a target communication node for data transmission, wherein the network topology information includes link channels of multiple communication nodes and the on / off status and network load corresponding to the link channels;

[0107] A screening module 620 is configured to determine, based on the link channel of each communication node and the on / off status corresponding to the link channel, a plurality of candidate paths for transmitting the data to be transmitted to the target communication node;

[0108] The optimal selection module 630 is configured to determine a target path from a plurality of candidate paths based on the network load corresponding to each link channel in each candidate path and the number of path hops of each candidate path;

[0109] The transmission module 640 is configured to transmit the data to be transmitted to the target communication node via the target path.

[0110] It should be noted that the data transmission system provided in the above embodiment and the data transmission method provided in the above embodiment belong to the same concept, wherein the contents of the operations performed by each module have been described in detail in the method embodiment and will not be repeated here.

[0111] See Figure 7 , Figure 7 This is a structural diagram of an electronic device provided by an embodiment of the present application. Figure 7 The following is a schematic diagram showing the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application. Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0112] like Figure 7 As shown, computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to programs stored in read-only memory (ROM) 702 or programs loaded from storage portion 708 into random access memory (RAM) 703, such as executing the methods in the above embodiments. Various programs and data required for system operation are also stored in RAM 703. CPU 701, ROM 702, and RAM 703 are connected to each other via bus 704. Input / output (I / O) interface 705 is also connected to bus 704.

[0113] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output section 707 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. Removable media 711, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 710 as needed, so that computer programs read therefrom can be installed into the storage section 708 as needed.

[0114] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 709, and / or installed from a removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the various functions defined in the system of the present application are executed.

[0115] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computer processor, the computer executes the data transmission method described above. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.

[0116] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.

[0119] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, any equivalent modifications or alterations accomplished by a person of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.

Claims

1. A data transmission method, characterized in that: The method comprises: Acquire network topology information and a target communication node for data transmission, wherein the network topology information includes link channels of multiple communication nodes and on / off states and network loads corresponding to the link channels; determining, according to the link channel of each communication node and the on / off status corresponding to the link channel, a plurality of candidate paths for transmitting the to-be-transmitted data to the target communication node; Determine a target path from multiple candidate paths based on the network load corresponding to each link channel in each candidate path and the number of path hops of each candidate path; The data to be transmitted is transmitted to the target communication node through the target path.

2. The data transmission method according to claim 1, wherein: The determining of the target path from the plurality of candidate paths according to the network load corresponding to each link channel in each candidate path and the number of path hops of each candidate path includes: For each candidate path, if the network load corresponding to each link channel meets the first preset condition, then the candidate path is determined as the first pre-selected path; Calculating a total network load of each first preselected path based on the network load corresponding to each link channel in each first preselected path; If the number of path hops corresponding to each first preselected path is the same, the first preselected path corresponding to the minimum total network load is determined as the target path; if the number of path hops corresponding to each first preselected path is different, the target path is determined based on the difference in the first total network load between each pair of first preselected paths.

3. The data transmission method according to claim 2, wherein: The determining the target path according to the total network load difference between the two first pre-selected paths includes: From the first pre-selected path pairs whose first total network load difference satisfies a second preset condition, determining the first pre-selected path corresponding to the smaller path hop count as the second pre-selected path; If there is one second pre-selected path, determining the second pre-selected path as the target path; if there are multiple second pre-selected paths, calculating a second total network load difference between each of the second pre-selected paths, and determining the second pre-selected path corresponding to the smaller path hop count as the third pre-selected path from among the second pre-selected path pairs whose second total network load difference satisfies a third preset condition; If there is one third preselected path, the third preselected path is determined as the target path. If there are multiple third preselected paths, the paths are continuously iterated and screened until only one preselected path remains, and the target path is obtained.

4. The data transmission method according to claim 1, wherein: The transmitting the data to be transmitted to the target communication node through the target path includes: If the maximum network load of the link channel in the target path meets a fourth preset condition, determining the target fragment length according to the maximum network load and a preset mapping relationship between different network loads and different fragment lengths; Slice the data to be transmitted according to the target slice length to obtain a plurality of slice data; Each fragment data is transmitted to the target communication node through the target path.

5. The data transmission method according to claim 1, wherein: The transmitting the to-be-transmitted data to the target communication node through the target path further comprises: If the maximum network load of the link channel in the target path meets the fourth preset condition, triggering the fragment length detection mechanism to perform fragment length detection to determine the target fragment length; Slice the data to be transmitted according to the target slice length to obtain a plurality of slice data; Each fragment data is transmitted to the target communication node through the target path.

6. The data transmission method according to any one of claims 1 to 5, characterized in that: The transmitting the to-be-transmitted data to the target communication node through the target path further comprises: Encapsulating the data to be transmitted into a data frame according to a preset data frame structure, wherein the data frame structure includes a sequence number field, the data frame carries a sequence number, and the sequence number increases frame by frame; transmitting the data frame to the target communication node via the target path; If the response sequence number corresponding to the sequence number returned by the target communication node is not monitored within the preset first time interval and / or after the data transmission task is completed, the data frame is transmitted to the target communication node via a backup path, and the backup path is one of the remaining candidate paths.

7. The data transmission method according to claim 6, characterized in that: The network topology information is generated in a manner including: Based on a preset second time interval, monitoring the on / off status and network load corresponding to each link channel of the source communication node, generating first node link information of the source communication node, and simultaneously generating a link detection message and transmitting it to other communication nodes outside the source communication node to receive second node link information from the other communication nodes; The network topology information is generated according to the first node link information and a plurality of second node link information.

8. A data transmission system, characterized in that: The system comprises: An acquisition module, configured to acquire network topology information and a target communication node for data to be transmitted, wherein the network topology information includes link channels of multiple communication nodes and the on / off status and network load corresponding to the link channels; a screening module, configured to determine, based on the link channel of each communication node and the on / off status corresponding to the link channel, a plurality of candidate paths for transmitting the data to be transmitted to the target communication node; The optimal selection module is used to determine the target path from multiple candidate paths based on the network load corresponding to each link channel in each candidate path and the number of path hops of each candidate path; A transmission module is used to transmit the data to be transmitted to the target communication node through the target path.

9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the data transmission method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the data transmission method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Multi-jumping relay time division duplexing self-adapting transmission method and apparatus in mobile communication network

    CN101257439A

  • Video data transmission method, device and medium

    CN108322774A

  • Network path selection method, network path selection device, network node transmission method and network node transmission device

    CN116264723A

Cited By

  • Intelligent routing method and device based on edge gateway and medium

    CN121357077A

  • Linkage communication path optimization method for multi-stage cascaded wireless fire fighting system

    CN121442310A