Data transmission method, system and device and computer readable storage medium
By calculating the clock jitter and propagation delay between nodes in a distributed wireless network, generating data transmission deviation values, and determining an appropriate subframe structure, the problem of inconsistent data transmission delay between nodes is solved, and channel utilization and data transmission stability are improved.
Patent Information
- Application Number
- CN202510256485.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-05-16
AI Technical Summary
In distributed wireless networks, due to different geographical locations between nodes and different propagation delays caused by node movement, data transmission delays are inconsistent, resulting in low channel utilization and confusion in data transmission.
By obtaining the clock jitter information of the first node and the target node, the time bias value and propagation delay value between the target node and the first node are calculated, the data transmission deviation value is generated, and the subframe with the total duration value of the protection symbol is greater than or equal to the data transmission deviation value is determined as the target subframe to ensure that the data transmission is stable and does not interfere with the reception and transmission of the next subframe.
It improves the stability and channel utilization of data transmission, avoids interference with data transmission by clock jitter and propagation delay, and makes data transmission between nodes more reliable and efficient.
Smart Images

Figure CN120018269A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and more specifically, to a data transmission method, system, device and computer-readable storage medium. Background Art
[0002] In a distributed wireless network, nodes can use TDMA (Time division multiple access) for data transmission. However, due to the different geographical locations of the nodes in a distributed wireless network, the transmission delay of data sent by the same node when arriving at different nodes may be different. When the sent data arrives at one node, the signal is not delayed to the next subframe, but when it arrives at another node, the signal may exceed the time range of the current subframe, thereby interfering with the transmission and reception of the next subframe. Or, due to the movement of nodes, the distance between the two nodes increases, and the propagation delay also increases. At this time, the same subframe structure is still used for data transmission, which will cause the transmission signal to be delayed to the next subframe, interfering with the reception and transmission of the next subframe. This ultimately leads to data transmission confusion between nodes and poor channel utilization.
[0003] In summary, how to improve data transmission stability and channel utilization is a problem that currently needs to be solved urgently by those skilled in the art. Summary of the invention
[0004] The purpose of the present application is to provide a data transmission method, which can solve the technical problem of how to improve the stability of data transmission and the utilization rate of channels to a certain extent. The present application also provides a data transmission system, an electronic device and a computer-readable storage medium.
[0005] In order to achieve the above objectives, this application provides the following technical solutions:
[0006] A data transmission method, applied to a target node, comprising:
[0007] Acquire clock jitter information of a first node, where the first node is used to receive data transmitted by the target node;
[0008] Generate a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node;
[0009] Determining a first propagation delay value between the target node and the first node;
[0010] generating a data transmission deviation value between the target node and the first node according to the time deviation value and the first propagation delay value;
[0011] A subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value is determined as a target subframe, so as to transmit data to the first node based on the target subframe.
[0012] In an exemplary embodiment, the clock jitter information includes crystal oscillator clock accuracy;
[0013] The step of generating a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node includes:
[0014] Generate a first sum of the crystal oscillator clock accuracy of the first node and the crystal oscillator clock accuracy of the target node;
[0015] Get the set network adjustment period value;
[0016] generating a product value of the first sum value and the network adjustment period value;
[0017] The product value is used as the time offset value between the target node and the first node.
[0018] In an exemplary embodiment, generating a data transmission deviation value between the target node and the first node according to the time offset value and the first propagation delay value includes:
[0019] generating a second sum of the time offset value and the first propagation delay value;
[0020] The second sum value is used as the data transmission deviation value between the target node and the first node.
[0021] In an exemplary embodiment, determining a subframe whose total duration value of a protection symbol is greater than or equal to the data transmission deviation value as a target subframe includes:
[0022] Determine the unit duration value of the protection symbol;
[0023] generating a ratio between the data transmission deviation value and the unit time value;
[0024] Rounding the ratio upwards to obtain a target value;
[0025] A subframe whose number of protection symbols is greater than or equal to the target number is taken as a target subframe.
[0026] In an exemplary embodiment, determining a subframe whose total duration value of a protection symbol is greater than or equal to the data transmission deviation value as a target subframe includes:
[0027] detecting whether the number of the first nodes is one;
[0028] If the number of the first node is one, determining a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as a target subframe;
[0029] If the number of the first nodes is not one, a subframe whose total duration value of protection symbols is greater than or equal to the maximum data transmission deviation value is determined as a target subframe.
[0030] In an exemplary embodiment, the acquiring clock jitter information of the first node includes:
[0031] Obtaining superframe information sent by the first node;
[0032] Parsing the fixed radio frame in the superframe information to obtain radio frame information;
[0033] The preset subframe in the wireless frame information is parsed to obtain clock jitter information of the first node.
[0034] In an exemplary embodiment, it further includes:
[0035] Acquire a second propagation delay value counted by a second node, where the second node is used to send data to the target node, and the second propagation delay value includes a propagation delay value from the target node to the second node;
[0036] Acquire a third propagation delay value counted by the target node, where the third propagation delay value includes a propagation delay value from the second node to the target node;
[0037] generating a difference between the second propagation delay value and the third propagation delay value as a timing deviation value;
[0038] The timing clock of the target node is adjusted according to the timing deviation value so that the clock of the target node is synchronized with the clock of the second node.
[0039] A data transmission system, applied to a target node, comprising:
[0040] A first acquisition module, used to acquire clock jitter information of a first node, where the first node is used to receive data transmitted by the target node;
[0041] A first generating module, configured to generate a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node;
[0042] A first determining module, configured to determine a first propagation delay value between the target node and the first node;
[0043] A second generating module, configured to generate a data transmission deviation value between the target node and the first node according to the time offset value and the first propagation delay value;
[0044] The first determination module is configured to determine a subframe whose total duration value of a protection symbol is greater than or equal to the data transmission deviation value as a target subframe, so as to transmit data to the first node based on the target subframe.
[0045] An electronic device, comprising:
[0046] Memory for storing computer programs;
[0047] A processor is used to implement the steps of any of the above data transmission methods when executing the computer program.
[0048] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above data transmission methods are implemented.
[0049] A data transmission method provided by the present application is applied to a target node, obtains clock jitter information of a first node, and the first node is used to receive data transmitted by the target node; generates a time deviation value between the target node and the first node based on the clock jitter information of the first node and the clock jitter information of the target node; determines a first propagation delay value between the target node and the first node; generates a data transmission deviation value between the target node and the first node based on the time deviation value and the first propagation delay value; determines a subframe whose total duration value of a protection symbol is greater than or equal to the data transmission deviation value as a target subframe, so as to transmit data to the first node based on the target subframe. In the present application, since the clock jitter information will cause the clock deviation between nodes, and the clock deviation will affect the data transmission between nodes, the target node needs to generate the time deviation value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node; and no matter how the node position changes, the data transmission time between the nodes can be determined by the propagation delay value, so the target node can generate the data transmission deviation value between the target node and the first node according to the time deviation value and the first propagation delay value; in this way, if the subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value is determined as the target subframe, it can be ensured that the transmission of valid data in the target subframe must avoid clock jitter and propagation delay, avoid interference with the reception and transmission of the next subframe, so that the node can normally use the subframe for data transmission, and improve the stability of data transmission and channel utilization. A data transmission system, electronic device and computer-readable storage medium provided by the present application also solve corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0051] Figure 1 A flowchart of a data transmission method provided in an embodiment of the present application;
[0052] Figure 2 is a type diagram of a subframe;
[0053] Figure 3 It is a structural diagram of a superframe;
[0054] Figure 4 It is a schematic diagram of generating a timing deviation value;
[0055] Figure 5 A flowchart of node operation in a distributed wireless network;
[0056] Figure 6 A schematic diagram of the structure of a data transmission system provided in an embodiment of the present application;
[0057] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0058] Figure 8 Another structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0060] See also Figure 1 , Figure 1 A flowchart of a data transmission method provided in an embodiment of the present application.
[0061] A data transmission method provided in an embodiment of the present application, applied to a target node, may include the following steps:
[0062] Step S101: Acquire clock jitter information of a first node, where the first node is used to receive data transmitted by a target node.
[0063] Step S102: Generate a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node.
[0064] In practical applications, the target node and the first node both refer to nodes that need to apply TDMA for data transmission. The target node and the first node can both be nodes in a distributed wireless network, or they can be two separate nodes. This application does not make specific restrictions here. And considering that there are differences between the clocks of the nodes themselves, this difference will affect the clock synchronization between the nodes, and then affect the data transmission. Therefore, in order to avoid the influence of the clock itself on the data transmission, the target node needs to obtain the clock jitter information of the first node. The first node is used to receive the data transmitted by the target node, obtain the clock jitter information of the target node itself, and generate the time deviation value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node, so as to select the appropriate subframe according to the time deviation value later.
[0065] Step S103: Determine a first propagation delay value between the target node and the first node.
[0066] Step S104: Generate a data transmission deviation value between the target node and the first node according to the time deviation value and the first propagation delay value.
[0067] In practical applications, due to the influence of the distance between nodes, there is also a propagation delay when data is transmitted between nodes, and this propagation delay will also affect data transmission. Therefore, the target node needs to determine the first propagation delay value between the target node and the first node, and then generate the data transmission deviation value between the target node and the first node based on the time offset value and the first propagation delay value. For example, the sum of the time offset value and the first propagation delay value is determined as the data transmission deviation value, so as to comprehensively determine the data transmission deviation value that affects data transmission based on the node clock's own differences and the propagation delay.
[0068] In practical applications, the clock jitter information of a node reflects the clock deviation of the node, but how to obtain effective and accurate clock jitter information is still a problem that needs to be solved. To this end, considering that the crystal oscillator clock accuracy of a node can reflect the clock deviation, the clock jitter information of a node can be set to the crystal oscillator clock accuracy of the node, and considering that the clock difference will accumulate with the network adjustment cycle, that is, the network adjustment cycle will affect the time deviation value, so in the process of generating the time deviation value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node, it is necessary to generate a first sum of the crystal oscillator clock accuracy of the first node and the crystal oscillator clock accuracy of the target node; obtain the set network adjustment cycle value, the network adjustment cycle value can be a fixed value or can change in real time according to demand. Of course, the network adjustment cycle value can be selected based on information such as the designed network coverage range and the clock accuracy of the network equipment, etc., and this application does not make specific limitations here; generate the product value of the first sum value and the network adjustment cycle value; and use the product value as the time deviation value between the target node and the first node. In a specific application scenario, in the process of generating a data transmission deviation value between a target node and a first node based on a time deviation value and a first propagation delay value, a second sum of the time deviation value and the first propagation delay value can be generated; the second sum is used as the data transmission deviation value between the target node and the first node. It should be noted that the propagation delay value between nodes is affected by the network adjustment cycle. For example, the propagation delay value between nodes can be an average delay value within the network adjustment cycle, or a maximum delay value within the network adjustment cycle, etc.
[0069] In order to facilitate the understanding of the generation process of the data transmission deviation value, it is now assumed that data is transmitted between nodes through a superframe, a superframe includes a first number of radio frames, a radio frame includes a second number of subframes, and the subframe consists of an AGC symbol, a DMRS symbol, a data symbol and a GP symbol, wherein the AGC symbol refers to an OFDM symbol used for AGC calculation, the DMRS symbol refers to an OFDM symbol carrying a demodulation reference signal, the data symbol refers to an OFDM symbol used for data transmission, and the GP symbol refers to a protection symbol; assuming that the crystal oscillator clock accuracy of the target node A is g A =15ppm, the crystal oscillator clock accuracy of the first node C is g C =20ppm, the first propagation delay between the target node and the first node is t CA =0.033ms, the network timing adjustment period is N=4 superframes, each superframe is 320ms, then the data transmission deviation value is (g A +g C )×10-6×320ms×N+t CA =0.0778ms.
[0070] Step S105: determine a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as a target subframe, so as to transmit data to the first node based on the target subframe.
[0071] In practical applications, in order to avoid the data transmitted by the target node being outside the subframe of the first node, the target node needs to determine a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as the target subframe. In this way, the valid data in the target subframe must be stored after the protection symbol, and the total duration value of the protection symbol is greater than or equal to the data transmission deviation value, so the valid data is stored in the target subframe at a position that is not affected by the data transmission deviation value. In this way, after the target node transmits data to the first node based on the target subframe, the target subframe will not affect the reception and transmission of the next subframe.
[0072] In practical applications, in the process of determining the subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as the target subframe, considering that the unit duration of the protection symbol is a fixed value, the target subframe can be determined according to the number of protection symbols in the subframe, that is, the unit duration value of the protection symbol can be determined; the ratio between the data transmission deviation value and the unit duration value can be generated; the comparison value is rounded up to obtain the target number value; and the subframe whose number of protection symbols is greater than or equal to the target number value is used as the target subframe. For ease of understanding, still taking the above-mentioned target node A and the first node C as an example, assuming that the unit duration value of the GP symbol is 0.0714ms, the ratio of 0.0778 to 0.0714 is calculated and rounded up to obtain a target number value of 2. Therefore, the target subframe needs to be a subframe whose number of protection symbols is greater than or equal to 2. Assuming the subframe type is Figure 2 As shown, the symbol block filled with slashes represents AGC symbols, the symbol block filled with small squares represents DMRS symbols, the symbol block without filling represents data symbols, and the symbol block with full filling represents GP symbols. Then, subframes other than subframe type 1 can be used as target subframes, etc.
[0073] In a specific application scenario, taking into account that the target node performs air interface transmission, that is, data transmission between the target node and multiple first nodes, it is necessary to ensure that the target subframe does not affect the reception and transmission of each next subframe. For this reason, it is necessary to select a subframe whose total duration value of the protection symbol is greater than or equal to the maximum data transmission deviation value as the target subframe, so that the target node transmits data to all first nodes according to this target subframe. That is, in the process of determining the subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as the target subframe, it can be detected whether the number of first nodes is one; if the number of first nodes is one, that is, there is only one first node, it can be determined that the total duration value of the protection symbol is greater than or equal to the maximum data transmission deviation value. The subframe that is greater than or equal to the data transmission deviation value is taken as the target subframe; if the number of first nodes is not one, that is, there are multiple first nodes, it is necessary to determine the subframe whose total duration value of the protection symbol is greater than or equal to the maximum data transmission deviation value as the target subframe. For ease of understanding, it is assumed that the first nodes are C, D and E, and the number of GP symbols that need to be reserved when the target node A sends to the first node D, the first node E and other nodes is calculated in turn as 1 GP symbol and 3 GP symbols. At this time, in order to make the data transmission between the target node A and the first node C, the first node D and the first node E proceed normally, when the target node A sends data, at least 3 GP symbols of protection interval must be reserved, that is, the selection Figure 2 The subframe type 3 and above are used as their target subframes.
[0074] In practical applications, when the target node obtains the clock jitter information of the first node, it can obtain the superframe information sent by the first node, parse the fixed wireless frame in the superframe information to obtain the wireless frame information, and parse the preset subframe in the wireless frame information to obtain the clock jitter information of the first node. That is, in the process of transmitting data between nodes using superframes, it can be agreed that the preset subframe of the fixed wireless frame in the superframe is used to store network configuration information, such as agreeing that subframe 0 of the fixed wireless frame in the superframe is used to store network configuration information, etc. Figure 3 As shown, the network configuration information may include node clock jitter information, network adjustment period, propagation delay value, etc. Accordingly, the node only needs to parse the preset subframe in the superframe to obtain the required information.
[0075] In practical applications, clock synchronization is also required between nodes. During this process, the target node needs to obtain the second propagation delay value counted by the second node. The second node is used to send data to the target node, that is, the second node is the reference node for clock synchronization of the target node. The second node can be the parent node or a preset node of the target node, and the second propagation delay value refers to the propagation delay value from the target node to the second node counted by the second node. For example, the second propagation delay value can be the propagation delay between the second node and the target node estimated by the second node by receiving the data sent by the target node; obtain the third propagation delay value counted by the target node, the third propagation delay value refers to the propagation delay value from the second node to the target node counted by the target node. For example, the third propagation delay value can be the propagation delay between the target node and the second node obtained by the random access process; generate the difference between the second propagation delay value and the third propagation delay value as the timing deviation value, assuming that the second node is B, and the second propagation delay value is △T BA , the third propagation delay value is △T AB ,like Figure 4 As shown, the calculated timing deviation value is τ=△T BA -△T AB ; Adjust the timing clock of the target node according to the timing deviation value, that is, advance or lag the clock of the target node by the timing deviation value, so that the clock of the target node is synchronized with the clock of the second node.
[0076] A data transmission method provided by the present application is applied to a target node, obtains clock jitter information of a first node, and the first node is used to receive data transmitted by the target node; generates a time deviation value between the target node and the first node based on the clock jitter information of the first node and the clock jitter information of the target node; determines a first propagation delay value between the target node and the first node; generates a data transmission deviation value between the target node and the first node based on the time deviation value and the first propagation delay value; determines a subframe whose total duration value of a protection symbol is greater than or equal to the data transmission deviation value as a target subframe, so as to transmit data to the first node based on the target subframe. In the present application, since clock jitter information will cause clock deviation between nodes, and clock deviation will affect data transmission between nodes, the target node needs to generate a time deviation value between the target node and the first node based on the clock jitter information of the first node and the clock jitter information of the target node; and no matter how the node positions change, the data transmission time between the nodes can be determined by the propagation delay value, so the target node can generate a data transmission deviation value between the target node and the first node based on the time deviation value and the first propagation delay value; in this way, if a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value is determined as the target subframe, it can be ensured that the transmission of valid data in the target subframe will avoid clock jitter and propagation delay, avoid interference with the reception and transmission of the next subframe, so that the node can normally use the subframe for data transmission, thereby improving the stability of data transmission and channel utilization.
[0077] In order to facilitate the understanding of the data transmission scheme provided by the present application, the processing process of the node is described in combination with the distributed wireless network, and it is assumed that the nodes adopt a tree-shaped networking mode and access the network step by step according to the level, then it can be as follows Figure 5 As shown, the following process is included:
[0078] The networked node broadcasts the network configuration message in subframe 0 of the fixed radio frame within the superframe. The network configuration message carries basic configuration information such as the crystal oscillator clock accuracy of the node and the timing adjustment period of the entire network.
[0079] The non-networked node adjusts the timing deviation between itself and the parent node through the random access process, achieves initial timing synchronization, and continues to access the distributed wireless network;
[0080] The node listens to the data sent by the neighboring nodes and estimates the propagation delay value. Based on the propagation delay value, the crystal oscillator clock accuracy of the node and the neighboring nodes, and the network timing adjustment period, the node calculates the subframe type to be used when sending data to each neighboring node, and selects the subframe type with the largest GP duration as the sending subframe type of the node;
[0081] The node continuously listens to the data sent by neighboring nodes, estimates the propagation delay value, performs cumulative average processing, and then updates the local neighbor list information;
[0082] The central node starts the periodic timing synchronization process of the entire network and sends a timing calibration message to the nodes at the next lower level. The message carries the propagation delay value between the central node and the neighboring nodes at the next lower level.
[0083] After receiving the timing calibration message, the node estimates the timing deviation value based on the propagation delay value notified in the message and the propagation delay value recorded locally, and adjusts the node clock according to this deviation value to achieve timing synchronization with the parent node;
[0084] The node updates the propagation delay value recorded locally, re-evaluates the subframe type to be used when sending data to neighboring nodes, and continues to send a timing calibration message to the next level, which carries the updated propagation delay value with the next level; repeats this process until the timing synchronization of nodes in the fully distributed network and the selection of the sending subframe type are completed.
[0085] See also Figure 6 , Figure 6 A schematic diagram of the structure of a data transmission system provided in an embodiment of the present application.
[0086] A data transmission system provided in an embodiment of the present application, applied to a target node, may include:
[0087] A first acquisition module 101 is used to acquire clock jitter information of a first node, where the first node is used to receive data transmitted by a target node;
[0088] A first generating module 102, configured to generate a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node;
[0089] A first determining module 103, configured to determine a first propagation delay value between a target node and a first node;
[0090] A second generating module 104, configured to generate a data transmission deviation value between the target node and the first node according to the time offset value and the first propagation delay value;
[0091] The first determination module 105 is configured to determine a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as a target subframe, so as to transmit data to the first node based on the target subframe.
[0092] A data transmission system provided in an embodiment of the present application is applied to a target node, wherein the clock jitter information includes the crystal oscillator clock accuracy;
[0093] The first generation module may include:
[0094] A first generating unit, configured to generate a first sum of a crystal oscillator clock accuracy of a first node and a crystal oscillator clock accuracy of a target node;
[0095] A first acquisition unit, used to acquire a set network adjustment period value;
[0096] A second generating unit, used for generating a product value of the first sum value and the network adjustment period value;
[0097] The first setting unit is used to use the product value as the time offset value between the target node and the first node.
[0098] A data transmission system provided in an embodiment of the present application is applied to a target node, and the second generation module may include:
[0099] A third generating unit, used for generating a second sum of the time offset value and the first propagation delay value;
[0100] The second setting unit is used to use the second sum value as the data transmission deviation value between the target node and the first node.
[0101] A data transmission system provided in an embodiment of the present application is applied to a target node, and the first determination module may include:
[0102] A first determining unit, used to determine a unit duration value of a protection symbol;
[0103] A fourth generating unit, used to generate a ratio between the data transmission deviation value and the unit time value;
[0104] The first processing unit is used to round up the comparison value to obtain a target value;
[0105] The third setting unit is configured to use a subframe whose number of protection symbols is greater than or equal to a target number as a target subframe.
[0106] A data transmission system provided in an embodiment of the present application is applied to a target node, and the first determination module may include:
[0107] The first detection unit is used to detect whether the number of first nodes is one; if the number of first nodes is one, a subframe whose total duration value of protection symbols is greater than or equal to the data transmission deviation value is determined as a target subframe; if the number of first nodes is not one, a subframe whose total duration value of protection symbols is greater than or equal to the maximum data transmission deviation value is determined as a target subframe.
[0108] A data transmission system provided in an embodiment of the present application is applied to a target node, and a first acquisition module may include:
[0109] A second acquiring unit, configured to acquire superframe information sent by the first node;
[0110] A first parsing unit, configured to parse the fixed radio frame in the superframe information to obtain radio frame information;
[0111] The second parsing unit is used to parse the preset subframe in the wireless frame information to obtain the clock jitter information of the first node.
[0112] A data transmission system provided in an embodiment of the present application, applied to a target node, may further include:
[0113] A second acquisition module is used to acquire a second propagation delay value counted by a second node, where the second node is used to send data to a target node, and the second propagation delay value includes a propagation delay value from the target node to the second node;
[0114] A third acquisition module is used to acquire a third propagation delay value counted by the target node, where the third propagation delay value includes a propagation delay value from the second node to the target node;
[0115] A third generating module, used to generate a difference between the second propagation delay value and the third propagation delay value as a timing deviation value;
[0116] The first adjustment module is used to adjust the timing clock of the target node according to the timing deviation value so that the clock of the target node is synchronized with the clock of the second node.
[0117] The present application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the data transmission method provided in the embodiment of the present application. Figure 7 , Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0118] An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the steps of the data transmission method described in any of the above embodiments are implemented.
[0119] See also Figure 8, another electronic device provided in the embodiment of the present application may also include: an input port 203 connected to the processor 202, for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, for realizing communication between the electronic device and the outside. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (Mobile High-Definition Link, MHL), Universal Serial Bus (Universal Serial Bus, USB), High-Definition Multimedia Interface (High-DefinitionMultimedia Interface, HDMI), wireless connection: wireless fidelity technology (WIreless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.
[0120] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the data transmission method described in any of the above embodiments are implemented.
[0121] The computer-readable storage medium involved in this application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.
[0122] A computer program product provided in an embodiment of the present application includes a computer program / instruction, which, when executed by a processor, implements the steps of the data transmission method described in any of the above embodiments.
[0123] For the description of the relevant parts of a data transmission system, an electronic device, and a computer-readable storage medium provided in the embodiments of the present application, please refer to the detailed description of the corresponding parts in a data transmission method provided in the embodiments of the present application, which will not be repeated here. In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.
[0124] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0125] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data transmission method, characterized in that: Applied to the target node, including: Acquire clock jitter information of a first node, where the first node is used to receive data transmitted by the target node; Generate a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node; Determining a first propagation delay value between the target node and the first node; generating a data transmission deviation value between the target node and the first node according to the time deviation value and the first propagation delay value; A subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value is determined as a target subframe, so as to transmit data to the first node based on the target subframe.
2. The data transmission method according to claim 1, characterized in that: Clock jitter information includes crystal clock accuracy; The step of generating a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node includes: Generate a first sum of the crystal oscillator clock accuracy of the first node and the crystal oscillator clock accuracy of the target node; Get the set network adjustment period value; generating a product value of the first sum value and the network adjustment period value; The product value is used as the time offset value between the target node and the first node.
3. The data transmission method according to claim 2, characterized in that: The step of generating a data transmission deviation value between the target node and the first node according to the time deviation value and the first propagation delay value includes: generating a second sum of the time offset value and the first propagation delay value; The second sum value is used as the data transmission deviation value between the target node and the first node.
4. The data transmission method according to claim 3, characterized in that: The step of determining a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as a target subframe includes: Determine the unit duration value of the protection symbol; generating a ratio between the data transmission deviation value and the unit time value; Rounding the ratio upwards to obtain a target value; A subframe whose number of protection symbols is greater than or equal to the target number is taken as a target subframe.
5. The data transmission method according to claim 3, characterized in that: The step of determining a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as a target subframe includes: detecting whether the number of the first nodes is one; If the number of the first node is one, determining a subframe whose total duration value of the protection symbol is greater than or equal to the data transmission deviation value as a target subframe; If the number of the first nodes is not one, a subframe whose total duration value of protection symbols is greater than or equal to the maximum data transmission deviation value is determined as a target subframe.
6. The data transmission method according to claim 1, characterized in that: The acquiring the clock jitter information of the first node includes: Obtaining superframe information sent by the first node; Parsing the fixed radio frame in the superframe information to obtain radio frame information; The preset subframe in the wireless frame information is parsed to obtain clock jitter information of the first node.
7. The data transmission method according to any one of claims 1 to 6, characterized in that: Also includes: Acquire a second propagation delay value counted by a second node, where the second node is used to send data to the target node, and the second propagation delay value includes a propagation delay value from the target node to the second node; Acquire a third propagation delay value counted by the target node, where the third propagation delay value includes a propagation delay value from the second node to the target node; generating a difference between the second propagation delay value and the third propagation delay value as a timing deviation value; The timing clock of the target node is adjusted according to the timing deviation value so that the clock of the target node is synchronized with the clock of the second node.
8. A data transmission system, characterized in that: Applied to the target node, including: A first acquisition module, used to acquire clock jitter information of a first node, where the first node is used to receive data transmitted by the target node; A first generating module, configured to generate a time offset value between the target node and the first node according to the clock jitter information of the first node and the clock jitter information of the target node; A first determining module, configured to determine a first propagation delay value between the target node and the first node; A second generating module, configured to generate a data transmission deviation value between the target node and the first node according to the time offset value and the first propagation delay value; The first determination module is configured to determine a subframe whose total duration value of a protection symbol is greater than or equal to the data transmission deviation value as a target subframe, so as to transmit data to the first node based on the target subframe.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the data transmission method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data transmission method according to any one of claims 1 to 7 are implemented.