Data transmission method, terminal, equipment and storage medium

By estimating the maximum delay and feedback time of data packet arrival at the terminal, ensuring the sequential transmission of data packets in the 5G network, solving the problem of unstable data packet reception under the integrated deployment of 5G network and industrial ring network, and realizing the wireless conditions The sequential reception effect of industrial ring wired networking.

CN119276436AActive Publication Date: 2025-01-07CHINA MOBILE COMM LTD RES INST +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310835011.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-07
Publication Date
2025-01-07
Estimated Expiration
2043-07-07

AI Technical Summary

Technical Problem

In the environment where 5G networks and industrial ring networks are integrated, the sequential sending of feedback packets cannot be achieved, resulting in unstable packet reception and confusing reception sequence.

Method used

By estimating the maximum delay of the data packets reaching each terminal when transmitting data packets between the terminal and the network device, and determining the sending time of the feedback packets based on the feedback time of different terminals, ensuring that the data packets are subject to a certain delay interval Sentially sent.

Benefits of technology

The sequential reception effect of industrial ring wired networking under wireless conditions is achieved, allowing the 5G network to be deeply integrated with industrial protocols to ensure the stability and consistency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276436A_ABST
    Figure CN119276436A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method. The method comprises the following steps: network equipment sends a first data packet to a first terminal and at least two second terminals; the first terminal and the at least two second terminals form a looped network; the first terminal receives the first data packet; the first data packet comprises the sending time of the first data packet and the maximum time delay, estimated by the network equipment, of the first data packet reaching each terminal in the looped network; the first terminal determines the feedback time of the feedback data packet at least based on the maximum time delay and the sending time; the feedback time corresponding to each terminal in the looped network is different; the first terminal sends a feedback data packet to the network equipment according to the feedback time; the network equipment receives feedback data packets sent by each terminal in the looped network at different feedback time; the network equipment generates a second data packet based on the feedback data packet sent by each terminal; and the network equipment sends the second data packet to the controller. The invention further discloses a first terminal, network equipment and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the field of communications, and in particular to a data transmission method, a first terminal, a network device, and a computer-readable storage medium. Background Art

[0002] At present, when the fifth generation mobile communication technology (5G) is used for networking, a star-shaped networking architecture is naturally formed between the base station and each terminal. In the above star-shaped networking architecture, the base station can broadcast and send data packets to each terminal, or the base station can also send data packets to each terminal one by one.

[0003] In some environments where 5G networks need to be deployed in integration with industrial ring networks, it is not possible to send feedback data packets to the base station sequentially. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, a first terminal, a network device, and a computer-readable storage medium.

[0005] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a first terminal, where the first terminal and at least two second terminals form a ring network, and the method includes:

[0006] Receive a first data packet sent by a network device; wherein the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network;

[0007] Determine, based at least on the maximum delay and the sending time, a feedback time at which the first terminal sends a feedback data packet to the network device; wherein the feedback time corresponding to each terminal in the ring network is different;

[0008] Sending the feedback data packet to the network device according to the feedback time.

[0009] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a network device, and the method includes:

[0010] Sending a first data packet to a first terminal and at least two second terminals; wherein the first terminal and the at least two second terminals form a ring network; the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network;

[0011] Receiving feedback data packets sent by each terminal in the ring network at different feedback times; the feedback time corresponding to each terminal in the ring network is different;

[0012] generating a second data packet based on the feedback data packet sent by each terminal;

[0013] The second data packet is sent to the controller.

[0014] In a third aspect, an embodiment of the present application provides a first terminal, wherein the first terminal and at least two second terminals form a ring network, and the first terminal includes:

[0015] A first receiving module, configured to receive a first data packet sent by a network device; wherein the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for each terminal in the ring network to receive the first data packet;

[0016] A first processing module, configured to determine a feedback time for the first terminal to send a feedback data packet to the network device based at least on the maximum delay and the sending time; wherein the feedback time corresponding to each terminal in the ring network is different;

[0017] The first sending module is used to send the feedback data packet to the network device according to the feedback time.

[0018] In a fourth aspect, an embodiment of the present application provides a network device, the network device comprising:

[0019] A second sending module is used to send a first data packet to a first terminal and at least two second terminals; wherein the first terminal and the at least two second terminals form a ring network; the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network;

[0020] A second receiving module is used to receive feedback data packets sent by each terminal in the ring network at different feedback times; the feedback time corresponding to each terminal in the ring network is different;

[0021] A second processing module, configured to generate a second data packet based on the feedback data packet sent by each terminal;

[0022] The second sending module is used to send the second data packet to the controller.

[0023] In a fifth aspect, an embodiment of the present application provides a first terminal, wherein the first terminal includes:

[0024] A first memory, used to store executable instructions;

[0025] The first processor is used to implement the above-mentioned data transmission method when executing the executable instructions stored in the first memory.

[0026] In a sixth aspect, an embodiment of the present application provides a network device, the network device comprising:

[0027] A second memory, used for storing executable instructions;

[0028] The second processor is used to implement the above-mentioned data transmission method when executing the executable instructions stored in the second memory.

[0029] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, which enables a computer to execute the above-mentioned data transmission method.

[0030] The present application discloses a data transmission method, a first terminal, a network device and a computer-readable storage medium, the method comprising: the network device sends a first data packet to the first terminal and at least two second terminals; the first terminal and at least two second terminals form a ring network; the first terminal receives the first data packet; the first data packet includes the sending time of the first data packet and the maximum delay of the first data packet estimated by the network device to reach each terminal in the ring network; the first terminal determines the feedback time of the feedback data packet based on at least the maximum delay and the sending time; the feedback time corresponding to each terminal in the ring network is different; the first terminal sends a feedback data packet to the network device according to the feedback time; the network device receives the feedback data packets sent by each terminal in the ring network at different feedback times; the network device generates a second data packet based on the feedback data packet sent by each terminal; the network device sends the second data packet to the controller. That is to say, in the environment where some 5G networks need to be integrated and deployed with the industrial ring network, the terminal of the present application controls the feedback data packets according to different delays and sends them in a certain delay interval sequence, so as to achieve the sequential reception effect of the industrial ring wired networking under wireless conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of a communication system according to an embodiment of the present application;

[0032] Figure 2A A topological diagram of an industrial ring network in the related technology;

[0033] Figure 2B A flowchart of a data transmission method provided in the related art;

[0034] Figure 3 A flowchart of a data transmission method provided in an embodiment of the present application;

[0035] Figure 4A schematic diagram of functional modules of a base station provided in an embodiment of the present application;

[0036] Figure 5 A schematic diagram of multiple feedback data packets provided in an embodiment of the present application;

[0037] Figure 6 A schematic diagram of a mapping relationship table of addresses, receiving identifiers and data packets provided in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of a second data packet provided in an embodiment of the present application;

[0039] Figure 8 A second flowchart of a data transmission method provided in an embodiment of the present application;

[0040] Fig. 9 A schematic block diagram of a first terminal provided in an embodiment of the present application;

[0041] Fig.10 A schematic block diagram of a network device provided in an embodiment of the present application;

[0042] Fig.11 A schematic structural diagram of a communication device provided in an embodiment of the present application;

[0043] Fig.12 A schematic block diagram of a communication system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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.

[0045] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present application.

[0046] like Figure 1 As shown, the wireless communication system 100 may include a terminal device 110 and a network device 120. The network device 120 may communicate with the terminal device 110 via an air interface. The terminal device 110 and the network device 120 support multi-service transmission.

[0047] It should be understood that the embodiments of the present application are only exemplified by the wireless communication system 100, but the embodiments of the present application are not limited thereto. That is to say, the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Internet of Things (IoT) system, Narrow Band Internet of Things (NB-IoT) system, enhanced Machine Type Communications (eMTC) system, 5G communication system (also called New Radio (NR) communication system), or future communication systems, etc.

[0048] exist Figure 1 In the wireless communication system 100 shown, the network device 120 may be an access network device that communicates with the terminal device 110. The access network device may provide communication coverage for a specific geographical area, and may communicate with the terminal device 110 (eg, user equipment (UE)) located in the coverage area.

[0049] The network device 120 may be an evolved Node B (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a Next Generation Radio Access Network (NG RAN) device, or a base station (gNB) in an NR system, or a wireless controller in a Cloud Radio Access Network (CRAN), or the network device 120 may be a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, or a network device in a future evolved Public Land Mobile Network (PLMN), etc.

[0050] The wireless terminal device 110 includes but is not limited to any terminal device connected to the network device 120 or other terminal devices by wire or wireless connection.

[0051] For example, the terminal device 110 may refer to an access terminal, UE, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, an IoT device, a satellite handheld terminal, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future evolution network, etc.

[0052] The terminal device 110 may be used for device-to-device (D2D) communication.

[0053] Figure 1 One base station and two UEs are shown exemplarily. Optionally, the wireless communication system 100 may include multiple base station devices and each base station may include another number of UEs within its coverage area, which is not limited in the embodiments of the present application.

[0054] It should be noted that Figure 1It is only to illustrate the system to which the present application is applicable in the form of an example. Of course, the method shown in the embodiment of the present application can also be applied to other systems. In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. It should also be understood that the "indication" mentioned in the embodiment of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, B can be obtained through C; it can also mean that there is an association relationship between A and B. It should also be understood that the "correspondence" mentioned in the embodiment of the present application can mean that there is a direct or indirect correspondence relationship between the two, or it can mean that there is an association relationship between the two, or it can mean that there is an indication and being indicated, configuration and being configured, etc. It should also be understood that the "predefined" or "predefined rules" mentioned in the embodiments of the present application can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices), and the present application does not limit its specific implementation method. For example, predefined may refer to the definition in the protocol. It should also be understood that in the embodiments of the present application, the "protocol" may refer to a standard protocol in the field of communications, such as LTE protocols, NR protocols, and related protocols used in future communication systems, and the present application does not limit this.

[0055] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0057] Before explaining this application, the data transmission method under the architecture of industrial ring networking in the related art is described here:

[0058] In the current industrial field, due to the similarities between the protocols dominated by various companies during the development period, the networking methods supported by different protocols are also different. Figure 2A It is a topological diagram of industrial ring networking in related technologies. Figure 2AAs shown, the master controller (MASTER) combines the identifiers of all receiving ends on the ring, such as slave devices (SLAVE) 1, SLAVE 2, SLAVE 3, SLAVE 4, SLAVE 5 and SLAVE 6, and the data payload (Payload) into a large packet, and sequentially polls all receiving ends on the ring. The receiving end extracts relevant data according to the identifier and updates the data that needs to be fed back to the corresponding position.

[0059] Figure 2B It is a flowchart of a data transmission method provided in the related technology. Figure 2B As shown, the main controller sends the first data packet; wherein the first data packet includes a packet header, A, B, C and D; the first data packet passes through receiving end 1, receiving end 2, receiving end 3 and receiving end 4 in sequence; after the first data packet passes through receiving end 1, A is updated; after the data packet that has passed through receiving end 1 passes through receiving end 2, B is updated; after the data packet that has passed through receiving end 2 passes through receiving end 3, C is updated; after the data packet that has passed through receiving end 3 passes through receiving end 4, D is updated; and finally receiving end 4 returns the final data packet to the main controller.

[0060] With the development of 5G, there are scenarios of 5G network and industrial deployment. In the environment where some 5G networks need to be integrated with industrial ring networks, if the base station broadcasts data packets to each terminal, due to the different network status and capabilities of different terminals, the time when each terminal receives the data packet is different, and the time when the feedback data packet is generated may also be different. In this way, the time when each terminal sends the feedback data packet is not fixed, which may cause two terminals to send feedback data packets to the base station at the same time. If the base station sends data packets to each terminal one by one, after the base station sends the data packet to the first terminal, the first terminal receives the data packet and transmits the feedback data packet back to the base station through the air interface, the base station generally determines the next terminal to receive the data packet in a random manner; that is, the order in which the base station sends data packets to each terminal is not fixed, and the order in which each terminal sends feedback data packets is also not fixed.

[0061] It should be noted that at this stage, under the architecture of industrial wired ring networking, according to the requirements of relevant industrial protocols such as Ethercat, the data payload in the data packet in the main controller is arranged in sequence; then, the ordered data packets sent by the main controller are polled sequentially to all receiving ends on the ring, and each receiving end updates the data it needs to feedback to the corresponding position of the data packet. Furthermore, the updated data packets received by the main controller are also in sequence. In order to deeply integrate and implement wireless ring networking with relevant industrial protocols, in the case of wireless ring networking, such logic should not be modified or adapted, and it is necessary to implement the sequential reception of data packets under wireless networking conditions.

[0062] Figure 3 A flow chart of an information transmission method provided in an embodiment of the present application is as follows: Figure 3 As shown, this method is applied to Figure 1 The communication system 100 shown, the method includes:

[0063] Step 301: A network device sends a first data packet to a first terminal and at least two second terminals.

[0064] The first terminal and at least two second terminals form a ring network.

[0065] In the embodiment of the present application, the first terminal and at least two second terminals, namely Figure 1 The terminal device 110 is a terminal device located in the communication coverage area of ​​the network device; the first terminal and at least two second terminals form a ring network, which may refer to the first terminal and at least two second terminals being connected to form a ring network through a network cable; wherein the network cable includes but is not limited to twisted pair cables, coaxial cables and optical fiber cables.

[0066] In the embodiment of the present application, the first data packet includes the identification of the first terminal and at least two second terminals, and the data payload required by the first terminal and at least two second terminals. Here, each terminal has unique identification information. The identification information includes color identification, graphic identification, text identification, digital identification, location identification, etc. Different terminals can use the same type of identification information; of course, the types of identification information of different terminals may not be exactly the same, or the types of identification information of different terminals may be completely different.

[0067] Exemplarily, the identification of the terminal includes, but is not limited to, an Internet Protocol (IP) address of the terminal and a Media Access Control (MAC) address of the terminal.

[0068] In the embodiment of the present application, the first data packet is sent in the following ways: in-band, out-of-band, media, signaling, data, message, control plane, user plane, etc. Among them, the network device can send the first data packet through an existing media channel, or a one-to-many multicast or broadcast communication channel. Sending the first data packet through the existing media channel is better compatible with the existing system and reduces the cost of system modification. Sending the first data packet through a one-to-many multicast or broadcast communication channel effectively reduces the number of data packets sent.

[0069] In the embodiment of the present application, the first data packet may be a non-first data packet of the first data stream, or may be the first data packet of the first data stream.

[0070] Step 302: The first terminal receives a first data packet sent by a network device.

[0071] The first data packet includes the sending time of the first data packet and the maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network.

[0072] In the embodiment of the present application, the maximum delay of the first data packet estimated by the network device to reach each terminal in the ring network refers to the round-trip time (RTT) of the first data packet from being sent to passing through the network until being received.

[0073] Step 303: The first terminal determines a feedback time for sending a feedback data packet to the network device based at least on the maximum delay and the sending time.

[0074] Among them, the feedback time corresponding to each terminal in the ring network is different.

[0075] In the embodiment of the present application, after the first terminal receives the first data packet, the first terminal updates the data payload corresponding to the first terminal in the first data packet to obtain a feedback data packet.

[0076] In an embodiment of the present application, the first terminal determines the feedback time for each terminal to send a feedback data packet to the network device based on the maximum delay of the first data packet estimated by the network device to reach each terminal in the ring network and the sending time of the first data packet; and then, according to the feedback time corresponding to each terminal, the feedback time corresponding to the first terminal is determined.

[0077] Step 304: The first terminal sends a feedback data packet to the network device according to the feedback time.

[0078] In the embodiments of the present application, the feedback data packet is sent in the following ways: in-band, out-of-band, media, signaling, data, message, control plane, user plane, etc.

[0079] In an embodiment of the present application, the feedback data packet sent by the first terminal includes the identifiers of the first terminal and at least two second terminals, the updated data payload corresponding to the first terminal, and the non-updated data payload corresponding to at least two second terminals.

[0080] Step 305: The network device receives feedback data packets sent by each terminal in the ring network at different feedback times.

[0081] Step 306: The network device generates a second data packet based on the feedback data packet sent by each terminal.

[0082] In the embodiment of the present application, the network device receives a data packet sent by each terminal, combines at least three feedback data packets, and obtains a second data packet.

[0083] In the embodiment of the present application, the second data packet includes an identifier of each terminal and an updated data payload corresponding to each terminal.

[0084] Step 307: The network device sends a second data packet to the controller.

[0085] In the embodiment of the present application, the second data packet is sent in the following ways: in-band, out-of-band, media, signaling, data, message, control plane, user plane, etc.

[0086] In the embodiment of the present application, the controller may be an independent device connected to the network device, or may be a functional module in the network device.

[0087] Here, the controller refers to the main controller in the industrial ring network. It should be noted that if the main controller is a physical entity, it accesses the network through a 5G module; if the main controller is cloud-based and deployed on the network server, when the trigger data is sent to the receiving end, the base station will copy the data packet and broadcast it to the receiving end.

[0088] The present application discloses a data transmission method, which includes: a network device sends a first data packet to a first terminal and at least two second terminals; the first terminal and at least two second terminals form a ring network; the first terminal receives the first data packet; the first data packet includes the sending time of the first data packet and the maximum delay of the first data packet estimated by the network device to reach each terminal in the ring network; the first terminal determines the feedback time of the feedback data packet based on at least the maximum delay and the sending time; the feedback time corresponding to each terminal in the ring network is different; the first terminal sends a feedback data packet to the network device according to the feedback time; the network device receives the feedback data packets sent by each terminal in the ring network at different feedback times; the network device generates a second data packet based on the feedback data packet sent by each terminal; the network device sends the second data packet to the controller. That is to say, in the environment where some 5G networks need to be integrated and deployed with the industrial ring network, the terminal of the present application controls the feedback data packets according to different delays and sends them in a certain delay interval sequence, so as to achieve the sequential reception effect of the industrial ring wired network under wireless conditions.

[0089] Furthermore, in an environment where some 5G networks need to be deployed in integration with industrial ring networks, the sequential reception effect of industrial ring wired networking can be achieved under 5G wireless conditions, giving 5G the opportunity to be deeply integrated with industrial protocols in the future.

[0090] In some embodiments, step 303, the first terminal determines the feedback time at which the first terminal sends the feedback data packet to the network device based at least on the maximum delay and the sending time, which can be implemented by the following steps:

[0091] Step A1: The first terminal determines the receiving time corresponding to each terminal based on the maximum delay and the sending time of each terminal receiving the first data packet.

[0092] In the embodiment of the present application, the first terminal determines the receiving time of each terminal based on the maximum delay corresponding to each terminal and the sending time of the first data packet. Here, the receiving time can be understood as the receiving time corresponding to each terminal. The receiving time here refers to the difference in receiving time corresponding to each terminal.

[0093] For example, each terminal in the ring network includes terminal A and terminal C in terminal B; the maximum delay corresponding to terminal A is 5 minutes, the maximum delay corresponding to terminal B is 15 minutes, and the maximum delay corresponding to terminal C is 8 minutes; the base station sends the first data packet to terminal A at 8 o'clock; then the corresponding receiving time of terminal A is 8:05, the corresponding receiving time of terminal B is 8:15, and the corresponding receiving time of terminal C is 8:08.

[0094] For example, each terminal in the ring network includes terminal A, terminal B and terminal C; the maximum delay corresponding to terminal A is 5 minutes, the maximum delay corresponding to terminal B is 15 minutes, and the maximum delay corresponding to terminal C is 8 minutes; the base station sends the first data packet to terminal A at 8 o'clock; the base station sends the first data packet to terminal B at 8:05; the base station sends the first data packet to terminal C at 8:10; then the corresponding receiving time of terminal A is 8:05; the corresponding receiving time of terminal B is 8:25, and the corresponding receiving time of terminal C is 8:18.

[0095] Step A2: The first terminal determines the feedback order in which each terminal sends feedback data packets to the network device based on the receiving time.

[0096] Among them, the feedback sequence corresponding to each terminal in the ring network is different.

[0097] Exemplarily, taking each terminal in the ring network including terminal A, terminal B and terminal C as an example; the feedback order of each terminal sending feedback data packets to the network device can be terminal A->terminal C->terminal B; or terminal B->terminal C->terminal A.

[0098] Step A3: The first terminal determines a feedback time corresponding to the first terminal based on a feedback sequence corresponding to each terminal and a preset time interval between adjacent feedback sequences.

[0099] In the embodiment of the present application, the preset time interval between adjacent feedback sequences can be preset according to the actual application scenario, or can be uniformly preset by the system. For example, the time interval can be sent once every 5 minutes, or once every 10 minutes.

[0100] Exemplarily, each terminal in the ring network includes terminal A, terminal B and terminal C; the sending time of the first data packet is 9 o'clock, and it is determined that terminal A, terminal B and terminal C all received the first data packet at 9:02; further, the feedback order corresponding to each terminal is terminal A->terminal C->terminal B, and the time interval can be sent every 5 minutes, then, the corresponding feedback time of terminal A is 9:07; the corresponding feedback time of terminal C is 9:12, and the corresponding feedback time of terminal B is 9:17.

[0101] In some embodiments, step A2, the first terminal sending the first data packet to the first terminal and at least two second terminals, can be implemented by the following steps:

[0102] Step A21: When the receiving times corresponding to the first terminal and the second terminal are the same, the first terminal determines the ring network sequence corresponding to each terminal based on the position of each terminal in the ring network.

[0103] Step A22: The first terminal determines a feedback sequence corresponding to each terminal based on the receiving time and the ring network sequence corresponding to each terminal.

[0104] Exemplarily, take that each terminal in the ring network includes terminal A, terminal B, terminal C and terminal D; the ring network order corresponding to each terminal is terminal A->terminal B->terminal C->terminal D; for example, when the receiving time of terminal A and terminal B is the same, the feedback order of terminal A and terminal B can be re-determined according to the ring network order of terminal A and terminal B.

[0105] In some embodiments, step 305, the network device sends a first data packet to the first terminal and at least two second terminals, which can be implemented through steps B1 to B3, and can also be implemented through step B4:

[0106] Step B1: The network device determines the ring network sequence corresponding to each terminal based on the position of each terminal in the ring network.

[0107] In the embodiment of the present application, the position of each terminal in the ring network indicates the position of each terminal in the ring network connection.

[0108] For example, each terminal in the ring network includes terminal A, terminal B, terminal C and terminal D; the ring network connection of each terminal is connected in the order of main controller, terminal A, terminal B, terminal C, terminal D, and then to the main controller. Then, the ring network order corresponding to each terminal is terminal A->terminal B->terminal C->terminal D.

[0109] Furthermore, after determining the ring network sequence corresponding to each terminal, the network device may send the first data packet to the first terminal based on the determined ring network sequence corresponding to each terminal.

[0110] For example, each terminal in the ring network includes terminal A, terminal B, terminal C and terminal D; if the ring network order corresponding to each terminal is terminal A->terminal B->terminal C->terminal D, then the order in which the network device sends the first data packet is also terminal A->terminal B->terminal C->terminal D.

[0111] Step B2: The network device sends a first data packet to the first terminal.

[0112] Step B3: After the network device receives the feedback data packet sent by the first terminal, the network device sends the first data packet to the second terminal.

[0113] The ring network sequence of the first terminal is before the ring network sequence of the second terminal.

[0114] In an embodiment of the present application, the base station sends to the receiving end in a wired order; that is, after receiving the feedback data packet returned by the previous terminal, such as an acknowledgment character (ACK), the base station side triggers the transmission of the next terminal to ensure sequential triggering.

[0115] In the embodiment of the present application, the base station sends packets sequentially so that the data packets arrive at each receiving end in sequence; and after receiving each feedback data packet transmitted back to the base station by the previous receiving end through the air interface, the data packet is sent to the next receiving end, thereby sending the feedback data packets to the base station in sequence.

[0116] Step B4: The network device broadcasts the first data packet to the first terminal and at least two second terminals.

[0117] In some embodiments, step 306, the network device generates a second data packet based on the feedback data packet sent by each terminal, which can be implemented by the following steps:

[0118] Step C1: Obtain the terminal identification of each terminal.

[0119] In the embodiment of the present application, each terminal has unique identification information. The identification information includes color identification, graphic identification, text identification, digital identification, location identification, etc. Different terminals can use the same type of identification information; of course, the types of identification information of different terminals may not be exactly the same, or the types of identification information of different terminals may be completely different.

[0120] Exemplarily, the identification of the terminal includes but is not limited to the IP address of the terminal and the MAC address of the terminal.

[0121] Step C2: Compare the feedback data packet sent by each terminal with the first data packet to obtain updated payload data in each feedback data packet.

[0122] The first data packet includes the payload data corresponding to each terminal.

[0123] Step C3: assemble the updated payload data according to the terminal identifier to obtain a second data packet.

[0124] Figure 4 Schematic diagram of the functional modules of a base station provided in an embodiment of the present application. Figure 4 As shown, the base station includes a 5G communication module, a data processing module and a diversion function module; wherein the 5G communication module is used for network communication with the terminal device.

[0125] In the embodiment of the present application, different receiving ends complete the data extraction required by them after receiving the data, and update the information that needs to be fed back to the main controller to the corresponding position, and then return the packet, that is, the feedback data packet, to the base station side. Figure 4 The built-in diversion function module and data processing module of the central base station parse the packet, and extract the corresponding update position information according to the source of the packet, and form a completed data packet, that is, the second data packet, which is fed back to the main controller.

[0126] It should be noted that when the feedback data packet returns to the base station, since different receiving ends do not exchange data, the returned feedback data packet only updates part of the return packet. At this time, the return address of the feedback data packet needs to be changed from the next receiving end address in the wired mode to the data processing module address or main controller address on the base station side.

[0127] It should be noted that Figure 5 is a schematic diagram of a feedback data packet returned by a terminal provided in the present application. Figure 5 Each row in represents each feedback data packet returned by the terminal; the feedback data packet includes a packet header, an identifier corresponding to the receiving end, such as a receiving 1 identifier, a receiving 2 identifier, a receiving 3 identifier, and a receiving 4 identifier, and data corresponding to each receiving end, such as data 1, data 2, data 3, and data 4. The shaded portion in each row represents the portion updated by the receiving end.

[0128] In the embodiment of the present application, after the feedback data packet is returned to the base station, it is necessary to determine which receiving end the returned feedback data packet is returned to through the receiving end information, such as IP address, MAC address and other information, and then determine which receiving end the returned feedback data packet is returned to based on the mapping relationship between the terminal address and the data packet identifier. It should be noted that Figure 6 This application provides a mapping table of addresses, receiving identifiers, and data packets. Figure 6 As shown, the terminal address table includes terminal address 1, terminal address 2, terminal address 3 and terminal address 4; the data packet identification table includes data packet identification 1, data packet identification 2, data packet identification 3 and data packet identification 4; and the data packets include data packet 1, data packet 2, data packet 3 and data packet 4. Among them, the terminal address 1, data packet identification 1 and data packet 1 correspond; the receiving 1 identification and 1 data are separated from data packet 1; the terminal address 2, data packet identification 2 and data packet 2 correspond; the receiving 2 identification and 2 data are separated from data packet 2; the terminal address 3, data packet identification 3 and data packet 3 correspond; the receiving 3 identification and 3 data are separated from data packet 3; the terminal address 4, data packet identification 4 and data packet 4 correspond; the receiving 4 identification and 4 data are separated from data packet 4. Further, the base station combines the separated receiving identification and data to obtain the following Figure 7 The data packet shown in the figure will be Figure 7 The data packet shown is returned to the host controller.

[0129] It should be noted that the receiving end identifier is a special identifier of the industrial Ethernet protocol, and the traditional wired process does not have the ability to parse it. After completing the data packet parsing and clarifying the corresponding position of this packet modification, it is necessary to extract and combine the data containing the identifier and the data payload to form the final second data packet.

[0130] In some embodiments, the method provided in the embodiments of the present application includes the following contents:

[0131] Step D1: The network device estimates the maximum delay of each terminal in the ring network receiving the first data packet.

[0132] In some embodiments, step D1, the network device estimates the maximum delay of each terminal in the ring network receiving the first data packet, can be implemented through steps D11 to D12, or through steps D13 to D14:

[0133] Step D11: The network device obtains a first parameter in each terminal that can affect each terminal from receiving a first data packet.

[0134] The first parameter includes the distance between each terminal and the network device, the network status of each terminal, and the packet capacity of each terminal.

[0135] In the embodiment of the present application, the network status of each terminal includes but is not limited to the signal to interference plus noise ratio (SINR) of each terminal and the reference signal receiving power (RSRP) of each terminal.

[0136] Step D12: The network device determines the maximum delay based on the first parameter.

[0137] In the embodiment of the present application, the base station estimates the maximum delay for the packet to reach each receiving end based on the network status, the distance between the terminal and the base station, and the packet time at each level, and sends the sending time and the estimated receiving time to the terminal along with the data packet. The terminal sends the packets in sequence at certain time intervals based on the estimated maximum delay, sending time, and the ring network sequence, thereby achieving the effect of wired ring network reception.

[0138] Step D13: The network device obtains a reception delay of the first terminal receiving the third data packet.

[0139] The third data packet is the last data packet received by each terminal before receiving the first data packet.

[0140] Step D14: The network device determines the maximum delay based on the receiving delay.

[0141] In the embodiment of the present application, the network device may use the reception delay of the previous data packet as the reception delay of the next data packet.

[0142] Figure 8 It is a flowchart of a data transmission method provided by the present application. The main controller broadcasts a first data packet to receiving terminals 1, 2, 3 and 4 through a base station; the first data packet includes a header, A, B, C and D; after receiving the first data packet, receiving terminal 1 updates A in the first data packet, and sends a feedback data packet with updated A to the base station at the first trigger time; after receiving the first data packet, receiving terminal 2 updates B in the first data packet, and sends a feedback data packet with updated B to the base station at the second trigger time; after receiving the first data packet, receiving terminal 3 updates C in the first data packet, and sends a feedback data packet with updated C to the base station at the third trigger time; after receiving the first data packet, receiving terminal 4 updates D in the first data packet, and sends a feedback data packet with updated D to the base station at the fourth trigger time; the base station collects the data packets fed back by each receiving terminal, and extracts and combines the updated part in the data packet to form the final second data packet; and the base station returns the second data packet to the main controller. Here, the first trigger time, the second trigger time, the third trigger time and the fourth trigger time are different; sending feedback data packets at different trigger times realizes the sequential reception effect of industrial ring wired networking under wireless conditions.

[0143] The embodiment of the present application provides a first terminal, which forms a ring network with at least two second terminals. The first terminal can be used to implement Figure 3 A data transmission method provided by a corresponding embodiment, referring to Fig. 9 As shown, the first terminal 90 includes:

[0144] The first receiving module 901 is used to receive a first data packet sent by a network device; wherein the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network;

[0145] A first processing module 902 is used to determine a feedback time for the first terminal to send a feedback data packet to the network device based at least on the maximum delay and the sending time; wherein the feedback time corresponding to each terminal in the ring network is different;

[0146] The first sending module 903 is used to send a feedback data packet to the network device according to the feedback time.

[0147] In other embodiments of the present application, the first processing module 902 is used to determine the receiving time corresponding to each terminal based on the maximum delay and the sending time of each terminal receiving the first data packet;

[0148] The first processing module 902 is used to determine the feedback order of each terminal sending feedback data packets to the network device based on the receiving time; wherein the feedback order corresponding to each terminal in the ring network is different;

[0149] The first processing module 902 is configured to determine a feedback time corresponding to a first terminal based on a feedback sequence corresponding to each terminal and a preset time interval between adjacent feedback sequences.

[0150] In other embodiments of the present application, the first processing module 902 is used to determine the ring network sequence corresponding to each terminal based on the position of each terminal in the ring network when the reception time corresponding to the first terminal and the second terminal is the same;

[0151] The first processing module 902 is used to determine the feedback sequence corresponding to each terminal based on the receiving time and the ring network sequence corresponding to each terminal.

[0152] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0153] It should be noted that, in the embodiment of the present application, if the above-mentioned data transmission method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions for a terminal device to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0154] The embodiment of the present application provides a network device, which can be used to implement Figure 3 A data transmission method provided by a corresponding embodiment, referring to Fig.10 As shown, the network device 100 includes:

[0155] The second sending module 1001 is used to send a first data packet to a first terminal and at least two second terminals; wherein the first terminal and the at least two second terminals form a ring network; the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network;

[0156] The second receiving module 1002 is used to receive feedback data packets sent by each terminal in the ring network at different feedback times; the feedback time corresponding to each terminal in the ring network is different;

[0157] A second processing module 1003, configured to generate a second data packet based on the feedback data packet sent by each terminal;

[0158] The second sending module 1001 is used to send a second data packet to the controller.

[0159] In other embodiments of the present application, the second sending module 1001 is further configured to broadcast the first data packet to the first terminal and at least two second terminals.

[0160] In other embodiments of the present application, the second processing module 1003 is used to determine the ring network sequence corresponding to each terminal based on the position of each terminal in the ring network;

[0161] The second sending module 1001 is used to send a first data packet to the first terminal;

[0162] The second sending module 1001 is used to send a first data packet to a second terminal after the network device receives a feedback data packet sent by the first terminal; wherein the ring network sequence of the first terminal is before the ring network sequence of the second terminal.

[0163] In other embodiments of the present application, the second processing module 1003 is used to estimate the maximum delay of each terminal in the ring network receiving the first data packet.

[0164] In other embodiments of the present application, the second acquisition module 1004 is used to acquire a first parameter in each terminal that can affect each terminal receiving the first data packet; wherein the first parameter includes the distance between each terminal and the network device, the network status of each terminal, and the packet capacity of each terminal;

[0165] The second processing module 1003 is further configured to determine a maximum delay based on the first parameter.

[0166] In other embodiments of the present application, the second acquisition module 1004 is used to acquire a reception delay of the first terminal receiving a third data packet; the third data packet is a previous data packet received by each terminal before receiving the first data packet;

[0167] The second processing module 1003 is further configured to determine a maximum delay based on the receiving delay.

[0168] In other embodiments of the present application, the second acquisition module 1004 is used to acquire a terminal identification of each terminal;

[0169] The second processing module 1003 is further used to compare the feedback data packet sent by each terminal with the first data packet to obtain updated payload data in each feedback data packet; wherein the first data packet includes payload data corresponding to each terminal;

[0170] The second processing module 1003 is further configured to assemble updated payload data according to the terminal identifier to obtain a second data packet.

[0171] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0172] It should be noted that in the embodiments of the present application, if the above-mentioned data transmission method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including a number of instructions for a terminal device to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a magnetic disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0173] Fig.11 1 is a schematic structural diagram of a communication device 1100 provided in an embodiment of the present application. The communication device may be a first terminal or a network device. Fig.11 The communication device 1100 shown includes a first processor 1110, and the first processor 1110 can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0174] Alternatively, if Fig.11 As shown, the communication device 1100 may further include a first memory 1120. The first processor 1110 may call and run a computer program from the first memory 1120 to implement the method in the embodiment of the present application.

[0175] The first memory 1120 may be a separate device independent of the first processor 1110 , or may be integrated into the first processor 1110 .

[0176] Alternatively, if Fig.11 As shown, the communication device 1100 may further include a transceiver 1130, and the first processor 1111 may control the transceiver 1130 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0177] The transceiver 1130 may include a transmitter and a receiver. The transceiver 1130 may further include an antenna, and the number of the antennas may be one or more.

[0178] Optionally, the communication device 1100 may specifically be a network device of an embodiment of the present application, and the communication device 1100 may implement corresponding processes implemented by the network device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0179] Optionally, the communication device 1100 may specifically be the first terminal of the embodiment of the present application, and the communication device 1100 may implement the corresponding processes implemented by the first terminal in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0180] Fig.12 1 is a schematic block diagram of a communication system 1200 provided in an embodiment of the present application. Fig.12 As shown, the communication system 1200 includes a network device 120 and a terminal device 110 .

[0181] Among them, the network device 120 can be used to implement the corresponding functions implemented by the network device in the above method, and the terminal device 110 can be used to implement the corresponding functions implemented by the first terminal in the above method. For the sake of brevity, they will not be repeated here.

[0182] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0183] As an embodiment, the processor may include one or more general-purpose central processing units (CPUs). Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer execution instructions).

[0184] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a ROM, a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. The volatile memory can be a random access memory (Random Access Memory, RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0185] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

[0186] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.

[0187] Optionally, the computer-readable storage medium can be applied to the network device / first terminal in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device / first terminal in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0188] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0189] The computer program product includes one or more computer instructions. When loading and executing the computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction can be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server, a data center, etc. that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state hard disk (SSD)), etc.

[0190] The data transmission method, network device, first terminal and computer-readable storage medium provided in the embodiments of the present application are described in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0191] It should be understood that the "one embodiment" or "an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some implementations" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the aforementioned embodiment" or "some implementations" or "some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0192] In the absence of special instructions, the first terminal / network device performs any step in the embodiment of the present application, and the processor of the first terminal / network device may perform the step. Unless otherwise specified, the embodiment of the present application does not limit the order in which the first terminal / network device performs the following steps. In addition, the methods used to process data in different embodiments may be the same method or different methods.

[0193] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0194] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0195] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0196] The methods disclosed in several method embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments. The features disclosed in several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.

[0197] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0198] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, magnetic disks or optical disks.

[0199] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0200] As used in the embodiments of the present application and the appended claims, the singular forms "a," "an," "said," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0201] It should be noted that in each embodiment involved in the present application, all steps may be executed or part of the steps may be executed as long as a complete technical solution can be formed.

[0202] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data transmission method, characterized in that: Applied to a first terminal, the first terminal and at least two second terminals form a ring network, the method comprising: Receive a first data packet sent by a network device; wherein the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network; Determine, based at least on the maximum delay and the sending time, a feedback time at which the first terminal sends a feedback data packet to the network device; wherein the feedback time corresponding to each terminal in the ring network is different; Sending the feedback data packet to the network device according to the feedback time.

2. The method according to claim 1, characterized in that The determining, based at least on the maximum delay and the sending time, a feedback time at which the first terminal sends a feedback data packet to the network device includes: Determining a receiving time corresponding to each terminal based on a maximum delay for each terminal to receive the first data packet and the sending time; Based on the receiving time, determining a feedback order in which each terminal sends the feedback data packet to the network device; wherein the feedback order corresponding to each terminal in the ring network is different; Based on the feedback sequence corresponding to each terminal and a preset time interval between adjacent feedback sequences, a feedback time corresponding to the first terminal is determined.

3. The method according to claim 2, characterized in that The determining, based on the receiving time, a feedback order in which each terminal sends the feedback data packet to the network device includes: When the receiving times corresponding to the first terminal and the second terminal are the same, determining the ring network sequence corresponding to each terminal based on the position of each terminal in the ring network; Based on the receiving time and the ring network sequence corresponding to each terminal, a feedback sequence corresponding to each terminal is determined.

4. A data transmission method, characterized in that: Applied to a network device, the method comprises: Sending a first data packet to a first terminal and at least two second terminals; wherein the first terminal and the at least two second terminals form a ring network; the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network; Receiving feedback data packets sent by each terminal in the ring network at different feedback times; the feedback time corresponding to each terminal in the ring network is different; generating a second data packet based on the feedback data packet sent by each terminal; The second data packet is sent to the controller.

5. The method according to claim 4, characterized in that The sending of the first data packet to the first terminal and at least two second terminals includes: A first data packet is broadcast to the first terminal and the at least two second terminals.

6. The method according to claim 4, characterized in that The sending of the first data packet to the first terminal and at least two second terminals includes: Based on the position of each terminal in the ring network, determining the ring network sequence corresponding to each terminal; Sending the first data packet to the first terminal; After the network device receives the feedback data packet sent by the first terminal, it sends the first data packet to the second terminal; wherein the ring network sequence of the first terminal is before the ring network sequence of the second terminal.

7. The method according to claim 4, characterized in that The method further comprises: The maximum delay of each terminal in the ring network receiving the first data packet is estimated.

8. The method according to claim 7, characterized in that The estimating a maximum delay for each terminal in the ring network to receive the first data packet includes: Acquire a first parameter of each terminal that can affect each terminal receiving the first data packet; wherein the first parameter includes a distance between each terminal and a network device, a network status of each terminal, and a packet capacity of each terminal; Based on the first parameter, the maximum delay is determined.

9. The method according to claim 7, characterized in that: The estimating a maximum delay for each terminal in the ring network to receive the first data packet includes: Acquire a reception delay of a third data packet received by the first terminal; the third data packet is a previous data packet received by each terminal before receiving the first data packet; Based on the receiving delay, the maximum delay is determined.

10. The method according to any one of claims 4 to 9, characterized in that: The generating a second data packet based on the feedback data packet sent by each terminal includes: Obtaining a terminal identification of each terminal; Comparing the feedback data packet sent by each terminal with the first data packet to obtain updated payload data in each feedback data packet; wherein the first data packet includes payload data corresponding to each terminal; The updated payload data is assembled according to the terminal identifier to obtain the second data packet.

11. A first terminal, characterized in that: The first terminal and at least two second terminals form a ring network, and the first terminal includes: A first receiving module, configured to receive a first data packet sent by a network device; wherein the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for each terminal in the ring network to receive the first data packet; A first processing module, configured to determine a feedback time for the first terminal to send a feedback data packet to the network device based at least on the maximum delay and the sending time; wherein the feedback time corresponding to each terminal in the ring network is different; The first sending module is used to send the feedback data packet to the network device according to the feedback time.

12. A network device, characterized in that: The network equipment includes: A second sending module is used to send a first data packet to a first terminal and at least two second terminals; wherein the first terminal and the at least two second terminals form a ring network; the first data packet includes a sending time of the first data packet and a maximum delay estimated by the network device for the first data packet to reach each terminal in the ring network; A second receiving module is used to receive feedback data packets sent by each terminal in the ring network at different feedback times; the feedback time corresponding to each terminal in the ring network is different; A second processing module, configured to generate a second data packet based on the feedback data packet sent by each terminal; The second sending module is used to send the second data packet to the controller.

13. A first terminal, characterized in that: The first terminal includes: A first memory, used to store executable instructions; The first processor is configured to implement the data transmission method according to any one of claims 1 to 3 when executing the executable instructions stored in the first memory.

14. A network device, characterized in that: The network equipment includes: A second memory, used for storing executable instructions; The second processor is configured to implement the data transmission method according to any one of claims 4 to 10 when executing the executable instructions stored in the second memory.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the data transmission method according to any one of claims 1 to 3 or 4 to 10.

Citation Information

Patent Citations

  • Remote configuration method and device for E1 looped network address code and storage medium

    CN112615942A

  • Intelligent box transformer substation with automatic measurement and control function and measurement and control system thereof

    CN114142607A

  • Communication method and system

    CN114826821A

  • Intelligent sensing terminal device and method based on LoRa ad hoc network

    CN114866976A

  • Responses to loops in networks having a ring topology

    US20190028299A1