A data transmission method with semantic effective constraint and related device
By generating semantic validity parameters and customizing the payload packet header of the UDP protocol layer, the retransmission strategy is dynamically adjusted, solving the problem of data delivery not following semantic validity in traditional transmission mechanisms. This achieves efficient delivery of critical data and reasonable allocation of resources, adapting to complex network environments.
Patent Information
- Application Number
- CN202611600852.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-27
AI Technical Summary
In scenarios such as satellite communication, emergency communication, unmanned system communication, maritime communication, edge device backhaul, and hybrid networking of satellite links and ground links, traditional reliable transmission mechanisms cannot effectively reflect the semantic validity of data units in the current task context, leading to problems such as expired data delivery, cross-level head-of-line blocking, and retransmission resources not being dynamically allocated according to semantic validity.
By generating semantic validity parameters, including semantic level, semantic deadline, and dependency identifier, the payload packet header of the UDP protocol layer is customized and adaptively adjusted based on business context information and link status. The retransmission budget and forward error correction redundancy are dynamically adjusted, and the receiving end delivers data only when the necessary dependencies are met.
It increases the probability of critical data being delivered correctly within its semantic validity period, avoids invalid retransmission of data that is bit correct but semantically expired, and prevents cross-level head-of-line blocking, adapting to high latency, high packet loss, and discontinuous link environments.
Smart Images

Figure CN123184791A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and in particular to a data transmission method and related apparatus with semantically valid constraints. Background Technology
[0002] In scenarios such as satellite communication, emergency communication, unmanned system communication, maritime communication, edge device backhaul, and hybrid networking of satellite and terrestrial links, network links typically have characteristics such as high latency, high packet loss, high jitter, drastic bandwidth fluctuations, and intermittent link interruptions. Traditional reliable transmission mechanisms usually prioritize bit correctness and global in-order delivery. When packet loss or jitter occurs in the link, the receiving end may block subsequent data delivery due to waiting for missing data, and the sending end may continue to retransmit data that has lost its business significance.
[0003] In the above scenarios, different data units contribute differently to task completion. For example, control commands, obstacle avoidance data, and vital sign alarms have a high task contribution and a short effective time. Data such as periodic status reports, logs, and redundant sensor information may be replaced by updated data after a short period of time. Resource allocation based solely on port, business type, or fixed priority is insufficient to reflect the semantic effectiveness of a single data unit in the current task context.
[0004] While existing partially reliable and priority-based transmission schemes can limit the number of retransmissions, set message lifetimes, or differentiate data importance, they typically do not simultaneously express semantic deadlines, sibling sequence space, and dependencies within the data units carried by UDP. They also do not statistically control data that is "bit-correct but semantically expired" as part of a feedback loop. Therefore, problems still exist such as expired data being delivered, low-value data causing cross-level head-of-queue blocking, and retransmission resources not being dynamically allocated according to semantic validity. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the prior art. This invention provides a data transmission method and related apparatus with semantically valid constraints. In environments with high latency, high packet loss, high jitter, or discontinuous links, it avoids the transmission system from pursuing only bit-level reliability, which leads to invalid retransmission of expired data and cross-level head-of-line blocking, thereby increasing the probability that critical data is correctly delivered within the semantic validity period.
[0006] To address the aforementioned technical problems, embodiments of the present invention provide a data transmission method with semantically valid constraints, the method comprising: The sending end obtains the service data payload and service context information, and generates semantic validity parameters for the service data payload based on the service context information. The service context information includes at least one of task type, generation time, validity time requirement, data dependency relationship or substitutability relationship. The semantic validity parameters include at least semantic level, semantic deadline, peer sequence number and dependency identifier. The peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream. Different semantic levels or different semantic streams have mutually independent sequence spaces. The dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. The sending end generates a UDP protocol layer payload data packet based on the service data payload, sets a custom semantic transmission control header at the beginning of the payload data packet, and writes the semantic validity parameter into the custom semantic transmission control header; The sending end generates a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters, and sends the payload data packet to the receiving end according to the data transmission strategy. The sending end performs adaptive adjustment processing on the data transmission strategy based on the feedback information from the receiving end until the payload data packet is sent, or is determined to be semantically expired, or the retransmission budget is exhausted, or is discarded according to the data transmission strategy.
[0007] Optionally, the semantic level is determined by semantic priority scoring, which is calculated by weighting at least three of the following: task contribution, time sensitivity, irreplaceability, criticality of dependence, and redundancy, and is divided into a first semantic level, a second semantic level, and a third semantic level based on at least two thresholds. The weighted calculation is as follows: P = w1*C + w2*T + w3*I + w4*D - w5*R; P represents semantic priority score, C represents task contribution, T represents time sensitivity, I represents irreplaceability, D represents dependency criticality, and R represents redundancy; w1, w2, w3, w4, and w5 are the corresponding configurable weights.
[0008] Optionally, the time sensitivity is calculated based on the generation time of the service data payload, the maximum acceptable delivery delay, and the currently estimated one-way transmission delay; The semantic deadline is determined by the generation time and the maximum acceptable delivery delay.
[0009] Optionally, the sending end configures the service data payload of the first semantic level in the semantic level with a non-zero retransmission budget and a first forward error correction redundancy, configures the service data payload of the second semantic level with a conditional retransmission budget constrained by the semantic deadline and a second forward error correction redundancy, configures the service data payload of the third semantic level with a zero or lower retransmission budget than the second semantic level, and allows the service data payload corresponding to the third semantic level to be directly discarded when the sending queue is congested or the link is poor. The conditional retransmission budget is determined based on the remaining valid time, estimated round-trip delay, and the number of retransmissions already performed. When the remaining valid time is less than the time required to complete one round-trip retransmission, the sending end stops retransmitting the corresponding service data payload.
[0010] Optionally, the method by which the transmitting end adjusts the forward error correction redundancy includes: When the packet loss rate of the first semantic level or the second semantic level is higher than the target packet loss rate, and the semantic expiration rate is lower than the target expiration rate, the forward error correction redundancy of the corresponding semantic level is increased. When the semantic expiration rate of the first or second semantic level is higher than the target expiration rate, the retransmission budget for soon-to-expire business data payloads is reduced and the scheduling weight of newly generated business data payloads is increased.
[0011] Optionally, the same-level sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic flow, and different semantic levels or different semantic flows have mutually independent sequence spaces; The dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. The custom semantic transmission control header includes at least one of the following: connection identifier, semantic stream identifier, data fragment identifier, total number of fragments, forward error correction group identifier, retransmission count, remaining retransmission budget, check field, or path identifier; The current link status includes at least two of the following: round-trip time, round-trip time jitter, packet loss rate, available bandwidth, link interruption status, send queue length, or receive buffer occupancy.
[0012] Optionally, the receiving end establishes independent rearrangement buffers according to semantic level or semantic flow to enable ordered delivery within the same semantic level or semantic flow and prevent the absence of low semantic level data from causing cross-level head-of-line blocking of high semantic level data. The receiving end maintains a receiving window, a missing set, a skippable set, and an expired set in the rearrangement buffer for the corresponding semantic level or semantic stream. When a missing payload data packet exceeds the corresponding waiting window or semantic deadline, it is added to the skippable set or the expired set, and semantic skip feedback is sent to enable the sending end to advance the sending state of the corresponding semantic stream. The feedback information includes at least two of the following: packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, or forward error correction recovery rate. The feedback information is encoded using at least two of the following formats: cumulative confirmation, selective confirmation, semantic expiration notification, semantic skip notification, and link status report.
[0013] Optionally, the semantic expiration rate is the ratio of the number of service data payloads that have been correctly received, retransmitted, or recovered through forward error correction within the statistical period but have not been delivered due to exceeding the semantic deadline to the total number of service data payloads of the corresponding semantic level. The head-of-line blocking time is the cumulative time that the receiving end delays in delivering subsequent service data payloads due to waiting for missing service data payloads of the same semantic level or within the same semantic stream. The sending end reduces the retransmission budget of the corresponding semantic level, shortens the waiting window, or increases the forward error correction redundancy based on the head-of-line blocking time.
[0014] In addition, embodiments of the present invention also provide a data transmission device with semantically valid constraints, the device comprising: The semantic validity parameter generation module is used by the sending end to obtain the service data payload and service context information, and generate semantic validity parameters for the service data payload based on the service context information. The service context information includes at least one of task type, generation time, validity time requirement, data dependency relationship or substitutability relationship. The semantic validity parameters include at least semantic level, semantic deadline, peer sequence number and dependency identifier. The peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream. Different semantic levels or different semantic streams have mutually independent sequence spaces. The dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. Semantic transmission control header setting module: used by the sending end to generate a UDP protocol layer payload data packet based on the service data payload, and set a custom semantic transmission control header at the beginning of the payload data packet, and write the semantic validity parameter into the custom semantic transmission control header; Data transmission strategy generation module: used by the sending end to generate a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link status in the semantic validity parameters, and to send the payload data packet to the receiving end according to the data transmission strategy; Adaptive adjustment processing module: used by the sending end to perform adaptive adjustment processing on the data sending strategy based on the feedback information from the receiving end, until the payload data packet is sent, or is determined to be semantically expired, or the retransmission budget is exhausted, or is discarded according to the data sending strategy.
[0015] In addition, embodiments of the present invention also provide an electronic device, including a processor and a memory, wherein the processor runs a computer program or code stored in the memory to implement the data transmission method as described in any of the above.
[0016] In the specific implementation of this invention, semantic deadlines and expired non-delivery mechanisms prevent data that is bit-correct but has expired in terms of business logic from continuing to occupy application layer processing resources; by using peer sequence numbers and independent rearrangement buffers, ordered delivery is limited to the same semantic level or the same semantic stream, reducing the blocking of the head of the queue of high semantic level data by missing low semantic level data; by expressing necessary prerequisite relationships through dependency identifiers, the receiver can distinguish between dependencies that must be waited for and unnecessary missing data that can be skipped; by providing feedback on semantic expiration rate, deadline default rate, head-of-queue blocking time, and forward error correction recovery rate, the sender can dynamically adjust the retransmission budget, FEC redundancy, and transmission scheduling according to semantic level; and by implementing a custom control header within the UDP payload, the standard UDP header format is avoided, facilitating deployment in existing IP networks, NAT environments, and application layer protocol stacks. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating a data transmission method with semantically valid constraints according to an embodiment of the present invention. Figure 2 This is a schematic diagram of the structural composition of the UDP payload in an embodiment of the present invention; Figure 3 This is a flowchart illustrating the receiver hierarchical rearrangement, expiration determination, and delivery mechanism in an embodiment of the present invention. Figure 4This is a schematic diagram of the adaptive adjustment of the data transmission strategy based on feedback information in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structural composition of a data transmission device with semantically valid constraints in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structural composition of the electronic device in an embodiment of the present invention. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] Example 1, please refer to Figure 1 , Figure 1 This is a flowchart illustrating a data transmission method with semantically valid constraints according to an embodiment of the present invention.
[0021] like Figure 1 As shown, a data transmission method with semantically valid constraints is provided, the method comprising: S101: The sending end obtains the service data payload and service context information, and generates semantic validity parameters for the service data payload based on the service context information. The service context information includes at least one of task type, generation time, validity time requirement, data dependency relationship or substitutability relationship. The semantic validity parameters include at least semantic level, semantic deadline, peer sequence number and dependency identifier. The peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream. Different semantic levels or different semantic streams have mutually independent sequence spaces. The dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. In the specific implementation of this invention, the semantic level is determined by semantic priority scoring. The semantic priority scoring is calculated by weighting at least three of the following: task contribution, time sensitivity, irreplaceability, dependency criticality, and redundancy. It is then divided into a first semantic level, a second semantic level, and a third semantic level based on at least two thresholds. The weighted calculation is as follows: P = w1*C + w2*T + w3*I + w4*D - w5*R; where P is the semantic priority score, C is the task contribution, T is the time sensitivity, I is the irreplaceability, D is the dependency criticality, and R is the redundancy; and w1, w2, w3, w4, and w5 are the corresponding configurable weights.
[0022] Furthermore, the time sensitivity is calculated based on the generation time of the service data payload, the maximum acceptable delivery delay, and the current estimated one-way transmission delay; the semantic deadline is determined by the generation time and the maximum acceptable delivery delay.
[0023] Furthermore, the sending end configures the service data payload of the first semantic level with a non-zero retransmission budget and a first forward error correction redundancy, configures the service data payload of the second semantic level with a conditional retransmission budget constrained by the semantic deadline and a second forward error correction redundancy, and configures the service data payload of the third semantic level with a retransmission budget of zero or lower than that of the second semantic level, and allows the service data payload corresponding to the third semantic level to be directly discarded when the sending queue is congested or the link is poor; the conditional retransmission budget is determined based on the remaining valid time, the estimated round-trip delay, and the number of retransmissions; when the remaining valid time is less than the time required to complete one round-trip retransmission, the sending end stops retransmitting the corresponding service data payload.
[0024] Furthermore, the method by which the sending end adjusts the forward error correction redundancy includes: when the packet loss rate of the first semantic level or the second semantic level is higher than the target packet loss rate and the semantic expiration rate is lower than the target expiration rate, increasing the forward error correction redundancy of the corresponding semantic level; when the semantic expiration rate of the first semantic level or the second semantic level is higher than the target expiration rate, reducing the retransmission budget for the soon-to-expire service data payload and increasing the scheduling weight of the newly generated service data payload.
[0025] Specifically, after the application layer at the sending end generates the business data payload to be sent, it will also obtain the business context information corresponding to the business data payload in the business layer or transport adaptation layer. The business context information may include task identifier, data type, generation time, maximum acceptable delivery delay, whether the data can be replaced by subsequent data, whether it is necessary for control loop, and whether it depends on previous data.
[0026] Furthermore, the peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream, and different semantic levels or different semantic streams have mutually independent sequence spaces; the dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends, and the receiving end delivers the service data payload to the application layer only when the necessary dependency indicated by the dependency identifier is satisfied or marked as skippable.
[0027] Then, semantic validity parameters are generated for the business data payload based on the business context information. The semantic validity parameters include at least semantic level, semantic deadline, sibling sequence number, and dependency identifier. The semantic level is determined by semantic priority scoring, which is calculated by weighting at least three of the following: task contribution, time sensitivity, irreplaceability, dependency criticality, and redundancy. It is then divided into first semantic level, second semantic level, and third semantic level based on at least two thresholds (theta1 and theta2). The weighted calculation is as follows: P = w1*C + w2*T + w3*I + w4*D - w5*R; where P is the semantic priority score, C is the task contribution, T is the time sensitivity, I is the irreplaceability, D is the dependency criticality, and R is the redundancy; and w1, w2, w3, w4, and w5 are the corresponding configurable weights.
[0028] Time sensitivity is calculated based on the generation time of the service data payload, the maximum acceptable delivery delay, and the currently estimated one-way transmission delay. The semantic deadline can be expressed as generation_time + TTL, where TTL is the maximum acceptable delivery delay for the data unit. For strong real-time control commands, TTL can be tens of milliseconds to several seconds; for service images or telemetry information, TTL can be several seconds to several minutes; for log-type information, TTL can be longer or can be configured to be discarded.
[0029] At this point, the sender will configure the forward error correction redundancy corresponding to different semantic levels. Specifically, the sender will configure the service data payload of the first semantic level with a non-zero retransmission budget and a first forward error correction redundancy; configure the service data payload of the second semantic level with a conditional retransmission budget constrained by the semantic deadline and a second forward error correction redundancy; and configure the service data payload of the third semantic level with a retransmission budget of zero or lower than that of the second semantic level. It will also allow the direct discarding of the service data payload corresponding to the third semantic level when the sending queue is congested or the link is faulty. The conditional retransmission budget is determined based on the remaining valid time, estimated round-trip time, and the number of retransmissions. When the remaining valid time is less than the time required to complete one round-trip retransmission, the sender will stop retransmitting the corresponding service data payload. Simultaneously, the sender will provide the corresponding adjustment method for the forward error correction redundancy.
[0030] The specific adjustment method for forward error correction redundancy is as follows: when the packet loss rate of the first semantic level or the second semantic level is higher than the target packet loss rate, and the semantic expiration rate is lower than the target expiration rate, the forward error correction redundancy of the corresponding semantic level is increased; when the semantic expiration rate of the first semantic level or the second semantic level is higher than the target expiration rate, the retransmission budget for the soon-to-expire business data payload is reduced and the scheduling weight of the newly generated business data payload is increased.
[0031] Furthermore, it is given that the same-level sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream, and different semantic levels or different semantic streams have mutually independent sequence spaces; the dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends, and the subsequent receiver only delivers the service data payload to the application layer when the necessary dependency indicated by the dependency identifier is satisfied or marked as skippable.
[0032] S102: The sending end generates a UDP protocol layer payload data packet based on the service data payload, sets a custom semantic transmission control header at the beginning of the payload data packet, and writes the semantic validity parameter into the custom semantic transmission control header; In the specific implementation of this invention, the custom semantic transmission control header includes at least one of the following: connection identifier, semantic stream identifier, data fragment identifier, total number of fragments, forward error correction group identifier, retransmission count, remaining retransmission budget, check field, or path identifier; the current link status includes at least two of the following: round-trip time, round-trip time jitter, packet loss rate, available bandwidth, link interruption status, send queue length, or receive buffer occupancy.
[0033] Specifically, at this point, the sending end will generate a payload data packet at the UDP (User Datagram Protocol) protocol layer based on the service data payload; such as Figure 2 As shown, the sending end will encapsulate a custom semantic transmission control header at the beginning of the payload data packet, and then write semantic validity parameters into the custom semantic transmission control header; subsequently, the hierarchical transmission control logic will determine the sending, retransmission, FEC and scheduling strategies based on the semantic level, remaining validity time and link status.
[0034] The custom semantic transmission control header is a custom semantic transmission control header set at the beginning of the UDP payload without modifying the standard UDP header. The sending end encapsulates the business data payload into the form of "custom semantic transmission control header + business data payload" and then sends it as the UDP datagram payload (payload data packet); as shown in Table 1. Table 1
[0035] Table 1 shows the fields in the custom semantic transport control header, along with the meaning and function of each field.
[0036] S103: The sending end generates a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters, and sends the payload data packet to the receiving end according to the data transmission strategy; Specifically, the sender generates a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters, and sends the payload data packets to the receiver according to the data transmission strategy. The data transmission strategy is determined by the sender based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters; that is, the sender maintains a transmission queue for each semantic level or semantic stream. The scheduler determines the transmission order by combining the semantic level, remaining valid time, estimated round-trip time, packet loss rate, transmission queue length, and receiver feedback. For first semantic level data, the sender is configured with a higher scheduling weight, a non-zero retransmission budget, and a higher FEC (Forward Error Correction) redundancy. For second semantic level data, the sender is configured with conditional retransmission constrained by the semantic deadline. For third semantic level data, the sender can be configured not to retransmit and actively discard the data when congestion occurs or the link deteriorates.
[0037] In one implementation, if the remaining validity period of a certain service data payload is less than the estimated time required to complete one round trip retransmission, the sender stops retransmitting the data unit and transfers the transmission resources to a newly generated service data payload that is still valid.
[0038] S104: The sending end performs adaptive adjustment processing on the data sending strategy based on the feedback information from the receiving end until the payload data packet is sent, or is determined to be semantically expired, or the retransmission budget is exhausted, or is discarded according to the data sending strategy.
[0039] In the specific implementation of this invention, the receiving end establishes independent rearrangement buffers according to semantic level or semantic flow to enable ordered delivery within the same semantic level or semantic flow and prevent the absence of low semantic level data from causing cross-level head-of-line blocking of high semantic level data. The receiving end maintains a receiving window, a missing set, a skippable set, and an expired set in the rearrangement buffer for the corresponding semantic level or semantic flow. When a missing payload data packet exceeds the corresponding waiting window or semantic deadline, it is added to the skippable set or expired set, and semantic skip feedback is sent to enable the sending end to advance the sending state of the corresponding semantic flow. The feedback information includes at least two of the following: packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, or forward error correction recovery rate. The feedback information is encoded using at least two of the following forms: cumulative acknowledgment, selective acknowledgment, semantic expiration notification, semantic skip notification, and link state report.
[0040] Furthermore, the semantic expiration rate is the ratio of the number of service data payloads that have been correctly received, retransmitted, or recovered from forward error correction within the statistical period but have not been delivered due to exceeding the semantic deadline to the total number of service data payloads of the corresponding semantic level; the head-of-line blocking time is the cumulative time that the receiving end delays in delivering subsequent service data payloads due to waiting for service data payloads of the same semantic level or missing service data payloads within the same semantic stream, and the sending end reduces the retransmission budget of the corresponding semantic level, shortens the waiting window, or increases the forward error correction redundancy based on the head-of-line blocking time.
[0041] Specifically, the receiving end maintains a receiving window, a missing set, a skippable set, and an expired set for each semantic level or semantic stream in the rearrangement buffer. When the load of missing service data exceeds the corresponding waiting window or semantic deadline, it is added to the skippable set or the expired set, and semantic skip feedback is sent to enable the sending end to advance the sending status of the corresponding semantic stream. The feedback information includes at least two of the following: packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, or forward error correction recovery rate. The feedback information is encoded using at least two of the following forms: cumulative acknowledgment, selective acknowledgment, semantic expiration notification, semantic skip notification, and link state report.
[0042] The semantic expiration rate is the ratio of the number of service data payloads that have been correctly received, retransmitted, or recovered from forward error correction within the statistical period but have not been delivered due to exceeding the semantic deadline to the total number of service data payloads of the corresponding semantic level. The head-of-line blocking time is the cumulative time that the receiver delays the delivery of subsequent service data payloads due to waiting for service data payloads of the same semantic level or missing service data payloads in the same semantic stream. The sender reduces the retransmission budget, shortens the waiting window, or increases the forward error correction redundancy of the corresponding semantic level based on the head-of-line blocking time.
[0043] like Figure 3 The receiver is shown to perform hierarchical rearrangement, delivery, and semantic expiration processing. The receiver establishes an independent rearrangement buffer based on semantic_level and semantic_stream_id. Each buffer maintains a receiving window, a missing set, a skippable set, and an expired set. The receiver only performs ordering constraints based on seq_in_level within the same semantic level or semantic stream to avoid missing data of low semantic level blocking high semantic level data.
[0044] When the service data payload (payload data packet) arrives at the receiving end after the semantic deadline, or although it is recovered through retransmission or FEC but the recovery time is later than the semantic deadline, the receiving end does not deliver the data unit to the application layer, but adds it to the expiration set and increments the semantic expiration count in the feedback; this process changes the transmission goal from simply "bit correct delivery" to "delivery within the semantically valid time".
[0045] When a missing business data payload fails to arrive and exceeds the waiting window, the receiver determines its dependency. If the missing business data payload is not a necessary dependency for subsequent data, the receiver marks it as skippable and delivers subsequent data units that meet the conditions. If the missing business data payload is a necessary dependency, the receiver waits until the corresponding semantic deadline or the maximum waiting time configured by the receiver.
[0046] like Figure 4 The process described involves adaptively adjusting the data transmission strategy based on feedback information. The receiver periodically or through event-triggered events, feeding back statistical metrics for each semantic level or semantic stream to the sender. These metrics include packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, FEC recovery rate, retransmission waste rate, receive buffer occupancy rate, and link state estimation. The sender then performs closed-loop adjustments based on this feedback. For example, if the packet loss rate for the first semantic level is high and the semantic expiration rate is low, it indicates that increasing FEC may improve the effective delivery rate, and the sender increases FEC redundancy. If the semantic expiration rate is high, it indicates that retransmission is unlikely to be completed within the effective time, and the sender reduces the retransmission budget for data that is about to expire and increases the scheduling weight of new data or higher-level data.
[0047] In the specific implementation of this invention, semantic deadlines and expired non-delivery mechanisms prevent data that is bit-correct but has expired in terms of business logic from continuing to occupy application layer processing resources; by using peer sequence numbers and independent rearrangement buffers, ordered delivery is limited to the same semantic level or the same semantic stream, reducing the blocking of the head of the queue of high semantic level data by missing low semantic level data; by expressing necessary prerequisite relationships through dependency identifiers, the receiver can distinguish between dependencies that must be waited for and unnecessary missing data that can be skipped; by providing feedback on semantic expiration rate, deadline default rate, head-of-queue blocking time, and forward error correction recovery rate, the sender can dynamically adjust the retransmission budget, FEC redundancy, and transmission scheduling according to semantic level; and by implementing a custom control header within the UDP payload, the standard UDP header format is avoided, facilitating deployment in existing IP networks, NAT environments, and application layer protocol stacks.
[0048] Example 2, please refer to Figure 5 , Figure 5 This is a schematic diagram of the structural composition of a data transmission device with semantically valid constraints in an embodiment of the present invention.
[0049] like Figure 5 As shown, a data transmission device with semantically valid constraints is provided, the device comprising: Semantic validity parameter generation module 501: This module is used by the sending end to obtain the service data payload and service context information, and to generate semantic validity parameters for the service data payload based on the service context information. The service context information includes at least one of task type, generation time, validity time requirement, data dependency relationship, or substitutability relationship. The semantic validity parameters include at least a semantic level, a semantic deadline, a peer sequence number, and a dependency identifier. The peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream. Different semantic levels or different semantic streams have mutually independent sequence spaces. The dependency identifier indicates the preceding data unit and preceding semantic stream upon which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. In the specific implementation of this invention, the semantic level is determined by semantic priority scoring. The semantic priority score is calculated by weighting at least three of the following: task contribution, time sensitivity, irreplaceability, dependency criticality, and redundancy. It is then divided into a first semantic level, a second semantic level, and a third semantic level based on at least two thresholds. The weighted calculation is as follows: P = w1*C + w2*T + w3*I + w4*D - w5*R; where P is the semantic priority score, C is the task contribution, T is the time sensitivity, I is the irreplaceability, D is the dependency criticality, and R is the redundancy; and w1, w2, w3, w4, and w5 are the corresponding configurable weights.
[0050] Furthermore, the time sensitivity is calculated based on the generation time of the service data payload, the maximum acceptable delivery delay, and the current estimated one-way transmission delay; the semantic deadline is determined by the generation time and the maximum acceptable delivery delay.
[0051] Furthermore, the sending end configures the service data payload of the first semantic level with a non-zero retransmission budget and a first forward error correction redundancy, configures the service data payload of the second semantic level with a conditional retransmission budget constrained by the semantic deadline and a second forward error correction redundancy, and configures the service data payload of the third semantic level with a retransmission budget of zero or lower than that of the second semantic level, and allows the service data payload corresponding to the third semantic level to be directly discarded when the sending queue is congested or the link is poor; the conditional retransmission budget is determined based on the remaining valid time, the estimated round-trip delay, and the number of retransmissions; when the remaining valid time is less than the time required to complete one round-trip retransmission, the sending end stops retransmitting the corresponding service data payload.
[0052] Furthermore, the method by which the sending end adjusts the forward error correction redundancy includes: when the packet loss rate of the first semantic level or the second semantic level is higher than the target packet loss rate and the semantic expiration rate is lower than the target expiration rate, increasing the forward error correction redundancy of the corresponding semantic level; when the semantic expiration rate of the first semantic level or the second semantic level is higher than the target expiration rate, reducing the retransmission budget for the soon-to-expire service data payload and increasing the scheduling weight of the newly generated service data payload.
[0053] Specifically, after the application layer at the sending end generates the business data payload to be sent, it will also obtain the business context information corresponding to the business data payload in the business layer or transport adaptation layer. The business context information may include task identifier, data type, generation time, maximum acceptable delivery delay, whether the data can be replaced by subsequent data, whether it is necessary for control loop, and whether it depends on previous data.
[0054] Furthermore, the peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream, and different semantic levels or different semantic streams have mutually independent sequence spaces; the dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends, and the receiving end delivers the service data payload to the application layer only when the necessary dependency indicated by the dependency identifier is satisfied or marked as skippable.
[0055] Then, semantic validity parameters are generated for the business data payload based on the business context information. The semantic validity parameters include at least semantic level, semantic deadline, sibling sequence number, and dependency identifier. The semantic level is determined by semantic priority scoring, which is calculated by weighting at least three of the following: task contribution, time sensitivity, irreplaceability, dependency criticality, and redundancy. It is then divided into first semantic level, second semantic level, and third semantic level based on at least two thresholds (theta1 and theta2). The weighted calculation is as follows: P = w1*C + w2*T + w3*I + w4*D - w5*R; where P is the semantic priority score, C is the task contribution, T is the time sensitivity, I is the irreplaceability, D is the dependency criticality, and R is the redundancy; and w1, w2, w3, w4, and w5 are the corresponding configurable weights.
[0056] Time sensitivity is calculated based on the generation time of the service data payload, the maximum acceptable delivery delay, and the currently estimated one-way transmission delay. The semantic deadline can be expressed as generation_time + TTL, where TTL is the maximum acceptable delivery delay for the data unit. For strong real-time control commands, TTL can be tens of milliseconds to several seconds; for service images or telemetry information, TTL can be several seconds to several minutes; for log-type information, TTL can be longer or can be configured to be discarded.
[0057] At this point, the sender will configure the forward error correction redundancy corresponding to different semantic levels. Specifically, the sender will configure the service data payload of the first semantic level with a non-zero retransmission budget and a first forward error correction redundancy; configure the service data payload of the second semantic level with a conditional retransmission budget constrained by the semantic deadline and a second forward error correction redundancy; and configure the service data payload of the third semantic level with a retransmission budget of zero or lower than that of the second semantic level. It will also allow the direct discarding of the service data payload corresponding to the third semantic level when the sending queue is congested or the link is faulty. The conditional retransmission budget is determined based on the remaining valid time, estimated round-trip time, and the number of retransmissions. When the remaining valid time is less than the time required to complete one round-trip retransmission, the sender will stop retransmitting the corresponding service data payload. Simultaneously, the sender will provide the corresponding adjustment method for the forward error correction redundancy.
[0058] The specific adjustment method for forward error correction redundancy is as follows: when the packet loss rate of the first semantic level or the second semantic level is higher than the target packet loss rate, and the semantic expiration rate is lower than the target expiration rate, the forward error correction redundancy of the corresponding semantic level is increased; when the semantic expiration rate of the first semantic level or the second semantic level is higher than the target expiration rate, the retransmission budget for the soon-to-expire business data payload is reduced and the scheduling weight of the newly generated business data payload is increased.
[0059] Furthermore, it is given that the same-level sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream, and different semantic levels or different semantic streams have mutually independent sequence spaces; the dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends, and the subsequent receiver only delivers the service data payload to the application layer when the necessary dependency indicated by the dependency identifier is satisfied or marked as skippable.
[0060] Semantic transmission control header setting module 502: used by the sending end to generate a UDP protocol layer payload data packet based on the service data payload, and to set a custom semantic transmission control header at the beginning of the payload data packet, and to write the semantic validity parameter in the custom semantic transmission control header; In the specific implementation of this invention, the custom semantic transmission control header includes at least one of the following: connection identifier, semantic stream identifier, data fragment identifier, total number of fragments, forward error correction group identifier, retransmission count, remaining retransmission budget, check field, or path identifier; the current link status includes at least two of the following: round-trip time, round-trip time jitter, packet loss rate, available bandwidth, link interruption status, send queue length, or receive buffer occupancy.
[0061] Specifically, at this point, the sending end will generate a payload data packet at the UDP (User Datagram Protocol) protocol layer based on the service data payload; such as Figure 2 As shown, the sending end will encapsulate a custom semantic transmission control header at the beginning of the payload data packet, and then write semantic validity parameters into the custom semantic transmission control header; subsequently, the hierarchical transmission control logic will determine the sending, retransmission, FEC and scheduling strategies based on the semantic level, remaining validity time and link status.
[0062] The custom semantic transmission control header is a custom semantic transmission control header set at the beginning of the UDP payload without modifying the standard UDP header. The sending end encapsulates the business data payload into the form of "custom semantic transmission control header + business data payload" and then sends it as the UDP datagram payload (payload data packet).
[0063] Data transmission strategy generation module 503: used by the sending end to generate a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time and the current link status in the semantic validity parameters, and to send the payload data packet to the receiving end according to the data transmission strategy; Specifically, the sender generates a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters, and sends the payload data packets to the receiver according to the data transmission strategy. The data transmission strategy is determined by the sender based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters; that is, the sender maintains a transmission queue for each semantic level or semantic stream. The scheduler determines the transmission order by combining the semantic level, remaining valid time, estimated round-trip time, packet loss rate, transmission queue length, and receiver feedback. For first semantic level data, the sender is configured with a higher scheduling weight, a non-zero retransmission budget, and a higher FEC (Forward Error Correction) redundancy. For second semantic level data, the sender is configured with conditional retransmission constrained by the semantic deadline. For third semantic level data, the sender can be configured not to retransmit and actively discard the data when congestion occurs or the link deteriorates.
[0064] In one implementation, if the remaining validity period of a certain service data payload is less than the estimated time required to complete one round trip retransmission, the sender stops retransmitting the data unit and transfers the transmission resources to a newly generated service data payload that is still valid.
[0065] Adaptive adjustment processing module 504: used by the sending end to perform adaptive adjustment processing on the data sending strategy based on the feedback information from the receiving end, until the payload data packet is sent, or is determined to be semantically expired, or the retransmission budget is exhausted, or is discarded according to the data sending strategy.
[0066] In the specific implementation of this invention, the receiving end establishes independent rearrangement buffers according to semantic level or semantic flow to enable ordered delivery within the same semantic level or semantic flow and prevent the absence of low semantic level data from causing cross-level head-of-line blocking of high semantic level data. The receiving end maintains a receiving window, a missing set, a skippable set, and an expired set in the rearrangement buffer for the corresponding semantic level or semantic flow. When a missing payload data packet exceeds the corresponding waiting window or semantic deadline, it is added to the skippable set or expired set, and semantic skip feedback is sent to enable the sending end to advance the sending state of the corresponding semantic flow. The feedback information includes at least two of the following: packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, or forward error correction recovery rate. The feedback information is encoded using at least two of the following forms: cumulative acknowledgment, selective acknowledgment, semantic expiration notification, semantic skip notification, and link state report.
[0067] Furthermore, the semantic expiration rate is the ratio of the number of service data payloads that have been correctly received, retransmitted, or recovered from forward error correction within the statistical period but have not been delivered due to exceeding the semantic deadline to the total number of service data payloads of the corresponding semantic level; the head-of-line blocking time is the cumulative time that the receiving end delays in delivering subsequent service data payloads due to waiting for service data payloads of the same semantic level or missing service data payloads within the same semantic stream, and the sending end reduces the retransmission budget of the corresponding semantic level, shortens the waiting window, or increases the forward error correction redundancy based on the head-of-line blocking time.
[0068] Specifically, the receiving end maintains a receiving window, a missing set, a skippable set, and an expired set for each semantic level or semantic stream in the rearrangement buffer. When the load of missing service data exceeds the corresponding waiting window or semantic deadline, it is added to the skippable set or the expired set, and semantic skip feedback is sent to enable the sending end to advance the sending status of the corresponding semantic stream. The feedback information includes at least two of the following: packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, or forward error correction recovery rate. The feedback information is encoded using at least two of the following forms: cumulative acknowledgment, selective acknowledgment, semantic expiration notification, semantic skip notification, and link state report.
[0069] The semantic expiration rate is the ratio of the number of service data payloads that have been correctly received, retransmitted, or recovered from forward error correction within the statistical period but have not been delivered due to exceeding the semantic deadline to the total number of service data payloads of the corresponding semantic level. The head-of-line blocking time is the cumulative time that the receiver delays the delivery of subsequent service data payloads due to waiting for service data payloads of the same semantic level or missing service data payloads in the same semantic stream. The sender reduces the retransmission budget, shortens the waiting window, or increases the forward error correction redundancy of the corresponding semantic level based on the head-of-line blocking time.
[0070] like Figure 3 The receiver is shown to perform hierarchical rearrangement, delivery, and semantic expiration processing. The receiver establishes an independent rearrangement buffer based on semantic_level and semantic_stream_id. Each buffer maintains a receiving window, a missing set, a skippable set, and an expired set. The receiver only performs ordering constraints based on seq_in_level within the same semantic level or semantic stream to avoid missing data of low semantic level blocking high semantic level data.
[0071] When the service data payload (payload data packet) arrives at the receiving end after the semantic deadline, or although it is recovered through retransmission or FEC but the recovery time is later than the semantic deadline, the receiving end does not deliver the data unit to the application layer, but adds it to the expiration set and increments the semantic expiration count in the feedback; this process changes the transmission goal from simply "bit correct delivery" to "delivery within the semantically valid time".
[0072] When a missing business data payload fails to arrive and exceeds the waiting window, the receiver determines its dependency. If the missing business data payload is not a necessary dependency for subsequent data, the receiver marks it as skippable and delivers subsequent data units that meet the conditions. If the missing business data payload is a necessary dependency, the receiver waits until the corresponding semantic deadline or the maximum waiting time configured by the receiver.
[0073] like Figure 4 The process described involves adaptively adjusting the data transmission strategy based on feedback information. The receiver periodically or through event-triggered events, feeding back statistical metrics for each semantic level or semantic stream to the sender. These metrics include packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, FEC recovery rate, retransmission waste rate, receive buffer occupancy rate, and link state estimation. The sender then performs closed-loop adjustments based on this feedback. For example, if the packet loss rate for the first semantic level is high and the semantic expiration rate is low, it indicates that increasing FEC may improve the effective delivery rate, and the sender increases FEC redundancy. If the semantic expiration rate is high, it indicates that retransmission is unlikely to be completed within the effective time, and the sender reduces the retransmission budget for data that is about to expire and increases the scheduling weight of new data or higher-level data.
[0074] In the specific implementation of this invention, semantic deadlines and expired non-delivery mechanisms prevent data that is bit-correct but has expired in terms of business logic from continuing to occupy application layer processing resources; by using peer sequence numbers and independent rearrangement buffers, ordered delivery is limited to the same semantic level or the same semantic stream, reducing the blocking of the head of the queue of high semantic level data by missing low semantic level data; by expressing necessary prerequisite relationships through dependency identifiers, the receiver can distinguish between dependencies that must be waited for and unnecessary missing data that can be skipped; by providing feedback on semantic expiration rate, deadline default rate, head-of-queue blocking time, and forward error correction recovery rate, the sender can dynamically adjust the retransmission budget, FEC redundancy, and transmission scheduling according to semantic level; and by implementing a custom control header within the UDP payload, the standard UDP header format is avoided, facilitating deployment in existing IP networks, NAT environments, and application layer protocol stacks.
[0075] This invention provides a computer-readable storage medium storing a computer program. When executed by a processor, the program implements the data transmission method of any of the above embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, and magnetic cards. In other words, the storage device includes any medium that stores or transmits information in a readable form by a device (e.g., a computer, a mobile phone), and can be a read-only memory, a disk, or an optical disk, etc.
[0076] This invention also provides a computer application running on a computer, which is used to execute the data transmission method of any of the above embodiments.
[0077] also, Figure 6 This is a schematic diagram of the structural composition of the electronic device in an embodiment of the present invention.
[0078] This invention also provides an electronic device, such as... Figure 6 As shown. The electronic device includes a processor 602, a memory 603, an input unit 604, and a display unit 605, among other devices. Those skilled in the art will understand that... Figure 6The structural components of the illustrated electronic device do not constitute a limitation on all devices and may include more or fewer components than illustrated, or combine certain components. Memory 603 can be used to store application program 601 and various functional modules. Processor 602 runs application program 601 stored in memory 603, thereby performing various functional applications and data processing of the device. Memory may be internal memory or external memory, or both. Internal memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, or random access memory. External memory may include hard disks, floppy disks, ZIP disks, USB flash drives, magnetic tapes, etc. The memory disclosed in this invention includes, but is not limited to, these types of memory. The memory disclosed in this invention is only an example and not a limitation.
[0079] Input unit 604 is used to receive signal input and user-input keywords. Input unit 604 may include a touch panel and other input devices. The touch panel can collect user touch operations on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel) and drive the corresponding connection device according to a pre-set program; other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as play control buttons, power buttons, etc.), trackballs, mice, joysticks, etc. Display unit 605 can be used to display user-input information or information provided to the user, as well as various menus of the terminal device. Display unit 605 may be in the form of a liquid crystal display, organic light-emitting diode, etc. Processor 602 is the control center of the terminal device, connecting various parts of the entire device through various interfaces and lines, and performing various functions and processing data by running or executing software programs and / or modules stored in memory 603, and calling data stored in memory.
[0080] As one embodiment, the electronic device includes: one or more processors 602, a memory 603, and one or more application programs 601, wherein the one or more application programs 601 are stored in the memory 603 and configured to be executed by the one or more processors 602, and the one or more application programs 601 are configured to perform the data transmission method corresponding to any of the above embodiments.
[0081] In the specific implementation of this invention, semantic deadlines and expired non-delivery mechanisms prevent data that is bit-correct but has expired in terms of business logic from continuing to occupy application layer processing resources; by using peer sequence numbers and independent rearrangement buffers, ordered delivery is limited to the same semantic level or the same semantic stream, reducing the blocking of the head of the queue of high semantic level data by missing low semantic level data; by expressing necessary prerequisite relationships through dependency identifiers, the receiver can distinguish between dependencies that must be waited for and unnecessary missing data that can be skipped; by providing feedback on semantic expiration rate, deadline default rate, head-of-queue blocking time, and forward error correction recovery rate, the sender can dynamically adjust the retransmission budget, FEC redundancy, and transmission scheduling according to semantic level; and by implementing a custom control header within the UDP payload, the standard UDP header format is avoided, facilitating deployment in existing IP networks, NAT environments, and application layer protocol stacks.
[0082] Furthermore, the above provides a detailed description of a data transmission method and related apparatus with semantically effective constraints provided by the embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A data transmission method with semantically valid constraints, characterized in that, The method includes: The sending end obtains the service data payload and service context information, and generates semantic validity parameters for the service data payload based on the service context information. The service context information includes at least one of task type, generation time, validity time requirement, data dependency relationship or substitutability relationship. The semantic validity parameters include at least semantic level, semantic deadline, peer sequence number and dependency identifier. The peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream. Different semantic levels or different semantic streams have mutually independent sequence spaces. The dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. The sending end generates a UDP protocol layer payload data packet based on the service data payload, sets a custom semantic transmission control header at the beginning of the payload data packet, and writes the semantic validity parameter into the custom semantic transmission control header; The sending end generates a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link state in the semantic validity parameters, and sends the payload data packet to the receiving end according to the data transmission strategy. The sending end performs adaptive adjustment processing on the data transmission strategy based on the feedback information from the receiving end until the payload data packet is sent, or is determined to be semantically expired, or the retransmission budget is exhausted, or is discarded according to the data transmission strategy.
2. The data transmission method according to claim 1, characterized in that, The semantic level is determined by semantic priority scoring, which is calculated by weighting at least three of the following: task contribution, time sensitivity, irreplaceability, criticality of dependence, and redundancy. The semantic level is then divided into a first semantic level, a second semantic level, and a third semantic level based on at least two thresholds. The weighted calculation is as follows: P = w1*C + w2*T + w3*I + w4*D - w5*R; P represents semantic priority score, C represents task contribution, T represents time sensitivity, I represents irreplaceability, D represents dependency criticality, and R represents redundancy; w1, w2, w3, w4, and w5 are the corresponding configurable weights.
3. The data transmission method according to claim 2, characterized in that, The time sensitivity is calculated based on the generation time of the service data payload, the maximum acceptable delivery delay, and the current estimated one-way transmission delay. The semantic deadline is determined by the generation time and the maximum acceptable delivery delay.
4. The data transmission method according to claim 2, characterized in that, The transmitting end configures the service data payload of the first semantic level in the semantic level with a non-zero retransmission budget and a first forward error correction redundancy, configures the service data payload of the second semantic level with a conditional retransmission budget constrained by the semantic deadline and a second forward error correction redundancy, configures the service data payload of the third semantic level with a zero or lower retransmission budget than the second semantic level, and allows the service data payload corresponding to the third semantic level to be directly discarded when the sending queue is congested or the link is poor. The conditional retransmission budget is determined based on the remaining valid time, estimated round-trip delay, and the number of retransmissions already performed. When the remaining valid time is less than the time required to complete one round-trip retransmission, the sending end stops retransmitting the corresponding service data payload.
5. The data transmission method according to claim 4, characterized in that, The methods by which the transmitting end adjusts the forward error correction redundancy include: When the packet loss rate of the first semantic level or the second semantic level is higher than the target packet loss rate, and the semantic expiration rate is lower than the target expiration rate, the forward error correction redundancy of the corresponding semantic level is increased. When the semantic expiration rate of the first or second semantic level is higher than the target expiration rate, the retransmission budget for soon-to-expire business data payloads is reduced and the scheduling weight of newly generated business data payloads is increased.
6. The data transmission method according to claim 1, characterized in that, The custom semantic transmission control header includes at least one of the following: connection identifier, semantic stream identifier, data fragment identifier, total number of fragments, forward error correction group identifier, retransmission count, remaining retransmission budget, check field, or path identifier; The current link status includes at least two of the following: round-trip time, round-trip time jitter, packet loss rate, available bandwidth, link interruption status, send queue length, or receive buffer occupancy.
7. The data transmission method according to claim 1, characterized in that, The receiving end establishes independent rearrangement buffers according to semantic level or semantic flow to enable ordered delivery within the same semantic level or semantic flow and prevent the absence of low semantic level data from causing cross-level head-of-line blocking of high semantic level data. The receiving end maintains a receiving window, a missing set, a skippable set, and an expired set in the rearrangement buffer for the corresponding semantic level or semantic stream. When a missing payload data packet exceeds the corresponding waiting window or semantic deadline, it is added to the skippable set or the expired set, and semantic skip feedback is sent to enable the sending end to advance the sending state of the corresponding semantic stream. The feedback information includes at least two of the following: packet loss rate, semantic expiration rate, deadline default rate, head-of-line blocking time, or forward error correction recovery rate. The feedback information is encoded using at least two of the following formats: cumulative confirmation, selective confirmation, semantic expiration notification, semantic skip notification, and link status report.
8. The data transmission method according to claim 7, characterized in that, The semantic expiration rate is the ratio of the number of payload data packets that have been correctly received, retransmitted, or recovered through forward error correction within the statistical period but have not been delivered due to exceeding the semantic deadline, to the total number of payload data packets of the corresponding semantic level. The head-of-line blocking time is the cumulative time that the receiving end delays in delivering subsequent service data payloads due to waiting for missing service data payloads of the same semantic level or within the same semantic stream. The sending end reduces the retransmission budget of the corresponding semantic level, shortens the waiting window, or increases the forward error correction redundancy based on the head-of-line blocking time.
9. A data transmission device with semantically valid constraints, characterized in that, The device includes: The semantic validity parameter generation module is used by the sending end to obtain the service data payload and service context information, and generate semantic validity parameters for the service data payload based on the service context information. The service context information includes at least one of task type, generation time, validity time requirement, data dependency relationship or substitutability relationship. The semantic validity parameters include at least semantic level, semantic deadline, peer sequence number and dependency identifier. The peer sequence number is a monotonically increasing sequence number within the same semantic level and the same semantic stream. Different semantic levels or different semantic streams have mutually independent sequence spaces. The dependency identifier is used to indicate the preceding data unit and preceding semantic stream on which the delivery of the service data payload depends. The receiving end delivers the service data payload to the application layer only when the necessary dependencies indicated by the dependency identifier are satisfied or marked as skippable. Semantic transmission control header setting module: used by the sending end to generate a UDP protocol layer payload data packet based on the service data payload, and set a custom semantic transmission control header at the beginning of the payload data packet, and write the semantic validity parameter into the custom semantic transmission control header; Data transmission strategy generation module: used by the sending end to generate a data transmission strategy based on the semantic level, the remaining valid time of the semantic deadline relative to the current time, and the current link status in the semantic validity parameters, and to send the payload data packet to the receiving end according to the data transmission strategy; Adaptive adjustment processing module: used by the sending end to perform adaptive adjustment processing on the data transmission strategy based on the feedback information from the receiving end, until the payload data packet is completed, determined to be semantically expired, or the retransmission budget is exhausted, or is discarded according to the data transmission strategy.
10. An electronic device comprising a processor and a memory, characterized in that, The processor executes computer programs or code stored in the memory to implement the data transmission method as described in any one of claims 1 to 8.
