Edge data transmission method, electronic device, storage medium and program product
By identifying data flow characteristics, calculating scores, and predicting congestion at edge devices, and allocating transmission channels in conjunction with priority indicators, the problem of differentiated protection of business data transmission in edge networks is solved, and the robustness and autonomy of the system are improved.
Patent Information
- Application Number
- CN202611180291.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-05
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies cannot dynamically adjust according to network conditions and business needs, and cannot guarantee differentiated transmission of different business data. In particular, in edge-to-edge collaborative network architectures, they lack the ability to perceive business semantics.
By acquiring raw data streams, identifying their business characteristics, calculating data stream scores, and combining network congestion probability to determine priority indicators, differentiated transmission of data streams is achieved. Allocation is carried out using independent and shared transmission channels, and all decisions are made locally on the edge devices.
It implements dual closed-loop priority decision-making based on business semantics and network status, which improves the robustness and autonomy of the system and ensures that critical data can still be processed correctly when the network is abnormal.
Smart Images

Figure CN123164061A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network transmission technology, specifically to edge data transmission methods, electronic devices, storage media, and program products. Background Technology
[0002] Currently, in edge-to-edge collaborative network architectures, the data plane carries various types of business data streams, including but not limited to control command data issued by servers, file transfer data, and audio / video streaming media data. However, the importance requirements of different business data during transmission vary significantly. For example, the importance of control command data issued by servers is usually far higher than that of ordinary file transfer data. Traditional protocol stacks can only distinguish between the signaling plane and the data plane, and cannot differentiate the importance levels of different business data within the data plane or provide differentiated transmission guarantees.
[0003] In related technologies, QoS (Quality of Service) tagging mechanisms are commonly used, which differentiate service levels by marking priority fields in data packets. However, this approach only considers traditional network performance metrics such as bandwidth and latency, lacking the ability to perceive business semantics. For example, it cannot achieve differentiated protection at the business level, such as prioritizing medical data over entertainment data. Furthermore, VLAN (Virtual Local Area Network) isolation technology can be used to divide different virtual networks to achieve service isolation. However, this solution is complex to configure and cannot be dynamically adjusted according to network conditions and business needs, resulting in insufficient flexibility. Summary of the Invention
[0004] This application provides an edge data transmission method, electronic device, storage medium, and program product to solve the problem of insufficient flexibility in related technologies due to the inability to dynamically adjust according to network conditions and business needs.
[0005] Firstly, this application provides an edge data transmission method, including: Acquire the raw data stream, perform data identification on the raw data stream, and determine the business characteristic information corresponding to the raw data stream.
[0006] Based on business characteristic information, determine the data stream score corresponding to the original data stream.
[0007] Predict the network state used to transmit raw data streams to determine the probability of network congestion in the future.
[0008] Based on the data stream score and network congestion probability, the priority index corresponding to the original data stream is determined.
[0009] The raw data stream is assigned to the transmission channel corresponding to the priority index.
[0010] The edge data transmission method provided in this embodiment transforms the original unstructured data stream into a parameter set by identifying data and extracting business feature information. It quantifies the business feature information into a unified data stream score, enabling the assessment of data stream importance and allowing priority determination based on business semantic information. By predicting network state, it introduces the ability to anticipate future congestion risks and integrates the data stream's own score with the network congestion probability into a unified priority index, achieving a dual closed-loop priority decision mechanism driven by business semantics and network state. By associating the priority index with the transmission channel, it achieves a closed loop from data stream importance assessment to differentiated transmission assurance, realizing a hybrid transmission mechanism. All channel allocation decisions are completed locally on the edge device, independent of the cloud, ensuring that data streams can still be correctly classified and processed even in scenarios of network outages or abnormal cloud-edge connections, thus improving the system's robustness and autonomy.
[0011] In some optional implementations, the service characteristic information includes a hard isolation identifier used to mark whether the original data stream is a dedicated resource. Based on the service characteristic information, a data stream score corresponding to the original data stream is determined, including: When the original data stream does not have a hard isolation identifier, the data stream score corresponding to the original data stream is determined based on business characteristic information.
[0012] Edge data transmission methods also include: When the original data stream has a hard isolation identifier, the original data stream is assigned to an independent transmission channel.
[0013] In some optional implementations, the service characteristic information includes target address information, data protocol type information, service type information, quality of service level information, and bandwidth information. Based on the service characteristic information, the data stream score corresponding to the original data stream is determined, including: Based on the data protocol type and business type, determine the business level sub-score in the data flow score.
[0014] Based on the target address information, determine the target address sub-score in the data stream score.
[0015] The bandwidth sub-score in the data stream score is determined based on the difference between the bandwidth information and the preset bandwidth threshold.
[0016] Based on the service quality level information, determine the service quality sub-score in the data flow score.
[0017] In some optional implementations, priority indicators corresponding to the original data stream are determined based on the data stream score and network congestion probability, including: Map the network congestion probability to the network prediction sub-score.
[0018] Based on the data stream score and the network prediction sub-score, the priority index corresponding to the original data stream is determined.
[0019] In some optional implementations, priority metrics corresponding to the original data stream are determined based on the data stream score and the network prediction score, including: Obtain the dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score.
[0020] The priority indicators corresponding to the original data stream are determined by weighting and summing the scores of each sub-score according to the dynamically adjusted weights.
[0021] In some optional implementations, obtaining dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score includes: The business characteristics and network congestion probability are input into a pre-set artificial intelligence model.
[0022] Obtain the dynamically adjusted weights corresponding to each sub-score output by the artificial intelligence model.
[0023] In some alternative implementations, the raw data stream is assigned to a transmission channel corresponding to a priority metric, including: If the priority index corresponding to the original data stream is greater than the first preset threshold, the original data stream will be allocated to an independent transmission channel.
[0024] If the priority index corresponding to the original data stream is less than or equal to the first preset threshold and the priority index is greater than the second preset threshold, the original data stream will be allocated to the shared transmission channel and the transmission bandwidth of the original data stream will be greater than the preset bandwidth threshold.
[0025] If the priority index corresponding to the original data stream is less than or equal to the second preset threshold, the original data stream will be allocated to the shared transmission channel and the original data stream will be rate-limited.
[0026] The edge data transmission method provided in this embodiment transforms the original unstructured data stream into a parameter set by identifying data and extracting business feature information. It quantifies the business feature information into a unified data stream score, enabling an assessment of the data stream's importance. By comprehensively considering both data protocol type and business type, it determines the business level sub-score, achieving a refined assessment of data stream importance. Introducing the target address sub-score as a dimension for priority scoring associates the data stream's priority score with its target server, improving the business relevance of priority determination. A bandwidth segmentation mapping mechanism reduces the weight of high-bandwidth services, prioritizing the transmission of low-bandwidth data streams. Mapping service quality level information to quantified service quality sub-scores fully utilizes the existing service quality level information capabilities in the network infrastructure, ensuring the transmission quality of data with high service quality requirements. For critical business data streams with hard isolation identifiers, skipping the priority indicator calculation process and directly allocating them to independent transmission channels ensures the determinism of critical business data transmission and resource exclusivity, avoiding the processing latency and computational overhead caused by priority indicator calculation. By predicting network conditions, the system introduces the ability to anticipate future congestion risks and integrates the data stream's own score with the network congestion probability into a unified priority indicator. This achieves a dual closed-loop priority decision-making mechanism driven by both business semantics and network conditions. By associating the priority indicator with transmission channels, a closed loop is achieved from data stream importance assessment to differentiated transmission assurance. This enables a hybrid transmission mechanism, and all channel allocation decisions are completed locally on the edge devices, independent of the cloud. This ensures that data streams can still be correctly classified and processed even in scenarios of network outages or abnormal cloud-edge connections, improving the system's robustness and autonomy.
[0027] Secondly, this application provides an edge data transmission device, comprising: The data recognition module is used to acquire the raw data stream, perform data recognition on the raw data stream, and determine the business characteristic information corresponding to the raw data stream.
[0028] The data scoring module is used to determine the data stream score corresponding to the original data stream based on business characteristic information.
[0029] The network prediction module is used to predict the network state used to transmit raw data streams and determine the probability of network congestion in the future.
[0030] The priority module is used to determine the priority index corresponding to the original data stream based on the data stream score and the network congestion probability.
[0031] The channel allocation module is used to allocate the raw data stream to the transmission channel corresponding to the priority index.
[0032] Thirdly, this application provides an electronic device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the edge data transmission method of the first aspect or any corresponding embodiment described above.
[0033] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the edge data transmission method of the first aspect or any corresponding embodiment described above.
[0034] Fifthly, this application provides a computer program product, including computer instructions for causing a computer to execute the edge data transmission method of the first aspect or any corresponding embodiment described above. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0036] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this application; Figure 2 This is a schematic flowchart of a first method for edge data transmission according to an embodiment of this application; Figure 3 This is a schematic diagram of a second type of edge data transmission method according to an embodiment of this application; Figure 4 This is a structural block diagram of an edge data transmission device according to an embodiment of this application; Figure 5 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0038] It is understood that before using the technical solutions disclosed in the various embodiments of this application, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this application in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0039] As one optional application scenario in the embodiments of this application, such as Figure 1 As shown, the edge data transmission system may include at least one terminal device, at least one edge device, and at least one server. Figure 1 The system is illustrated in the example, including a terminal device 101, an edge device 102, a target server 103, and a non-target server 104. The terminal device 101 is connected to the edge device 102 via a network, and the edge device 102 is connected to the target server 103 and the non-target server 104 via a network.
[0040] The terminal device can specifically be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, etc. The target server 103 and non-target server 104 can be independent physical servers, server clusters, distributed systems, or cloud servers providing cloud services. The network can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranets, local area networks, wide area networks, mobile communication networks, and combinations thereof.
[0041] Network slicing technology is used in some related technologies. This involves applying for dedicated slices from operators and configuring DNN (Data Network Name) resources on the terminal side to achieve end-to-end isolation. However, network slicing is usually set up based on a certain type of common service group, with a large granularity, and cannot be refined to the isolation of different protocol types or different individual connection levels within the same terminal. At the same time, this solution requires coordination with multiple operators, resulting in high deployment costs, long cycles, and low flexibility.
[0042] This application provides an edge data transmission method that assesses the importance of data streams by identifying data and extracting business characteristic information. By associating priority indicators with transmission channels, a closed loop is established, from importance assessment to differentiated transmission assurance. This implements a hybrid transmission mechanism, and all channel allocation decisions are completed locally on the edge device, independent of the cloud. This ensures that data streams can still be correctly classified and processed even in scenarios of network outages or abnormal cloud-edge connections, improving the system's robustness and autonomy.
[0043] According to an embodiment of this application, an embodiment of an edge data transmission method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0044] This embodiment provides an edge data transmission method that can be used in edge devices. Figure 2 This is a flowchart of an edge data transmission method according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps: Step S201: Obtain the original data stream and perform data identification on the original data stream to determine the business characteristic information corresponding to the original data stream.
[0045] Edge devices can be network devices located between terminal devices and servers (e.g., target server 103), possessing data processing or forwarding capabilities. They are used to receive data streams sent by terminal devices and forward them to the server, or to receive data streams sent by the server and forward them to the terminal devices. For example, the raw data stream can be an uplink data stream sent by the terminal device to the server.
[0046] After acquiring the raw data stream, the edge device can perform data identification on the raw data stream. In some optional implementations, the edge device can parse the packet headers of the raw data stream to extract various identification information carried in the packet headers. The data identification process may involve parsing the data link layer header, network layer header, and transport layer header to extract source address information, destination address information, protocol type information, etc. The source address information may include the source IP (Internet Protocol) address and source port number; the destination address information may include the destination IP address and destination port number; and the protocol type information may include TCP (Transmission Control Protocol), UDP (User Datagram Protocol), or other transport layer protocol types. After completing the data identification, the service characteristic information corresponding to the raw data stream can be determined. The service characteristic information is a set of parameters used to characterize the data stream's identity attributes, transmission requirements, and other features.
[0047] By performing data identification on the raw data stream and extracting business feature information, the raw unstructured data stream can be transformed into a parameter set, providing a data foundation for the subsequent calculation of priority indicators. In addition, since data identification is completed locally on the edge device, signaling overhead and decision latency are reduced.
[0048] Step S202: Determine the data stream score corresponding to the original data stream based on the business characteristic information.
[0049] After determining the business characteristic information of the original data stream, the data stream score can be calculated based on this information. As mentioned earlier, the business characteristic information is a set of parameters used to characterize features such as the data stream's identity attributes and transmission requirements. In this embodiment, the data stream score can be calculated based on parameters from various dimensions. For example, the data stream score can be determined based on the protocol type information and business type information within the business characteristic information, or it can be determined based on the target address information.
[0050] By quantifying business characteristic information into a unified data flow score, the importance of data flows can be assessed, enabling subsequent priorities to be quantitatively determined based on business semantic information.
[0051] Step S203: Predict the network state used to transmit the original data stream and determine the probability of network congestion in the future.
[0052] While calculating the data stream score corresponding to the original data stream, the edge device can also predict the network state used to transmit the original data stream to determine the probability of network congestion in the future. Specifically, the process of predicting the network state can be achieved by monitoring the current network state parameters in real time and combining them with a preset network prediction model to estimate the probability of network congestion within a certain period of time in the future. The network state parameters may include parameters such as current network bandwidth utilization, packet queuing delay, and packet loss rate. The future time is a period of time after the current time, such as 1 second, 5 seconds, or 1 minute after the current time. The specific duration can be flexibly set according to the actual application scenario, and this application does not limit it. The network congestion probability is a quantitative indicator used to represent the likelihood of congestion occurring in a future period of time. In this embodiment, the network congestion probability can be between 0 and 1, with the closer to 1 indicating a higher probability of network congestion in the future.
[0053] It should be noted that the execution order of steps S202 and S203 is not limited to the order described in this embodiment. They can be executed in parallel, or the network prediction can be performed first and then the data stream score can be calculated. This application does not limit this.
[0054] By predicting network conditions, the ability to anticipate future congestion risks is introduced, enabling priority determination to downgrade low-value data streams in advance when congestion is imminent, thereby improving the intelligence level of network resource scheduling.
[0055] Step S204: Determine the priority index corresponding to the original data stream based on the data stream score and network congestion probability.
[0056] After determining the data flow score and network congestion probability, priority indicators can be calculated based on these factors. Specifically, the initial priority indicator can be calculated first based on the data flow score, and then adjusted according to the network congestion probability to obtain the priority indicator corresponding to the original data flow. When the network congestion probability is high, the initial priority indicator can be appropriately lowered; when the network congestion probability is low, the initial priority indicator can be appropriately increased. That is, when the network tends to become congested in the future, the priority indicators of all data flows should be reduced to a certain extent to alleviate network load pressure. The resulting priority indicator reflects the importance of the original data flow itself (from the data flow score) and the current and future network environment conditions (from the network congestion probability).
[0057] By integrating the data stream's own score with the network congestion probability into a unified priority metric, a dual closed-loop priority decision mechanism driven by business semantics and network state is realized. The network congestion probability is incorporated into the priority metric in a negative correction manner, so that when the congestion risk increases, the priority metric of all data streams is lowered as a whole, achieving the effect of proactive congestion control.
[0058] Step S205: Assign the raw data stream to the transmission channel corresponding to the priority index.
[0059] After determining the priority index of the raw data stream, the corresponding transmission channel can be determined based on the priority index. The transmission channel is the channel used to transmit the raw data stream. In this embodiment, the transmission channel may include independent transmission channels and shared transmission channels. Different types of transmission channels have different resource guarantee levels and service quality levels. The edge device can allocate the raw data stream to the corresponding transmission channel for transmission based on the priority index.
[0060] In this embodiment, data identification, data stream score calculation, and channel allocation are all completed on the edge device without relying on the participation or decision-making of the cloud or server. Even if the network connection between the edge device and the cloud or server is interrupted, the edge device can still perform all the above steps to ensure normal data transmission.
[0061] The edge data transmission method provided in this embodiment transforms the original unstructured data stream into a parameter set by identifying data and extracting business feature information. It quantifies the business feature information into a unified data stream score, enabling the assessment of data stream importance and allowing priority determination based on business semantic information. By predicting network state, it introduces the ability to anticipate future congestion risks and integrates the data stream's own score with the network congestion probability into a unified priority index, achieving a dual closed-loop priority decision mechanism driven by business semantics and network state. By associating the priority index with the transmission channel, it achieves a closed loop from data stream importance assessment to differentiated transmission assurance, realizing a hybrid transmission mechanism. All channel allocation decisions are completed locally on the edge device, independent of the cloud, ensuring that data streams can still be correctly classified and processed even in scenarios of network outages or abnormal cloud-edge connections, thus improving the system's robustness and autonomy.
[0062] This embodiment provides an edge data transmission method that can be used in edge devices. Figure 3 This is a flowchart of an edge data transmission method according to an embodiment of this application, such as... Figure 3 As shown, the process includes the following steps: Step S301: Obtain the original data stream and perform data identification on the original data stream to determine the business characteristic information corresponding to the original data stream.
[0063] Please see details Figure 2 Step S201 of the illustrated embodiment will not be described again here.
[0064] Step S302: Determine the data stream score corresponding to the original data stream based on the business characteristic information.
[0065] Specifically, the service characteristic information includes target address information, data protocol type information, service type information, service quality level information, and bandwidth information. Step S302, "determine the data flow score corresponding to the original data flow based on the service characteristic information," includes steps S3021 to S3024.
[0066] Step S3021: Determine the business level sub-score in the data flow score based on the data protocol type and business type.
[0067] In calculating the data stream score, the service level sub-score can be determined first based on the data protocol type and service type. In this embodiment, the data protocol types include TCP (Transmission Control Protocol), UDP (User Datagram Protocol), and SCTP (Stream Control Transmission Protocol). The basic service level sub-score can be determined according to a preset protocol priority mapping table. For example, data carried by TCP is usually control or interactive data, which has high requirements for transmission reliability and can be mapped to a higher basic service level sub-score; while data carried by UDP is usually streaming media or file transfer data, which is sensitive to latency but has a higher tolerance for packet loss and can be mapped to a relatively lower basic service level sub-score.
[0068] After determining the basic service level sub-score, the service type corresponding to the original data stream can be further identified to adjust the basic service level sub-score. The service type corresponding to the original data stream can include control services, file transfer services, audio / video streaming services, database access services, web browsing services, etc. In this embodiment, deep packet inspection technology can be used to determine the service type corresponding to the original data stream. Different service types correspond to different service level adjustment values; for example, control services have higher service level adjustment values, while entertainment services have lower service level adjustment values. After determining the service type, the basic service level sub-score can be adjusted according to the service type to determine the service level sub-score.
[0069] By determining the business level sub-score by combining two dimensions—data protocol type and business type—a refined assessment of the importance of data streams is achieved. This allows high-value data, such as control signaling, to naturally receive higher scores than ordinary entertainment data. The combined judgment of protocol type and business type can distinguish between raw data streams with the same protocol but different business scenarios, thus improving the accuracy of business level assessment.
[0070] Step S3022: Determine the target address sub-score in the data stream score based on the target address information.
[0071] During the calculation of data stream scores, the target address sub-score can be determined based on the target address information, which may include the target IP address, target port number, and target domain name. According to a pre-defined target service address mapping table, the target address sub-score can be determined based on the target address information. This table records the target address sub-scores corresponding to different target addresses. After determining the target address information, a match can be made in the target service address mapping table to determine the target address sub-score corresponding to the original data stream.
[0072] By introducing the target address sub-score as a dimension of priority scoring, the priority score of the data stream is associated with the target server of the data stream, realizing a more refined differentiated perception at the business semantic level. That is, the data stream accessing the core business server automatically obtains a higher priority score than the data stream accessing the ordinary entertainment server, improving the business fit of priority determination.
[0073] Step S3023: Determine the bandwidth sub-score in the data stream score based on the difference between the bandwidth information and the preset bandwidth threshold.
[0074] During the calculation of the data stream score, the bandwidth sub-score can be determined based on the difference between the bandwidth information and a preset bandwidth threshold. Specifically, the bandwidth information corresponding to the original data stream can be obtained first; this bandwidth information represents the bandwidth required to send the original data stream. After obtaining the bandwidth information, it can be compared with the preset bandwidth threshold to determine whether the original data stream is a high-bandwidth data stream or a low-bandwidth data stream.
[0075] When the bandwidth information is less than the preset bandwidth threshold, that is, when the difference between the bandwidth information and the preset bandwidth threshold is negative, it indicates that the original data stream is a low-bandwidth data stream. Low-bandwidth data streams are usually control signaling, interactive instructions, and other data streams that have low bandwidth usage but high requirements for transmission reliability and latency. In this case, the bandwidth sub-score can be set to a higher fixed value so that the original data stream that belongs to the low-bandwidth data stream can obtain a higher bandwidth sub-score.
[0076] When the bandwidth information is greater than or equal to the bandwidth threshold, that is, when the difference between the bandwidth information and the preset bandwidth threshold is positive, it indicates that the current data stream is a high-bandwidth data stream. High-bandwidth data streams are typically audio and video streaming media, file transfers, and other data streams that consume a lot of bandwidth. In this case, the bandwidth sub-score can be set to a value related to the difference between the bandwidth information and the preset bandwidth threshold, that is, the bandwidth sub-score decreases monotonically as the difference increases, i.e., the larger the bandwidth information, the lower the bandwidth sub-score.
[0077] By implementing a bandwidth segmentation mapping mechanism, the high-bandwidth service is de-weighted, preventing high-bandwidth data streams from crowding out the transmission resources of low-bandwidth data streams when network resources are scarce. This effectively suppresses the excessive occupation of network resources by high-bandwidth data streams and prioritizes the transmission of low-bandwidth data streams.
[0078] Step S3024: Determine the service quality sub-score in the data stream score based on the service quality level information.
[0079] During the calculation of the data stream score, the Quality of Service (QoS) sub-score can also be determined. Specifically, QoS level information, which is a priority marker carried by the network layer or data link layer, can be extracted from the packet header of the original data stream. Using a pre-defined QoS mapping table, after extracting the QoS level information of the original data stream, the QoS level information is matched with the QoS mapping table to obtain the corresponding QoS sub-score. The QoS mapping table records the mapping relationship between different QoS levels and their corresponding QoS sub-scores.
[0080] Understandably, the service quality level information reflects the level of service quality that a data stream expects to obtain during transmission. For example, a high service quality level usually indicates that the data stream expects to obtain high-quality transmission services with low latency and low packet loss rate, and therefore the corresponding service quality sub-score is also relatively high.
[0081] By mapping service quality level information to quantified service quality sub-scores, the original service quality level information of the data stream can be incorporated into the priority indicator calculation. This fully utilizes the service quality level information capabilities in the existing network infrastructure, enabling the original data stream with a high service quality level to obtain a higher service quality sub-score, thus ensuring the transmission quality of data with high service quality requirements.
[0082] After obtaining the service level sub-score, destination address sub-score, bandwidth sub-score, and quality of service sub-score, the data flow score of the original data flow can be determined. That is, the data flow score includes: service level sub-score, destination address sub-score, bandwidth sub-score, and quality of service sub-score.
[0083] In some optional implementations, the business characteristic information includes a hard isolation identifier used to mark whether the original data stream is a dedicated resource. Step S302, "determine the data stream score corresponding to the original data stream based on the business characteristic information", includes step a1.
[0084] Step a1: In the absence of a hard isolation identifier in the original data stream, determine the data stream score corresponding to the original data stream based on the business characteristic information.
[0085] In this embodiment, since signaling data streams and medical information data streams are relatively important and need to be transmitted directly through independent transmission channels, a hard isolation identifier can be added to these important raw data streams in the service characteristic information. Raw data streams with this hard isolation identifier are service data streams that require independent dedicated resource protection. If a raw data stream does not have a hard isolation identifier, it means that the raw data stream does not require independent dedicated resource protection. In this case, the data stream score corresponding to the raw data stream can be determined according to the service characteristic information in step S302.
[0086] The edge data transmission method also includes step a2.
[0087] Step a2: If the original data stream has a hard isolation identifier, allocate the original data stream to an independent transmission channel.
[0088] If the original data stream has a hard isolation flag, it indicates that the original data stream requires independent dedicated resource protection. In this case, the subsequent priority indicator calculation process can be skipped, and the original data stream can be directly allocated to an independent transmission channel. This independent transmission channel is a dedicated channel pre-configured by the edge device for high-priority critical services. This independent transmission channel is physically or logically isolated from the shared transmission channel. Once the original data stream is allocated to an independent transmission channel, its transmission does not share network transmission resources with other data streams, thus ensuring the transmission speed and efficiency of critical business data.
[0089] For critical business data streams with hard isolation identifiers, by skipping the priority indicator calculation process and directly allocating them to independent transmission channels, the determinism of critical business data transmission and the exclusivity of resources can be guaranteed, avoiding the processing latency and computational overhead caused by priority indicator calculation.
[0090] Step S303: Predict the network state used to transmit the original data stream and determine the probability of network congestion in the future.
[0091] Please see details Figure 2 Step S203 of the illustrated embodiment will not be described again here.
[0092] Step S304: Determine the priority index corresponding to the original data stream based on the data stream score and network congestion probability.
[0093] Please see details Figure 2 Step S204 of the illustrated embodiment will not be described again here.
[0094] In some optional implementations, step S304, "determining the priority index corresponding to the original data stream based on the data stream score and network congestion probability," includes steps b1 and b2.
[0095] Step b1: Map the network congestion probability to the network prediction sub-score.
[0096] Step b2: Determine the priority index corresponding to the original data stream based on the data stream score and the network prediction sub-score.
[0097] In this embodiment, since the data flow score can be broken down into multiple sub-scores, in the process of determining the priority index corresponding to the original data flow based on the data flow score and the network congestion probability, the network congestion probability can also be mapped to the network prediction sub-score first. As mentioned earlier, the network congestion probability ranges from 0 to 1. The closer it is to 1, the higher the probability that the network will become congested in the future. In this case, the network congestion probability can be mapped to the network prediction sub-score. For example, the higher the network congestion probability, the higher the network prediction sub-score, that is, there is a positive correlation between the network congestion probability and the network prediction sub-score; or the higher the network congestion probability, the lower the network prediction sub-score, that is, there is a negative correlation between the network congestion probability and the network prediction sub-score.
[0098] After determining the network prediction sub-score, the priority index corresponding to the original data stream can be determined based on the data stream score and the network prediction sub-score. In this embodiment, when there is a negative correlation between network congestion probability and network prediction sub-score, the sum of the sub-scores in the data stream score can be added to the network prediction sub-score to obtain the priority index corresponding to the original data stream.
[0099] In some optional implementations, step b2, “determining the priority index corresponding to the original data stream based on the data stream score and the network prediction score,” includes steps b21 and b22.
[0100] Step b21: Obtain the dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score.
[0101] Step b22: Weight the sub-scores according to the dynamically adjusted weights to determine the priority index corresponding to the original data stream.
[0102] In practical applications, since the contributions of each sub-score in the data stream score to the priority indicator can differ, a dynamic weight adjustment mechanism can be introduced. This dynamic weight adjustment is used to adjust the contribution ratio of each sub-score in the priority indicator calculation. In this embodiment, the dynamic weights corresponding to the network prediction sub-score and each sub-score in the data stream score can be determined first. Then, the sub-scores are weighted and summed according to each dynamic weight adjustment to calculate the priority indicator corresponding to the original data stream, i.e.: ; Where P is the priority index corresponding to the original data stream. For business level sub-scores, Score the target address. For bandwidth sub-scores, For the service quality sub-score, Predict sub-scores for the network; , , , as well as The weights are dynamically adjusted for each sub-score.
[0103] By using a weighted summation method to integrate multi-dimensional sub-scores into a unified priority index, a comprehensive quantitative evaluation of multi-source heterogeneous parameters is achieved. This enables the priority index corresponding to the original data stream to be dynamically calculated based on actual operating conditions such as business, target address, bandwidth, and network status.
[0104] In some optional implementations, step b21, “obtaining the dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score,” includes steps b211 and b212.
[0105] Step b211: Input the business characteristic information and network congestion probability into the preset artificial intelligence model.
[0106] Step b212: Obtain the dynamically adjusted weights corresponding to each sub-score output by the artificial intelligence model.
[0107] In edge devices, pre-trained artificial intelligence (AI) models can be deployed. These AI models can be regression models based on deep neural networks, decision models based on reinforcement learning, or other types of machine learning models. During the process of obtaining the dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score, business characteristic information and network congestion probability can be input into the AI model. The AI model then obtains the dynamically adjusted weights corresponding to each sub-score output based on the input characteristics. For example, when the original data stream's business type is control-related, the AI model can assign higher weights to the business level sub-score; when the original data stream has a large bandwidth, the AI model can assign higher weights to the bandwidth sub-score to strengthen the adjustment effect of the bandwidth factor.
[0108] Step S305: Assign the raw data stream to the transmission channel corresponding to the priority index.
[0109] Please see details Figure 2 Step S205 of the illustrated embodiment will not be described again here.
[0110] In some alternative implementations, step S305, “assigning the raw data stream to the transmission channel corresponding to the priority index,” includes steps c1 to c3.
[0111] Step c1: If the priority index corresponding to the original data stream is greater than the first preset threshold, the original data stream is allocated to an independent transmission channel.
[0112] Step c2: If the priority index corresponding to the original data stream is less than or equal to the first preset threshold and the priority index is greater than the second preset threshold, the original data stream is allocated to the shared transmission channel and the transmission bandwidth of the original data stream is greater than the preset bandwidth threshold.
[0113] Step c3: If the priority index corresponding to the original data stream is less than or equal to the second preset threshold, the original data stream is allocated to the shared transmission channel and the original data stream is rate-limited.
[0114] After determining the priority index corresponding to the original data stream, the priority index can be compared with the first preset threshold and the second preset threshold, wherein the first preset threshold is greater than the second preset threshold.
[0115] If the priority index corresponding to the original data stream is greater than the first preset threshold, the original data stream can be considered to have a high priority and can be allocated to an independent transmission channel. As mentioned earlier, an independent transmission channel is a dedicated channel pre-configured by the edge device for high-priority critical services. This independent transmission channel is physically or logically isolated from the shared transmission channel. Allocating the original data stream to an independent transmission channel can ensure the stable transmission of high-priority original data streams.
[0116] If the priority index corresponding to the original data stream is less than or equal to the first preset threshold and greater than the second preset threshold, the original data stream can be considered to have a medium level of transmission guarantee requirement, and can be allocated to the shared transmission channel. The bandwidth resources of the shared transmission channel are used by multiple data streams according to a scheduling strategy. For the original data stream allocated to the shared transmission channel, the edge device can provide a minimum bandwidth guarantee, ensuring that the actual transmission bandwidth of the original data stream is not lower than the preset bandwidth threshold, to avoid the original data stream failing to transmit normally due to reduced bandwidth resources.
[0117] If the priority index corresponding to the original data stream is less than or equal to the second preset threshold, the original data stream can be considered to have a low priority. For example, the original data stream may be ordinary entertainment data, file synchronization data, etc. The original data stream can be allocated to the shared transmission channel and the original data stream can be rate-limited to avoid the low-priority original data stream occupying too much bandwidth. At this time, no bandwidth threshold is set for the low-priority original data stream. In extreme cases, the transmission rate of the low-priority original data stream can be 0.
[0118] The edge data transmission method provided in this embodiment transforms the original unstructured data stream into a parameter set by identifying data and extracting business feature information. It quantifies the business feature information into a unified data stream score, enabling an assessment of the data stream's importance. By comprehensively considering both data protocol type and business type, it determines the business level sub-score, achieving a refined assessment of data stream importance. Introducing the target address sub-score as a dimension for priority scoring associates the data stream's priority score with its target server, improving the business relevance of priority determination. A bandwidth segmentation mapping mechanism reduces the weight of high-bandwidth services, prioritizing the transmission of low-bandwidth data streams. Mapping service quality level information to quantified service quality sub-scores fully utilizes the existing service quality level information capabilities in the network infrastructure, ensuring the transmission quality of data with high service quality requirements. For critical business data streams with hard isolation identifiers, skipping the priority indicator calculation process and directly allocating them to independent transmission channels ensures the determinism of critical business data transmission and resource exclusivity, avoiding the processing latency and computational overhead caused by priority indicator calculation. By predicting network conditions, the system introduces the ability to anticipate future congestion risks and integrates the data stream's own score with the network congestion probability into a unified priority indicator. This achieves a dual closed-loop priority decision-making mechanism driven by both business semantics and network conditions. By associating the priority indicator with transmission channels, a closed loop is achieved from data stream importance assessment to differentiated transmission assurance. This enables a hybrid transmission mechanism, and all channel allocation decisions are completed locally on the edge devices, independent of the cloud. This ensures that data streams can still be correctly classified and processed even in scenarios of network outages or abnormal cloud-edge connections, improving the system's robustness and autonomy.
[0119] This embodiment also provides an edge data transmission device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementations, or a combination of software and hardware, are also possible and contemplated.
[0120] This embodiment provides an edge data transmission device, such as... Figure 4 As shown, it includes: The data recognition module 401 is used to acquire the raw data stream, perform data recognition on the raw data stream, and determine the business characteristic information corresponding to the raw data stream.
[0121] The data scoring module 402 is used to determine the data stream score corresponding to the original data stream based on business characteristic information.
[0122] The network prediction module 403 is used to predict the network state used to transmit the raw data stream and determine the probability of network congestion in the future.
[0123] Priority module 404 is used to determine the priority index corresponding to the original data stream based on the data stream score and network congestion probability.
[0124] The channel allocation module 405 is used to allocate the raw data stream to the transmission channel corresponding to the priority index.
[0125] In some optional implementations, the service characteristic information includes a hard isolation identifier used to mark whether the original data stream is a dedicated resource, and the data scoring module 402 includes: The data quantification module is used to determine the data stream score corresponding to the original data stream based on business characteristic information when the original data stream does not have a hard isolation identifier.
[0126] The edge data transmission device also includes: The hard isolation allocation module is used to allocate the original data stream to an independent transmission channel when the original data stream has a hard isolation identifier.
[0127] In some optional implementations, the service characteristic information includes target address information, data protocol type information, service type information, quality of service level information, and bandwidth information. The data scoring module 402 includes: The Business Level submodule is used to determine the Business Level sub-score in the data flow score based on the data protocol type and business type.
[0128] The target address submodule is used to determine the target address sub-score in the data stream score based on the target address information.
[0129] The bandwidth submodule is used to determine the bandwidth sub-score in the data stream score based on the difference between the bandwidth information and the preset bandwidth threshold.
[0130] The Service Quality submodule is used to determine the service quality sub-score in the data stream score based on the service quality level information.
[0131] In some alternative implementations, priority module 404 includes: The network prediction submodule is used to map network congestion probability to network prediction sub-scores.
[0132] The priority submodule is used to determine the priority index corresponding to the original data stream based on the data stream score and the network prediction sub-score.
[0133] In some optional implementations, the priority submodule includes: The dynamic weight unit is used to obtain dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score.
[0134] The priority unit is used to perform a weighted summation of each sub-score based on the dynamically adjusted weights to determine the priority index corresponding to the original data stream.
[0135] In some alternative implementations, the dynamic weighting unit includes: The business characteristics and network congestion probability are input into a pre-set artificial intelligence model.
[0136] Obtain the dynamically adjusted weights corresponding to each sub-score output by the artificial intelligence model.
[0137] In some alternative implementations, the channel allocation module 405 includes: The high-priority submodule is used to allocate the original data stream to an independent transmission channel when the priority index corresponding to the original data stream is greater than the first preset threshold.
[0138] The medium-priority submodule is used to allocate the original data stream to the shared transmission channel and make the transmission bandwidth of the original data stream greater than the preset bandwidth threshold when the priority index corresponding to the original data stream is less than or equal to the first preset threshold and the priority index is greater than the second preset threshold.
[0139] The low-priority submodule is used to allocate the original data stream to the shared transmission channel and perform rate limiting on the original data stream when the priority index corresponding to the original data stream is less than or equal to the second preset threshold.
[0140] The edge data transmission apparatus provided in this application can execute the edge data transmission method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0141] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0142] The following is a detailed reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing the electronic device described in the embodiments of this application. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 502 or a program loaded from memory 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0143] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although... Figure 5 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0144] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 509, or installed from memory 508, or installed from ROM 502. When the computer program is executed by processor 501, it performs the functions defined in the edge data transmission method of embodiments of this application.
[0145] Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0146] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc. Further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the edge data transmission method shown in the above embodiments is implemented.
[0147] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0148] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A method for edge data transmission, characterized in that, Applied to edge devices, the method includes: Acquire the raw data stream and perform data identification on the raw data stream to determine the business feature information corresponding to the raw data stream; Based on the business characteristic information, determine the data stream score corresponding to the original data stream; Predict the network state used to transmit the original data stream to determine the probability of network congestion in the future. Based on the data stream score and the network congestion probability, the priority index corresponding to the original data stream is determined; The raw data stream is assigned to the transmission channel corresponding to the priority index.
2. The method according to claim 1, characterized in that, The business characteristic information includes a hard isolation identifier used to mark whether the original data stream is a dedicated resource. Determining the data stream score corresponding to the original data stream based on the business characteristic information includes: If the original data stream does not have the hard isolation identifier, the data stream score corresponding to the original data stream is determined based on the business characteristic information. The method further includes: If the original data stream has the hard isolation identifier, the original data stream is allocated to an independent transmission channel.
3. The method according to claim 1, characterized in that, The service characteristic information includes target address information, data protocol type information, service type information, quality of service level information, and bandwidth information. Determining the data stream score corresponding to the original data stream based on the service characteristic information includes: Based on the data protocol type and the service type, determine the service level sub-score in the data flow score; Based on the target address information, determine the target address sub-score in the data stream score; The bandwidth sub-score in the data stream score is determined based on the difference between the bandwidth information and the preset bandwidth threshold. Based on the service quality level information, determine the service quality sub-score in the data stream score.
4. The method according to claim 3, characterized in that, The step of determining the priority index corresponding to the original data stream based on the data stream score and the network congestion probability includes: Map the network congestion probability to a network prediction sub-score; The priority index corresponding to the original data stream is determined based on the data stream score and the network prediction sub-score.
5. The method according to claim 4, characterized in that, The step of determining the priority index corresponding to the original data stream based on the data stream score and the network prediction score includes: Obtain the dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score, respectively; The priority index corresponding to the original data stream is determined by weighted summation of each sub-score based on the dynamically adjusted weights.
6. The method according to claim 5, characterized in that, The step of obtaining the dynamically adjusted weights corresponding to each sub-score in the network prediction sub-score and the data stream score includes: The business characteristic information and the network congestion probability are input into a preset artificial intelligence model; Obtain the dynamically adjusted weights corresponding to each sub-score output by the artificial intelligence model.
7. The method according to claim 1, characterized in that, The step of allocating the raw data stream to the transmission channel corresponding to the priority index includes: If the priority index corresponding to the original data stream is greater than a first preset threshold, the original data stream will be allocated to an independent transmission channel. If the priority index corresponding to the original data stream is less than or equal to a first preset threshold and the priority index is greater than a second preset threshold, the original data stream is allocated to a shared transmission channel and the transmission bandwidth of the original data stream is greater than a preset bandwidth threshold. If the priority index corresponding to the original data stream is less than or equal to the second preset threshold, the original data stream is allocated to the shared transmission channel and the original data stream is rate-limited.
8. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the edge data transmission method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the edge data transmission method according to any one of claims 1 to 7.
10. A computer program product, characterized in that, It includes computer instructions for causing a computer to perform the edge data transmission method according to any one of claims 1 to 7.
