CN111163017B - Data transmission method, device, base station equipment and computer readable storage medium - Google Patents
Data transmission method, device, base station equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN111163017B CN111163017B CN201911401811.1A CN201911401811A CN111163017B CN 111163017 B CN111163017 B CN 111163017B CN 201911401811 A CN201911401811 A CN 201911401811A CN 111163017 B CN111163017 B CN 111163017B
- Authority
- CN
- China
- Prior art keywords
- mapping rule
- sdap pdu
- terminal
- sdap
- identification field
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请涉及一种数据传输方法、装置、基站设备和计算机可读存储介质。所述数据传输方法包括:若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则。采用本方法能够提升更新的映射规则正常传递的可能性,提升数据传输的准确性。
The present application relates to a data transmission method, device, base station equipment and computer-readable storage medium. The data transmission method includes: if an update to the mapping rule is detected, obtaining the updated mapping rule; the mapping rule includes a mapping rule between a quality of service QoS flow and a data radio bearer DRB, and/or a service data flow SDF and a QoS flow. mapping rules; according to the updated mapping rules, send service data adaptation protocol SDAP protocol data unit PDU to the terminal multiple times; each of the SDAP PDUs includes a rule parsing identifier, and the rule parsing identifier is used to indicate to the terminal The SDAP PDU is parsed to obtain the updated mapping rules. Using this method can improve the possibility of normal transmission of updated mapping rules and improve the accuracy of data transmission.
Description
技术领域Technical field
本发明涉及通信技术领域,特别是涉及一种数据传输方法、装置、基站设备和计算机可读存储介质。The present invention relates to the field of communication technology, and in particular, to a data transmission method, device, base station equipment and computer-readable storage medium.
背景技术Background technique
5G新空口用户面协议栈中,在现有的PDCP(Packet Data Convergence Protocol,包数据汇聚协议)层之上,引入了一个新的协议层:SDAP(Service Data AdaptationProtocol,服务数据适配协议)层。SDAP层可以实现QoS(Quality of Service,服务质量)流和DRB(Data Radio Bearer,数据无线承载)之间的映射。QoS流是PDU会话中最精细的QoS区分粒度。In the 5G new air interface user plane protocol stack, a new protocol layer is introduced on top of the existing PDCP (Packet Data Convergence Protocol) layer: SDAP (Service Data Adaptation Protocol) layer . The SDAP layer can realize the mapping between QoS (Quality of Service, Quality of Service) flow and DRB (Data Radio Bearer, Data Radio Bearer). QoS flow is the finest QoS differentiation granularity in a PDU session.
在下行数据传输中,基站设备接收来自网络侧的数据包,并将数据包提交至SDAP层进行处理;SDAP层处理后传递至PDCP层处理,再由PDCP层传递至下层。数据包通过下层到达终端的PDCP层后,再经由终端的PDCP层处理后传递至终端的SDAP层。In downlink data transmission, the base station equipment receives data packets from the network side and submits the data packets to the SDAP layer for processing; after processing by the SDAP layer, it is passed to the PDCP layer for processing, and then the PDCP layer passes it to the lower layer. After the data packet reaches the PDCP layer of the terminal through the lower layer, it is processed by the PDCP layer of the terminal and then passed to the SDAP layer of the terminal.
若QoS流与DRB的映射规则、SDF(Service Data Flow,业务数据流)与QoS流的映射规则更新,基站设备则开始使用更新的映射规则向终端发送数据包,并在第一次使用更新的映射规则发送数据包时,将该数据包中的标识字段置为第一值。终端的SDAP层若识别到数据包中的标识字段为第一值,则解析该数据包,获取数据包中QoS流与DRB的映射规则,和/或SDF(Service Data Flow,业务数据流)与QoS流的映射规则,并执行相应地操作。If the mapping rules between QoS flow and DRB, and the mapping rules between SDF (Service Data Flow, Service Data Flow) and QoS flow are updated, the base station equipment starts to use the updated mapping rules to send data packets to the terminal, and uses the updated mapping rules for the first time. When the mapping rule sends a data packet, the identification field in the data packet is set to the first value. If the SDAP layer of the terminal recognizes that the identification field in the data packet is the first value, it will parse the data packet and obtain the mapping rules between the QoS flow and the DRB in the data packet, and/or the SDF (Service Data Flow, business data flow) and QoS flow mapping rules and perform corresponding operations.
但是,当空口受到较大的干扰,或者业务负荷过重时,基站设备的PDCP层会将滞留超时的数据包丢弃。因此,上述方法会造成,在映射规则更新后,基站设备使用更新的映射规则向终端发送数据包时,该数据包还未发出就被基站丢弃,导致终端无法收到该数据包,进而无法获取数据包中的映射规则,数据传输出现错误。However, when the air interface is subject to greater interference or the service load is too heavy, the PDCP layer of the base station equipment will discard the data packets that have expired. Therefore, the above method will cause that after the mapping rules are updated, when the base station device uses the updated mapping rules to send a data packet to the terminal, the data packet is discarded by the base station before it is sent, causing the terminal to be unable to receive the data packet and thus unable to obtain it. Mapping rules in data packets, data transmission errors.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种能够提升数据传输准确性的数据传输方法、装置、基站设备和计算机可读存储介质。Based on this, it is necessary to provide a data transmission method, device, base station equipment and computer-readable storage medium that can improve the accuracy of data transmission in response to the above technical problems.
第一方面,本申请实施例提供了一种数据传输方法,所述数据传输方法包括:In a first aspect, embodiments of the present application provide a data transmission method. The data transmission method includes:
若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;If an update to the mapping rule is detected, the updated mapping rule is obtained; the mapping rule includes the mapping rule between the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rule between the service data flow SDF and the QoS flow;
按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则。According to the updated mapping rules, send Service Data Adaptation Protocol SDAP Protocol Data Unit PDU to the terminal multiple times; each SDAP PDU includes a rule parsing identifier, and the rule parsing identifier is used to instruct the terminal to parse the SDAP PDU to obtain the updated mapping rules.
在其中一个实施例中,所述映射规则包括QoS流与DRB的映射规则;所述按照所述更新的映射规则,向终端多次发送SDAP PDU,包括:In one embodiment, the mapping rules include mapping rules between QoS flows and DRBs; and sending SDAP PDUs to the terminal multiple times according to the updated mapping rules includes:
按照所述更新的映射规则,向终端发送第一SDAP PDU;所述第一SDAP PDU包括RDI标识字段,所述RDI标识字段被置为第一值,所述第一值用于指示所述终端解析所述第一SDAP PDU以获取所述更新的映射规则;According to the updated mapping rule, send the first SDAP PDU to the terminal; the first SDAP PDU includes an RDI identification field, the RDI identification field is set to a first value, and the first value is used to indicate to the terminal Parse the first SDAP PDU to obtain the updated mapping rule;
按照预设的时间周期,检测是否收到所述终端发送的反馈消息;所述反馈消息用于确定所述终端已停止使用原始映射规则;According to a preset time period, detect whether a feedback message sent by the terminal is received; the feedback message is used to determine that the terminal has stopped using the original mapping rule;
若未收到所述反馈消息,则按照所述更新的映射规则,向所述终端发送第二SDAPPDU;所述第二SDAP PDU包括RDI标识字段,所述RDI标识字段被置为第一值,且所述第二SDAP PDU为与所述第一SDAP PDU相邻的下一个SDAP PDU。If the feedback message is not received, a second SDAPPDU is sent to the terminal according to the updated mapping rule; the second SDAP PDU includes an RDI identification field, and the RDI identification field is set to the first value, And the second SDAP PDU is the next SDAP PDU adjacent to the first SDAP PDU.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
若收到所述反馈消息,则按照所述更新的映射规则,向所述终端发送第二SDAPPDU;所述第二SDAP PDU包括RDI标识字段,所述RDI标识字段被置为第二值,所述第二SDAPPDU为与所述第一SDAP PDU相邻的下一个SDAP PDU。If the feedback message is received, a second SDAPPDU is sent to the terminal according to the updated mapping rule; the second SDAP PDU includes an RDI identification field, and the RDI identification field is set to the second value, so The second SDAPPDU is the next SDAP PDU adjacent to the first SDAP PDU.
在其中一个实施例中,所述按照所述更新的映射规则,向所述终端发送第二SDAPPDU之后,还包括:In one embodiment, after sending the second SDAPPDU to the terminal according to the updated mapping rule, the method further includes:
若按照所述时间周期,未检测到所述反馈消息,且所述第二SDAP PDU为最后一个待发送的数据包,则按照所述更新的映射规则,向所述终端多次发送所述第二SDAP PDU,直至收到所述反馈消息。If the feedback message is not detected according to the time period and the second SDAP PDU is the last data packet to be sent, then the third SDAP PDU is sent to the terminal multiple times according to the updated mapping rule. two SDAP PDUs until the feedback message is received.
在其中一个实施例中,所述按照所述更新的映射规则,向所述终端发送第二SDAPPDU之后,还包括:In one embodiment, after sending the second SDAPPDU to the terminal according to the updated mapping rule, the method further includes:
若按照所述时间周期,未检测到所述反馈消息,且所述第二SDAP PDU为最后一个待发送的数据包,则生成因特网包探索器Ping包;所述Ping包包括RDI标识字段,所述RDI标识字段被置为第一值;If the feedback message is not detected according to the time period and the second SDAP PDU is the last data packet to be sent, an Internet packet explorer Ping packet is generated; the Ping packet includes an RDI identification field, so The RDI identification field is set to the first value;
按照所述更新的映射规则,向所述终端多次发送添加后的Ping包,直至收到所述反馈消息。According to the updated mapping rule, the added Ping packet is sent to the terminal multiple times until the feedback message is received.
在其中一个实施例中,所述映射规则包括SDF与QoS流的映射规则;所述按照所述更新的映射规则,向终端多次发送SDAP PDU,包括:In one embodiment, the mapping rules include mapping rules between SDF and QoS flows; and sending SDAP PDUs to the terminal multiple times according to the updated mapping rules includes:
按照所述更新的映射规则,向终端发送第三SDAP PDU;所述第三SDAP PDU包括RQI标识字段,所述RQI标识字段被置为第三值,所述第三值用于指示所述终端解析所述第三SDAP PDU以获取所述更新的映射规则;According to the updated mapping rule, send a third SDAP PDU to the terminal; the third SDAP PDU includes an RQI identification field, the RQI identification field is set to a third value, and the third value is used to indicate to the terminal Parse the third SDAP PDU to obtain the updated mapping rule;
在预设的定时器每次超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零;Each time the preset timer times out, the preset number of sending times is decremented by one, and the cumulative number of sending times is checked to see whether it is zero;
若累减后的发送次数不为零,则按照所述更新的映射规则,向所述终端发送第四SDAP PDU;所述第四SDAP PDU包括RQI标识字段,所述RQI标识字段被置为第三值。If the cumulative number of transmissions is not zero, a fourth SDAP PDU is sent to the terminal according to the updated mapping rule; the fourth SDAP PDU includes an RQI identification field, and the RQI identification field is set to the third Three values.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
若累减后的发送次数为零,则按照所述更新的映射规则,向所述终端发送第四SDAP PDU;所述第四SDAP PDU包括RQI标识字段,所述RQI标识字段被置为第四值。If the cumulative number of transmissions is zero, a fourth SDAP PDU is sent to the terminal according to the updated mapping rule; the fourth SDAP PDU includes an RQI identification field, and the RQI identification field is set to the fourth value.
在其中一个实施例中,所述映射规则还包括QoS流与DRB的映射规则,所述第三SDAP PDU还包括置为第一值的RDI标识字段。In one embodiment, the mapping rules further include mapping rules between QoS flows and DRBs, and the third SDAP PDU further includes an RDI identification field set to a first value.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
若接收到所述终端发送的反馈消息,则按照所述更新的映射规则,向所述终端发送第四SDAP PDU;所述第四SDAP PDU包括置为第二值的RDI标识字段。If the feedback message sent by the terminal is received, a fourth SDAP PDU is sent to the terminal according to the updated mapping rule; the fourth SDAP PDU includes an RDI identification field set to a second value.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
若所述定时器未超时,且检测到映射规则更新,则按照最新的映射规则,向所述终端发送当前待发送的SDAP PDU;所述当前待发送的SDAP PDU包括置为第一值的RDI标识字段,和/或,置为第三值的RQI标识字段。If the timer has not expired and an update to the mapping rule is detected, the SDAP PDU currently to be sent is sent to the terminal according to the latest mapping rule; the SDAP PDU currently to be sent includes the RDI set to the first value. The identification field, and/or, the RQI identification field set to the third value.
第二方面,本申请实施例提供一种数据传输装置,所述数据传输装置包括:In a second aspect, embodiments of the present application provide a data transmission device. The data transmission device includes:
获取模块,用于若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;An acquisition module, configured to acquire the updated mapping rules if an update to the mapping rules is detected; the mapping rules include mapping rules for the quality of service QoS flow and the data radio bearer DRB, and/or the mapping between the service data flow SDF and the QoS flow. rule;
第一发送模块,用于按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则。The first sending module is configured to send service data adaptation protocol SDAP protocol data unit PDU to the terminal multiple times according to the updated mapping rule; each SDAP PDU includes a rule parsing identifier, and the rule parsing identifier is used to indicate The terminal parses the SDAP PDU to obtain the updated mapping rule.
第三方面,本申请实施例提供一种基站设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide a base station device, including a memory and a processor. The memory stores a computer program. When the processor executes the computer program, it implements the steps of the method described in the first aspect. .
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of this application at least include:
通过若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则;由此,按照更新的映射规则,向终端多次发送包括规则解析标识的SDAP PDU;避免了传统技术中,在映射规则更新后,基站设备采用更新的映射规则发送数据时,只在第一个数据包中,将标识字段置为第一值以提示终端解析该第一个数据包来获取更新的映射规则,由此导致的该第一个数据包可能被基站设备的PDCP层作为滞留超时的数据包丢弃,终端无法收到该第一个数据包,进而无法获取更新的映射规则,数据传输出现错误的问题。本申请提升了更新的映射规则正常传递的可能性,提升了数据传输的准确性。If an update of the mapping rule is detected, the updated mapping rule is obtained; the mapping rule includes the mapping rule of the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rule of the service data flow SDF and the QoS flow; according to the required According to the updated mapping rules, the service data adaptation protocol SDAP protocol data unit PDU is sent to the terminal multiple times; each SDAP PDU includes a rule parsing identifier, and the rule parsing identifier is used to instruct the terminal to parse the SDAP PDU to Obtain the updated mapping rule; thereby, according to the updated mapping rule, send SDAP PDU including the rule parsing identifier to the terminal multiple times; avoiding the traditional technology, after the mapping rule is updated, the base station equipment uses the updated mapping rule to send When sending data, only in the first data packet, the identification field is set to the first value to prompt the terminal to parse the first data packet to obtain the updated mapping rules. As a result, the first data packet may be blocked by the base station. The PDCP layer of the device discards the data packet as a timeout, and the terminal cannot receive the first data packet, and thus cannot obtain the updated mapping rules, causing data transmission errors. This application improves the possibility of normal transmission of updated mapping rules and improves the accuracy of data transmission.
附图说明Description of the drawings
图1为一个实施例提供的数据传输方法的应用环境图;Figure 1 is an application environment diagram of a data transmission method provided by an embodiment;
图2为一个实施例提供的数据传输方法的流程示意图;Figure 2 is a schematic flowchart of a data transmission method provided by an embodiment;
图3为一个实施例提供的数据传输方法的流程示意图;Figure 3 is a schematic flow chart of a data transmission method provided by an embodiment;
图4为一个实施例提供的数据传输方法的流程示意图;Figure 4 is a schematic flow chart of a data transmission method provided by an embodiment;
图5为一个实施例提供的数据传输方法的流程示意图;Figure 5 is a schematic flowchart of a data transmission method provided by an embodiment;
图6为一个实施例提供的数据传输方法的流程示意图;Figure 6 is a schematic flowchart of a data transmission method provided by an embodiment;
图7为一个实施例提供的数据传输方法的流程示意图;Figure 7 is a schematic flow chart of a data transmission method provided by an embodiment;
图8为一个实施例提供的数据传输方法的流程示意图;Figure 8 is a schematic flowchart of a data transmission method provided by an embodiment;
图9为一个实施例提供的数据传输方法的流程示意图;Figure 9 is a schematic flowchart of a data transmission method provided by an embodiment;
图10为一个实施例提供的数据传输装置的结构框图。Figure 10 is a structural block diagram of a data transmission device provided in an embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
本申请实施例提供的数据传输方法、装置、基站设备和计算机可读存储介质,旨在解决传统技术中,在映射规则更新后,基站设备采用更新的映射规则发送数据时,终端可能无法获取更新的映射规则,从而导致数据传输准确性低的技术问题。下面将通过实施例并结合附图具体地对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体地实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The data transmission method, device, base station equipment and computer-readable storage medium provided by the embodiments of the present application are intended to solve the problem in traditional technology that after the mapping rules are updated, the terminal may not be able to obtain the update when the base station equipment uses the updated mapping rules to send data. Mapping rules, resulting in technical problems with low data transmission accuracy. The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below through embodiments and in conjunction with the accompanying drawings. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
本申请实施例提供的数据传输方法可以应用于如图1所示的基站设备中。如图1所示,SDAP层位于PDCP层之上,在下行通信链路中,SDAP层接收到来自上层QoS流的SDAP SDU时,对SDAP SDU处理得到SDAP PDU;SDAP层通过DRB向PDCP层发送该SDAP PDU,该SDAP PDU由下层依次处理后,发送至终端。The data transmission method provided by the embodiment of the present application can be applied to the base station equipment as shown in Figure 1. As shown in Figure 1, the SDAP layer is located above the PDCP layer. In the downlink communication link, when the SDAP layer receives the SDAP SDU from the upper layer QoS flow, it processes the SDAP SDU to obtain the SDAP PDU; the SDAP layer sends it to the PDCP layer through DRB. The SDAP PDU is processed by the lower layer in sequence and then sent to the terminal.
本申请实施例提供的数据传输方法,其执行主体可以是数据传输装置,该数据传输装置可以通过软件、硬件或者软硬件结合的方式实现成为基站设备的部分或者全部。下述方法实施例中,均以执行主体是基站设备为例来进行说明。The execution subject of the data transmission method provided by the embodiments of the present application may be a data transmission device. The data transmission device may be implemented as part or all of the base station equipment through software, hardware, or a combination of software and hardware. In the following method embodiments, the execution subject is the base station device as an example for description.
请参考图2,其示出了本申请实施例提供的一种数据传输方法的流程图,如图2所示,本实施例数据传输方法可以包括以下步骤:Please refer to Figure 2, which shows a flow chart of a data transmission method provided by an embodiment of the present application. As shown in Figure 2, the data transmission method of this embodiment may include the following steps:
步骤S100,若检测到映射规则更新,则获取更新的映射规则。Step S100: If it is detected that the mapping rule is updated, the updated mapping rule is obtained.
其中,映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则。The mapping rules include mapping rules between the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rules between the service data flow SDF and the QoS flow.
本实施例中,基站设备检测到QoS流与DRB的映射规则更新,可以是通过接收到的映射规则修改消息检测到的,该映射规则修改消息可以是人工输入基站设备的,基站设备从映射规则修改消息中获取更新的映射规则。基站设备检测到QoS流与DRB的映射规则更新,还可以是根据核心网发送的数据包检测到的,基站设备从核心网发送的数据包中解析得到更新的QoS流与DRB的映射规则。In this embodiment, when the base station device detects the update of the mapping rule between the QoS flow and the DRB, it may be detected through the received mapping rule modification message. The mapping rule modification message may be manually input to the base station device, and the base station device obtains the mapping rule from the mapping rule. Get updated mapping rules in the modification message. The base station device detects the update of the mapping rule between the QoS flow and the DRB, or it may detect it based on the data packet sent by the core network. The base station device parses the data packet sent by the core network to obtain the updated mapping rule between the QoS flow and the DRB.
进一步地,基站设备检测到SDF与QoS流的映射规则更新,可以是根据核心网发送的数据包检测到的,基站设备从核心网发送的数据包中解析得到更新的SDF与QoS流的映射规则。Further, the base station device detects the update of the mapping rules between SDF and QoS flows, which may be detected based on the data packets sent by the core network. The base station device parses the data packets sent by the core network to obtain the updated mapping rules between SDF and QoS flows. .
步骤S200,按照更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU。Step S200: Send service data adaptation protocol SDAP protocol data unit PDU to the terminal multiple times according to the updated mapping rules.
各SDAP PDU均包括规则解析标识,规则解析标识用于指示终端解析SDAP PDU以获取更新的映射规则。Each SDAP PDU includes a rule parsing identifier, which is used to instruct the terminal to parse the SDAP PDU to obtain updated mapping rules.
本实施例中,在配置了反射映射规则的情况下,SDAP层接收到SDAP SDU后,对SDAPSDU添加SDAP头信息,添加后形成SDAP PDU。SDAP头信息包括QFI(QoS Flow ID,QoS流标识)以及规则解析标识。在5G系统中,一个QFI用于标识一条QoS流,即表示该SDAP SDU对应哪个QoS流。In this embodiment, when reflection mapping rules are configured, after receiving the SDAP SDU, the SDAP layer adds SDAP header information to the SDAP SDU and forms an SDAP PDU after adding it. The SDAP header information includes QFI (QoS Flow ID, QoS flow identification) and rule resolution identification. In the 5G system, a QFI is used to identify a QoS flow, that is, which QoS flow the SDAP SDU corresponds to.
基站设备按照更新的映射规则,向终端多次发送添加了SDAP头信息的SDAP PDU,各SDAP PDU中均包括规则解析标识。具体地,基站设备的SDAP层将添加了SDAP头信息的每包SDAP PDU,依次发送至基站设备的PDCP层,通过PDCP层发送至下层,由下层发送至终端。可以理解的是,即使PDCP层将SDAP层按照更新的映射规则发送的第一个SDAP PDU丢弃,导致终端未接收到第一个SDAP PDU,但是,终端接收到SDAP层按照更新的映射规则发送的第二个SDAP PDU、第三个SDAP PDU,或者第一个SDAP PDU之后的任一SDAP PDU,各SDAP PDU均包括规则解析标识,终端则会根据该规则解析标识的指示,解析收到的SDAP PDU,获取更新的映射规则。The base station device sends SDAP PDUs with SDAP header information added to the terminal multiple times according to the updated mapping rules, and each SDAP PDU includes a rule resolution identifier. Specifically, the SDAP layer of the base station device sends each SDAP PDU with the SDAP header information added to it in sequence to the PDCP layer of the base station device, and then sends it to the lower layer through the PDCP layer, and then the lower layer sends it to the terminal. It can be understood that even if the PDCP layer discards the first SDAP PDU sent by the SDAP layer according to the updated mapping rules, resulting in the terminal not receiving the first SDAP PDU, however, the terminal receives the first SDAP PDU sent by the SDAP layer according to the updated mapping rules. The second SDAP PDU, the third SDAP PDU, or any SDAP PDU after the first SDAP PDU. Each SDAP PDU includes a rule parsing identifier. The terminal will parse the received SDAP according to the instructions of the rule parsing identifier. PDU to obtain updated mapping rules.
本实施例通过若检测到映射规则更新,则获取更新的映射规则;映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;按照更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各SDAPPDU均包括规则解析标识,规则解析标识用于指示终端解析SDAP PDU以获取更新的映射规则;由此,按照更新的映射规则,向终端多次发送包括规则解析标识的SDAP PDU;避免了传统技术中,在映射规则更新后,基站设备采用更新的映射规则发送数据时,只在第一个数据包中,将标识字段置为第一值以提示终端解析该第一个数据包来获取更新的映射规则,由此导致的该第一个数据包可能被基站设备的PDCP层作为滞留超时的数据包丢弃,导致终端无法收到该第一个数据包,进而无法获取更新的映射规则,数据传输出现错误的问题。本实施例提升了更新的映射规则正常传递的可能性,提升了数据传输的准确性。In this embodiment, if an update to the mapping rule is detected, the updated mapping rule is obtained; the mapping rule includes the mapping rule between the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rule between the service data flow SDF and the QoS flow; according to The updated mapping rules are sent to the terminal multiple times. Each SDAPPDU includes a rule parsing identifier. The rule parsing identifier is used to instruct the terminal to parse the SDAP PDU to obtain the updated mapping rules. Therefore, according to The updated mapping rules are used to send SDAP PDUs including the rule parsing identification to the terminal multiple times; this avoids the traditional technology that, after the mapping rules are updated, when the base station equipment uses the updated mapping rules to send data, only in the first data packet, Set the identification field to the first value to prompt the terminal to parse the first data packet to obtain updated mapping rules. As a result, the first data packet may be discarded by the PDCP layer of the base station device as a data packet that has expired, As a result, the terminal cannot receive the first data packet, and thus cannot obtain updated mapping rules, causing errors in data transmission. This embodiment improves the possibility of normal transmission of updated mapping rules and improves the accuracy of data transmission.
图3为另一个实施例提供的数据传输方法的流程图,在上述图2所示实施例的基础上,本实施例步骤S200包括步骤S210、步骤S220和步骤S230,具体地:Figure 3 is a flow chart of a data transmission method provided by another embodiment. Based on the embodiment shown in Figure 2, step S200 of this embodiment includes step S210, step S220 and step S230. Specifically:
步骤S210,按照更新的映射规则,向终端发送第一SDAP PDU。Step S210: Send the first SDAP PDU to the terminal according to the updated mapping rule.
第一SDAP PDU包括RDI标识字段,RDI标识字段被置为第一值,第一值用于指示终端解析第一SDAP PDU以获取更新的映射规则。The first SDAP PDU includes an RDI identification field, the RDI identification field is set to a first value, and the first value is used to instruct the terminal to parse the first SDAP PDU to obtain updated mapping rules.
本实施例中,映射规则具体包括QoS流与DRB的映射规则。In this embodiment, the mapping rules specifically include mapping rules between QoS flows and DRBs.
QoS流与DRB的映射规则更新后,基站设备的SDAP层接收到第一SDAP SDU,对第一SDAP SDU添加SDAP头信息,添加后形成第一SDAP PDU;SDAP层按照更新的QoS流与DRB的映射规则,将第一SDAP PDU发送至基站设备的PDCP层,由PDCP层及下层处理后发送至终端。本实施例中,SDAP头信息具体包括QFI以及RDI标识字段,RDI标识字段被基站设备置为第一值,第一值可以是“1”;在其它实施例中,第一值也可以是其它表示形式。After the mapping rules between the QoS flow and the DRB are updated, the SDAP layer of the base station device receives the first SDAP SDU, adds SDAP header information to the first SDAP SDU, and forms the first SDAP PDU after adding it; the SDAP layer follows the updated QoS flow and DRB. The mapping rule is to send the first SDAP PDU to the PDCP layer of the base station device, and then send it to the terminal after being processed by the PDCP layer and lower layers. In this embodiment, the SDAP header information specifically includes QFI and RDI identification fields. The RDI identification field is set to a first value by the base station device. The first value may be "1"; in other embodiments, the first value may also be other values. representation.
终端若接收到基站设备发送的该第一SDAP PDU,且识别到该第一SDAP PDU中的RDI标识字段为第一值,则解析该第一SDAP PDU,获取更新的QoS流与DRB的映射规则,并将该更新的QoS流与DRB的映射规则反射到上行通信链路中。If the terminal receives the first SDAP PDU sent by the base station equipment and recognizes that the RDI identification field in the first SDAP PDU is the first value, it parses the first SDAP PDU and obtains the updated mapping rules between the QoS flow and the DRB. , and reflect the updated mapping rules between the QoS flow and the DRB to the uplink communication link.
步骤S220,按照预设的时间周期,检测是否收到终端发送的反馈消息。Step S220: Check whether a feedback message sent by the terminal is received according to a preset time period.
反馈消息用于确定终端已停止使用原始映射规则。The feedback message is used to determine that the terminal has stopped using the original mapping rules.
本实施例中,反馈消息为End-Marker PDU,终端若接收到第一SDAP PDU,解析第一SDAP PDU获取更新的QoS流与DRB的映射规则后,则会在原来的DRB上发送End-Marker PDU至基站设备。基站设备通过解析End-Marker PDU,确定终端后续停止End-Marker PDU的QFI字段所指的QoS流在该原来的DRB上的传输。In this embodiment, the feedback message is End-Marker PDU. If the terminal receives the first SDAP PDU and parses the first SDAP PDU to obtain the updated mapping rules between the QoS flow and the DRB, it will send the End-Marker on the original DRB. PDU to base station equipment. By parsing the End-Marker PDU, the base station device determines that the terminal will subsequently stop transmitting the QoS flow pointed to by the QFI field of the End-Marker PDU on the original DRB.
本实施例中,基站设备设置RDI计时器,RDI计时器到达预设的时间周期后,则触发基站设备检测是否收到终端发送的反馈消息。In this embodiment, the base station equipment sets an RDI timer. After the RDI timer reaches a preset time period, the base station equipment is triggered to detect whether the feedback message sent by the terminal is received.
步骤S230,若未收到反馈消息,则按照更新的映射规则,向终端发送第二SDAPPDU。Step S230: If no feedback message is received, the second SDAPPDU is sent to the terminal according to the updated mapping rule.
第二SDAP PDU包括RDI标识字段,RDI标识字段被置为第一值,且第二SDAP PDU为与第一SDAP PDU相邻的下一个SDAP PDU。The second SDAP PDU includes an RDI identification field, the RDI identification field is set to the first value, and the second SDAP PDU is the next SDAP PDU adjacent to the first SDAP PDU.
若基站设备未收到反馈消息,则表示终端未接收到第一SDAP PDU;基站设备对于下一包需要发送的SDAP PDU,即第二SDAP PDU,基站设备将第二SDAP PDU的RDI标识字段置为第一值后向终端发送。If the base station device does not receive the feedback message, it means that the terminal has not received the first SDAP PDU; for the SDAP PDU that the base station device needs to send in the next packet, that is, the second SDAP PDU, the base station device sets the RDI identification field of the second SDAP PDU. After reaching the first value, it is sent to the terminal.
具体地,若基站设备未收到反馈消息,基站设备的SDAP层接收到第二SDAP SDU时,则对第二SDAP SDU添加SDAP头信息,具体是添加QFI和置为第一值的RDI标识字段,添加后形成第二SDAP PDU;SDAP层按照更新的QoS流与DRB的映射规则,将第二SDAP PDU发送至基站设备的PDCP层,由PDCP层及下层处理后发送至终端。Specifically, if the base station device does not receive the feedback message and the SDAP layer of the base station device receives the second SDAP SDU, it adds SDAP header information to the second SDAP SDU, specifically adding the QFI and the RDI identification field set to the first value. , the second SDAP PDU is formed after being added; the SDAP layer sends the second SDAP PDU to the PDCP layer of the base station device according to the updated mapping rules between the QoS flow and the DRB, and is processed by the PDCP layer and lower layers before being sent to the terminal.
终端若接收到基站设备发送的第二SDAP PDU,且识别到该第二SDAP PDU中的RDI标识字段为第一值,则解析该第二SDAP PDU,获取更新的QoS流与DRB的映射规则,并将该更新的QoS流与DRB的映射规则反射到上行通信链路中。If the terminal receives the second SDAP PDU sent by the base station equipment and recognizes that the RDI identification field in the second SDAP PDU is the first value, it parses the second SDAP PDU and obtains the updated mapping rules between the QoS flow and the DRB. and reflect the updated mapping rule between the QoS flow and the DRB to the uplink communication link.
可以理解的是,终端依然有可能由于空口干扰,或者PDCP层丢弃而接收不到第二SDAP PDU。基站设备若按照预设的时间周期,未检测到终端发送的反馈消息,则对第二SDAPPDU之后,下一包需要发送的SDAP PDU同样添加QFI和置为第一值的RDI标识字段后发送;若基站设备仍然未检测到反馈消息,则以此类推处理后续需要发送的SDAP PDU,直至收到终端发送的反馈消息。It is understandable that the terminal may still not receive the second SDAP PDU due to air interface interference or PDCP layer discarding. If the base station equipment does not detect the feedback message sent by the terminal according to the preset time period, the next SDAP PDU to be sent after the second SDAPPDU will also add the QFI and the RDI identification field set to the first value before sending; If the base station device still does not detect the feedback message, the subsequent SDAP PDUs that need to be sent are processed in the same manner until the feedback message sent by the terminal is received.
本实施例通过若检测到映射规则更新,则获取更新的映射规则;按照更新的映射规则,向终端发送第一SDAP PDU;按照预设的时间周期,检测是否收到终端发送的反馈消息;若未收到反馈消息,则按照更新的映射规则,向终端发送第二SDAP PDU;由此,在没有收到反馈消息时,则继续对要发送的SDAP PDU添加QFI和置为第一值的RDI标识字段,以指示终端解析收到的SDAP PDU以获取更新的映射规则,提升了终端获取更新的映射规则的概率,提升了映射规则修改后终端能正确采纳的鲁棒性;本实施例在空口干扰严重的情况下确保映射规则的正常传递,提升了数据传输的准确性。In this embodiment, if an update to the mapping rule is detected, the updated mapping rule is obtained; according to the updated mapping rule, the first SDAP PDU is sent to the terminal; according to the preset time period, it is detected whether a feedback message sent by the terminal is received; if If no feedback message is received, the second SDAP PDU is sent to the terminal according to the updated mapping rules; therefore, if no feedback message is received, the QFI and the RDI set to the first value are continued to be added to the SDAP PDU to be sent. The identification field is used to instruct the terminal to parse the received SDAP PDU to obtain the updated mapping rules, which improves the probability that the terminal obtains the updated mapping rules and improves the robustness of the terminal to correctly adopt the modified mapping rules; this embodiment is used on the air interface In the case of severe interference, it ensures the normal transmission of mapping rules and improves the accuracy of data transmission.
图4为另一个实施例提供的数据传输方法的流程图,在上述图3所示实施例的基础上,步骤S220之后,本实施例还包括步骤S240,具体地:Figure 4 is a flow chart of a data transmission method provided by another embodiment. Based on the above embodiment shown in Figure 3, after step S220, this embodiment also includes step S240, specifically:
步骤S240,若收到反馈消息,则按照更新的映射规则,向终端发送第二SDAP PDU。Step S240: If the feedback message is received, the second SDAP PDU is sent to the terminal according to the updated mapping rule.
本实施例第二SDAP PDU包括RDI标识字段,RDI标识字段被置为第二值,第二SDAPPDU为与第一SDAP PDU相邻的下一个SDAP PDU。In this embodiment, the second SDAP PDU includes an RDI identification field, the RDI identification field is set to the second value, and the second SDAPPDU is the next SDAP PDU adjacent to the first SDAP PDU.
在本实施例中,基站设备若收到终端发送的反馈消息,则表示终端已接收到第一SDAP PDU、已获取到更新的QoS流与DRB的映射规则,基站设备则在后续的SDAP PDU发送中,将SDAP PDU的RDI标识字段置为第二值,第二值可以是“0”,在其它实施例中,第二值还可以是区别于第一值的其它表示形式。In this embodiment, if the base station device receives the feedback message sent by the terminal, it means that the terminal has received the first SDAP PDU and has obtained the updated mapping rules between the QoS flow and the DRB. The base station device then sends the subsequent SDAP PDU. , the RDI identification field of the SDAP PDU is set to a second value, and the second value may be "0". In other embodiments, the second value may also be other representations different from the first value.
终端若接收到第二SDAP PDU,且识别到第二SDAP PDU包括的RDI标识字段被置为第二值,则不会解析该第二SDAP PDU以获取更新的映射规则。If the terminal receives the second SDAP PDU and recognizes that the RDI identification field included in the second SDAP PDU is set to the second value, it will not parse the second SDAP PDU to obtain updated mapping rules.
图5为另一个实施例提供的数据传输方法的流程图,在上述图3所示实施例的基础上,本实施例步骤S230之后还包括步骤S300,具体地:Figure 5 is a flow chart of a data transmission method provided by another embodiment. Based on the embodiment shown in Figure 3, this embodiment also includes step S300 after step S230, specifically:
步骤S300,若按照时间周期,未检测到反馈消息,且第二SDAP PDU为最后一个待发送的数据包,则按照更新的映射规则,向终端多次发送第二SDAP PDU,直至收到反馈消息。Step S300: If no feedback message is detected according to the time period and the second SDAP PDU is the last data packet to be sent, the second SDAP PDU is sent to the terminal multiple times according to the updated mapping rules until the feedback message is received. .
本实施例中,若当前下行数据传输中没有待发送的数据,即第二SDAP PDU为最后一个待发送的数据包且已被SDAP层发出,但是基站设备还未收到终端发送的反馈消息,则表示终端还未收到任何一个RDI标识字段被置为第一值的SDAP PDU,也即,终端还未获取更新的QoS流与DRB的映射规则。In this embodiment, if there is no data to be sent in the current downlink data transmission, that is, the second SDAP PDU is the last data packet to be sent and has been sent by the SDAP layer, but the base station device has not yet received the feedback message sent by the terminal, This means that the terminal has not received any SDAP PDU with the RDI identification field set to the first value, that is, the terminal has not obtained the updated mapping rules between QoS flows and DRBs.
为了确保终端能够获取更新的QoS流与DRB的映射规则,基站设备将发送的最后一包SDAP PDU备份,即是将第二SDAP PDU备份,该第二SDAP PDU包括QFI以及被置为第一值的RDI标识字段;基站设备每隔预设的时间周期,检测是否收到终端发送的反馈消息,若未收到反馈消息则继续发送该备份的第二SDAP PDU,直到收到反馈消息。由此,提升了终端获取更新的QoS流与DRB的映射规则的概率,在下行数据传输没有待发送的数据的情况下,确保映射规则的正常传递,提升了后续数据传输的准确性。In order to ensure that the terminal can obtain the updated mapping rules between the QoS flow and the DRB, the base station device backs up the last SDAP PDU sent, that is, the second SDAP PDU. The second SDAP PDU includes the QFI and is set to the first value. RDI identification field; the base station equipment detects whether the feedback message sent by the terminal is received every preset time period. If the feedback message is not received, it continues to send the backup second SDAP PDU until the feedback message is received. This improves the probability that the terminal obtains the updated mapping rules between the QoS flow and the DRB, ensures the normal delivery of the mapping rules when there is no data to be sent in the downlink data transmission, and improves the accuracy of subsequent data transmission.
图6为另一个实施例提供的数据传输方法的流程图,在上述图3所示实施例的基础上,本实施例步骤S230之后还包括步骤S410和步骤S420,具体地:Figure 6 is a flow chart of a data transmission method provided by another embodiment. Based on the embodiment shown in Figure 3, this embodiment also includes step S410 and step S420 after step S230. Specifically:
步骤S410,若按照时间周期,未检测到反馈消息,且第二SDAP PDU为最后一个待发送的数据包,则生成因特网包探索器Ping包。Step S410: If no feedback message is detected according to the time period and the second SDAP PDU is the last data packet to be sent, an Internet packet explorer ping packet is generated.
Ping包包括RDI标识字段,RDI标识字段被置为第一值。The Ping packet includes an RDI identification field, and the RDI identification field is set to the first value.
本实施例中,若当前下行数据传输中没有待发送的数据,即第二SDAP PDU为最后一个待发送的数据包且已被SDAP层发出,但是基站设备还未收到终端发送的反馈消息,则表示终端还未收到任何一个RDI标识字段被置为第一值的SDAP PDU,也即,终端还未获取更新的QoS流与DRB的映射规则。In this embodiment, if there is no data to be sent in the current downlink data transmission, that is, the second SDAP PDU is the last data packet to be sent and has been sent by the SDAP layer, but the base station device has not yet received the feedback message sent by the terminal, This means that the terminal has not received any SDAP PDU with the RDI identification field set to the first value, that is, the terminal has not obtained the updated mapping rules between QoS flows and DRBs.
为了确保终端能够获取更新的QoS流与DRB的映射规则,基站设备生成因特网包探索器Ping包,并对该Ping包添加QFI以及置为第一值的RDI标识字段。In order to ensure that the terminal can obtain the updated mapping rules between the QoS flow and the DRB, the base station device generates an Internet packet explorer ping packet, and adds the QFI and the RDI identification field set to the first value to the ping packet.
步骤S420,按照更新的映射规则,向终端多次发送添加后的Ping包,直至收到反馈消息。Step S420: Send the added Ping packets to the terminal multiple times according to the updated mapping rules until a feedback message is received.
基站设备每隔预设的时间周期,检测是否收到终端发送的反馈消息,若未收到反馈消息则发送该Ping包,直到收到反馈消息。由此,提升了终端获取更新的QoS流与DRB的映射规则的概率,在下行数据传输没有待发送的数据的情况下,确保映射规则的正常传递,提升了后续数据传输的准确性。The base station equipment detects whether the feedback message sent by the terminal is received every preset time period. If the feedback message is not received, the ping packet is sent until the feedback message is received. This improves the probability that the terminal obtains the updated mapping rules between the QoS flow and the DRB, ensures the normal delivery of the mapping rules when there is no data to be sent in the downlink data transmission, and improves the accuracy of subsequent data transmission.
图7为另一个实施例提供的数据传输方法的流程图,在上述图2所示实施例的基础上,如图7所示,本实施例步骤S200包括步骤S250、步骤S260和步骤S270,具体地:Figure 7 is a flow chart of a data transmission method provided by another embodiment. Based on the above embodiment shown in Figure 2, as shown in Figure 7, step S200 in this embodiment includes step S250, step S260 and step S270. Specifically, land:
步骤S250,按照更新的映射规则,向终端发送第三SDAP PDU。Step S250: Send the third SDAP PDU to the terminal according to the updated mapping rule.
第三SDAP PDU包括RQI标识字段,RQI标识字段被置为第三值,第三值用于指示终端解析第三SDAP PDU以获取更新的映射规则。The third SDAP PDU includes an RQI identification field. The RQI identification field is set to a third value. The third value is used to instruct the terminal to parse the third SDAP PDU to obtain updated mapping rules.
本实施例中,映射规则具体包括SDF与QoS流的映射规则。In this embodiment, the mapping rules specifically include mapping rules between SDF and QoS flows.
基站设备从核心网侧获取到SDF与QoS流的映射规则更新后,基站设备的SDAP层接收到第三SDAP SDU,对第三SDAP SDU添加SDAP头信息,添加后形成第三SDAP PDU;SDAP层按照更新的SDF与QoS流的映射规则,将第三SDAP PDU发送至基站设备的PDCP层,由PDCP层及下层处理后发送至终端。本实施例中,SDAP头信息具体包括QFI以及RQI标识字段,RQI标识字段被基站设备置为第三值,第三值可以和第一值的表示形式一致,例如为“1”,也可以是区别于第一值和第二值的其它表现形式。After the base station equipment obtains the updated mapping rules between SDF and QoS flows from the core network side, the SDAP layer of the base station equipment receives the third SDAP SDU, adds SDAP header information to the third SDAP SDU, and forms the third SDAP PDU after addition; SDAP layer According to the updated mapping rules between SDF and QoS flows, the third SDAP PDU is sent to the PDCP layer of the base station equipment, and is processed by the PDCP layer and lower layers before being sent to the terminal. In this embodiment, the SDAP header information specifically includes QFI and RQI identification fields. The RQI identification field is set to a third value by the base station device. The third value can be consistent with the expression form of the first value, for example, "1", or it can be Other forms of expression that are different from the first value and the second value.
终端若接收到基站设备发送的该第三SDAP PDU,且识别到该第三SDAP PDU中的RQI标识字段为第三值,则解析该第三SDAP PDU,获取更新的SDF与QoS流的映射规则并保存,同时将该更新的SDF与QoS流的映射规则通知NAS层。If the terminal receives the third SDAP PDU sent by the base station device and recognizes that the RQI identification field in the third SDAP PDU is the third value, it parses the third SDAP PDU and obtains the updated mapping rules between SDF and QoS flows. And save it, and at the same time notify the NAS layer of the updated SDF and QoS flow mapping rules.
步骤S260,在预设的定时器每次超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零。Step S260: Each time the preset timer times out, the preset number of sending times is decremented by one, and whether the accumulated number of sending times is zero is detected.
在本实施例中,由于终端接收到第三SDAP PDU或者未接收到第三SDAP PDU均不会给基站设备以反馈,因此,为了提升终端获取更新的SDF与QoS流的映射规则的概率,本实施例设置RQI定时器,在RQI定时器每次超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零。In this embodiment, since the terminal does not give feedback to the base station device when it receives the third SDAP PDU or does not receive the third SDAP PDU, therefore, in order to improve the probability that the terminal obtains the updated mapping rules between SDF and QoS flows, this The embodiment sets an RQI timer, and each time the RQI timer times out, the preset number of transmissions is decremented by one, and whether the accumulated number of transmissions is zero is detected.
步骤S270,若累减后的发送次数不为零,则按照更新的映射规则,向终端发送第四SDAP PDU。Step S270: If the accumulated number of transmissions is not zero, the fourth SDAP PDU is sent to the terminal according to the updated mapping rule.
第四SDAP PDU包括RQI标识字段,RQI标识字段被置为第三值。The fourth SDAP PDU includes an RQI identification field, and the RQI identification field is set to a third value.
若累减后的发送次数不为零,基站设备则按照更新的映射规则,向终端发送第四SDAP PDU,第四SDAP PDU的RQI标识字段被置为第三值,用以提示终端解析该第四SDAP PDU以获取更新的SDF与QoS流的映射规则。If the cumulative number of transmissions is not zero, the base station device sends the fourth SDAP PDU to the terminal according to the updated mapping rule, and the RQI identification field of the fourth SDAP PDU is set to the third value to prompt the terminal to parse the fourth SDAP PDU. Four SDAP PDUs to obtain the updated SDF and QoS flow mapping rules.
本实施例中,若检测到映射规则更新,则获取更新的映射规则;按照更新的映射规则,向终端发送第三SDAP PDU;在预设的定时器每次超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零;若累减后的发送次数不为零,则按照更新的映射规则,向终端发送第四SDAP PDU;由此,通过设置最大发送次数,在RQI定时器每次超时时,检测累减后的发送次数是否为零,若不为零,则向终端发送包括置为第三值的RQI标识字段的第四SDAPPDU,提升了终端获取更新的SDF与QoS流的映射规则的概率,确保在SDF与QoS流的映射规则更新的情况下,终端也能正确采纳更新的SDF与QoS流的映射规则。In this embodiment, if an update to the mapping rule is detected, the updated mapping rule is obtained; the third SDAP PDU is sent to the terminal according to the updated mapping rule; each time the preset timer times out, the preset number of sending times is Decrement one, and check whether the cumulative number of transmissions is zero; if the cumulative number of transmissions is not zero, the fourth SDAP PDU is sent to the terminal according to the updated mapping rules; thus, by setting the maximum number of transmissions, Each time the RQI timer times out, check whether the accumulated number of transmissions is zero. If not, send the fourth SDAPPDU including the RQI identification field set to the third value to the terminal, which improves the terminal's ability to obtain updates. The probability of mapping rules between SDF and QoS flows ensures that when the mapping rules between SDF and QoS flows are updated, the terminal can correctly adopt the updated mapping rules between SDF and QoS flows.
图8为另一个实施例提供的数据传输方法的流程图,在上述图7所示实施例的基础上,如图8所示,本实施例步骤S260之后还包括步骤S280,具体地:Figure 8 is a flow chart of a data transmission method provided by another embodiment. Based on the above embodiment shown in Figure 7, as shown in Figure 8, this embodiment also includes step S280 after step S260, specifically:
步骤S280,若累减后的发送次数为零,则按照更新的映射规则,向终端发送第四SDAP PDU。Step S280: If the accumulated number of transmissions is zero, the fourth SDAP PDU is sent to the terminal according to the updated mapping rule.
第四SDAP PDU包括RQI标识字段,RQI标识字段被置为第四值。The fourth SDAP PDU includes an RQI identification field, and the RQI identification field is set to a fourth value.
本实施例中,若累减后的发送次数为零,则表示已经到达设置的最大发送次数,基站设备则按照更新的映射规则,向终端发送第四SDAP PDU;第四SDAP PDU包括RQI标识字段,RQI标识字段被置为第四值,第四值可以和第二值的表示形式一致,例如为“0”,也可以区别于第一值、第二值、第三值表示。In this embodiment, if the cumulative number of transmissions is zero, it means that the set maximum number of transmissions has been reached, and the base station device sends the fourth SDAP PDU to the terminal according to the updated mapping rules; the fourth SDAP PDU includes an RQI identification field. , the RQI identification field is set to the fourth value. The fourth value may be consistent with the second value, for example, "0", or may be different from the first value, the second value, and the third value.
本实施例中,在设置的最大发送次数到达后,基站设备后续发送的SDAP PDU中则不会将RQI标识字段置为第三值,终端若接收到第四SDAP PDU,且识别到第四SDAP PDU包括的RQI标识字段被置为第四值,则不会解析该第四SDAP PDU以获取更新的映射规则。In this embodiment, after the set maximum number of transmissions is reached, the RQI identification field will not be set to the third value in the SDAP PDU subsequently sent by the base station device. If the terminal receives the fourth SDAP PDU and recognizes the fourth SDAP If the RQI identification field included in the PDU is set to the fourth value, the fourth SDAP PDU will not be parsed to obtain updated mapping rules.
基于上述图7所示实施例,在另一个实施例中,映射规则还包括QoS流与DRB的映射规则,第三SDAP PDU还包括置为第一值的RDI标识字段。Based on the above embodiment shown in Figure 7, in another embodiment, the mapping rules further include mapping rules between QoS flows and DRBs, and the third SDAP PDU further includes an RDI identification field set to a first value.
本实施例中,基站设备若检测到映射规则更新,则获取更新的映射规则;按照更新的映射规则,向终端发送第三SDAP PDU;第三SDAP PDU包括RQI标识字段,RQI标识字段被置为第三值,第三值用于指示终端解析第三SDAP PDU以获取更新的SDF与QoS流的映射规则;第三SDAP PDU还包括置为第一值的RDI标识字段;第一值用于指示终端解析第三SDAP PDU以获取更新的QoS流与DRB的映射规则。In this embodiment, if the base station device detects an update to the mapping rules, it obtains the updated mapping rules; according to the updated mapping rules, it sends the third SDAP PDU to the terminal; the third SDAP PDU includes an RQI identification field, and the RQI identification field is set to The third value is used to instruct the terminal to parse the third SDAP PDU to obtain the updated mapping rules between SDF and QoS flows; the third SDAP PDU also includes an RDI identification field set to the first value; the first value is used to indicate The terminal parses the third SDAP PDU to obtain the updated mapping rule between the QoS flow and the DRB.
本实施例中,基站设备若接收到终端发送的反馈消息,则按照更新的映射规则,向终端发送第四SDAP PDU;第四SDAP PDU包括置为第二值的RDI标识字段。In this embodiment, if the base station device receives the feedback message sent by the terminal, it sends the fourth SDAP PDU to the terminal according to the updated mapping rule; the fourth SDAP PDU includes the RDI identification field set to the second value.
具体地,在预设的RQI定时器超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零;若累减后的发送次数不为零,且接收到终端发送的反馈消息,基站设备则按照更新的映射规则,向终端发送第四SDAP PDU;第四SDAP PDU包括RQI标识字段,RQI标识字段被置为第三值,第四SDAP PDU还包括被置为第二值的RDI标识字段。Specifically, when the preset RQI timer times out, the preset number of transmissions is decremented by one, and whether the cumulative number of transmissions is zero is detected; if the cumulative number of transmissions is not zero, and the number of transmissions sent by the terminal is received feedback message, the base station device sends the fourth SDAP PDU to the terminal according to the updated mapping rules; the fourth SDAP PDU includes the RQI identification field, the RQI identification field is set to the third value, and the fourth SDAP PDU also includes the third value. A binary RDI identification field.
进一步地,在预设的RQI定时器超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零;若累减后的发送次数不为零,且未接收到终端发送的反馈消息,则按照更新的映射规则,向终端发送第四SDAP PDU;第四SDAP PDU包括RQI标识字段,RQI标识字段被置为第三值,第四SDAP PDU还包括被置为第一值的RDI标识字段。Further, when the preset RQI timer times out, the preset number of transmissions is decremented by one, and whether the cumulative number of transmissions is zero is detected; if the cumulative number of transmissions is not zero and the terminal has not received The feedback message sent is sent to the terminal in accordance with the updated mapping rules; the fourth SDAP PDU includes an RQI identification field, and the RQI identification field is set to the third value. The fourth SDAP PDU also includes an RQI identification field set to the first value. The RDI identification field of the value.
本实施例中,作为一种实施方式,若未到达最大发送次数,但是下行数据传输中当前没有待发送的数据,基站设备则备份SDAP层发出的最后一包SDAP PDU,并相应设置该最后一包SDAP PDU的RQI标识字段和RDI标识字段并发出。In this embodiment, as an implementation method, if the maximum number of transmissions has not been reached, but there is currently no data to be sent in the downlink data transmission, the base station device backs up the last SDAP PDU sent by the SDAP layer, and sets the last packet accordingly. Pack the RQI identification field and RDI identification field of the SDAP PDU and send it out.
由此,若SDAP层收到核心网下行数据中携带更新的QoS流与DRB的映射规则以及更新的SDF与QoS流的映射规则,基站设备通过本实施例实施方式来实施,增加了终端获取更新后的映射规则的概率,确保更新的映射规则的正常传递。Therefore, if the SDAP layer receives the core network downlink data carrying updated mapping rules between QoS flows and DRBs and updated mapping rules between SDF and QoS flows, the base station equipment implements the implementation through the implementation method of this embodiment, adding the terminal to obtain updates. The probability of the subsequent mapping rules ensures the normal delivery of the updated mapping rules.
图9为另一个实施例提供的数据传输方法的流程图,在图7所示实施例的基础上,如图9所示,本实施例还包括步骤S500,具体地:Figure 9 is a flow chart of a data transmission method provided by another embodiment. Based on the embodiment shown in Figure 7, as shown in Figure 9, this embodiment also includes step S500, specifically:
步骤S500,若定时器未超时,且检测到映射规则更新,则按照最新的映射规则,向终端发送当前待发送的SDAP PDU。Step S500: If the timer has not expired and an update to the mapping rule is detected, the SDAP PDU currently to be sent is sent to the terminal according to the latest mapping rule.
当前待发送的SDAP PDU包括置为第一值的RDI标识字段,和/或,置为第三值的RQI标识字段。The SDAP PDU currently to be sent includes an RDI identification field set to a first value, and/or an RQI identification field set to a third value.
本实施例中,若预设的RQI定时器未超时,基站设备从核心网侧又获取到映射规则更新,基站设备则根据最新的映射规则设置当前待发送的SDAP PDU的RDI标识字段以及RQI标识字段。In this embodiment, if the preset RQI timer has not expired and the base station equipment obtains the mapping rule update from the core network side, the base station equipment sets the RDI identification field and RQI identification of the SDAP PDU currently to be sent according to the latest mapping rules. field.
若最新的映射规则为更新的SDF与QoS流的映射规则,则将RQI标识字段置为第三值,若最新的映射规则为更新的QoS流与DRB的映射规则,则将RDI标识字段置为第一值,若两者同时更新为最新,则将RQI标识字段和RDI标识字段同时相应设置,设置后由SDAP层发至PDCP层以发向终端。由此,提升了更新的映射规则被终端正确采纳的鲁棒性。If the latest mapping rule is the mapping rule between the updated SDF and QoS flows, the RQI identification field is set to the third value. If the latest mapping rule is the mapping rule between the updated QoS flow and the DRB, the RDI identification field is set to The first value, if both are updated to the latest at the same time, the RQI identification field and the RDI identification field are set accordingly at the same time. After setting, the SDAP layer sends it to the PDCP layer to send it to the terminal. This improves the robustness of the updated mapping rule being correctly adopted by the terminal.
应该理解的是,虽然图2-9的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-9中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of Figures 2-9 are shown in sequence as indicated by arrows, these steps are not necessarily executed in the order indicated by arrows. Unless explicitly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Figures 2-9 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The order of execution is not necessarily sequential, but may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of the stages.
在一个实施例中,如图10所示,提供了一种数据传输装置,包括:In one embodiment, as shown in Figure 10, a data transmission device is provided, including:
获取模块10,用于若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;The acquisition module 10 is configured to acquire the updated mapping rules if an update of the mapping rules is detected; the mapping rules include the mapping rules of the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rules of the service data flow SDF and the QoS flow. Mapping rules;
第一发送模块20,用于按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则。The first sending module 20 is configured to send service data adaptation protocol SDAP protocol data unit PDU to the terminal multiple times according to the updated mapping rule; each SDAP PDU includes a rule parsing identifier, and the rule parsing identifier is used to Instruct the terminal to parse the SDAP PDU to obtain the updated mapping rule.
可选地,所述映射规则包括QoS流与DRB的映射规则;所述第一发送模块20包括:Optionally, the mapping rules include mapping rules between QoS flows and DRBs; the first sending module 20 includes:
第一发送单元,用于按照所述更新的映射规则,向终端发送第一SDAP PDU;所述第一SDAP PDU包括RDI标识字段,所述RDI标识字段被置为第一值,所述第一值用于指示所述终端解析所述第一SDAP PDU以获取所述更新的映射规则;The first sending unit is configured to send a first SDAP PDU to the terminal according to the updated mapping rule; the first SDAP PDU includes an RDI identification field, the RDI identification field is set to a first value, and the first The value is used to instruct the terminal to parse the first SDAP PDU to obtain the updated mapping rule;
检测单元,用于按照预设的时间周期,检测是否收到所述终端发送的反馈消息;所述反馈消息用于确定所述终端已停止使用原始映射规则;A detection unit configured to detect whether a feedback message sent by the terminal is received according to a preset time period; the feedback message is used to determine that the terminal has stopped using the original mapping rule;
第二发送单元,用于若未收到所述反馈消息,则按照所述更新的映射规则,向所述终端发送第二SDAP PDU;所述第二SDAP PDU包括RDI标识字段,所述RDI标识字段被置为第一值,且所述第二SDAP PDU为与所述第一SDAP PDU相邻的下一个SDAP PDU。The second sending unit is configured to, if the feedback message is not received, send a second SDAP PDU to the terminal according to the updated mapping rule; the second SDAP PDU includes an RDI identification field, and the RDI identification field field is set to the first value, and the second SDAP PDU is the next SDAP PDU adjacent to the first SDAP PDU.
可选地,所述第一发送模块20还包括:Optionally, the first sending module 20 also includes:
第三发送单元,用于若收到所述反馈消息,则按照所述更新的映射规则,向所述终端发送第二SDAP PDU;所述第二SDAP PDU包括RDI标识字段,所述RDI标识字段被置为第二值,所述第二SDAP PDU为与所述第一SDAP PDU相邻的下一个SDAP PDU。The third sending unit is configured to, if the feedback message is received, send a second SDAP PDU to the terminal according to the updated mapping rule; the second SDAP PDU includes an RDI identification field, and the RDI identification field is set to the second value, and the second SDAP PDU is the next SDAP PDU adjacent to the first SDAP PDU.
可选地,所述装置还包括:Optionally, the device also includes:
第二发送模块,用于若按照所述时间周期,未检测到所述反馈消息,且所述第二SDAP PDU为最后一个待发送的数据包,则按照所述更新的映射规则,向所述终端多次发送所述第二SDAP PDU,直至收到所述反馈消息。The second sending module is configured to, if the feedback message is not detected according to the time period and the second SDAP PDU is the last data packet to be sent, send the message to the The terminal sends the second SDAP PDU multiple times until receiving the feedback message.
可选地,所述装置还包括:Optionally, the device also includes:
生成模块,用于若按照所述时间周期,未检测到所述反馈消息,且所述第二SDAPPDU为最后一个待发送的数据包,则生成因特网包探索器Ping包;所述Ping包包括RDI标识字段,所述RDI标识字段被置为第一值;Generating module, configured to generate an Internet packet explorer ping packet if the feedback message is not detected according to the time period and the second SDAPPDU is the last data packet to be sent; the ping packet includes RDI Identification field, the RDI identification field is set to the first value;
第三发送模块,用于按照所述更新的映射规则,向所述终端多次发送添加后的Ping包,直至收到所述反馈消息。The third sending module is configured to send the added Ping packet to the terminal multiple times according to the updated mapping rule until the feedback message is received.
可选地,所述映射规则包括SDF与QoS流的映射规则;所述第一发送模块20包括:Optionally, the mapping rules include mapping rules between SDF and QoS flows; the first sending module 20 includes:
第四发送单元,用于按照所述更新的映射规则,向终端发送第三SDAP PDU;所述第三SDAP PDU包括RQI标识字段,所述RQI标识字段被置为第三值,所述第三值用于指示所述终端解析所述第三SDAP PDU以获取所述更新的映射规则;The fourth sending unit is configured to send a third SDAP PDU to the terminal according to the updated mapping rule; the third SDAP PDU includes an RQI identification field, the RQI identification field is set to a third value, and the third The value is used to instruct the terminal to parse the third SDAP PDU to obtain the updated mapping rule;
累减单元,用于在预设的定时器每次超时时,将预设的发送次数减一,并检测累减后的发送次数是否为零;The cumulative subtraction unit is used to decrement the preset number of transmissions by one every time the preset timer times out, and detect whether the cumulative number of transmissions is zero;
第五发送单元,用于若累减后的发送次数不为零,则按照所述更新的映射规则,向所述终端发送第四SDAP PDU;所述第四SDAP PDU包括RQI标识字段,所述RQI标识字段被置为第三值。The fifth sending unit is configured to send a fourth SDAP PDU to the terminal according to the updated mapping rule if the cumulative number of sending times is not zero; the fourth SDAP PDU includes an RQI identification field, and the The RQI identification field is set to the third value.
可选地,所述第一发送模块20还包括:Optionally, the first sending module 20 also includes:
第六发送单元,用于若累减后的发送次数为零,则按照所述更新的映射规则,向所述终端发送第四SDAP PDU;所述第四SDAP PDU包括RQI标识字段,所述RQI标识字段被置为第四值。The sixth sending unit is configured to send a fourth SDAP PDU to the terminal according to the updated mapping rule if the cumulative number of transmissions is zero; the fourth SDAP PDU includes an RQI identification field, and the RQI The identification field is set to the fourth value.
可选地,所述映射规则还包括QoS流与DRB的映射规则,所述第三SDAP PDU还包括置为第一值的RDI标识字段。Optionally, the mapping rules further include mapping rules between QoS flows and DRBs, and the third SDAP PDU further includes an RDI identification field set to a first value.
可选地,所述装置还包括:Optionally, the device also includes:
第四发送模块,用于若接收到所述终端发送的反馈消息,则按照所述更新的映射规则,向所述终端发送第四SDAP PDU;所述第四SDAP PDU包括置为第二值的RDI标识字段。The fourth sending module is configured to, if the feedback message sent by the terminal is received, send a fourth SDAP PDU to the terminal according to the updated mapping rule; the fourth SDAP PDU includes a second value set to the second value. RDI identification field.
可选地,所述装置还包括:Optionally, the device also includes:
第五发送模块,用于若所述定时器未超时,且检测到映射规则更新,则按照最新的映射规则,向所述终端发送当前待发送的SDAP PDU;所述当前待发送的SDAP PDU包括置为第一值的RDI标识字段,和/或,置为第三值的RQI标识字段。The fifth sending module is configured to send the SDAP PDU currently to be sent to the terminal according to the latest mapping rule if the timer has not expired and an update to the mapping rule is detected; the SDAP PDU currently to be sent includes The RDI identification field is set to the first value, and/or the RQI identification field is set to the third value.
本实施例提供的数据传输装置,可以执行上述数据传输方法实施例,其实现原理和技术效果类似,在此不再赘述。The data transmission device provided in this embodiment can execute the above-mentioned data transmission method embodiment. Its implementation principles and technical effects are similar and will not be described again here.
关于数据传输装置的具体限定可以参见上文中对于数据传输方法的限定,在此不再赘述。上述数据传输装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the data transmission device, please refer to the above limitations on the data transmission method, which will not be described again here. Each module in the above data transmission device can be implemented in whole or in part by software, hardware and combinations thereof. Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种基站设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a base station device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, it implements the following steps:
若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则。If an update to the mapping rule is detected, the updated mapping rule is obtained; the mapping rule includes the mapping rule between the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rule between the service data flow SDF and the QoS flow; as described Updated mapping rules, send service data adaptation protocol SDAP protocol data unit PDU to the terminal multiple times; each SDAP PDU includes a rule parsing identifier, and the rule parsing identifier is used to instruct the terminal to parse the SDAP PDU to obtain The updated mapping rules.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Ramb微秒)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Ramb microsecond) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided with a computer program stored thereon. When the computer program is executed by a processor, the following steps are implemented:
若检测到映射规则更新,则获取更新的映射规则;所述映射规则包括服务质量QoS流与数据无线承载DRB的映射规则,和/或,业务数据流SDF与QoS流的映射规则;按照所述更新的映射规则,向终端多次发送服务数据适配协议SDAP协议数据单元PDU;各所述SDAP PDU均包括规则解析标识,所述规则解析标识用于指示所述终端解析所述SDAP PDU以获取所述更新的映射规则。If an update to the mapping rule is detected, the updated mapping rule is obtained; the mapping rule includes the mapping rule between the quality of service QoS flow and the data radio bearer DRB, and/or the mapping rule between the service data flow SDF and the QoS flow; as described Updated mapping rules, send service data adaptation protocol SDAP protocol data unit PDU to the terminal multiple times; each SDAP PDU includes a rule parsing identifier, and the rule parsing identifier is used to instruct the terminal to parse the SDAP PDU to obtain The updated mapping rules.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined in any way. To simplify the description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, All should be considered to be within the scope of this manual.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the scope of protection of the patent of the present invention should be determined by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911401811.1A CN111163017B (en) | 2019-12-30 | 2019-12-30 | Data transmission method, device, base station equipment and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911401811.1A CN111163017B (en) | 2019-12-30 | 2019-12-30 | Data transmission method, device, base station equipment and computer readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111163017A CN111163017A (en) | 2020-05-15 |
| CN111163017B true CN111163017B (en) | 2023-10-24 |
Family
ID=70559358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911401811.1A Active CN111163017B (en) | 2019-12-30 | 2019-12-30 | Data transmission method, device, base station equipment and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111163017B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115604733A (en) * | 2021-07-12 | 2023-01-13 | 大唐移动通信设备有限公司(Cn) | Data processing method, device and storage medium |
| CN117529948A (en) * | 2021-08-03 | 2024-02-06 | Oppo广东移动通信有限公司 | Wireless communication methods and equipment |
| CN116567655B (en) * | 2022-01-27 | 2025-09-05 | 中国移动通信有限公司研究院 | Data transmission control method, device, electronic device and readable storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107493590A (en) * | 2017-06-15 | 2017-12-19 | 罗德祥 | Data transmission method and device, base station and computer-readable recording medium |
| CN109587738A (en) * | 2017-09-28 | 2019-04-05 | 捷开通讯(深圳)有限公司 | A kind of communication means, communication equipment and the equipment with store function |
| CN109804660A (en) * | 2018-02-06 | 2019-05-24 | Oppo广东移动通信有限公司 | Service quality stream remaps implementation method, device, equipment and storage medium |
| CN109952773A (en) * | 2017-05-05 | 2019-06-28 | 联发科技股份有限公司 | Use SDAP header to handle AS/NAS reflection QOS and ensure in-order packet delivery during remapping in 5G communication systems |
| CN110012546A (en) * | 2018-01-05 | 2019-07-12 | 中国移动通信有限公司研究院 | A kind of transmission method, base station and the terminal of protocol Data Unit PDU |
| CN110226344A (en) * | 2017-03-17 | 2019-09-10 | 华为技术有限公司 | A method of sending terminates label |
| WO2019225888A1 (en) * | 2018-05-21 | 2019-11-28 | 삼성전자 주식회사 | Method and apparatus for classifying and processing sdap control pdu in next generation mobile communication system |
| CN110612740A (en) * | 2017-09-22 | 2019-12-24 | Oppo广东移动通信有限公司 | Information indication method, terminal and computer storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190306918A1 (en) * | 2018-04-02 | 2019-10-03 | Lg Electronics Inc. | Method for handling sdap entity in wireless communication system and apparatus therefor |
| US11310707B2 (en) * | 2018-04-13 | 2022-04-19 | Qualcomm Incorporated | Facilitating quality of service flow remapping utilizing a service data adaptation protocol layer |
| US20190349805A1 (en) * | 2018-05-11 | 2019-11-14 | Mediatek Inc. | User equipments and methods for handling an update on quality of service (qos) flow to data radio bearer (drb) mapping |
-
2019
- 2019-12-30 CN CN201911401811.1A patent/CN111163017B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110226344A (en) * | 2017-03-17 | 2019-09-10 | 华为技术有限公司 | A method of sending terminates label |
| CN109952773A (en) * | 2017-05-05 | 2019-06-28 | 联发科技股份有限公司 | Use SDAP header to handle AS/NAS reflection QOS and ensure in-order packet delivery during remapping in 5G communication systems |
| CN107493590A (en) * | 2017-06-15 | 2017-12-19 | 罗德祥 | Data transmission method and device, base station and computer-readable recording medium |
| CN110612740A (en) * | 2017-09-22 | 2019-12-24 | Oppo广东移动通信有限公司 | Information indication method, terminal and computer storage medium |
| CN109587738A (en) * | 2017-09-28 | 2019-04-05 | 捷开通讯(深圳)有限公司 | A kind of communication means, communication equipment and the equipment with store function |
| CN110012546A (en) * | 2018-01-05 | 2019-07-12 | 中国移动通信有限公司研究院 | A kind of transmission method, base station and the terminal of protocol Data Unit PDU |
| CN109804660A (en) * | 2018-02-06 | 2019-05-24 | Oppo广东移动通信有限公司 | Service quality stream remaps implementation method, device, equipment and storage medium |
| WO2019225888A1 (en) * | 2018-05-21 | 2019-11-28 | 삼성전자 주식회사 | Method and apparatus for classifying and processing sdap control pdu in next generation mobile communication system |
Non-Patent Citations (3)
| Title |
|---|
| 5G移动通信系统的接入网络架构;项弘禹;张欣然;朴竹颖;彭木根;;电信科学(第08期);全文 * |
| CMCC.R2-1706999 "QoS flow ID presence in the AS Reflective QoS".3GPP tsg_ran\WG2_RL2.2017,(第TSGR2_AHs期),全文. * |
| LTE-Advanced中的QoS参数映射的研究;孔祥;赵季红;;中兴通讯技术(第04期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111163017A (en) | 2020-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12185425B2 (en) | Method and apparatus for realizing network capability opening, electronic device and storage medium | |
| KR101868070B1 (en) | Service layer southbound interface and quality of service | |
| CN111065120B (en) | Method, device and medium for enhancing cellular network uplink ECN mechanism | |
| CN111163017B (en) | Data transmission method, device, base station equipment and computer readable storage medium | |
| CN103999406B (en) | Communication path processing method and device | |
| EP3890398B1 (en) | Data usage reporting method, apparatus and system | |
| CN101610591A (en) | Mobile station and data transmission method | |
| CN101505260A (en) | Message flow control method, system and apparatus | |
| CN106254265A (en) | Process the methods, devices and systems of message | |
| CN110139360B (en) | Paging strategy determination method and device, RAN network element and core network element | |
| CN110474924A (en) | Data transmission method, device, computer equipment and storage medium | |
| CN104272659A (en) | Method for transmitting data in a packet-oriented communications network and correspondingly configured user terminal in said communications network | |
| CN102143010A (en) | Method for detecting message revision, sender equipment and receiver equipment | |
| CN113038467B (en) | Event information reporting method and communication device | |
| CN102143040A (en) | Traffic control method and device | |
| CN114126085B (en) | Industrial field bus communication method and device, electronic equipment and storage medium | |
| CN114600428A (en) | System and method for measuring the number of packets in CUPS | |
| US12323828B2 (en) | Wireless communication method and terminal device | |
| CN107113186B (en) | Method and common service entity for data transmission in unified machine-to-machine system | |
| CN118945713A (en) | QoE measurement report transmission method, device and readable storage medium | |
| WO2017067224A1 (en) | Packet processing method and apparatus | |
| CN113132062A (en) | Message transmission method and electronic equipment | |
| US20240276350A1 (en) | Network slice admission control | |
| CN111432441B (en) | Audio data transmitting method and device and computer readable storage medium | |
| CN107733903A (en) | A kind of data transfer confirmation method and base station based on UDP |
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 | ||
| CB02 | Change of applicant information |
Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong Applicant after: Jingxin Network System Co.,Ltd. Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |