CN110662257B - Message transmission method and device, computer equipment and storage medium - Google Patents

Message transmission method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110662257B
CN110662257B CN201910931588.5A CN201910931588A CN110662257B CN 110662257 B CN110662257 B CN 110662257B CN 201910931588 A CN201910931588 A CN 201910931588A CN 110662257 B CN110662257 B CN 110662257B
Authority
CN
China
Prior art keywords
message
sdap entity
current
packet
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910931588.5A
Other languages
Chinese (zh)
Other versions
CN110662257A (en
Inventor
胡呈欣
郑自永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201910931588.5A priority Critical patent/CN110662257B/en
Priority to PCT/CN2019/124697 priority patent/WO2021056847A1/en
Publication of CN110662257A publication Critical patent/CN110662257A/en
Application granted granted Critical
Publication of CN110662257B publication Critical patent/CN110662257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Abstract

The application relates to a message transmission method, a message transmission device, a computer device and a storage medium, when the IP address of the message is a pre-agreed IP address, the reflection control unit judges that the message is packaged and processed by the current SDAP entity and sends the message under the condition that the priority of the current RB is the highest priority, under the condition that the priority of the current RB of the message is not the highest priority, determining a new SDAP entity again according to the RB with the highest priority, controlling the new entity to carry out encapsulation processing and sending the message, in the method, when the received message is the agreed IP message, the message can be ensured to be transmitted by the RB with the highest priority under any condition, that is, for the IP flow of the appointed service, the priority is promoted to the RB load bearing with the highest priority in the wireless transmission, thereby greatly improving the transmission quality of the specific IP service flow.

Description

Message transmission method and device, computer equipment and storage medium
Technical Field
The present application relates to the technical field of mobile communications, and in particular, to a method and an apparatus for transmitting a packet, a computer device, and a storage medium.
Background
In the field of 5G communication technology, an SDAP (Service Data Adaptation Protocol) belongs to a new communication Protocol, and one end of the communication Protocol is connected to a PDCP (Packet Data Convergence Protocol) Protocol and the other end of the communication Protocol is connected to a GTP (GPRS tunneling Protocol) Protocol, which respectively carry the transceiving processing of a wireless side and a wired side of Data transmission.
In the user plane data processing, the SDAP module roughly maps corresponding SDAP entity and RB (Radio Bearer) entity information according to QoS (Quality of Service) information carried by a GTP protocol header, thereby completing mapping from QoS streams to RAB bearers, and transmitting all IP Service streams of the terminal according to mapped QoS rules.
However, for some specific IP traffic flows, the transmission quality is low.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a message transmission method, apparatus, computer device and storage medium for solving the technical problem that the transmission quality of the part of the specific IP traffic flow is low.
In a first aspect, an embodiment of the present application provides a packet transmission method, where the method includes:
receiving a first message sent by core network equipment; the first message carries a first terminal side IP address and first QoS information;
if the IP address of the first terminal side is a pre-agreed IP address, judging whether the priority of the current RB of the first message is the highest priority or not according to the first QoS information;
if the priority of the current RB is the highest priority, a first processing instruction is sent to the current SDAP entity of the first message, and the first processing instruction is used for indicating that the first message is sent to a PDCP module after being packaged;
if the priority of the current RB is not the highest priority, selecting a new SDAP entity according to the first QoS information, and sending a first processing instruction to the new SDAP entity; the new SDAP entity represents the highest priority R B corresponding SDAP entity.
In one embodiment, before determining whether the priority of the current RB of the first packet is the highest priority according to the first QoS information, the method includes:
and if the first terminal side IP address is not the pre-agreed IP address, sending a first processing instruction to the current SDAP entity of the first message.
In one embodiment, the selecting a new SDAP entity according to the first QoS information includes:
acquiring a current SDAP entity of the first message and RB information of the first message according to the first QoS information; the RB information of the first message comprises the current RB of the first message, other RBs except the current RB, and priority marks of the current RB and other RBs;
selecting the RB with the highest priority from other RBs according to the priority identification;
and determining the SDAP entity of the QoS flow corresponding to the RB with the highest priority as a new SDAP entity.
In one embodiment, if the first processing instruction is sent to the current SDAP entity of the first packet, the RQI field in the SDAP header information of the encapsulated first packet is a first value;
if the first processing instruction is sent to a new SDAP entity, the RQI field in the SDAP header information of the first message after encapsulation processing is a second value;
wherein the first value and the second value are different values.
In one embodiment, after selecting the new SDAP entity according to the first QoS information, the method further includes:
and determining the current SDAP entity of the first message as the original SDAP entity of the first message, and storing.
In one embodiment, the method further comprises:
receiving a second message sent by the PDCP module; the second message carries the IP address of the second terminal side;
if the IP address of the second terminal side is the pre-agreed IP address, detecting whether the second message has the original SDAP entity of the second message;
if the second message has the original SDAP entity of the second message, sending a second processing instruction to the original SDAP entity of the second message, wherein the second processing instruction is used for indicating that the second message is sent to the core network equipment after being packaged;
and if the second message does not have the original SDAP entity of the second message, sending a second processing instruction to the current SDAP entity of the second message.
In one embodiment, before the detecting whether the second packet has the original SDAP entity of the second packet, the method includes:
and if the IP address of the second terminal side is not the pre-agreed IP address, sending a second processing instruction to the current SDAP entity of the second message.
In one embodiment, after the second packet is encapsulated according to the second processing instruction, the encapsulated second packet includes base station GTP, UDP, and IP header information, where the GTP header information includes second QoS information of the second packet.
In a second aspect, an embodiment of the present application provides a message transmission apparatus, where the apparatus includes:
the first receiving module is used for receiving a first message sent by core network equipment; the first message carries a first terminal side IP address and first QoS information;
the judging module is used for judging whether the priority of the current RB of the first message is the highest priority or not according to the first Qo S information if the IP address of the first terminal side is the pre-agreed IP address;
the first processing module is used for sending a first processing instruction to a current SDAP entity of the first message if the priority of the current RB is the highest priority, wherein the first processing instruction is used for indicating that the first message is sent to the PDCP module after being packaged;
the second processing module is used for selecting a new SDAP entity according to the first QoS information and sending a first processing instruction to the new SDAP entity if the priority of the current RB is not the highest priority; the new SDAP entity represents the SDAP entity corresponding to the RB with the highest priority.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of any one of the methods provided in the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the methods provided in the embodiments of the first aspect.
The embodiment of the application provides a message transmission method, a message transmission device, computer equipment and a storage medium, when the IP address of the message is the pre-agreed IP address, the reflection control unit controls the current SDAP entity of the message to package, process and send the message under the condition that the priority of the message in the current RB is the highest priority, under the condition that the priority of the current RB of the message is not the highest priority, determining a new SDAP entity again according to the RB with the highest priority, controlling the new entity to carry out encapsulation processing and sending the message, in the method, when the received message is the agreed IP message, the message can be ensured to be transmitted by the RB with the highest priority under any condition, that is, for the IP flow of the appointed service, the priority is promoted to the RB load bearing with the highest priority in the wireless transmission, thereby greatly improving the transmission quality of the specific IP service flow.
Drawings
Fig. 1 is an application environment diagram of a message transmission method according to an embodiment;
fig. 2 is a flowchart illustrating a message transmission method according to an embodiment;
fig. 3 is a flowchart illustrating a message transmission method according to an embodiment;
fig. 3a is a complete flow chart of a message transmission method according to an embodiment;
fig. 3b is a diagram illustrating a comparison between before and after application of the message transmission method according to an embodiment;
fig. 4 is a flowchart illustrating a message transmission method according to an embodiment;
fig. 4a is a complete flow chart of a message transmission method according to an embodiment;
fig. 5 is a block diagram of a message transmission apparatus according to an embodiment;
fig. 6 is a block diagram of a message transmission apparatus according to an embodiment;
fig. 7 is a block diagram of a message transmission apparatus according to an embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The message transmission method provided by the application can be applied to an application environment shown in fig. 1, wherein a 5G core network includes a core network device, a 5G access network includes a 5G base station and a 4G base station, and a user terminal device performs data interaction with the base station. The user terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. In the application environment, a user terminal device sends each Service Data to a 5G core network through a 5G access network, wherein the 5G access network and the 5G core network implement the message transmission method provided by the application when performing Data interaction, wherein a 5G base station includes a Service Data Adaptation Protocol (SDAP) module and a Packet Data Convergence Protocol (PDCP) module, and a reflection control unit is arranged in the SDAP module in the base station in actual application and is used for executing the Data transmission method provided by the application.
Embodiments of the present application provide a message transmission method, a message transmission apparatus, a computer device, and a storage medium, and how to solve the above technical problems will be specifically described in detail below with reference to the accompanying drawings and embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that in the message transmission method provided in the present application, the execution main bodies of fig. 2 to fig. 4 are reflection control units, where the execution main body may also be a base station, and the reflection control unit may be implemented as part or all of the base station by software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In an embodiment, fig. 2 provides a message transmission method, where this embodiment relates to a specific process of adjusting a transmission priority of a message according to an IP (Internet Protocol) address carried in a first message after a reflection control unit receives the first message sent by a core network device, and as shown in fig. 2, the method includes:
s101, receiving a first message sent by core network equipment; the first message carries the IP address of the first terminal side and the first QoS information.
In this embodiment, the core network device represents a device on the 5G core network side, for example, the 5G core network device includes a device for implementing an Access and Mobility Management Function (AMF) and a User Plane Function (UPF). The first message represents a message sent by a core network device to an SDAP module in a 5G access network, where the first message is only used for distinguishing from a second message sent by a PDCP module in the 5G access network (in a base station) in the following embodiment (without limiting a sequence and a sequence number of the message), and it should be noted that all of the first and second equalizations in this embodiment are used for distinguishing, for example, an IP address of a first terminal side, an IP address of a second terminal side and first QoS information in the following description, and second QoS information in the following description are only used for distinguishing.
Specifically, in practical application, a reflection control unit in an SDAP module of a base station receives a first packet sent by a core network device, where the first packet may be a GPRS Tunneling Protocol (GTP) packet, and the first packet carries a first terminal side IP address and first QoS information, where the QoS information includes information related to flow classification, flow supervision, flow shaping, interface speed limit, congestion management, and congestion avoidance of the first packet, for example, an SDAP entity and a Radio Bearer (RB) that can obtain the packet from the first QoS information, and a priority of each RB, and this embodiment does not limit this.
S102, if the IP address of the first terminal side is the pre-agreed IP address, judging whether the priority of the current RB of the first message is the highest priority or not according to the first QoS information.
The embodiment of the present application is directed to improving transmission quality of a specific IP service stream, and therefore, after receiving a first packet, it is required to first determine whether the first packet is a specific IP service stream, that is, determine whether an IP address at a first terminal side carried in the first packet is a pre-agreed IP address, and only if the first packet is a pre-agreed IP address, a reflection control unit controls transmission priority of the first packet.
Specifically, based on the first message received in S101, if the IP address of the first terminal side in the first message is the pre-agreed IP address, the reflection control unit searches the current RB from the first QoS information carried in the first message, and determines whether the priority of the current RB is the highest priority, for example, if the priority level corresponding to each RB is stored in the first QoS information, the reflection control unit may directly determine whether the priority of the RB is the highest priority; if the priority of each RB in the first QoS information is stored in order, the reflection control unit determines whether the priority of the current RB is the highest priority according to the order of each RB, which is not specifically limited in this embodiment. After the determination result is obtained, if the determination result is that the priority of the current RB is the highest priority, step S103 is performed, and if the determination result is that the priority of the current RB is not the highest priority, step S104 is performed.
It should be noted that, before the priority of the current RB is not the highest priority, the reflection control unit further needs to determine whether the first packet has multiple RBs at present, if there is only one RB, the reflection control unit does not need to perform subsequent steps, and directly sends the first processing instruction to the current SDAP entity of the first packet, and if the first packet has multiple RBs, determines whether the priority of the current RB is the highest priority.
S103, if the priority of the current RB is the highest priority, a first processing instruction is sent to the current SDAP entity of the first message, and the first processing instruction is used for indicating that the first message is sent to the PDCP module after being packaged.
In this step, if the determination result is that the priority of the current RB is the highest priority, the current SDAP entity of the first packet of the reflection control unit sends a first processing instruction, where the first processing instruction is used to instruct the first packet to be sent to the PDCP module after being encapsulated. Wherein, the current SDAP entity of the first message is obtained from the first QoS information by the reflection control unit. In an example, after receiving the first processing instruction, the current SDAP entity encapsulates the first packet into an encapsulated SDAP header information, and sends the encapsulated first packet to the PDCP module in an SDAP PDU session.
S104, if the priority of the current RB is not the highest priority, selecting a new SDAP entity according to the first QoS information, and sending a first processing instruction to the new SDAP entity; the new SDAP entity represents the SDAP entity corresponding to the RB with the highest priority.
In this step, if the determination result indicates that the priority of the current RB is not the highest priority, the reflection control unit needs to reselect a new SDAP entity from the first QoS information carried in the first packet, where the selected new SDAP entity indicates the SDAP entity corresponding to the RB with the highest priority, and accordingly, when the first packet is not transmitted with the highest priority, the first packet is controlled to be transmitted with the highest priority. Specifically, after selecting a new SDAP entity according to the first QoS information, the reflection control unit sends a first processing instruction to the new SDAP entity, and after receiving the first processing instruction, the new SDAP entity encapsulates the first message into encapsulated SDAP header information and sends the encapsulated first message to the PDCP module in SDAP PDU session.
In the packet transmission method provided in this embodiment, when the IP address of the packet is a pre-agreed IP address, the reflection control unit determines that the priority of the packet in the current RB is the highest priority, and controls the current SDAP entity to perform encapsulation processing on the packet and transmit the packet, and when the priority of the current RB of the packet is not the highest priority, determines a new SDAP entity according to the RB with the highest priority again, and controls the new entity to perform encapsulation processing on the packet and transmit the packet.
In view of the above, an embodiment is provided when the first packet is encapsulated with the SDAP header information according to the first processing instruction, and an RQ I (Reflective QoS Indication) field in the SDAP header is different according to different values of the SDAP entity, where in an embodiment, if the first processing instruction is sent to a current SDAP entity of the first packet, the RQ I field in the encapsulated SDAP header information of the first packet is a first value; if the first processing instruction is sent to a new SDAP entity, the RQI field in the SDAP header information of the first message after encapsulation processing is a second value; wherein the first value and the second value are different values.
For example, if the current SDAP entity encapsulates the SDAP header information to the first packet, the RQI field is set to 0, and if the selected new SDAP entity encapsulates the SDAP header information to the first packet, the RQI field is set to 1, so that after receiving the first packet, the downstream protocol can distinguish whether the SDAP entity is replaced according to the RQI value.
In the foregoing embodiment, if the precondition that the reflection control unit determines whether the priority of the current RB of the first packet is the highest priority according to the first QoS information is to determine that the first terminal side IP address carried in the received first packet belongs to the pre-agreed IP address, but for a case that the first terminal side IP address carried in the first packet does not belong to the pre-agreed IP address, the present application also provides an embodiment, and in an embodiment, the method includes: and if the first terminal side IP address is not the pre-agreed IP address, sending a first processing instruction to the current SDAP entity of the first message. In this embodiment, when the reflection control unit determines that the IP address of the first terminal side carried in the first packet does not belong to the pre-agreed IP address, that is, the first packet is not a pre-agreed packet, it indicates that the reflection control unit does not control the bearer priority thereof, so that the reflection control unit directly sends the first processing instruction to the current SDAP entity of the first packet, and the current SDAP entity performs encapsulation processing on the first packet and sends the processed first packet to the PDCP module.
In the above embodiment, when the priority of the current RB is not the highest priority in step S104, the reflection control unit needs to select a new SDAP entity according to the first QoS information, and as to a specific process of the reflection control unit selecting a new SDAP entity, the application provides an embodiment, and in an embodiment, as shown in fig. 3, the "selecting a new SDAP entity according to the first QoS information" in step S104 includes:
s201, acquiring current SDAP entity of the first message and R B information of the first message according to the first QoS information; the RB information of the first packet includes the current RB of the first packet, R B other than the current RB, and the priority identifier of the current RB and other RBs.
In this embodiment, the first packet carries first QoS information, and the reflection control unit obtains, from the first QoS information, a current SDAP entity of the first packet and RB information of the first packet, where one packet may correspond to multiple RBs, and the RB information of the first packet includes a current RB of the first packet, other RBs except the current R B, and priority identifiers of all RBs, where the priority identifiers of all RBs may be identifiers in a form of a character, a letter, a number, or various combinations, which is not limited in this embodiment.
S202, selecting the RB with the highest priority from other RBs according to the priority identification.
Since the priority of the current RB is not the highest priority in this embodiment, based on the priority identifier of the RB obtained in step S201, the reflection control unit selects the highest priority RB from the other RBs, so as to ensure that the priority of the bearer of the first packet is the highest.
S203, the SDAP entity of the QoS flow corresponding to the RB with the highest priority is determined as a new SDAP entity.
Based on the RB with the highest priority selected in step S202, the reflection control unit determines the SDAP entity corresponding to the RB with the highest priority as a new SDAP entity, specifically, the reflection control unit selects any QoS flow corresponding to the RB with the highest priority, and the SDAP entity of the any QoS flow is the SDAP entity corresponding to the RB with the highest priority.
In the packet transmission method provided in this embodiment, the reflection control unit selects the RB with the highest priority according to the first QoS information carried in the first packet, and determines the SDAP entity corresponding to the RB with the highest priority as a new SDAP entity, so as to control the bearer of the first packet to be the highest priority, and control the SDAP entity corresponding to the bearer with the highest priority to process the first packet, thereby improving the transmission quality of the first packet.
After the reflection control unit selects a new SDAP entity according to the first QoS information, which corresponds to the current SDAP entity replacing the first packet, in this case, the current SDAP entity replaced by the first packet becomes the original SDAP entity of the SDAP, and in one embodiment, the method further includes: and determining the current SDAP entity of the first message as the original SDAP entity of the first message, and storing.
In this embodiment, if the new SDAP entity is replaced with the SDAP entity of the first packet, the current SDAP entity becomes the original SDAP entity, and the reflection control unit needs to store the original SDAP entity to record the replacement record of the SDAP entity of the first packet, thereby facilitating subsequent query.
All the embodiments described above belong to a downlink data transmission process based on a flow direction of a message from a 5G core network device to an SDAP module of a 5G access network and then to a PDCP module of the 5G access network, and for all embodiments of the downlink data transmission process, the present application provides a complete embodiment, and as shown in fig. 3a, the complete embodiment includes:
s11, receiving the message from the core network device, and turning to S12;
s12, removing the IP/UDP (User Datagram Protocol)/GTP head overhead of the base station, and turning to S13;
s13, searching the current SDAP entity and RB information thereof according to the QoS information carried in the GTP header, and turning to S14;
s14, judging whether the message source IP is the appointed server IP address, if yes, turning to S15, otherwise, turning to S19;
s15, judging whether a plurality of RBs exist, if so, turning to S16, and otherwise, turning to S19;
s17, selecting any QoS flow corresponding to the highest priority RB, determining the SDAP entity of any QoS flow as a new SDAP entity, recording the current SDAP entity checked by the QoS information, and turning to S18;
s18, the selected new SDAP entity processes the message, namely, the SDAP header is packaged and the RQI field is set to 1, and S10 is turned;
s19, the current SDAP entity searched by the QoS information processes the packet, i.e., encapsulates the SDAP header and S10, and sends the processed packet to the corresponding PDCP module as an SDAP PDU (Protocol Data Unit).
The packet transmission method provided in this embodiment only relates to deep processing optimization inside the base station, and a comparison between before and after the specific optimization is shown in fig. 3b, where a specific implementation process in this embodiment is the same as that in all the embodiments described above, and is not described herein again, because an execution main body of all steps in this embodiment is a reflection control unit disposed in the SDAP module, the reflection control unit is specially responsible for IP streaming of a service appointment, in wireless transmission, priority is promoted to RB bearer with the highest priority, and the whole process is executed in the base station, that is, a customer experience of a specific service is actively ensured to the maximum extent from a base station perspective.
In addition, in practical application, there is also an uplink data transmission process, that is, a flow direction from the PDCP module of the 5G access network to the SDAP module of the 5G access network to the 5G core network device is repeated for part of the content and the content in the above uplink data transmission process embodiment, and therefore, the repeated content will not be described again. This flow-through process provides one embodiment of the present application, as shown in fig. 4, the method further comprising:
s301, receiving a second message sent by the PDCP module; the second message carries the IP address of the second terminal side.
In this embodiment, the reflection control unit in the 5G access network SDAP module receives the second packet sent by the PDCP module, where the second packet is already described in step S101, and the second packet is not limited to a packet sequence or a sequence number, but is distinguished from the first packet. Wherein, the second message carries the IP address of the second terminal side.
S302, if the IP address of the second terminal side is the pre-agreed IP address, whether the second message has the original SDAP entity of the second message is detected.
Based on the second message received in step S301, the reflection control unit detects whether the second message has the original SDAP entity of the second message when the second terminal side IP address in the second message is the pre-agreed IP address, and this step is performed when the second terminal side IP address in the second message is the pre-agreed IP address, so that the reflection control unit needs to determine whether the second terminal side IP address is the pre-agreed IP address after receiving the second message, and only performs this step when determining that the second terminal side IP address is the pre-agreed I P address.
Specifically, the original SDAP entity of the second packet indicates whether the packet is to be queried as to whether the SDAP entity is replaced, that is, the radio bearer is adjusted, the transmission control unit queries in the memory when detecting, and if the second packet is replaced with the SDAP entity in the downlink process, that is, the SDAP entity is stored in the memory, the reflection control unit may find that the second packet has the original SDAP entity in the memory, or else, the reflection control unit may not query, that is, the second packet does not have the original SDAP entity. Optionally, as for the message with the replaced SDAP entity in the downlink process, the RQI field in the header information of the message is 1, other identifiers may be correspondingly provided according to the RQI field in the uplink process of the message, so that the reflection control unit may also determine whether the message has the replaced SDAP entity according to the other identifiers. And after the detection, if the detection result indicates that the second message has the original SDAP entity, executing the step S303, and if the detection result indicates that the second message has no original SDAP entity, executing the step S304.
S303, if the second packet has the original SDAP entity of the second packet, send a second processing instruction to the original SDAP entity of the second packet, where the second processing instruction is used to instruct the core network device to send the second packet after being encapsulated.
If the second packet has the original SDAP entity, the reflection control unit sends a second processing instruction to the original SDAP entity, where the second processing instruction is used to instruct the original SDAP entity to encapsulate the second packet and send the second packet to the core network device, where the encapsulation indicates that the second packet is encapsulated with related protocol header information, such as GTP, and optionally, after the second packet is encapsulated according to the second processing instruction, the encapsulated second packet includes base station side GTP, UDP, and IP header information, where the GTP header information includes second QoS information of the second packet. That is, GTP, UDP, and IP header information of the base station side is encapsulated in the second packet according to the second processing instruction, and the GTP header information includes the second QoS information of the second packet.
S304, if the second message does not have the original SDAP entity of the second message, a second processing instruction is sent to the current SDAP entity of the second message.
In this step, the second message does not have the original SDAP entity, which means that the second message is not replaced by a radio bearer, and the current SDAP entity processes the second message directly, and then the reflection control unit sends a second processing instruction to the current SDAP entity of the second message, so that the current SDAP entity of the second message encapsulates the second message and sends the second message to the core network device.
In the packet transmission method provided in this embodiment, after the reflection control unit receives the first packet sent by the PDCP module, when the IP address of the second terminal side carried in the second packet is the predetermined IP address, it is searched whether the second packet has the original SDAP entity of the second packet, if yes, the original SDAP entity is instructed to perform encapsulation sending processing on the second packet, and if not, the current SDAP entity is instructed to perform encapsulation sending processing on the second packet.
After receiving the second message, the reflection control unit may determine whether the second terminal side IP address carried in the second message belongs to a pre-agreed IP address, and for a case that the second terminal side IP address carried in the second message does not belong to the pre-agreed IP address, the application also provides an embodiment, and in one embodiment, the method includes: and if the second terminal side IP address carried in the second message is not the pre-agreed IP address, sending a second processing instruction to the current SDAP entity of the second message.
In this embodiment, when the reflection control unit determines that the IP address of the second terminal side carried in the second packet does not belong to the pre-agreed IP address, that is, the second packet is not a pre-agreed packet, it indicates that the reflection control unit does not control the second packet, so that the reflection control unit directly sends the second processing instruction to the current SD AP entity of the second packet, and the current SD AP entity performs encapsulation processing on the second packet, and sends the processed second packet to the core network device.
For all embodiments of the uplink data transmission process, the present application provides a complete embodiment, and as shown in fig. 4a, the complete embodiment includes:
s21, receiving the message from PDCP, and turning to S22;
s22, removing the head overhead of the SDAP, and turning to S23;
s23, judging whether the message target IP is the appointed server IP address, if yes, turning to S24, otherwise, turning to S26;
s24, searching whether the message has the original SDAP entity, if yes, turning to S25, otherwise, turning to S26;
s25, the original SDAP entity processes the message, encapsulates the corresponding Gtp header containing QoS information, and switches to S27;
s26, the current SDAP entity processes the message, encapsulates the corresponding Gtp header containing QoS information, and switches to S27;
s27, further packaging the message with UDP/IP head, and sending to core network device.
The specific implementation process in this embodiment is the same as that in the embodiment of fig. 4, and is not described herein again, it is understood that the main body for executing all the steps in this embodiment is also the reflection control unit in the SDAP module. In this embodiment, before sending the message to the core network device, the message is restored to the SDAP entity carried by the original RB and processed, and the whole processing is performed in the 5G base station, which is invisible to the "core network" device, so that the landing of QoS remapping can be realized more smoothly and at lower cost.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a message transmission apparatus, including: a first receiving module 10, a judging module 11, a first processing module 12 and a second processing module 13, wherein,
a first receiving module 10, configured to receive a first message sent by a core network device; the first message carries a first terminal side IP address and first QoS information;
the judging module 11 is configured to, if the IP address of the first terminal side is a pre-agreed IP address, judge whether the priority of the current RB of the first packet is the highest priority according to the first QoS information;
the first processing module 12 is configured to send a first processing instruction to a current SDAP entity of the first packet if the priority of the current RB is the highest priority, where the first processing instruction is used to instruct to package the first packet and send the first packet to the PDCP module;
a second processing module 13, configured to select a new SDAP entity according to the first QoS information and send a first processing instruction to the new SDAP entity if the priority of the current RB is not the highest priority; the new SDAP entity represents the SDAP entity corresponding to the RB with the highest priority.
In one embodiment, the apparatus further comprises: and the third processing module is used for sending a first processing instruction to the current SDAP entity of the first message if the IP address of the first terminal side is not the pre-agreed IP address.
In an embodiment, as shown in fig. 6, there is provided a message transmission apparatus, where the second processing module 13 includes: an acquisition unit 131, a selection unit 132, and a determination unit 133, wherein,
an obtaining unit 131, configured to obtain, according to the first QoS information, a current SDAP entity of the first packet and RB information of the first packet; the RB information of the first message comprises the current RB of the first message, other RBs except the current RB, and priority marks of the current RB and other RBs;
a selecting unit 132, configured to select an RB with the highest priority from other RBs according to the priority identifier;
a determining unit 133, configured to determine the SDAP entity of the QoS flow corresponding to the RB with the highest priority as a new SDAP entity.
In one embodiment, if the first processing instruction is sent to the current SDAP entity of the first packet, the RQI field in the SDAP header information of the encapsulated first packet is a first value; if the first processing instruction is sent to a new SDAP entity, the RQI field in the SDAP header information of the first message after encapsulation processing is a second value; wherein the first value and the second value are different values.
In one embodiment, the apparatus further comprises: and the storage module is used for determining the current SDAP entity of the first message as the original SDAP entity of the first message and storing the current SDAP entity of the first message.
In one embodiment, as shown in fig. 7, there is provided a message transmission apparatus, further including: a second receiving module 14, a detection module 15, a fourth processing module 16 and a fifth processing module 17
A second receiving module 14, configured to receive a second message sent by the PDCP module; the second message carries the IP address of the second terminal side;
the detecting module 15 is configured to detect whether the second message has an original SDAP entity of the second message, if the IP address of the second terminal side is a pre-agreed IP address;
a fourth processing module 16, configured to send a second processing instruction to an original SDAP entity of the second packet if the second packet has the original SDAP entity of the second packet, where the second processing instruction is used to instruct the core network device to send the second packet after being encapsulated;
and a fifth processing module 17, configured to send a second processing instruction to the current SDAP entity of the second packet if the second packet does not have the original SDAP entity of the second packet.
In an embodiment, the apparatus includes a sixth processing module, configured to send a second processing instruction to a current SDAP entity of the second packet if the second terminal-side IP address is not the pre-agreed IP address.
In an embodiment, after the encapsulating processing is performed on the second packet according to the second processing instruction, the encapsulated second packet includes base station GTP, UDP, and IP header information, where the GTP header information includes second QoS information of the second packet.
The implementation principle and technical effect of all the embodiments of the message transmission apparatus provided above are similar to those of the embodiments of the method described above, and are not described herein again.
For the specific limitation of the message transmission apparatus, reference may be made to the above limitation on the message transmission method, which is not described herein again. All or part of each module in the message transmission device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a message transmission method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a first message sent by core network equipment; the first message carries a first terminal side IP address and first QoS information;
if the IP address of the first terminal side in the first message is a pre-agreed IP address, judging whether the priority of the current RB of the first message is the highest priority or not according to the first QoS information;
if the priority of the current RB is the highest priority, a first processing instruction is sent to the current SDAP entity of the first message, and the first processing instruction is used for indicating that the first message is sent to a PDCP module after being packaged;
if the priority of the current RB is not the highest priority, selecting a new SDAP entity according to the first QoS information, and sending a first processing instruction to the new SDAP entity; the new SDAP entity represents the highest priority R B corresponding SDAP entity.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a first message sent by core network equipment; the first message carries a first terminal side IP address and first QoS information;
if the IP address of the first terminal side in the first message is a pre-agreed IP address, judging whether the priority of the current RB of the first message is the highest priority or not according to the first QoS information;
if the priority of the current RB is the highest priority, a first processing instruction is sent to the current SDAP entity of the first message, and the first processing instruction is used for indicating that the first message is sent to a PDCP module after being packaged;
if the priority of the current RB is not the highest priority, selecting a new SDAP entity according to the first QoS information, and sending a first processing instruction to the new SDAP entity; the new SDAP entity represents the highest priority R B corresponding SDAP entity.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for packet transmission, the method comprising:
receiving a first message sent by core network equipment; the first message carries a first terminal side IP address and first QoS information; the first QoS information comprises a current RB and a current SDAP entity of the first message;
if the IP address of the first terminal side is a pre-agreed IP address, judging whether the priority of the current RB of the first message is the highest priority or not according to the first QoS information;
if the priority of the current RB is the highest priority, sending a first processing instruction to a current SDAP entity of the first message, wherein the first processing instruction is used for indicating that the first message is sent to a PDCP module after being packaged;
if the priority of the current RB is not the highest priority, selecting a new SDAP entity according to the first QoS information, and sending the first processing instruction to the new SDAP entity; and the new SDAP entity represents the SDAP entity corresponding to the RB with the highest priority.
2. The method of claim 1, further comprising:
and if the first terminal side IP address is not the pre-agreed IP address, sending the first processing instruction to the current SDAP entity of the first message.
3. The method of claim 1, wherein selecting a new SDAP entity according to the first QoS information comprises:
acquiring the current SDAP entity of the first message and RB information of the first message according to the first QoS information; the RB information of the first message comprises a current RB of the first message, other RBs except the current RB, and priority marks of the current RB and the other RBs;
selecting the RB with the highest priority from the other RBs according to the priority identification;
and determining the SDAP entity of the QoS flow corresponding to the RB with the highest priority as the new SDAP entity.
4. The method according to any of claims 1-3, wherein if the first processing instruction is sent to the current SDAP entity of the first packet, the RQI field in the SDAP header information of the encapsulated processed first packet is a first value;
if the first processing instruction is sent to the new SDAP entity, the RQI field in the SDAP header information of the encapsulated first message is a second value;
wherein the first value and the second value are different values.
5. The method of claim 1, wherein after the selecting a new SDAP entity according to the first QoS information, the method further comprises:
and determining the current SDAP entity of the first message as the original SDAP entity of the first message, and storing.
6. The method of claim 5, further comprising:
receiving a second message sent by the PDCP module; the second message carries a second terminal side IP address;
if the IP address of the second terminal side is the pre-agreed IP address, detecting whether the second message has the original SDAP entity of the second message;
if the second message has the original SDAP entity of the second message, sending a second processing instruction to the original SDAP entity of the second message, wherein the second processing instruction is used for indicating that the second message is sent to the core network equipment after being packaged;
and if the second message does not have the original SDAP entity of the second message, sending the second processing instruction to the current SDAP entity of the second message.
7. The method according to claim 6, wherein before said detecting whether the second packet has the original SDAP entity of the second packet, the method comprises:
and if the second terminal side IP address is not the pre-agreed IP address, sending the second processing instruction to the current SDAP entity of the second message.
8. The method according to claim 6 or 7, wherein after encapsulating the second packet according to the second processing instruction, the encapsulated second packet includes base station side GTP, UDP, IP header information, and wherein the GTP header information includes second QoS information of the second packet.
9. A message transmission apparatus, the apparatus comprising:
the first receiving module is used for receiving a first message sent by core network equipment; the first message carries a first terminal side IP address and first QoS information; the first QoS information comprises a current RB and a current SDAP entity of the first message;
a judging module, configured to judge, if the IP address of the first terminal side is a pre-agreed IP address, whether the priority of the current RB of the first packet is the highest priority according to the first QoS information;
a first processing module, configured to send a first processing instruction to a current SDAP entity of the first packet if the priority of the current RB is the highest priority, where the first processing instruction is used to instruct to package the first packet and send the first packet to a PDCP module;
a second processing module, configured to select a new SDAP entity according to the first QoS information and send the first processing instruction to the new SDAP entity if the priority of the current RB is not the highest priority; and the new SDAP entity represents the SDAP entity corresponding to the RB with the highest priority.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201910931588.5A 2019-09-29 2019-09-29 Message transmission method and device, computer equipment and storage medium Active CN110662257B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910931588.5A CN110662257B (en) 2019-09-29 2019-09-29 Message transmission method and device, computer equipment and storage medium
PCT/CN2019/124697 WO2021056847A1 (en) 2019-09-29 2019-12-11 Message transmission method, apparatus, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910931588.5A CN110662257B (en) 2019-09-29 2019-09-29 Message transmission method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110662257A CN110662257A (en) 2020-01-07
CN110662257B true CN110662257B (en) 2021-04-27

Family

ID=69039780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910931588.5A Active CN110662257B (en) 2019-09-29 2019-09-29 Message transmission method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110662257B (en)
WO (1) WO2021056847A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117202272A (en) * 2022-05-31 2023-12-08 华为技术有限公司 Method and device for reflecting quality of service (QoS)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286999A (en) * 2017-07-20 2019-01-29 华硕电脑股份有限公司 The method and apparatus of service quality stream in wireless communication system
CN109302751A (en) * 2017-07-24 2019-02-01 华硕电脑股份有限公司 The method and apparatus of service quality stream in wireless communication system
CN109587732A (en) * 2017-09-29 2019-04-05 华为技术有限公司 A kind of transmission method and device of service quality stream
CN109699048A (en) * 2017-10-24 2019-04-30 中国电信股份有限公司 Data transmission method, network side equipment and communication system
CN109756936A (en) * 2017-11-07 2019-05-14 ***通信有限公司研究院 A kind of mapping method of stream, method of reseptance, the network equipment and terminal
CN109788509A (en) * 2017-11-15 2019-05-21 华为技术有限公司 The bypassing method and device of continuous data packet transmission failure
WO2019098148A1 (en) * 2017-11-15 2019-05-23 シャープ株式会社 Terminal device, base station device, and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180324631A1 (en) * 2017-05-05 2018-11-08 Mediatek Inc. Using sdap headers for handling of as/nas reflective qos and to ensure in-sequence packet delivery during remapping in 5g communication systems
CN109560945B (en) * 2017-09-25 2021-02-12 华为技术有限公司 Method, device and system for detecting service quality
US11006316B2 (en) * 2017-10-16 2021-05-11 Ofinno, Llc Header compression for ethernet frame
US10862613B2 (en) * 2018-02-01 2020-12-08 T-Mobile Usa, Inc. Dynamic numerology based on services

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286999A (en) * 2017-07-20 2019-01-29 华硕电脑股份有限公司 The method and apparatus of service quality stream in wireless communication system
CN109302751A (en) * 2017-07-24 2019-02-01 华硕电脑股份有限公司 The method and apparatus of service quality stream in wireless communication system
CN109587732A (en) * 2017-09-29 2019-04-05 华为技术有限公司 A kind of transmission method and device of service quality stream
CN109699048A (en) * 2017-10-24 2019-04-30 中国电信股份有限公司 Data transmission method, network side equipment and communication system
CN109756936A (en) * 2017-11-07 2019-05-14 ***通信有限公司研究院 A kind of mapping method of stream, method of reseptance, the network equipment and terminal
CN109788509A (en) * 2017-11-15 2019-05-21 华为技术有限公司 The bypassing method and device of continuous data packet transmission failure
WO2019098148A1 (en) * 2017-11-15 2019-05-23 シャープ株式会社 Terminal device, base station device, and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
R2-1907211,Support of Per-Flow QoS model;LG Electronics Inc.;《3GPP TSG-RAN WG2 #106》;20190502;全文 *

Also Published As

Publication number Publication date
WO2021056847A1 (en) 2021-04-01
CN110662257A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN114930945A (en) Information reporting method, device, equipment and storage medium
JP2021057882A (en) Adaptive dataflow transformation in edge computing environments
US20120184258A1 (en) Hierarchical Device type Recognition, Caching Control & Enhanced CDN communication in a Wireless Mobile Network
US9936377B2 (en) Roaming support for software defined networking architecture in mobile network
US11172399B2 (en) Default quality of service (QoS) control method and device
US7680141B2 (en) Transmitter device and relay device for performing data transmission control
US11917453B2 (en) Base station apparatus, terminal apparatus, and QoS control method
CN111107176B (en) Data transmission method and device, computer equipment and storage medium
CN103125141A (en) Aggregation of mobile broadband network interfaces
US10212093B2 (en) Method and apparatus for U-plane sub-service flow mapping
EP3439250A1 (en) Slice management system and slice management method
CN110662257B (en) Message transmission method and device, computer equipment and storage medium
EP3266259B1 (en) Enable access point availability prediction
EP3853722B1 (en) Implementation of core cellular networking stack on cloud infrastructure
WO2012156581A1 (en) Method and apparatus for considering routing information in the determination of an access network to be utilized
US20240089779A1 (en) Processing terminal device sensing data using a network function element
CN110474924B (en) Data transmission method and device, computer equipment and storage medium
CN107483236B (en) Method and device for backing up access point of Internet of things
CN110392417B (en) Power consumption management method, terminal, computer device, and storage medium
CN104753810A (en) Speed limit method and device for inflow rate of network
CN110267286A (en) Data transmission method, device, access network equipment and storage medium
US20180317119A1 (en) Predicting downlink throughput
CN110247742B (en) Communication method, access hotspot equipment and terminal equipment
CN112769663B (en) Communication method, communication apparatus, computer device, and storage medium
US20220232092A1 (en) System and method of facilitating data communication between an internet of things device and a cloud-based computer system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200113

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee before: Comba Telecom System (China) Ltd.

CP01 Change in the name or title of a patent holder