Cross-domain QoS guarantee system, method and device, electronic equipment and storage medium
By sensing network latency in real time and adjusting QoS levels in scenarios where short-range networks and 5G networks are integrated, the problem of substandard end-to-end service quality caused by static QoS subscription mechanisms is solved, and the latency controllability and communication stability of cross-domain transmission are improved.
Patent Information
- Application Number
- CN202511750493.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-02-27
AI Technical Summary
In existing heterogeneous networking methods, static QoS subscription mechanisms may lead to substandard end-to-end service quality, failing to meet the real-time requirements of critical business data.
In scenarios where short-range networks and 5G networks converge, network latency can be sensed in real time and the target QoS level can be flexibly adjusted. By using judgment and mapping modules, the transmission path and QoS level of data packets can be dynamically adjusted to ensure that data packets are transmitted in accordance with the target QoS flow.
It achieves end-to-end dynamic QoS guarantee in heterogeneous network environments, improving the latency controllability and communication stability of cross-domain transmission.
Smart Images

Figure CN121586044A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a cross-domain QoS guarantee system, method and apparatus, electronic device and storage medium. Background Technology
[0002] Heterogeneous network converged communication technology serves as a core support for the development of the Industrial Internet of Things (IIoT) and is widely used in latency-sensitive scenarios such as smart manufacturing and telemedicine. Among related technologies, a layered cross-domain communication architecture is constructed through the collaborative operation of short-range networks and 5G networks.
[0003] However, in existing heterogeneous networking methods, directly adopting a static QoS subscription mechanism may result in substandard end-to-end service quality or failure to meet the real-time requirements of critical business data. Summary of the Invention
[0004] This disclosure provides a method, apparatus, electronic device, and storage medium for cross-domain QoS assurance. Its main objective is to achieve end-to-end dynamic QoS assurance in scenarios where short-range networks and 5G networks converge. By sensing network latency in real time and flexibly adjusting the target QoS level, it effectively improves the latency controllability and communication stability of cross-domain transmission.
[0005] According to a first aspect of this disclosure, a cross-domain QoS guarantee system is provided, comprising: a terminal, a short-range gateway, and a server, wherein the short-range gateway comprises: a judgment module and a mapping module; The judgment module is used to determine the target QoS level that satisfies the second transmission delay when the first transmission delay cannot meet the predefined end-to-end second transmission delay under the current channel quality of the 5G network, and to send the target QoS level to the mapping module, wherein the first transmission delay is the transmission delay of the terminal transmitting data packets in the short-range network; The mapping module is used to receive the target QoS level sent by the judgment module, map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet to the server through the target QoS stream.
[0006] In some embodiments, the short-range gateway further includes: a wireless access module and a communication module; The wireless access module, in response to the data packet transmitted by the terminal, reads the outgoing network time and the incoming network time carried in the data packet, calculates a first transmission delay based on the outgoing network time and the incoming network time, and sends the first transmission delay to the judgment module; The communication module acquires the current channel quality and sends the current channel quality to the judgment module.
[0007] In some embodiments, the determining module is further configured to: Query the target service type, predefined end-to-end second transmission delay, and predefined QoS level of the data packet from the periodic service information table; Query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; Based on the first transmission delay and the predicted transmission delay, determine whether the predefined end-to-end second transmission delay is met; If the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay, the target QoS level corresponding to the predefined end-to-end second transmission delay is queried from the network transmission delay prediction table.
[0008] In some embodiments, the short-range gateway further includes a tunnel encapsulation module, and the mapping module includes: a first mapping unit; The first mapping unit is used to determine the target logical port corresponding to the target QoS level according to the first mapping relationship between the preset QoS level and the logical port, and to transmit the data packet through the target QoS stream corresponding to the target logical port.
[0009] In some embodiments, the short-range gateway further includes a tunnel encapsulation module, and the mapping module includes: a second mapping unit; The second mapping unit is used to modify the field corresponding to the QoS flow in the data packet information to the field corresponding to the target QoS flow corresponding to the target QoS level according to the second mapping relationship between the preset QoS level and the data packet information, and transmit the data packet through the target QoS flow.
[0010] In some embodiments, the short-range gateway further includes a tunnel encapsulation module, and the mapping module includes: a third mapping unit; The third mapping unit communicates with the tunnel encapsulation module and is used to send the field information corresponding to the target QoS level and the third mapping relationship to the tunnel encapsulation module.
[0011] In some embodiments, The tunnel encapsulation module is used to receive the field information corresponding to the target QoS level and the third mapping relationship sent by the third mapping unit. When encapsulating the data packet, the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header is modified to the field information corresponding to the target QoS level to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level.
[0012] In some embodiments, the short-range gateway further includes a clock synchronization module; The clock synchronization module is used to synchronize the short-range network with the main clock of the 5G network and transmit the synchronization clock information to the communication module.
[0013] According to a second aspect of this disclosure, a method for guaranteeing cross-domain QoS is provided, wherein the method is applied to the cross-domain QoS guarantee system described in the first aspect, comprising: Obtain the first transmission delay of data packets in short-range networks and the current channel quality of 5G networks; If it is determined that the first transmission delay under the current channel quality cannot meet the predefined end-to-end second transmission delay, then the target QoS level corresponding to the second transmission delay is determined. The data packet is mapped to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and the data packet is transmitted through the target QoS stream.
[0014] In some embodiments, obtaining the first transmission delay of data packets transmitted in a short-range network includes: In response to a data packet transmitted by the terminal received in the short-range network, the outgoing network time and the incoming network time carried in the data packet are read, and the first transmission delay is calculated based on the outgoing network time and the incoming network time.
[0015] In some embodiments, determining the target QoS level that satisfies the second transmission delay includes: Query the target service type of the data packet from the periodic service information table, and the corresponding predefined end-to-end second transmission delay and predefined QoS level; Query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; Based on the first transmission delay and the predicted transmission delay, determine whether the predefined end-to-end second transmission delay is met; If the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay, the target QoS level corresponding to the predefined end-to-end second transmission delay is queried from the network transmission delay prediction table.
[0016] In some embodiments, mapping the data packet to a target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmitting the data packet through the target QoS stream, includes: Based on a preset first mapping relationship between QoS levels and logical ports, the target logical port corresponding to the target QoS level is determined, and the data packet is transmitted through the target QoS stream corresponding to the target logical port; or, Based on a preset second mapping relationship between QoS levels and data packet information, the field corresponding to the QoS flow in the data packet information is modified to the field corresponding to the target QoS flow corresponding to the target QoS level, and the data packet is transmitted through the target QoS flow; or, When encapsulating the data packet, the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header is modified to the field information corresponding to the target QoS level to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level, and the data packet is transmitted through the target QoS stream.
[0017] According to a third aspect of this disclosure, a cross-domain QoS protection device is provided, the cross-domain QoS protection device being configured in the cross-domain QoS protection system described in the first aspect, comprising: The acquisition unit is used to acquire the first transmission delay of data packets transmitted in the short-range network and the current channel quality of the 5G network; The determining unit is configured to determine the target QoS level that satisfies the second transmission delay when it is determined that the first transmission delay under the current channel quality cannot satisfy the predefined end-to-end second transmission delay; The mapping unit is used to map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet through the target QoS stream.
[0018] In some embodiments, the acquisition unit is further configured to, in response to a data packet transmitted by the terminal received in the short-range network, read the outgoing network time and the incoming network time carried in the data packet, and calculate the first transmission delay based on the outgoing network time and the incoming network time.
[0019] In some embodiments, the determining unit includes: The first query module is used to query the target service type of the data packet, the corresponding predefined end-to-end second transmission delay, and the predefined QoS level from the periodic service information table; The second query module is used to query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table. The determining module is configured to determine whether the predefined end-to-end second transmission delay is satisfied based on the first transmission delay and the predicted transmission delay. The third query module is used to query the target QoS level corresponding to the predefined end-to-end second transmission delay from the network transmission delay prediction table when it is determined that the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay.
[0020] In some embodiments, the mapping unit includes: The first mapping module is used to determine the target logical port corresponding to the target QoS level according to a preset first mapping relationship between QoS levels and logical ports, and to transmit the data packet through the target QoS stream corresponding to the target logical port; or, The second mapping module is used to modify the field corresponding to the QoS flow in the data packet information to the field corresponding to the target QoS flow corresponding to the target QoS level, according to a preset second mapping relationship between the QoS level and the data packet information, and transmit the data packet through the target QoS flow; or, The third mapping module is used to modify the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header to the field information corresponding to the target QoS level when encapsulating the data packet, so as to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level, and the data packet is transmitted through the target QoS stream.
[0021] According to a fourth aspect of this disclosure, an electronic device is provided, comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in the second aspect above.
[0022] According to a fifth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method described in the second aspect above.
[0023] According to a sixth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method described in the second aspect above.
[0024] This disclosure provides a cross-domain QoS guarantee system, method, apparatus, electronic device, and storage medium. The system includes a terminal, a short-range gateway, and a server. The short-range gateway includes a judgment module and a mapping module. The judgment module is used to determine a target QoS level that meets the second transmission delay when the first transmission delay under the current channel quality of the 5G network cannot meet the predefined end-to-end second transmission delay, and sends the target QoS level to the mapping module. The first transmission delay is the transmission delay of the data packet transmitted by the terminal in the short-range network. The mapping module receives the target QoS level sent by the judgment module, maps the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmits the data packet to the server through the target QoS stream. This achieves dynamic end-to-end QoS guarantee in scenarios where short-range networks and 5G networks converge. By sensing network latency in real time and flexibly adjusting the target QoS level, it effectively improves the latency controllability and communication stability of cross-domain transmission.
[0025] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0026] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein: Figure 1 A schematic diagram of a cross-domain QoS guarantee system provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of a short-range gateway provided in an embodiment of the present disclosure; Figure 3 This is a schematic diagram of another short-range gateway provided in an embodiment of this disclosure; Figure 4 A schematic diagram of a mapping module provided in an embodiment of this disclosure; Figure 5 A schematic diagram illustrating a cross-domain QoS guarantee provided by an embodiment of this disclosure; Figure 6This disclosure also provides a flowchart illustrating a method for ensuring cross-domain QoS in an embodiment; Figure 7 This disclosure also provides a flowchart illustrating a method for ensuring cross-domain QoS. Figure 8 A schematic diagram illustrating cross-domain QoS protection is also provided as an embodiment of this disclosure; Figure 9 A schematic diagram of the structure of a cross-domain QoS guarantee device provided in an embodiment of this disclosure; Figure 10 A schematic diagram of the structure of a cross-domain QoS guarantee device provided in an embodiment of this disclosure; Figure 11 A schematic block diagram of an example electronic device provided for embodiments of this disclosure. Detailed Implementation
[0027] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0028] The following description, with reference to the accompanying drawings, outlines a method, apparatus, electronic device, and storage medium for ensuring cross-domain QoS according to embodiments of the present disclosure.
[0029] Please see Figure 1 and Figure 2 , Figure 1 This is a schematic diagram of a cross-domain QoS guarantee system provided in an embodiment of this disclosure. Figure 2 This is a schematic diagram of a short-range gateway provided in an embodiment of this disclosure. The cross-domain QoS protection system includes: a terminal 1, a short-range gateway 2, and a server 3. The short-range gateway 2 includes: a judgment module 21 and a mapping module 22. The judgment module 21 is used to determine the target QoS level corresponding to the second transmission delay when the first transmission delay cannot meet the predefined end-to-end second transmission delay under the current channel quality of the 5G network, and sends the target QoS level to the mapping module 22. Here, the first transmission delay is the transmission delay of the data packet transmitted by terminal 1 in the short-range network. The judgment module 21 is located inside the short-range gateway and is used to determine whether the 5G QoS level of the data packet transmitted by terminal 1 needs to be adjusted. The first transmission delay of the short-range network is calculated internally based on the data packet's outgoing and incoming transmission times, and this first transmission delay is sent to the judgment module 21. The judgment module 21 identifies the service type of the data packet and reads the periodic service information table (as shown in Table 1 below) to view the predefined end-to-end second transmission delay corresponding to the data packet service and the 5G QoS level corresponding to the current service type.
[0030] If it is determined that the first transmission delay under the current channel quality of the 5G network cannot meet the predefined end-to-end second transmission delay, it is determined that the resources of the next segment of the network need to be adjusted, and the data packets are mapped to a higher priority 5G QoS level through the mapping module 22.
[0031] In some embodiments, a periodic service information table is established in the short-range gateway 2 to record the period of different service data, the predefined end-to-end delay (second transmission delay), the 5G QoS level, and the service data flow identifier (VLAN Tag / IP 5-tuple / IPv6 / SRv6, etc.). Specifically, the contents of the periodic service information table are not limited in this embodiment.
[0032] Table 1. Periodic Business Information Table
[0033] In some implementations, querying a predefined periodic service information table based on the service type is one of the key steps in implementing a cross-domain Quality of Service (QoS) guarantee mechanism. The core technical principle of this step lies in accurately matching the service type identifier (such as VLAN Tag, IP 5-tuple, IPv6, SRv6, etc.) in the periodic service information table to obtain the predefined end-to-end second transmission latency requirement and the current 5G network QoS level corresponding to the service. This periodic service information table is typically stored in the local database or configuration management module of the short-range gateway 2, and its structure includes key parameters such as service name, period, end-to-end latency limit, 5G QoS level (QFI value range is 0-63), and service data flow identifier field.
[0034] In terms of specific operation, when a data packet arrives at the short-range gateway 2, the judgment module 21 inside the short-range gateway 2 first parses the service identification field in the data frame or data packet, such as the VLAN Tag or DSCP field, to determine its service type. Subsequently, the judgment module 21 searches the periodic service information table based on the service type to obtain the predefined end-to-end latency requirements of the service and the currently configured 5G QoS level.
[0035] In application scenarios, this step is widely used in latency-sensitive business scenarios such as industrial automation, remote control, and real-time video surveillance. For example, in industrial settings, periodic control commands need to be transmitted across domains within a predefined latency range to ensure the real-time performance and stability of the control system. Through this step, the system can dynamically perceive the QoS requirements of current services and provide a basis for subsequent 5G network resource allocation.
[0036] This provides a data foundation for subsequent latency prediction and QoS level adjustment, thereby achieving dynamic end-to-end service quality assurance. By pre-defining the QoS requirements of services, the system can predict resources before cross-domain transmission, avoiding latency exceeding limits due to network fluctuations and improving the overall reliability and response efficiency of network transmission.
[0037] The mapping module 22 is used to receive the target QoS level sent by the judgment module 21, map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet to the server 2 through the target QoS stream. The mapping module 22 is located inside the short-range gateway 2, and its function is to map data to a suitable 5G QoS stream (the target QoS stream corresponding to the target QoS level). The mapping module 22 needs to be combined with 5G QoS mapping / subscription rules.
[0038] Specifically, in some implementations, after receiving the target QoS level sent by the judgment module 21, the mapping module 22 maps the data packet to the 5G QoS stream corresponding to the target QoS level. This step is one of the core mechanisms for achieving cross-domain QoS assurance in this proposal, and its technical implementation is based on dynamic perception of end-to-end latency and flexible adjustment of the 5G QoS level.
[0039] In application scenarios, this step is suitable for latency-sensitive cross-domain business scenarios such as industrial automation, remote control, and real-time video transmission. For example, in an industrial field, the short-range gateway 2 acts as a convergence node for north-south communication, monitoring the transmission status of the short-range network and the 5G network in real time, and dynamically adjusting the 5G QoS level when latency exceeds the standard to ensure the timely delivery of control commands or sensor data.
[0040] This disclosure provides a cross-domain QoS guarantee mechanism for short-range networks and 5G networks. It includes flexibly adjusting the QoS level of the next network segment based on the transmission latency of the previous network segment, and a flexible mapping mechanism between the QoS flows of the two networks. A judgment module 21 and a mapping module 22 are added within the aggregation node (short-range gateway) of the short-range network and the 5G network. The judgment module 21 determines whether the 5G QoS level needs to be adjusted (including but not limited to lowering or raising the 5G QoS level), and the mapping module 22 flexibly maps the data output from the short-range network to a suitable 5G QoS flow (i.e., the target QoS flow corresponding to the target QoS level).
[0041] The cross-domain QoS guarantee system disclosed herein includes: a terminal 1, a short-range gateway 2, and a server 3. The short-range gateway 2 includes: a judgment module 21 and a mapping module 22. The judgment module 21 is used to determine a target QoS level that meets the second transmission delay when the first transmission delay under the current channel quality of the 5G network cannot meet the predefined end-to-end second transmission delay, and sends the target QoS level to the mapping module. The first transmission delay is the transmission delay of the data packets transmitted by the terminal in the short-range network. The mapping module 22 is used to receive the target QoS level sent by the judgment module, map the data packets to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packets to the server through the target QoS stream. This system achieves dynamic end-to-end QoS guarantee in the scenario of short-range network and 5G network convergence. By sensing network latency in real time and flexibly adjusting the target QoS level, it effectively improves the latency controllability and communication stability of cross-domain transmission.
[0042] Please continue reading. Figure 3 The short-range gateway 2 further includes: a wireless access module 23 and a communication module 24; The wireless access module 23, in response to the received data packet transmitted by the terminal 1, reads the outgoing and incoming network times carried in the data packet, calculates a first transmission delay based on the outgoing and incoming network times, and sends the first transmission delay to the judgment module 21. At the technical implementation level, when a data packet in a short-range network arrives at the short-range gateway 2, the wireless access module 23 (also called the short-range AP module) reads the timestamp information carried in its frame header. This timestamp is typically written by the short-range terminal 1 when the data packet enters the network, and combined with the current time of the master clock, using a formula... Calculate the first transmission delay of the short-range network. .in, Indicates the time when the data packet enters the network. This indicates the current time when the data packet arrives at the short-range gateway. This is the first transmission delay. It is then sent to the judgment module 21 for comparison with the predefined end-to-end second transmission delay.
[0043] The communication module 24 acquires the current channel quality and sends the current channel quality to the judgment module 21.
[0044] In some embodiments, please continue to refer to Table 1 above. The determination module 21 is also used for: Query the target service type, predefined end-to-end second transmission delay, and predefined QoS level of the data packet from the periodic service information table; Query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; Based on the first transmission delay and the predicted transmission delay, determine whether the predefined end-to-end second transmission delay is met; If the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay, the target QoS level corresponding to the predefined end-to-end second transmission delay is queried from the network transmission delay prediction table.
[0045] Table 25G Network Transmission Latency Prediction Table
[0046] Please refer to Table 2, which is the 5G network transmission latency prediction table. After obtaining the predefined QoS level (corresponding to the 5G QoS level field in Table 1) through the query in Table 1, the judgment module 21 queries the network transmission latency prediction table (Table 2) for the predefined QoS level and the corresponding predicted transmission latency under the current channel quality based on the received transmission information. The judgment module 21 predicts the transmission delay of data packets in the 5G network based on the real-time channel quality information (CQI, Channel Quality Indicator) provided by the communication module 24 and the predefined QoS level queried from the network transmission delay prediction table (Table 2). This step is a key link in realizing the cross-domain QoS guarantee mechanism, and its technology realizes the dynamic perception capability of differentiated forwarding strategies and channel states based on QoS flows in the 5G network.
[0047] In some implementations, the communication module 24 sends current channel quality information (such as CQI, RSRP, SINR, etc.) to the judgment module 21 in the short-range gateway through periodic reporting or event-triggered mechanisms. These parameters reflect the transmission capability of the current wireless link and are important bases for predicting transmission latency. 5G QoS levels are usually identified by QoS Flow ID (QFI), which ranges from 0 to 63. Different QFIs correspond to different forwarding guarantee strategies, including scheduling priority, resource reservation, packet loss rate, jitter, and other indicators.
[0048] Furthermore, the judgment module 21, based on the 5G QoS level corresponding to the current service type, looks up the latency performance of the QoS level under different channel qualities from the predefined 5G network transmission latency prediction table (Table 2). For example, when the channel quality information is b and the 5G QoS level is "medium", the judgment module 21 looks up Table 2 and obtains the 5G network transmission latency prediction value (predicted transmission latency) as 30 ms.
[0049] If the sum of the predicted 5G network transmission latency (predicted transmission latency) and the short-range network transmission latency (first transmission latency) exceeds the predefined end-to-end latency requirement (second transmission latency), the target 5G QoS level of the data packet is adjusted, and the data packet is mapped to a 5G QoS stream corresponding to the target QoS level through the mapping module. This achieves dynamic perception of end-to-end latency and flexible adjustment of the 5G QoS level.
[0050] At the technical implementation level, the judgment module 21 first obtains the actual transmission delay of the short-range network (first transmission delay) which is calculated by using the timestamp carried in the short-range frame and the master clock synchronization information. Simultaneously, the judgment module 21 queries a predefined 5G network transmission delay prediction table based on the channel quality information (such as RSRP, SINR, etc.) provided by the 5G module and the 5G QoS level mapped to the current data packet, to obtain the predicted transmission delay. .like (Second transmission delay), then the judgment module 21 will trigger the QoS level adjustment mechanism, select a higher priority 5G QoS level, and make the new 5G transmission delay satisfy .
[0051] End-to-end latency requirements It is usually determined by the type of business, such as the requirements of industrial control businesses. ≤50 ms, while video services may allow ≤200 ms. There is a non-linear relationship between 5G QoS level and transmission latency. Typically, the latency range for high-level QoS flows is 6 ms-15 ms, for medium-level it is 20 ms-30 ms, and for low-level it is 50 ms-200 ms. The judgment module 21 uses a lookup table to map latency to QoS level, ensuring that the adjusted QoS level meets the latency constraint.
[0052] The judgment module 21 implements closed-loop control for QoS assurance in cross-domain networks, improving the reliability and real-time performance of end-to-end communication. By dynamically adjusting the 5G QoS level, the system can flexibly optimize resource allocation according to the actual network status, thereby meeting the differentiated latency requirements of different services and significantly enhancing the quality of service assurance capability in heterogeneous network convergence environments.
[0053] In this embodiment, the mapping module 22 implements mapping in three ways: by employing at least one of logical port binding, data frame field rewriting, or tunnel encapsulation, the data packet is mapped to the target 5G service quality stream. The specific implementation methods are as follows: Method 1: The mapping module 22 includes: a first mapping unit 221; The first mapping unit 221 is used to determine the target logical port corresponding to the target QoS level according to the first mapping relationship between the preset QoS level and the logical port, and transmit the data packet through the target QoS stream corresponding to the target logical port.
[0054] Please see Figure 4 , Figure 4 This is a schematic diagram of a mapping module 22 provided in an embodiment of this disclosure. A 5G QoS stream is bound to a terminal logical port, and the mapping module maps data to the corresponding logical port. The short-range gateway 2 needs to pre-configure the logical ports of the 5G UE and establish mapping relationships between different logical ports (each logical port corresponds one-to-one with a 5G QoS stream) in advance, and use this method to subscribe to 5G QoS policies. After obtaining the target 5G QoS level, the mapping module 22 establishes a mapping between the data packet and the logical port corresponding to the 5G QoS stream, thus enabling the data packet to be transmitted using the corresponding 5G QoS level.
[0055] Specifically, in some implementations, if a logical port binding mapping scheme is adopted, a first mapping relationship between the QoS level and the logical port needs to be preset in the short-range gateway 2, that is, the mapping relationship between the 5G UE logical port and the 5G Quality of Service (QoS) flow needs to be pre-configured. The core of this step is to achieve precise control of the 5G QoS level of data packets during cross-domain transmission through the predefined mapping of logical ports, thereby ensuring end-to-end transmission quality. Specifically, the short-range gateway 2 acts as a convergence node, such as... Figure 3 As shown, it needs to maintain a mapping table between logical ports and QoS levels. This table records the target QoS Flow identifier (QFI) corresponding to each logical port, as well as the QoS level parameters (QoS Class Identifier, QCI) and forwarding guarantee level (5G QoS level, such as low, medium, and high) that the QoS Flow is contracted for in the 5G network.
[0056] When a data packet arrives at the short-range gateway, the mapping module 22, based on the target 5G QoS level output by the judgment module 21, looks up the corresponding logical port in the mapping table and binds the data packet to that logical port. The logical port, as a virtual interface of the 5G UE, requires its binding relationship with the QoS Flow corresponding to the QoS level to be configured through subscription on the 5G network side, typically defined via the operator-provided QoS Policy Control Function (PCF) or User Plane Function (UPF). During this process, the identifier of the logical port (such as port number, protocol type, etc.) must strictly match the fields in the 5G QoS policy to ensure that the data packet can be correctly classified and forwarded to the corresponding QoS Flow after entering the 5G network.
[0057] As another possible implementation, this mapping mechanism needs to support dynamic adjustment. When the judgment module 21 detects that the current 5G QoS level cannot meet the predefined end-to-end latency requirements, the mapping module 22 should be able to reselect the corresponding logical port according to the new QoS level and establish a new mapping relationship. For example, in the embodiment, the original QoS level of service 2 is "medium", corresponding to a DSCP field of 20. However, when the judgment module 21 predicts that the 5G transmission latency is 30ms, which cannot meet the end-to-end latency requirement of 50ms, the mapping module 22 maps the data packet to the logical port corresponding to the higher QoS level, and its DSCP field is rewritten to 40 to trigger the high-priority forwarding strategy on the 5G network side.
[0058] This step plays a crucial role in the overall technical solution. By binding logical ports with QoS Flow, it enables the linkage of QoS policies between short-range networks and 5G networks, ensuring dynamic compensation for transmission latency and reasonable allocation of resources between different network segments.
[0059] The short-range gateway needs to pre-configure the logical ports of the 5G UE and establish mapping relationships between different logical ports and different 5G QoS levels. The QoS flow and 5G QoS level have a unique correspondence; that is, different logical ports are pre-mapped to different QoS flows. 5G QoS policy subscription is performed in this manner. After obtaining the target 5G QoS level, the mapping module 22 establishes a mapping between the data packet and the logical port corresponding to that 5G QoS flow, enabling the data packet to be transmitted using the corresponding 5G QoS level.
[0060] Method 2, the mapping module 22 includes: a second mapping unit 222; The second mapping unit 222 is used to modify the fields corresponding to the QoS flow in the data packet information to the fields corresponding to the target QoS flow corresponding to the target QoS level, according to the preset second mapping relationship between the QoS level and the data packet information, and transmit the data packet through the target QoS flow. The preset second mapping relationship between the QoS level and the data packet information is the binding mapping relationship between the 5G QoS flow and the information in the data frame or data packet. The mapping module 22 directly modifies the corresponding fields in the data frame / data packet. After obtaining the target 5G QoS level, the mapping module 22 directly modifies the fields in the data packet / data packet that are mapped to the original 5G QoS to the fields corresponding to the target 5G QoS flow, such as the VLANTag in the data packet, and the IPv6 / SRv6 / DSCP fields in the data packet header, so as to correctly establish the mapping relationship between the data and the 5G QoS flow.
[0061] Specifically, in some implementations, if data frame field rewriting is used, the mapping module 22 will dynamically adjust specific fields in the packet header to match the target 5G Quality of Service (QoS) level. Specifically, this step involves rewriting the DSCP (Differentiated Services Code Point), VLAN Tag, or SRv6 identifier fields so that they can be recognized by the 5G network and mapped to the corresponding QoS flow. The DSCP field is located in the IPv4 or IPv6 header and is used to identify the service level of the data packet. Its value ranges from 0 to 63, a total of 6 bits, supporting the definition of multiple service levels, such as EF (Expedited Forwarding) for low-latency, high-priority services, and AF (Assured Forwarding) for services that guarantee a certain bandwidth and latency. The VLAN Tag is used in Ethernet frames, using the 3-bit priority (PCP) and 6-bit service code (DEI+PCP) in the 4-byte 802.1Q tag field to classify services. SRv6 (Segment Routing over IPv6) binds service paths and QoS policies through the Segment List field in the IPv6 extended header.
[0062] In actual operation, the mapping module 22 first queries the second mapping relationship between the preset QoS level and data packet information (stored in the preset mapping rule table) based on the target 5G QoS level provided by the judgment module 21, and determines the field value corresponding to that level. For example, if the target QoS level is "high", the mapping module 22 sets the DSCP field to 40, corresponding to EF class services; if it is "medium", it sets it to 20, corresponding to AF21 class services. Subsequently, the mapping module 22 performs field rewriting operations on the data frame or data packet, replacing the original field value with the target field value to ensure that the data packet can be correctly identified and scheduled in the 5G network.
[0063] This step plays a crucial role in the cross-domain QoS guarantee mechanism. By rewriting fields, the short-range gateway 2 can explicitly convey the QoS requirements of service data to the 5G network, thereby achieving end-to-end differentiated quality of service assurance. Especially in latency-sensitive application scenarios such as the Industrial Internet of Things, this mechanism can effectively cope with latency fluctuations between the short-range network and the 5G network, improving the reliability and real-time performance of service transmission.
[0064] Method 3: The short-range gateway further includes a tunnel encapsulation module 25, and the mapping module 22 includes a third mapping unit 223; The third mapping unit 223 communicates with the tunnel encapsulation module and is used to send the field information corresponding to the target QoS level and the third mapping relationship to the tunnel encapsulation module 25.
[0065] The tunnel encapsulation module 25 is used to receive the field information corresponding to the target QoS level and the third mapping relationship sent by the third mapping unit 223. When encapsulating the data packet, it modifies the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header to the field information corresponding to the target QoS level, thereby obtaining the encapsulated data packet. When the encapsulated data packet enters the 5G network, it maps the data packet to the corresponding target QoS flow according to the target QoS level. In Method 3, the mapping module 22 establishes a flexible mapping between data and 5G QoS flow during data frame tunnel encapsulation based on the short-range gateway tunnel encapsulation capability. Some data packets / data packets do not support direct field modification. Based on the tunnel encapsulation capability of the short-range gateway, the mapping module 22 can establish a flexible mapping between short-range outgoing data and tunnel encapsulated data. During tunnel encapsulation, the corresponding fields in the re-encapsulated IP header / MAC header are written as the fields corresponding to the destination 5G QoS flow according to the QoS-Flow subscription rules, and the short-range outgoing data is mapped to the feature form under the subscription rules to correctly establish the mapping relationship between short-range outgoing data and 5G QoS flow.
[0066] Specifically, in some implementations, if tunnel encapsulation is used, the field information corresponding to the target 5G Quality of Service (QoS) level is written into the IP header or MAC header of the tunnel encapsulation to establish a mapping relationship between the data packet and the target 5G QoS flow. This step is a key link in realizing the cross-domain QoS guarantee mechanism. Its technical principle is based on the identification and forwarding strategy of QoS flow in the 5G network, as well as the controllability of data packet header information by tunnel encapsulation technology.
[0067] From a technical implementation perspective, this step is typically performed in the mapping module 22 of the short-range gateway. When the judgment module 21 determines that a data packet needs to be mapped to a higher-priority 5G QoS flow, the mapping module 22 injects the field information corresponding to the target QoS level into the IP header or MAC header of the tunnel encapsulation according to the 5G QoS mapping rules. For example, if the 5G QoS flow is bound to the DSCP field, the mapping module 22 rewrites the DSCP field from its original value (e.g., 20) to a value corresponding to the target QoS level (e.g., "high") (e.g., 40). In other implementations, if VLAN tags or SRv6 identification methods are used, the mapping module writes the corresponding field values into the MAC header or IPv6 extension header to ensure that the data packet can be correctly identified and mapped to the corresponding QoS flow after entering the 5G network.
[0068] In terms of parameters, 5G QoS levels are typically identified using QFI (QoS Flow Identifier), with values ranging from 0 to 63. In this solution, the mapping module binds the QoS level to fields such as DSCP and VLAN Tag based on a predefined third mapping relationship. For example, when the target QoS level is "High," the DSCP field value is 40, corresponding to the priority field in the IP header, thus affecting the scheduling strategy and resource allocation in the 5G network.
[0069] In application scenarios, this step is suitable for industrial IoT environments that integrate short-range networks and 5G networks. Since some short-range data frames do not support direct modification of the QoS identifier field, it is necessary to rely on the gateway's tunnel encapsulation capabilities to inject QoS information into the IP or MAC header to achieve correct mapping with the 5G QoS flow. This technical solution supports dynamic adjustment of QoS levels, thereby ensuring end-to-end service quality in latency-sensitive services.
[0070] Combination Figure 5 Assuming that during the transmission of ordinary service flows, if the first transmission delay cannot meet the predefined end-to-end second transmission delay under the current channel quality of the 5G network, the target QoS level (the QoS level corresponding to the control service flow) corresponding to the second transmission delay is determined, and it is mapped through the tunnel switch of the mapping module to adjust it to the control service flow for ordinary service transmission, and finally transmitted to the general server across domains through the short-range network and the 5G network.
[0071] The technical advantage of this step lies in enabling flexible mapping of QoS flows between short-range networks and 5G networks by injecting QoS field information during the tunnel encapsulation stage. This improves the latency controllability and quality of service assurance capabilities of cross-domain transmission. Furthermore, this mechanism supports dynamic adjustment of QoS levels based on real-time network conditions, enhancing the system's adaptability to network fluctuations and providing reliable technical support for heterogeneous network convergence.
[0072] Please continue reading. Figure 3 The short-range gateway further includes a clock synchronization module 26; the clock synchronization module 26 is used to synchronize the short-range network with the main clock of the 5G network and transmit the synchronization clock information to the communication module 24.
[0073] In some implementations, short-range network terminals obtain the master clock timestamp through an integrated clock synchronization interface (such as the gPTP protocol) when data packets enter the network and write it into a specific field of the data frame. This timestamp is typically measured in nanoseconds (ns) or microseconds (μs), featuring high precision and low jitter to meet the latency-sensitive application requirements of industrial control, real-time communication, and other applications. The short-range gateway, acting as an aggregation node, has a built-in master clock module, and its time source can be synchronized from the 5G network side via the IEEE 1588v2 or IRIG-B protocol, thereby achieving cross-domain time consistency.
[0074] When a data packet arrives at the short-range gateway, the short-range AP module reads the network entry timestamp from the data frame and calls the master clock interface to obtain the current timestamp.
[0075] This embodiment requires clock synchronization and necessitates that short-range communication network frames carry timestamps. The flexible mapping mechanism of short-range communication + 5G needs to ensure that 5G and short-range communication use a common master clock to achieve clock synchronization in the end-to-end network of 5G + short-range communication. 5G terminals can transmit the 5G clock source to the short-range management node via 1588v2 or IRIG-B, and the short-range management node can transmit the clock to the short-range terminal nodes via the gPTP protocol, thus achieving time synchronization among all nodes in the 5G + short-range network.
[0076] In practical applications, the following technical specifications must be met: the master clock synchronization accuracy should be better than 10μs to ensure the accuracy of latency calculation; the timestamp field must support nanosecond-level accuracy and reserve a fixed position in the data frame structure for easy parsing and processing. Furthermore, this step must comply with clock synchronization standards such as IEEE 802.1AS and IEEE 1588v2, as well as the mapping specifications between 5G QoS Flow and service data flow identifiers (such as DSCP and VLAN Tags).
[0077] like Figure 6 As shown in the embodiments of this disclosure, a method for guaranteeing cross-domain QoS is also provided, which is applied to applications such as... Figures 1 to 3 The cross-domain QoS guarantee system shown in any one of the diagrams includes: Step 101: If it is determined that the first transmission delay under the current channel quality cannot meet the predefined end-to-end second transmission delay, determine the target QoS level that meets the second transmission delay.
[0078] In some embodiments, a periodic service information table is established in the short-range gateway 2 to record the period of different service data, the predefined end-to-end delay (second transmission delay), the 5G QoS level, and the service data flow identifier (VLAN Tag / IP 5-tuple / IPv6 / SRv6, etc.). Specifically, the contents of the periodic service information table are not limited in this embodiment.
[0079] In some implementations, querying a predefined periodic service information table based on the service type is one of the key steps in implementing a cross-domain Quality of Service (QoS) guarantee mechanism. The core technical principle of this step lies in accurately matching the service type identifier (such as VLAN Tag, IP 5-tuple, IPv6, SRv6, etc.) in the periodic service information table to obtain the predefined end-to-end second transmission latency requirement and the current 5G network QoS level corresponding to the service. This periodic service information table is typically stored in the local database or configuration management module of the short-range gateway 2, and its structure includes key parameters such as service name, period, end-to-end latency limit, 5G QoS level (QFI value range is 0-63), and service data flow identifier field.
[0080] In terms of specific operation, when a data packet arrives at the short-range gateway 2, the judgment module 21 inside the short-range gateway 2 first parses the service identification field in the data frame or data packet, such as the VLAN Tag or DSCP field, to determine its service type. Subsequently, the judgment module 21 searches the periodic service information table based on the service type to obtain the predefined end-to-end latency requirements of the service and the currently configured 5G QoS level.
[0081] In some embodiments, it is assumed that three periodic service data types are transmitted over a short-range 5G network, each corresponding to different service level requirements. At a certain moment, service 2 data accesses the short-range terminal and travels across domains to the server via the short-range network and the 5G network. The 5G QoS subscription rules establish a mapping relationship between the 5G QoS stream and the DSCP field, and the source data field cannot be directly modified.
[0082] The periodic service information table configured in the short-range gateway is shown in Table 3 below. Specifically, the specific content of the periodic service information table is not limited in this embodiment.
[0083] Table 3 Periodic Business Information Table
[0084] Simultaneously, the 5G module reports channel quality information (such as RSRP, SINR, BLER, etc.) in real time. The judgment module, based on this channel quality information and the current QoS level, queries the 5G network transmission delay prediction table to obtain the predicted delay of the 5G network segment under this condition. Specifically, it records the 5G network transmission delay corresponding to the 5G network assurance level and channel quality information, as shown in Table 4 below. However, this embodiment does not limit the content of the 5G network transmission delay prediction table.
[0085] Table 4 5G Network Transmission Latency Prediction Table
[0086] Service 2 data frames are encapsulated by short-range terminals and transmitted to short-range gateways. The short-range APs in the short-range gateways read the time information carried in the Service 2 data frames and calculate the first transmission delay by combining it with the current time of the master clock.
[0087] Assume that the current time minus the network entry time equals the first transmission delay of 30ms. The short-range gateway judgment module retrieves the periodic service information table (Table 3) and reads that the end-to-end latency (second transmission latency) corresponding to the service identifier of the data frame is 50ms, and the 5G QoS level is medium.
[0088] The 5G terminal module sends the currently measured channel quality information to the judgment module of the short-range gateway. The judgment module looks up the 5G network transmission prediction latency of 30ms based on the 5G network channel quality information and QoS level.
[0089] The judgment module determines that the 5G network protection level corresponding to the current data packet cannot meet the predefined end-to-end latency requirement of 50ms based on the first transmission latency of 30ms in the short-range network and the predicted transmission latency of 30ms in the 5G network.
[0090] To meet the predefined end-to-end latency requirement, the 5G network transmission latency needs to be less than the predefined end-to-end latency (second transmission latency) minus the short-range network transmission latency (first transmission latency), which is 20ms. Referring to Table 4, the corresponding 5G QoS level needs to be high (15ms is less than 20ms, thus meeting the predefined end-to-end latency (second transmission latency) minus the short-range network transmission latency (first transmission latency)). The judgment module sends the adjusted 5G QoS level information (high) to the mapping module.
[0091] Step 102: Map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet through the target QoS stream.
[0092] Multimodal mapping methods include, but are not limited to, the following three methods: logical port binding, data frame field rewriting, or tunnel encapsulation, to map the data packet to the target 5G quality of service stream. Specific embodiments of this disclosure do not limit the mapping method.
[0093] It should be noted that when implementing mapping in a short-range gateway, at least one of the three methods included can be used, or any two or three methods can be used, and priorities of multiple implementation methods can be set, with mapping implemented according to the priority order. For example, the priority order could be logical port binding (highest) - data frame field rewriting - tunnel encapsulation (lowest); or, data frame field rewriting (highest) - logical port binding - tunnel encapsulation (lowest); or data frame field rewriting (highest) - tunnel encapsulation - logical port binding (lowest). Specifically, the implementation embodiments of this disclosure do not limit the priority order.
[0094] In some implementations, after determining the target QoS level, the data packets are mapped to a 5G QoS stream corresponding to the target QoS level. This step is one of the core mechanisms for achieving cross-domain QoS assurance in this proposal, and its technical implementation is based on dynamic perception of end-to-end latency and flexible adjustment of the 5G QoS level.
[0095] In application scenarios, this step is suitable for latency-sensitive cross-domain business scenarios such as industrial automation, remote control, and real-time video transmission. For example, in an industrial field, the short-range gateway acts as a convergence node for north-south communication, monitoring the transmission status of the short-range network and the 5G network in real time, and dynamically adjusting the 5G QoS level when latency exceeds the standard to ensure the timely delivery of control commands or sensor data.
[0096] This disclosure provides a cross-domain QoS guarantee mechanism for short-range networks and 5G networks. It includes flexibly adjusting the QoS level of the next network segment based on the transmission latency of the previous network segment, and a flexible mapping mechanism between the QoS flows of the two networks. A judgment module and a mapping module are added within the aggregation node (short-range gateway) of the short-range network and the 5G network. The judgment module determines whether the 5G QoS level needs adjustment (including but not limited to lowering or raising the 5G QoS level), and the mapping module flexibly maps the data output from the short-range network to a suitable 5G QoS flow (i.e., the target QoS flow corresponding to the target QoS level).
[0097] Continuing with the example in step 101, taking tunnel encapsulation as an example, the mapping module obtains the DSCP field corresponding to the high 5G QoS level information as 40 according to the 5G QoS mapping rules. It then sends the 5G QoS mapping rules and the written DSCP field (2) to the tunnel encapsulation module. When the tunnel encapsulation module encapsulates the data frame of service 2, it rewrites the DSCP field from 20 to 40 in the re-encapsulated IP header. After the encapsulated data packet enters the 5G network, since the DSCP field in the data packet header is 40, the 5G network maps the data packet to a 5G QoS stream with a high guarantee level according to the signed mapping rules.
[0098] The cross-domain QoS guarantee method disclosed herein obtains the first transmission delay of data packets transmitted in a short-range network and the current channel quality of the 5G network; if it is determined that the first transmission delay under the current channel quality cannot meet a predefined end-to-end second transmission delay, a target QoS level corresponding to the second transmission delay is determined; the data packets are mapped to a target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and the data packets are transmitted through the target QoS stream. This achieves dynamic end-to-end QoS guarantee in scenarios where short-range networks and 5G networks are integrated, effectively improving the latency controllability and communication stability of cross-domain transmission by real-time sensing of network latency and flexible adjustment of the target QoS level.
[0099] When performing the first transmission delay of data packets transmitted in the short-range network, the following methods may be used, but are not limited to: in response to data packets transmitted by the terminal received in the short-range network, reading the outgoing time and entering time carried in the data packets, and calculating the first transmission delay based on the outgoing time and the entering time.
[0100] In some embodiments, determining the target QoS level that satisfies the second transmission delay, such as Figure 7 As shown, it includes: Step 201: Query the target service type of the data packet, the corresponding predefined end-to-end second transmission delay, and the predefined QoS level from the periodic service information table; Step 202: Query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; Step 203: Determine whether the predefined end-to-end second transmission delay is met based on the first transmission delay and the predicted transmission delay; Step 204: If it is determined that the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay, query the target QoS level corresponding to the predefined end-to-end second transmission delay from the network transmission delay prediction table.
[0101] For details on the implementation of steps 201 and 204, please refer to the relevant instructions on the system side, so they will not be elaborated here.
[0102] In some embodiments, mapping the data packet to a target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmitting the data packet through the target QoS stream, includes: Based on a preset first mapping relationship between QoS levels and logical ports, the target logical port corresponding to the target QoS level is determined, and the data packet is transmitted through the target QoS stream corresponding to the target logical port; or, Based on a preset second mapping relationship between QoS levels and data packet information, the field corresponding to the QoS flow in the data packet information is modified to the field corresponding to the target QoS flow corresponding to the target QoS level, and the data packet is transmitted through the target QoS flow; or, When encapsulating the data packet, the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header is modified to the field information corresponding to the target QoS level to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level, and the data packet is transmitted through the target QoS stream.
[0103] For details on the specific implementation of the mapping method, please refer to the relevant instructions on the system side, so they will not be elaborated here.
[0104] For ease of understanding, this disclosure provides a specific example of a method for guaranteeing cross-domain QoS, such as... Figure 8 As shown, however, it should be clear that this method of explanation is for illustrative purposes only, and not a limitation on the specific implementation method.
[0105] This disclosure illustrates a cross-domain QoS guarantee mechanism for short-range network and 5G network deployment. Taking data acquisition services (yellow and purple data streams) as examples, it flexibly adjusts the QoS level of the next network segment (short-range gateway node to base station) based on the transmission latency of the previous segment (short-range terminal node to short-range gateway node), and includes a flexible mapping mechanism between the QoS streams of the two networks (mapping the QoS stream of the purple data stream to the QoS stream of the control service, where the QoS level of the control service is higher than that of the data acquisition service). A judgment module and a mapping module are added within the aggregation node (short-range gateway) of the short-range network and the 5G network. The judgment module determines whether the 5G QoS level needs to be upgraded, and the mapping module flexibly maps the data output from the short-range network to the appropriate 5G QoS stream.
[0106] Corresponding to the aforementioned cross-domain QoS guarantee method, this invention also proposes a cross-domain QoS guarantee device. Since the device embodiments of this invention correspond to the aforementioned method embodiments, details not disclosed in the device embodiments can be referred to the aforementioned method embodiments, and will not be repeated here.
[0107] Figure 9 This is a schematic diagram of a cross-domain QoS guarantee device provided in an embodiment of the present disclosure. The cross-domain QoS guarantee device is configured in... Figures 1 to 5 The cross-domain QoS guarantee system described in any one of them, such as Figure 9 As shown, it includes: The acquisition unit 31 is used to acquire the first transmission delay of data packets transmitted in the short-range network and the current channel quality of the 5G network; The determining unit 32 is configured to determine the target QoS level that satisfies the second transmission delay when the first transmission delay under the current channel quality cannot satisfy the predefined end-to-end second transmission delay. The mapping unit 33 is used to map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet through the target QoS stream.
[0108] The cross-domain QoS guarantee device disclosed herein acquires the first transmission delay of data packets transmitted in a short-range network and the current channel quality of the 5G network; if it is determined that the first transmission delay under the current channel quality cannot meet a predefined end-to-end second transmission delay, it determines a target QoS level that meets the second transmission delay; it maps the data packets to a target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmits the data packets through the target QoS stream. This achieves dynamic end-to-end QoS guarantee in scenarios where short-range networks and 5G networks converge, effectively improving the latency controllability and communication stability of cross-domain transmission by real-time sensing of network latency and flexible adjustment of the target QoS level.
[0109] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 10 As shown, the acquisition unit 31 is further configured to, in response to a data packet transmitted by the terminal received in the short-range network, read the outgoing network time and the incoming network time carried in the data packet, and calculate the first transmission delay based on the outgoing network time and the incoming network time.
[0110] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 10 As shown, the determining unit 32 includes: The first query module 321 is used to query the target service type of the data packet, the corresponding predefined end-to-end second transmission delay and predefined QoS level from the periodic service information table; The second query module 322 is used to query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; The determining module 323 is used to determine whether the predefined end-to-end second transmission delay is satisfied based on the first transmission delay and the predicted transmission delay. The third query module 324 is used to query the target QoS level corresponding to the predefined end-to-end second transmission delay from the network transmission delay prediction table when it is determined that the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay.
[0111] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 10 As shown, the mapping unit 33 includes: The first mapping module 331 is used to determine the target logical port corresponding to the target QoS level according to a preset first mapping relationship between QoS levels and logical ports, and to transmit the data packet through the target QoS stream corresponding to the target logical port; or, The second mapping module 332 is used to modify the field corresponding to the QoS flow in the data packet information to the field corresponding to the target QoS flow corresponding to the target QoS level, according to a preset second mapping relationship between the QoS level and the data packet information, and transmit the data packet through the target QoS flow; or, The third mapping module 333 is used to modify the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header to the field information corresponding to the target QoS level when encapsulating the data packet, so as to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level, and the data packet is transmitted through the target QoS stream.
[0112] It should be noted that the foregoing explanation of the method embodiments also applies to the apparatus of the embodiments of this disclosure, and the principle is the same. Therefore, the embodiments of this disclosure are not limited thereto.
[0113] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0114] Figure 11 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0115] like Figure 11 As shown, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in ROM (Read-Only Memory) 602 or loaded from storage unit 608 into RAM (Random Access Memory) 603. The RAM 603 may also store various programs and data required for the operation of the electronic device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via a bus 604. An I / O (Input / Output) interface 605 is also connected to the bus 604.
[0116] Multiple components in electronic device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of displays, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows electronic device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0117] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as cross-domain QoS guarantee methods. For example, in some embodiments, cross-domain QoS guarantee methods may be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the aforementioned cross-domain QoS guarantee method by any other suitable means (e.g., by means of firmware).
[0118] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System-on-Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0119] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0120] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0121] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0122] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include LANs (Local Area Networks), WANs (Wide Area Networks), the Internet, and blockchain networks.
[0123] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service system that addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.
[0124] It's important to note that artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.
[0125] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0126] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A system for guaranteeing cross-domain QoS, characterized in that, include: The system comprises a terminal, a short-range gateway, and a server, wherein the short-range gateway includes a judgment module and a mapping module. The judgment module is used to determine the target QoS level that satisfies the second transmission delay when the first transmission delay cannot meet the predefined end-to-end second transmission delay under the current channel quality of the 5G network, and to send the target QoS level to the mapping module, wherein the first transmission delay is the transmission delay of the terminal transmitting data packets in the short-range network; The mapping module is used to receive the target QoS level sent by the judgment module, map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet to the server through the target QoS stream.
2. The system of claim 1, wherein, The short-range gateway also includes: a wireless access module and a communication module; The wireless access module, in response to the data packet transmitted by the terminal, reads the outgoing network time and the incoming network time carried in the data packet, calculates a first transmission delay based on the outgoing network time and the incoming network time, and sends the first transmission delay to the judgment module; The communication module acquires the current channel quality and sends the current channel quality to the judgment module.
3. The system of claim 2, wherein, The judgment module is also used for: Query the target service type, predefined end-to-end second transmission delay, and predefined QoS level of the data packet from the periodic service information table; Query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; Based on the first transmission delay and the predicted transmission delay, determine whether the predefined end-to-end second transmission delay is met; If the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay, the target QoS level corresponding to the predefined end-to-end second transmission delay is queried from the network transmission delay prediction table.
4. The system of claim 1, wherein, The mapping module includes: a first mapping unit; The first mapping unit is used to determine the target logical port corresponding to the target QoS level according to the first mapping relationship between the preset QoS level and the logical port, and to transmit the data packet through the target QoS stream corresponding to the target logical port.
5. The system of claim 1, wherein, The mapping module includes: a second mapping unit; The second mapping unit is used to modify the field corresponding to the QoS flow in the data packet information to the field corresponding to the target QoS flow corresponding to the target QoS level according to the second mapping relationship between the preset QoS level and the data packet information, and transmit the data packet through the target QoS flow.
6. The system of claim 1, wherein, The short-range gateway further includes a tunnel encapsulation module, and the mapping module includes: a third mapping unit; The third mapping unit communicates with the tunnel encapsulation module and is used to send the field information corresponding to the target QoS level and the third mapping relationship to the tunnel encapsulation module.
7. The system according to claim 6, characterized in that, The tunnel encapsulation module is used to receive the field information corresponding to the target QoS level and the third mapping relationship sent by the third mapping unit. When encapsulating the data packet, the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header is modified to the field information corresponding to the target QoS level to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level.
8. The system of any one of claims 1-7, wherein, The short-range gateway also includes a clock synchronization module; The clock synchronization module is used to synchronize the short-range network with the main clock of the 5G network and transmit the synchronization clock information to the communication module.
9. A method for guaranteeing cross-domain QoS, characterized in that, The cross-domain QoS guarantee method is applied to the cross-domain QoS guarantee system according to any one of claims 1-8, comprising: Obtain the first transmission delay of data packets in short-range networks and the current channel quality of 5G networks; If it is determined that the first transmission delay under the current channel quality cannot meet the predefined end-to-end second transmission delay, then the target QoS level corresponding to the second transmission delay is determined. The data packet is mapped to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and the data packet is transmitted through the target QoS stream.
10. The method of claim 9, wherein, The process of obtaining the first transmission delay of data packets in a short-range network includes: In response to a data packet transmitted by the terminal received in the short-range network, the outgoing network time and the incoming network time carried in the data packet are read, and the first transmission delay is calculated based on the outgoing network time and the incoming network time.
11. The method of claim 9, wherein, Determining the target QoS level that satisfies the second transmission delay includes: Query the target service type of the data packet from the periodic service information table, and the corresponding predefined end-to-end second transmission delay and predefined QoS level; Query the predefined QoS level and the corresponding predicted transmission delay under the current channel quality from the network transmission delay prediction table; Based on the first transmission delay and the predicted transmission delay, determine whether the predefined end-to-end second transmission delay is met; If the first transmission delay and the predicted transmission delay cannot meet the predefined end-to-end second transmission delay, the target QoS level corresponding to the predefined end-to-end second transmission delay is queried from the network transmission delay prediction table.
12. The method of claim 9, wherein, The step of mapping the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmitting the data packet through the target QoS stream, includes: Based on a preset first mapping relationship between QoS levels and logical ports, the target logical port corresponding to the target QoS level is determined, and the data packet is transmitted through the target QoS stream corresponding to the target logical port; or, Based on a preset second mapping relationship between QoS levels and data packet information, the field corresponding to the QoS flow in the data packet information is modified to the field corresponding to the target QoS flow corresponding to the target QoS level, and the data packet is transmitted through the target QoS flow; or, When encapsulating the data packet, the field information corresponding to the QoS level in the third mapping relationship in the IP header / MAC header is modified to the field information corresponding to the target QoS level to obtain the encapsulated data packet. When the encapsulated data packet enters the 5G network, the data packet is mapped to the corresponding target QoS stream according to the target QoS level, and the data packet is transmitted through the target QoS stream.
13. A device for guaranteeing cross-domain QoS, characterized in that, The cross-domain QoS protection device is configured in the cross-domain QoS protection system according to any one of claims 1-8, comprising: The acquisition unit is used to acquire the first transmission delay of data packets transmitted in the short-range network and the current channel quality of the 5G network; The determining unit is configured to determine the target QoS level that satisfies the second transmission delay when it is determined that the first transmission delay under the current channel quality cannot satisfy the predefined end-to-end second transmission delay; The mapping unit is used to map the data packet to the target QoS stream corresponding to the target QoS level according to a preset multimodal mapping method, and transmit the data packet through the target QoS stream.
14. An electronic device, comprising: include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method of any one of claims 9-12.
15. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 9-12.
16. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 9-12.