A data transmission method, device, node equipment and data transmission network
By using the computing power sensing node equipment in the computing power sensing network for segmented retransmission of data packets, the problem of low data transmission reliability is solved and the transmission efficiency and reliability are improved.
Patent Information
- Application Number
- CN202010903646.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-01
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2040-09-01
Smart Images

Figure CN114124316B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data transmission method, device, node equipment and a data transmission network. Background Art
[0002] With the development trend of cloud computing and edge computing, in the future society, there will be many different scales of computing power at different distances from users, providing users with various personalized services through the global network. From tens of billions of smart terminals, to billions of home gateways around the world, to thousands of edge clouds with computing power brought by future MEC (mobile e-commerce) in each city, and dozens of large cloud data centers DC in each country, a massive amount of ubiquitous computing power will be connected to the Internet from everywhere, forming a development trend of deep integration of computing and network.
[0003] like Figure 1 As shown, the computing resources in the network are integrated into every corner of the network, so that each network node can become a resource provider. User requests can be satisfied by calling the nearest node resources and are no longer limited to a specific node, avoiding the waste of connection and network scheduling resources.
[0004] Traditional networks only provide pipelines for data communication, which are based on connections and are subject to fixed network addressing mechanisms. They often cannot meet higher and more stringent QoE (Quality of Experience) requirements.
[0005] In addition, with the development of microservices, the traditional client-server model has been deconstructed. The application on the server side is deconstructed into functional components and deployed on the cloud platform. It is uniformly scheduled by the API gateway (application interface gateway) and can be dynamically instantiated on demand. The business logic in the server is transferred to the client side. The client only needs to care about the computing function itself, without having to care about computing resources such as servers, virtual machines, and containers, thereby realizing the function of being a server.
[0006] Based on the current TCP / IP Internet protocol architecture, the transmission reliability of the network is guaranteed by the TCP layer and the data link layer, and IP is only responsible for best-effort forwarding. Since some networks have error control at the data link layer, while others do not, the reliability of data transmission is relatively low. Summary of the invention
[0007] The present invention provides a data transmission method, device, node equipment and data transmission network, which solves the problem of low data transmission reliability in the prior art.
[0008] To solve the above technical problems, the embodiments of the present invention provide the following solutions:
[0009] A data transmission method, applied to a first node device having computing power perception capability, comprising:
[0010] A network layer data packet sent by a receiving terminal, wherein the data packet carries a sequence number and a confirmation strategy;
[0011] Determine, according to the computing power resources and network resources of the first node device, a second node device with computing power perception capability as the next hop for transmission of the data packet;
[0012] According to the confirmation strategy, transmitting the data packet to the second node device and storing the data packet;
[0013] When the data packet needs to be retransmitted, the stored data packet that needs to be retransmitted is retransmitted to the second node device.
[0014] Optionally, the data packet further carries a computing resource request; and determining, according to the computing resources and network resources of the first node device, a second node device for transmitting the data packet includes:
[0015] A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
[0016] Optionally, transmitting the data packet to the second node device according to the confirmation strategy includes:
[0017] If the confirmation strategy is a packet-by-packet confirmation strategy, the packets are transmitted to the second node device packet by packet according to the sequence number of the data packet; or,
[0018] If the confirmation strategy is an aggregate confirmation strategy, multiple data packets are transmitted together to the second node device according to the sequence numbers of the data packets.
[0019] Optionally, transmitting to the second node device includes:
[0020] The data is transmitted to the second node device via at least one routing node device.
[0021] Optionally, after transmitting to the second node device, the method further includes:
[0022] Before the retransmission timer times out, if confirmation information of receiving the data packet fed back by the second node device is received, deleting the stored data packet;
[0023] After the retransmission timer times out, if no confirmation information fed back by the second node device is received, it is determined that the data packet needs to be retransmitted.
[0024] Optionally, when the data packet needs to be retransmitted, retransmitting the stored data packet that needs to be retransmitted to the second node device includes:
[0025] If the confirmation strategy is a packet-by-packet confirmation strategy, retransmitting the stored data packet of the sequence number to the second node device; or,
[0026] If the confirmation strategy is an aggregate confirmation strategy, the data packet for which no confirmation information has been received among the multiple data packets is retransmitted to the second node device.
[0027] Optionally, the network layer data packet is an IP data packet.
[0028] Optionally, transmitting the data packet to the second node device includes:
[0029] The data packet is transmitted to the second node device through a link layer and a physical layer, and the link layer has a data packet flow control or a point-to-point retransmission mechanism.
[0030] An embodiment of the present invention further provides a data transmission device, which is applied to a first node device having computing power perception capability, including:
[0031] A receiving module, used for receiving a network layer data packet sent by a terminal, wherein the data packet carries a sequence number and a confirmation strategy;
[0032] A determination module, configured to determine, based on the computing power resources and network resources of the node device, a second node device with computing power perception capability as the next hop for transmission of the data packet;
[0033] A transmission module, configured to transmit the data packet to the second node device according to the confirmation strategy, and store the data packet;
[0034] The retransmission module is used to retransmit the stored data packet that needs to be retransmitted to the second node device when the data packet needs to be retransmitted.
[0035] An embodiment of the present invention further provides a node device, wherein the node device is a first node device having computing power perception capability, and the first node device includes:
[0036] A transceiver, configured to receive a network layer data packet sent by a terminal, the data packet carrying a sequence number and a confirmation strategy; determine, according to the computing power resources and network resources of the node device, a second node device with computing power perception capability as the next hop for transmission of the data packet; transmit the data packet to the second node device according to the confirmation strategy, and store the data packet;
[0037] The processor is configured to retransmit the stored data packet that needs to be retransmitted to the second node device when the data packet needs to be retransmitted.
[0038] An embodiment of the present invention further provides a data transmission network, comprising: at least one node device;
[0039] A first node device among the at least one node device receives a network layer data packet sent by a terminal, the data packet carrying a sequence number and a confirmation strategy; the first node device has a computing power perception capability;
[0040] The first node device determines, according to the computing power resources and network resources of the first node device, a second node device with computing power perception capability as a next hop for transmission of the data packet;
[0041] The first node device transmits the data packet to the second node device according to the confirmation strategy, and stores the data packet;
[0042] When the data packet needs to be retransmitted, the first node device retransmits the stored data packet that needs to be retransmitted to the second node device.
[0043] Optionally, the first node device transmitting the data packet to the second node device according to the confirmation strategy includes:
[0044] If the confirmation strategy is a packet-by-packet confirmation strategy, the first node device transmits the data packets one by one to the next-hop node device with computing power perception capability according to the sequence number of the data packets; or,
[0045] If the confirmation strategy is an aggregate confirmation strategy, the first node device transmits multiple data packets together to the second node device according to the sequence numbers of the data packets.
[0046] Optionally, transmitting to the second node device includes:
[0047] The first node device transmits the data packet to the second node device via at least one routing node device.
[0048] Optionally, before the retransmission timer times out, if the first node device receives confirmation information of receiving the data packet fed back by the second node device, the stored data packet is deleted;
[0049] After the retransmission timer times out, if the first node device does not receive the confirmation information fed back by the second node device, it is determined that the data packet needs to be retransmitted.
[0050] Optionally, the first node device retransmitting the stored data packet that needs to be retransmitted to the second node device includes:
[0051] If the confirmation strategy is a packet-by-packet confirmation strategy, the first node retransmits the stored data packet with the sequence number to the second node device; or,
[0052] If the confirmation strategy is an aggregate confirmation strategy, the first node retransmits the data packets for which no confirmation information has been received among the multiple data packets to the second node device.
[0053] Optionally, the data transmission network also includes: the second node device transmits the data packet to a computing power service node in the network.
[0054] An embodiment of the present invention further provides a communication device, comprising: a processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed.
[0055] An embodiment of the present invention further provides a computer-readable storage medium, characterized in that it includes instructions, and when the instructions are executed on a computer, the computer executes the method as described above.
[0056] The above solution of the present invention includes at least the following beneficial effects:
[0057] The above scheme of the present invention receives a network layer data packet sent by a terminal through a first node device with computing power perception capability, and the data packet carries a sequence number and a confirmation strategy; determines the next hop of the data packet transmission, which is a second node device with computing power perception capability, according to the computing power resources and network resources of the first node device; transmits the data packet to the second node device according to the confirmation strategy, and stores the data packet; when the data packet needs to be retransmitted, retransmits the stored data packet that needs to be retransmitted to the second node device. In a computing power-aware network, by providing segmented retransmission at the network layer, packet loss is reduced, end-to-end retransmission at the link layer is avoided, the overhead of retransmission is reduced, and transmission efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is a schematic diagram of the development trend of network computing integration;
[0059] Figure 2 A schematic diagram of a data transmission method according to an embodiment of the present invention;
[0060] Figure 3 A schematic diagram of the format of an IP data packet according to an embodiment of the present invention;
[0061] Figure 4 This is a schematic diagram of the SRV6 message format in an embodiment of the present invention;
[0062] Figure 5 It is a flow chart of a data transmission method in a hybrid networking situation in an embodiment of the present invention;
[0063] Figure 6 It is a flowchart of a data transmission method using a packet-by-packet confirmation strategy in a hybrid networking situation in an embodiment of the present invention;
[0064] Figure 7 It is a flow chart of a data transmission method using an aggregate confirmation strategy in a hybrid networking situation in an embodiment of the present invention;
[0065] Figure 8 is a schematic diagram of a link layer retransmission mechanism in an embodiment of the present invention;
[0066] Fig. 9 A schematic diagram of a computing power-aware network architecture in an embodiment of the present invention. DETAILED DESCRIPTION
[0067] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0068] like Figure 2 As shown, an embodiment of the present invention provides a data transmission method, which is applied to a first node device with computing power perception capability, including:
[0069] Step 21, receiving a network layer data packet sent by the terminal, the data packet carrying a sequence number and a confirmation strategy; the network layer data packet here may be an IP data packet. Specifically, Figure 3 and Figure 4 As shown, the sequence number and confirmation policy information of the data packet can be carried through the reserved bits of the hop-by-hop options header, destination options header and other extension headers of the IP data packet. It can also be carried in the TLV format of the field of the SRH header, for example.
[0070] Step 22, determining a second node device with computing power perception capability as the next hop for transmission of the data packet according to the computing power resources and network resources of the first node device;
[0071] Step 23: transmitting the data packet to the second node device according to the confirmation strategy, and storing the data packet;
[0072] Step 24: when the data packet needs to be retransmitted, retransmit the stored data packet that needs to be retransmitted to the second node device.
[0073] In this embodiment, a network layer data packet sent by a receiving terminal carries a sequence number and a confirmation strategy; according to the computing power resources and network resources of the first node device, a second node device with computing power perception capability is determined as the next hop for the data packet transmission; according to the confirmation strategy, the data packet is transmitted to the second node device and stored; when the data packet needs to be retransmitted, the stored data packet that needs to be retransmitted is retransmitted to the second node device. In a computing power-aware network, by providing segmented retransmission at the network layer, packet loss is reduced, end-to-end retransmission at the link layer is avoided, the retransmission overhead is reduced, and transmission efficiency is improved.
[0074] In an optional embodiment of the present invention, the data packet further carries a computing resource request; step 22 may include:
[0075] Step 221, determine the second node device for transmitting the data packet according to the computing resource request and the computing resources and network resources of the first node device. Here, the first node device can determine the best service node for the data packet, that is, the second node device, according to the control plane resource status and the computing resource request carried by the data packet.
[0076] In an optional embodiment of the present invention, step 23 may include:
[0077] Step 231: if the confirmation strategy is a packet-by-packet confirmation strategy, the packets are transmitted to the second node device packet by packet according to the sequence number of the packet; or,
[0078] Step 232: If the confirmation strategy is an aggregate confirmation strategy, multiple data packets are transmitted together to the second node device according to the sequence numbers of the data packets.
[0079] Of course, the packet-by-packet confirmation strategy and the aggregate confirmation strategy here are only examples, and the data packet confirmation strategy used in the data transmission of the embodiment of the present invention is not limited to these strategies.
[0080] In an optional embodiment of the present invention, transmitting to the second node device includes:
[0081] The data is transmitted to the second node device via at least one routing node device.
[0082] like Figures 5 to 7 As shown in the figure, in a feasible network architecture, network nodes that are aware of computing power and traditional network nodes (referring to nodes without computing power awareness) are mixed and networked, and the node devices without computing power awareness here only route and forward data packets. Therefore, data packets can be transmitted to the second node device through at least one routing node device, and of course, the first node device can also directly transmit data packets to the second node device.
[0083] In an optional embodiment of the present invention, after transmitting to the second node device, the method may further include:
[0084] Step 233: before the retransmission timer times out, if confirmation information of receiving the data packet fed back by the second node device is received, deleting the stored data packet;
[0085] Step 234: After the retransmission timer times out, if no confirmation information fed back by the second node device is received, it is determined that the data packet needs to be retransmitted.
[0086] Here, when the first node device sends a data packet, a retransmission timer can be started. Before the retransmission timer times out, if the confirmation information of receiving the data packet fed back by the second node device is received, it means that the data packet is successfully received, and the data packet cached by the first node device can be deleted, which saves cache space and improves storage efficiency. After the retransmission timer times out, if the confirmation information fed back by the second node device is not received, it means that the data packet transmission is not successfully received, and therefore, the data packet needs to be retransmitted.
[0087] In an optional embodiment of the present invention, step 24 may include:
[0088] Step 241: if the confirmation strategy is a packet-by-packet confirmation strategy, retransmit the stored data packet of the sequence number to the second node device; or,
[0089] Step 242: If the confirmation strategy is an aggregate confirmation strategy, the data packets that have not received confirmation information among the multiple data packets are retransmitted to the second node device.
[0090] Here, when step 241 is implemented, for example, the first node device sends a data packet with a data sequence number of SN, caches the data packet, and starts a retransmission timer. If the retransmission timer expires and the confirmation of the data packet with the sequence number of SN is not received, the first node device will retransmit the SN data packet until the confirmation of the sequence number of SN is received. After the first node device receives the confirmation of the sequence number of SN, the first node device deletes the SN data packet from the cache; the second node device forwards the data packet with the sequence number of SN according to the traditional IP routing protocol, and sends the SN data packet to the computing power service node for processing.
[0091] When step 242 is implemented, for example, the first node device sends data packets with data sequence numbers SN to SN+5, caches the data packets at the same time, and starts a retransmission timer. If the retransmission timer expires and confirmation of the data packet is still not received, the first node device will retransmit the data packets from SN 0 to SN+5 until a confirmation data packet with a packet sequence number of SN+5 is received; if the confirmation sequence number of the data packet receiving the confirmation information is SN+4, it proves that the data packets before SN+4 have been confirmed, and the first node device resends the SN+5 packet until the ACK information of the packet with SN+5 is received.
[0092] The specific implementation process of the above method is described below in conjunction with specific embodiments:
[0093] like Figure 5 As shown, specifically including:
[0094] 1. The terminal TE sends an IP data packet to R1 (the first node device, which has computing power awareness, that is, it has computing resources). The data packet carries the serviceID (service identifier, used to identify the computing power service node) and has the SLA of the computing power demand. At the same time, based on the traditional IPv6 protocol extension, the reserved ratio of the extension header can be used to carry the packet sequence number (sequence number) and confirmation strategy (ACK strategy). The sequence number is used to track the amount of data sent by the end. Each packet contains a sequence number, and the confirmation number is used at the receiving end to notify the sending end that the data has been successfully received.
[0095] 2. After receiving the data packet, R1 determines the best service node for the data packet based on the known computing and network resource status of the control plane and the computing resource request carried by the data packet. It sends the data packet to the next hop R2 (here R2 can be a routing forwarding node, which may not have computing power perception capability, that is, no computing resources) and caches the data packet.
[0096] 3. R2 receives the data packet and forwards it directly to the next-hop network node R3 (i.e., the second node device mentioned above, which may have computing power perception capability and computing resources) based on the traditional IP routing protocol.
[0097] 4. After receiving the data packet, R3 will send ACK to R1. The data packet can support multiple ACK confirmation strategies: for example, 1) packet-by-packet confirmation strategy: Data-ACK; 2) aggregate retransmission strategy: data-data-ACK;
[0098] In this solution, since network nodes R1 and R3 have storage and computing power, they can store the data packets that have been sent, and R2 and R4, as traditional network nodes, only forward them. Once a data packet is lost, the data packet can be retransmitted in segments between network nodes between R1 and R3, enhancing network transmission performance without the need for end-to-end retransmission between TE and computing service nodes, reducing retransmission overhead.
[0099] like Figure 6 As shown, in an achievable example, the computing power-aware network is a hybrid network of computing power-aware network nodes and traditional network nodes (referring to nodes without computing power awareness), R2 and R4 are traditional network nodes, and R1 and R3 are computing power-aware network nodes.
[0100] Example 1: Segmented confirmation of packet-by-packet confirmation strategy (between R1 and R3)
[0101] 1) The terminal TE sends a data packet, which carries the service ID (service identifier, used to identify the computing service node), the SLA of the computing power requirement, the sequence number, and the confirmation strategy is selected as the packet-by-packet confirmation strategy;
[0102] 2) R1 determines the best service node for data based on the control plane resource status and the computing resource request carried by the data packet. It sends a data packet with a data sequence number of SN, caches the data packet, and starts a retransmission timer;
[0103] 3) If the retransmission timer expires and the acknowledgment of the data packet with sequence number SN is not received, R1 will retransmit the SN data packet until the acknowledgment of the sequence number SN is received;
[0104] 4) After R1 receives the confirmation with the sequence number SN, R1 deletes the SN data packet from the cache;
[0105] 5) R4 forwards the data packet with serial number SN according to the traditional IP routing protocol and sends the SN data packet to the computing power service node for processing.
[0106] Embodiment 2: Segmented retransmission scheme based on aggregate confirmation strategy
[0107] like Figure 7 As shown, the difference between this embodiment and the above-mentioned embodiment 1 is that the confirmation strategy of the data packet sent by the TE is an aggregate confirmation strategy, that is, the receiving network node replies with an ACK data packet after receiving multiple data packets:
[0108] 1) The terminal TE sends a data packet, which carries a service ID (service identifier, used to identify the computing service node), the SLA of the computing power requirement, a sequence number, and the confirmation strategy is selected as the aggregation confirmation strategy;
[0109] 2) R1 determines the best service node for the data packet based on the computing resource request carried by the control plane. It sends the data packet from SN to SN+5, caches the data packet, and starts the retransmission timer;
[0110] 3) If the retransmission timer expires and the acknowledgment of the data packet is still not received, R1 will retransmit the data packets from SN 0 to SN+5 until the acknowledgment data packet with the packet sequence number SN+5 is received;
[0111] 4) If the received confirmation data confirmation sequence number is SN+4, it proves that the data packets before SN+4 have been confirmed. R1 resends the SN+5 packet until the ACK information of the SN+5 packet is received.
[0112] In an optional embodiment of the present invention, transmitting the data packet to the second node device includes:
[0113] The data packet is transmitted to the second node device through a link layer and a physical layer, and the link layer has a data packet flow control or a point-to-point retransmission mechanism.
[0114] like Figure 8 As shown in the figure, based on the current TCP / IP Internet protocol architecture, the network layer can further perform data packet flow control or point-to-point retransmission mechanism at the link layer on the basis of segmented transmission. For example, when the data packet shown in the figure needs to be retransmitted at the TCP layer, the data packet at the network layer is retransmitted to the link layer, which is then transmitted to the physical layer and finally transmitted to the receiving device at the opposite end. Here, the transmission efficiency of the data packet can be further improved and the packet loss rate can be further reduced.
[0115] Of course, when the IP layer can ensure the reliability of data packet transmission, the link layer can also use traditional mechanisms for transmission, that is, no data packet flow control or point-to-point retransmission mechanism is performed. This can also reduce the complexity of data packet transmission and improve transmission efficiency.
[0116] An embodiment of the present invention further provides a data transmission device, which is applied to a first node device having computing power perception capability, including:
[0117] A receiving module, used for receiving a network layer data packet sent by a terminal, wherein the data packet carries a sequence number and a confirmation strategy;
[0118] A determination module, configured to determine, based on the computing power resources and network resources of the node device, a second node device with computing power perception capability as the next hop for transmission of the data packet;
[0119] A transmission module, configured to transmit the data packet to the second node device according to the confirmation strategy, and store the data packet;
[0120] The retransmission module is used to retransmit the stored data packet that needs to be retransmitted to the second node device when the data packet needs to be retransmitted.
[0121] Optionally, the data packet further carries a computing resource request; and determining, according to the computing resources and network resources of the first node device, a second node device for transmitting the data packet includes:
[0122] A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
[0123] Optionally, transmitting the data packet to the second node device according to the confirmation strategy includes:
[0124] If the confirmation strategy is a packet-by-packet confirmation strategy, the packets are transmitted to the second node device packet by packet according to the sequence number of the data packet; or,
[0125] If the confirmation strategy is an aggregate confirmation strategy, multiple data packets are transmitted together to the second node device according to the sequence numbers of the data packets.
[0126] Optionally, transmitting to the second node device includes:
[0127] The data is transmitted to the second node device via at least one routing node device.
[0128] Optionally, after transmitting to the second node device, the method further includes:
[0129] Before the retransmission timer times out, if confirmation information of receiving the data packet fed back by the second node device is received, deleting the stored data packet;
[0130] After the retransmission timer times out, if no confirmation information fed back by the second node device is received, it is determined that the data packet needs to be retransmitted.
[0131] Optionally, when the data packet needs to be retransmitted, retransmitting the stored data packet that needs to be retransmitted to the second node device includes:
[0132] If the confirmation strategy is a packet-by-packet confirmation strategy, retransmitting the stored data packet of the sequence number to the second node device; or,
[0133] If the confirmation strategy is an aggregate confirmation strategy, the data packet for which no confirmation information has been received among the multiple data packets is retransmitted to the second node device.
[0134] Optionally, the network layer data packet is an IP data packet.
[0135] Optionally, transmitting the data packet to the second node device includes:
[0136] The data packet is transmitted to the second node device through a link layer and a physical layer, and the link layer has a data packet flow control or a point-to-point retransmission mechanism.
[0137] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.
[0138] An embodiment of the present invention further provides a node device, wherein the node device is a first node device having computing power perception capability, and the first node device includes:
[0139] A transceiver, configured to receive a network layer data packet sent by a terminal, the data packet carrying a sequence number and a confirmation strategy; determine, according to the computing power resources and network resources of the node device, a second node device with computing power perception capability as the next hop for transmission of the data packet; transmit the data packet to the second node device according to the confirmation strategy, and store the data packet;
[0140] The processor is configured to retransmit the stored data packet that needs to be retransmitted to the second node device when the data packet needs to be retransmitted.
[0141] Optionally, the data packet further carries a computing resource request; and determining, according to the computing resources and network resources of the first node device, a second node device for transmitting the data packet includes:
[0142] A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
[0143] Optionally, transmitting the data packet to the second node device according to the confirmation strategy includes:
[0144] If the confirmation strategy is a packet-by-packet confirmation strategy, the packets are transmitted to the second node device packet by packet according to the sequence number of the data packet; or,
[0145] If the confirmation strategy is an aggregate confirmation strategy, multiple data packets are transmitted together to the second node device according to the sequence numbers of the data packets.
[0146] Optionally, transmitting to the second node device includes:
[0147] The data is transmitted to the second node device via at least one routing node device.
[0148] Optionally, after transmitting to the second node device, the method further includes:
[0149] Before the retransmission timer times out, if confirmation information of receiving the data packet fed back by the second node device is received, deleting the stored data packet;
[0150] After the retransmission timer times out, if no confirmation information fed back by the second node device is received, it is determined that the data packet needs to be retransmitted.
[0151] Optionally, when the data packet needs to be retransmitted, retransmitting the stored data packet that needs to be retransmitted to the second node device includes:
[0152] If the confirmation strategy is a packet-by-packet confirmation strategy, retransmitting the stored data packet of the sequence number to the second node device; or,
[0153] If the confirmation strategy is an aggregate confirmation strategy, the data packet for which no confirmation information has been received among the multiple data packets is retransmitted to the second node device.
[0154] Optionally, the network layer data packet is an IP data packet.
[0155] Optionally, transmitting the data packet to the second node device includes:
[0156] The data packet is transmitted to the second node device through a link layer and a physical layer, and the link layer has a data packet flow control or a point-to-point retransmission mechanism.
[0157] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the node device and can achieve the same technical effects.
[0158] An embodiment of the present invention further provides a data transmission network, comprising: at least one node device;
[0159] A first node device among the at least one node device receives a network layer data packet sent by a terminal, the data packet carrying a sequence number and a confirmation strategy; the first node device has a computing power perception capability;
[0160] The first node device determines, according to the computing power resources and network resources of the first node device, a second node device with computing power perception capability as a next hop for transmission of the data packet;
[0161] The first node device transmits the data packet to the second node device according to the confirmation strategy, and stores the data packet;
[0162] When the data packet needs to be retransmitted, the first node device retransmits the stored data packet that needs to be retransmitted to the second node device.
[0163] Optionally, the first node device transmitting the data packet to the second node device according to the confirmation strategy includes:
[0164] If the confirmation strategy is a packet-by-packet confirmation strategy, the first node device transmits the data packets one by one to the second node device with computing power perception capability at the next hop according to the sequence number of the data packets; or,
[0165] If the confirmation strategy is an aggregate confirmation strategy, the first node device transmits multiple data packets together to the second node device according to the sequence numbers of the data packets.
[0166] Optionally, transmitting to the second node device includes:
[0167] The first node device transmits the data packet to the second node device via at least one routing node device.
[0168] Optionally, before the retransmission timer times out, if the first node device receives confirmation information of receiving the data packet fed back by the second node device, the stored data packet is deleted;
[0169] After the retransmission timer times out, if the first node device does not receive the confirmation information fed back by the second node device, it is determined that the data packet needs to be retransmitted.
[0170] Optionally, the first node device retransmitting the stored data packet that needs to be retransmitted to the second node device includes:
[0171] If the confirmation strategy is a packet-by-packet confirmation strategy, the first node retransmits the stored data packet with the sequence number to the second node device; or,
[0172] If the confirmation strategy is an aggregate confirmation strategy, the first node retransmits the data packets for which no confirmation information has been received among the multiple data packets to the second node device.
[0173] Optionally, the data transmission network also includes: the second node device transmits the data packet to a computing power service node in the network.
[0174] like Fig. 9 As shown, the first node device and the second node device may be as follows Figure 8 The nodes in the computing power-aware network architecture shown in the figure, and other node devices other than the first node device and the second node device can be node devices with data forwarding function in a traditional network.
[0175] Above Figures 2 to 8 All implementation methods in the illustrated embodiments are applicable to the embodiments of the data transmission network and can achieve the same technical effects.
[0176] All implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.
[0177] The embodiment of the present invention further provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0178] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0179] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0180] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, 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 integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0181] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.
[0182] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0183] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0184] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
[0185] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.
[0186] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data transmission method, characterized in that: Applicable to the first node device with computing power perception capability, including: A network layer data packet sent by a receiving terminal, wherein the data packet carries a sequence number and a confirmation strategy; Determine, according to the computing power resources and network resources of the first node device, a second node device with computing power perception capability as the next hop for transmission of the data packet; According to the confirmation strategy, transmitting the data packet to the second node device and storing the data packet; When the data packet needs to be retransmitted, retransmitting the stored data packet that needs to be retransmitted to the second node device; The network layer data packet is an IP data packet; The data packet also carries a computing resource request; and determining the second node device for transmitting the data packet according to the computing resources and network resources of the first node device includes: A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
2. The data transmission method according to claim 1, characterized in that: Transmitting the data packet to the second node device according to the confirmation strategy includes: If the confirmation strategy is a packet-by-packet confirmation strategy, the packets are transmitted to the second node device packet by packet according to the sequence number of the data packet; or, If the confirmation strategy is an aggregate confirmation strategy, multiple data packets are transmitted together to the second node device according to the sequence numbers of the data packets.
3. The data transmission method according to claim 2, characterized in that: Transmitting to the second node device, comprising: The data is transmitted to the second node device via at least one routing node device.
4. The data transmission method according to claim 3, characterized in that: After being transmitted to the second node device, the method further includes: Before the retransmission timer times out, if confirmation information of receiving the data packet fed back by the second node device is received, deleting the stored data packet; After the retransmission timer times out, if no confirmation information fed back by the second node device is received, it is determined that the data packet needs to be retransmitted.
5. The data transmission method according to claim 4, characterized in that: When the data packet needs to be retransmitted, retransmitting the stored data packet that needs to be retransmitted to the second node device includes: If the confirmation strategy is a packet-by-packet confirmation strategy, retransmitting the stored data packet of the sequence number to the second node device; or, If the confirmation strategy is an aggregate confirmation strategy, the data packet for which no confirmation information has been received among the multiple data packets is retransmitted to the second node device.
6. The data transmission method according to claim 1, characterized in that: Transmitting the data packet to the second node device includes: The data packet is transmitted to the second node device through a link layer and a physical layer, and the link layer has a data packet flow control or a point-to-point retransmission mechanism.
7. A data transmission device, characterized in that: Applicable to the first node device with computing power perception capability, including: A receiving module, used for receiving a network layer data packet sent by a terminal, wherein the data packet carries a sequence number and a confirmation strategy; A determination module, configured to determine, based on the computing power resources and network resources of the node device, a second node device with computing power perception capability as the next hop for transmission of the data packet; A transmission module, configured to transmit the data packet to the second node device according to the confirmation strategy, and store the data packet; A retransmission module, configured to retransmit the stored data packet that needs to be retransmitted to the second node device when the data packet needs to be retransmitted; The network layer data packet is an IP data packet; The data packet also carries a computing resource request; and determining the second node device for transmitting the data packet according to the computing resources and network resources of the first node device includes: A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
8. A node device, characterized in that: The node device is a first node device with computing power perception capability, and the first node device includes: A transceiver, configured to receive a network layer data packet sent by a terminal, the data packet carrying a sequence number and a confirmation strategy; determine, according to the computing power resources and network resources of the node device, a second node device with computing power perception capability as the next hop for transmission of the data packet; transmit the data packet to the second node device according to the confirmation strategy, and store the data packet; a processor, configured to retransmit the stored data packet that needs to be retransmitted to the second node device when the data packet needs to be retransmitted; The network layer data packet is an IP data packet; The data packet also carries a computing resource request; and determining the second node device for transmitting the data packet according to the computing resources and network resources of the first node device includes: A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
9. A data transmission network, characterized in that: include: at least one node device; A first node device among the at least one node device receives a network layer data packet sent by a terminal, wherein the data packet carries a sequence number and a confirmation strategy; The first node device has computing power perception capability; The first node device determines, according to the computing power resources and network resources of the first node device, a second node device with computing power perception capability as a next hop for transmission of the data packet; The first node device transmits the data packet to the second node device according to the confirmation strategy, and stores the data packet; When the data packet needs to be retransmitted, the first node device retransmits the stored data packet that needs to be retransmitted to the second node device; The network layer data packet is an IP data packet; The data packet also carries a computing resource request; The determining, according to the computing power resources and network resources of the first node device, a second node device for transmitting the data packet comprises: A second node device for transmitting the data packet is determined based on the computing resource request and the computing resources and network resources of the first node device.
10. The data transmission network according to claim 9, characterized in that: The first node device transmits the data packet to the second node device according to the confirmation strategy, including: If the confirmation strategy is a packet-by-packet confirmation strategy, the first node device transmits the data packets one by one to the next-hop node device with computing power perception capability according to the sequence number of the data packets; or, If the confirmation strategy is an aggregate confirmation strategy, the first node device transmits multiple data packets together to the second node device according to the sequence numbers of the data packets.
11. The data transmission network according to claim 10, characterized in that: Transmitting to the second node device, comprising: The first node device transmits the data packet to the second node device via at least one routing node device.
12. The data transmission network according to claim 11, characterized in that: Before the retransmission timer times out, if the first node device receives confirmation information of receiving the data packet fed back by the second node device, then deleting the stored data packet; After the retransmission timer times out, if the first node device does not receive the confirmation information fed back by the second node device, it is determined that the data packet needs to be retransmitted.
13. The data transmission network according to claim 12, characterized in that: The first node device retransmits the stored data packet that needs to be retransmitted to the second node device, including: If the confirmation strategy is a packet-by-packet confirmation strategy, the first node retransmits the stored data packet with the sequence number to the second node device; or, If the confirmation strategy is an aggregate confirmation strategy, the first node retransmits the data packets for which no confirmation information has been received among the multiple data packets to the second node device.
14. The data transmission network according to claim 11 or 13, characterized in that: Also includes: The second node device transmits the data packet to a computing power service node in the network.
15. A communication device, characterized in that: include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 6 is executed.
16. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Intermediate node, communication network and data transmission control method
CN104038322A
Data transmission method and device and data reception method and device
CN106254041A
Intelligent network architecture integrated with perceptual computing and storage, and implementation method of the same
CN107395500A