Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
The first embodiment,
An embodiment of the present invention provides a data transmission method, as shown in fig. 1, including:
step 101: receiving a data packet and determining the service characteristics of the data packet;
step 102: determining configuration information of a Packet Data Convergence Protocol (PDCP) mode for the data packet based on the service characteristics of the data packet; wherein, the different PDCP modes correspond to the service characteristics of different data packets, each PDCP mode is composed of at least one PDCP function, and the different PDCP modes comprise partial same or all different PDCP functions;
step 103: and processing the data packet based on the configuration information to obtain and transmit a data packet of the PDCP layer.
It should be noted that the present embodiment may be applied to a device having a processing function of a PDCP layer, for example, the device may be a network device on a network side, and may also be a terminal device. Specifically, the network device may be a base station, eNB, or the like; the terminal device can be any terminal which can be accessed into a communication network, such as a mobile phone, a smart phone and the like.
Before executing the foregoing step 101, this embodiment further provides a configuration method for a PDCP mode, which specifically includes:
configuring a set consisting of M kinds of PDCP functions; wherein, the PDCP function comprises at least one of the following information: a serial number SN processing function, a data packet header compression processing function, an integrity protection processing function, an encryption processing function and a PDCP header processing function; m is an integer greater than or equal to 1;
establishing and obtaining at least one subset based on the set containing the M PDCP functions, wherein each subset contains N PDCP functions, and N is an integer which is greater than or equal to 1 and less than or equal to M;
for each of the at least one PDCP mode, one of the at least one subset is configured.
The PDCP Function may be denoted by Function1 … m (m is 1,2,3, …). The functions specified by the PDCP protocol specification may include: sequence number processing, header compression processing or integrity protection processing, ciphering processing and PDCP header adding processing, and the value of m can be defined according to the corresponding protocol specification. Each PDCP Mode (Mode) may be a subset or a full set of the aforementioned functions as specified by the PDCP protocol specification.
For example, referring to fig. 2, assume that M PDCP functions are currently preconfigured, i.e., function1, function 2 to function M (M is less than or equal to M); x PDCP modes can then be formed based on the M PDCP functions. It should be noted that, in any two PDCP modes, partial PDCP functions may be the same or all different, and this embodiment is not limited thereto. Finally, the established modes can be seen in the figure, the PDCP mode 1 has several functions 1 to k, and the mode X can have several functions w to m.
Three proposed service types are as follows: mtc, URLLC, and eMMB. The mtc and URLLC use small data packets as main data transceiving formats, but require high real-time performance. The eMB is mainly characterized by high throughput, adopts a large data packet receiving and transmitting mode, and has no special requirement on real-time performance. Different data type requirements need to adopt different PDCP processing modes to meet the service characteristic requirements. There is a need to introduce multiple modes in the PDCP protocol specification.
Further, in this embodiment, a processing unit of different data packets is described, and each PDCP mode may be applied to one direction of one data transmission channel. For example, if the PDCP protocol layer uses a Radio Bearer (RB) as a processing identifier of a data packet, the Transmitting direction (Transmitting Side) and the Receiving direction (Receiving Side) of the RB use PDCP with the same mode; if the PDCP protocol layer uses IP flow as the processing identifier of the data packet, the sending party and the receiving party of IP flow can use PDCP in the same mode.
Regarding the configuration of PDCP mode, it is also necessary to ensure the consistency of the network side and terminal side protocols. That is, after one side performs the configuration of the PDCP mode, when the packet is processed using the configured PDCP mode, the PDCP mode of the packet may be further sent to the opposite side;
of course, another processing mode may also exist, that is, both sides adopt the same preset configuration, and the mode of determining the configuration information corresponding to a certain service feature is the same, that is, the other side may perform the processing of the PDCP layer based on the preset configuration information.
The determining the configuration information of the packet data convergence protocol PDCP mode aiming at the data packet based on the service characteristics of the data packet further comprises:
when a PDCP instance is established, selecting a corresponding PDCP mode from at least one PDCP mode based on the service characteristics of a data packet carried in the PDCP instance, and generating configuration information aiming at the PDCP instance based on the selected PDCP mode;
when reconfiguration is carried out on the PDCP instance, an updated PDCP mode is selected for the PDCP instance again on the basis of the service characteristics of a data packet carried in the PDCP instance, and the configuration information aiming at the PDCP instance is updated on the basis of the updated PDCP mode;
deleting the PDCP mode when deleting a PDCP instance; specifically, the corresponding configuration and other information in the PDCP mode may be deleted.
Specifically, the PDCP mode needs to perform signaling configuration according to the qos (quality of service) requirement of the service, including the processes of establishment, reconfiguration, deletion, and the like.
Carrying a mode of a PDCP instance and a function definition corresponding to the mode when the PDCP instance (PDCP Entity) is established (Setup);
when a PDCP instance (PDCP Entity) is reconfigured (Reconfiguration), the mode and corresponding function of the PDCP instance may be modified;
when a PDCP instance (PDCP Entity) is deleted (Delete), the mode and corresponding function of the PDCP instance may be deleted.
The determining the service characteristics of the data packet includes at least one of the following steps:
determining the service characteristics of the data packet as a big data packet service or a small data packet service based on the transmission bandwidth requirement of the data packet;
determining the service characteristics of the data packet as a big data packet service or a small data service based on the transmission delay requirement of the data packet;
and determining the service characteristics of the data packet to be large data packet service or small data service based on the transmission rate requirement of the data packet.
That is, when the requirement of the transmission bandwidth and/or the transmission rate of the data packet is greater than a certain bandwidth threshold and/or rate threshold, it can be determined that the service characteristic of the data packet represents that the data packet is a big data service; or, when the transmission delay requirement of the data packet is less than a certain delay threshold value, it may be determined that the data packet is a small data packet service.
Specifically, the setting of the threshold values corresponding to the transmission bandwidth, the transmission rate, and the time delay may be set in combination with the communication situation, and is not exhaustive here.
In addition, during signaling configuration, configuration information can be generated through calculation of a corresponding algorithm according to a corresponding system configured QoS parameter, such as qci (QoS Class indicator), and a PDCP instance can be configured through processes of establishment or reconfiguration and the like.
For example, different QCIs may correspond to different service characteristics, and if the QCI is 2, a real-time service flow may be characterized, the service may be considered as a small data service, and because the service is a transmission requirement with low delay and high timeliness, the service may correspond to a faster processing mode, for example, a PDCP mode that only performs header compression and header decompression functions.
The PDCP instance is created, reconfigured, and deleted, and there may be a terminal initiating a creation application, or a network layer initiating according to the related grasped terminal information.
It is further noted that the PDCP instance reconfiguration and deletion signaling procedures must be directed to the already established PDCP instance, otherwise the protocol error is handled.
The determining the configuration information of the Packet Data Convergence Protocol (PDCP) mode aiming at the data packet based on the service characteristics of the data packet comprises the following steps:
when the data packet is a small data packet service, determining that the PDCP mode for the data packet at least comprises a header compression processing function and an integrity protection processing function;
and when the data packet is a big data service, determining that the PDCP mode aiming at the data packet at least comprises a sequence number adding/de-sequence number function, a header compression/de-header compression function, an integrity protection function and an encryption/decryption function.
For example, for the service feature of 5G, the PDCP is divided into two service types, i.e., a Small Packet SPM (SPM) and a large Packet BTM (BTM). The way to measure the two services may be based on one or more of transmission bandwidth, transmission rate, transmission delay, and QCI of the data packet.
Still further, when the data packet is a small data packet service, determining that the PDCP mode for the data packet at least includes a header compression processing function and an integrity protection processing function, further includes:
when the data packet is a small data packet service of a user plane, determining that only header compression and header decompression functions are included in a PDCP mode aiming at the data packet;
and when the data packet is a small data packet service of a control plane, determining that only an integrity protection function is included in a PDCP mode aiming at the data packet.
Specifically, in order to support the fast transmission of PDCP data packets (including user plane and control plane) of mtc/URLLC, a Small Packet PDCP Mode (SPM: Small Packet Mode) is introduced:
SPM PDCP: only having header compression/de-header compression (user plane) functions and integrity protection (control plane) functions. For example, referring to fig. 3, it can be seen that, in the processing mode for small data packets, only the foregoing two functions are processed; in other words, the processing timeliness of the small data packet is ensured, thereby ensuring the transmission efficiency.
Specifically, only header compression and header decompression processing may be performed for mtc/URLLC user plane data.
For mMTC/URLLC control plane data, only integrity protection is performed.
In order to support transceiving of eMBB high-rate data, a high-Throughput PDCP Mode (BTM) is introduced.
BTM PDCP: the device has the functions of adding/removing serial numbers, compressing/removing headers, protecting integrity, and encrypting/decrypting. For example, referring to fig. 4, it can be seen that, in the process of performing PDCP processing, several functions, such as sequence number adding/de-sequence number function, header compression/de-header compression (user plane) function, integrity protection (control plane) function, and encryption/decryption function, may be performed.
The establishment, reconfiguration and deletion signaling of the PDCP instance needs to carry the relevant signaling indication content for the SPM and BTM modes, respectively.
The SPM and BTM mode PDCP is matched with mMTC/URLLC and eMBB services, a signaling processing module completes matching according to a related algorithm, and then generates signaling configuration to carry out establishment, reconfiguration and deletion of a PDCP entity.
In summary, in this embodiment, when processing a packet in the PDCP layer, different PDCP modes can be configured based on packets with different service characteristics, and the different PDCP modes can have at least partially different PDCP functions. Therefore, the method and the device ensure that various different data types can be distinguished in the data processing process of the PDCP layer, and provide different solutions for transmitting the data packets of different data types so as to adapt to the requirements of service transmission of different data packets.
Example II,
An embodiment of the present invention provides a data transmission apparatus, as shown in fig. 5, including:
a feature analysis unit 51, configured to receive a data packet and determine a service feature of the data packet;
a configuration unit 52, configured to determine configuration information of a packet data convergence protocol PDCP mode for the data packet based on the service characteristic of the data packet; wherein, the different PDCP modes correspond to the service characteristics of different data packets, each PDCP mode is composed of at least one PDCP function, and the different PDCP modes comprise partial same or all different PDCP functions;
and a processing unit 53, configured to process the data packet based on the configuration information, obtain a data packet of the PDCP layer, and transmit the data packet.
It should be noted that the present embodiment may be applied to a device having a processing function of a PDCP layer, for example, the device may be a network device on a network side, and may also be a terminal device. Specifically, the network device may be a base station, eNB, or the like; the terminal device can be any terminal which can be accessed into a communication network, such as a mobile phone, a smart phone and the like.
The present embodiment further provides a configuration method for a PDCP mode, which specifically includes:
a configuration unit 52, configured to configure a set of M PDCP functions; wherein, the PDCP function comprises at least one of the following information: a serial number SN processing function, a data packet header compression processing function, an integrity protection processing function, an encryption processing function and a PDCP header processing function; m is an integer greater than or equal to 1;
establishing and obtaining at least one subset based on the set containing the M PDCP functions, wherein each subset contains N PDCP functions, and N is an integer which is greater than or equal to 1 and less than or equal to M;
for each of the at least one PDCP mode, one of the at least one subset is configured.
The PDCP Function may be denoted by Function1 … m (m is 1,2,3, …). The functions specified by the PDCP protocol specification may include: sequence number processing, header compression processing or integrity protection processing, ciphering processing and PDCP header adding processing, and the value of m can be defined according to the corresponding protocol specification. Each PDCP Mode (Mode) may be a subset or a full set of the aforementioned functions as specified by the PDCP protocol specification.
For example, referring to fig. 2, assume that M PDCP functions are currently preconfigured, i.e., function1, function 2 to function M (M is less than or equal to M); x PDCP modes can then be formed based on the M PDCP functions. It should be noted that, in any two PDCP modes, partial PDCP functions may be the same or all different, and this embodiment is not limited thereto. Finally, the established modes can be seen in the figure, the PDCP mode 1 has several functions 1 to k, and the mode X can have several functions w to m.
Three proposed service types are as follows: mtc, URLLC, and eMMB. The mtc and URLLC use small data packets as main data transceiving formats, but require high real-time performance. The eMB is mainly characterized by high throughput, adopts a large data packet receiving and transmitting mode, and has no special requirement on real-time performance. Different data type requirements need to adopt different PDCP processing modes to meet the service characteristic requirements. There is a need to introduce multiple modes in the PDCP protocol specification.
Further, in this embodiment, a processing unit of different data packets is described, and each PDCP mode may be applied to one direction of one data transmission channel. For example, if the PDCP protocol layer uses a Radio Bearer (RB) as a processing identifier of a data packet, the Transmitting direction (Transmitting Side) and the Receiving direction (Receiving Side) of the RB use PDCP with the same mode; if the PDCP protocol layer uses IP flow as the processing identifier of the data packet, the sending party and the receiving party of IP flow can use PDCP in the same mode.
Regarding the configuration of PDCP mode, it is also necessary to ensure the consistency of the network side and terminal side protocols. That is, after one side performs the configuration of the PDCP mode, when the packet is processed using the configured PDCP mode, the PDCP mode of the packet may be further sent to the opposite side;
of course, another processing mode may also exist, that is, both sides adopt the same preset configuration, and the mode of determining the configuration information corresponding to a certain service feature is the same, that is, the other side may perform the processing of the PDCP layer based on the preset configuration information.
The configuration unit 52 is configured to, when a PDCP instance is established, select a corresponding PDCP mode from at least one PDCP mode based on service characteristics of a data packet carried in the PDCP instance, and generate configuration information for the PDCP instance based on the selected PDCP mode;
when reconfiguration is carried out on the PDCP instance, an updated PDCP mode is selected for the PDCP instance again on the basis of the service characteristics of a data packet carried in the PDCP instance, and the configuration information aiming at the PDCP instance is updated on the basis of the updated PDCP mode;
when deleting a PDCP instance, deleting configuration information for the PDCP mode.
Specifically, the PDCP mode needs to perform signaling configuration according to the qos (quality of service) requirement of the service, including the processes of establishment, reconfiguration, deletion, and the like.
Carrying a mode of a PDCP instance and a function definition corresponding to the mode when the PDCP instance (PDCP Entity) is established (Setup);
when a PDCP instance (PDCP Entity) is reconfigured (Reconfiguration), the mode and corresponding function of the PDCP instance may be modified;
when a PDCP instance (PDCP Entity) is deleted (Delete), the mode and corresponding function of the PDCP instance may be deleted.
The determining the service characteristics of the data packet includes at least one of the following steps:
determining the service characteristics of the data packet as a big data packet service or a small data packet service based on the transmission bandwidth requirement of the data packet;
determining the service characteristics of the data packet as a big data packet service or a small data service based on the transmission delay requirement of the data packet;
and determining the service characteristics of the data packet to be large data packet service or small data service based on the transmission rate requirement of the data packet.
That is, when the requirement of the transmission bandwidth and/or the transmission rate of the data packet is greater than a certain bandwidth threshold and/or rate threshold, it can be determined that the service characteristic of the data packet represents that the data packet is a big data service; or, when the transmission delay requirement of the data packet is less than a certain delay threshold value, it may be determined that the data packet is a small data packet service.
Specifically, the setting of the threshold values corresponding to the transmission bandwidth, the transmission rate, and the time delay may be set in combination with the communication situation, and is not exhaustive here.
In addition, during signaling configuration, configuration information can be generated through calculation of a corresponding algorithm according to a corresponding system configured QoS parameter, such as qci (QoS Class indicator), and a PDCP instance can be configured through processes of establishment or reconfiguration and the like.
For example, different QCIs may correspond to different service characteristics, and if the QCI is 2, a real-time service flow may be characterized, the service may be considered as a small data service, and because the service is a transmission requirement with low delay and high failure, the service may correspond to a faster processing mode, for example, a PDCP mode that only performs header compression and header decompression functions.
The PDCP instance is created, reconfigured, and deleted, and there may be a terminal initiating a creation application, or a network layer initiating according to the related grasped terminal information.
It is further noted that the PDCP instance reconfiguration and deletion signaling procedures must be directed to the already established PDCP instance, otherwise the protocol error is handled.
The configuration unit 52 is configured to determine that the PDCP mode for the data packet at least includes a header compression processing function and an integrity protection processing function when the data packet is a small data packet service;
and when the data packet is a big data service, determining that the PDCP mode aiming at the data packet at least comprises a sequence number adding/de-sequence number function, a header compression/de-header compression function, an integrity protection function and an encryption/decryption function.
For example, for the service feature of 5G, the PDCP is divided into two service types, i.e., a Small Packet SPM (SPM) and a large Packet BTM (BTM). The way to measure the two services may be based on one or more of transmission bandwidth, transmission rate, transmission delay, and QCI of the data packet.
Still further, the configuration unit 52 is configured to determine that only header compression and header decompression functions are included in a PDCP mode for the data packet when the data packet is a small data packet service of a user plane;
and when the data packet is a small data packet service of a control plane, determining that only an integrity protection function is included in a PDCP mode aiming at the data packet.
Specifically, in order to support the fast transmission of PDCP data packets (including user plane and control plane) of mtc/URLLC, a Small Packet PDCP Mode (SPM: Small Packet Mode) is introduced:
SPM PDCP: only having header compression/de-header compression (user plane) functions and integrity protection (control plane) functions. For example, referring to fig. 3, it can be seen that, in the processing mode for small data packets, only the foregoing two functions are processed; in other words, the processing timeliness of the small data packet is ensured, thereby ensuring the transmission efficiency.
Specifically, only header compression and header decompression processing may be performed for mtc/URLLC user plane data.
For mMTC/URLLC control plane data, only integrity protection is performed.
In order to support transceiving of eMBB high-rate data, a high-Throughput PDCP Mode (BTM) is introduced.
BTM PDCP: the device has the functions of adding/removing serial numbers, compressing/removing headers, protecting integrity, and encrypting/decrypting. For example, referring to fig. 4, it can be seen that, in the process of performing PDCP processing, several functions, such as sequence number adding/de-sequence number function, header compression/de-header compression (user plane) function, integrity protection (control plane) function, and encryption/decryption function, may be performed.
The establishment, reconfiguration and deletion signaling of the PDCP instance needs to carry the relevant signaling indication content for the SPM and BTM modes, respectively.
The SPM and BTM mode PDCP is matched with mMTC/URLLC and eMBB services, a signaling processing module completes matching according to a related algorithm, and then generates signaling configuration to carry out establishment, reconfiguration and deletion of a PDCP entity.
In summary, in this embodiment, when processing a packet in the PDCP layer, different PDCP modes can be configured based on packets with different service characteristics, and the different PDCP modes can have at least partially different PDCP functions. Therefore, the method and the device ensure that various different data types can be distinguished in the data processing process of the PDCP layer, and provide different solutions for transmitting the data packets of different data types so as to adapt to the requirements of service transmission of different data packets.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, an apparatus, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.