WO2023174044A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2023174044A1
WO2023174044A1 PCT/CN2023/078554 CN2023078554W WO2023174044A1 WO 2023174044 A1 WO2023174044 A1 WO 2023174044A1 CN 2023078554 W CN2023078554 W CN 2023078554W WO 2023174044 A1 WO2023174044 A1 WO 2023174044A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
integrity
pdcp
integrity check
mac
Prior art date
Application number
PCT/CN2023/078554
Other languages
French (fr)
Chinese (zh)
Inventor
刘南南
李娇娇
常俊仁
娄崇
酉春华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023174044A1 publication Critical patent/WO2023174044A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • H04W12/106Packet or message integrity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a communication method and apparatus. The method comprises: obtaining first data, the first data being data that is not subjected to integrity protection, being associated with a first MAC PDU, and being associated with a first PDCP entity; and if a first condition is satisfied, discarding the first data, the first condition comprising an integrity verification result of data associated with the first data. Whether the data that is not subjected to integrity protection is discarded is further determined by means of the integrity verification result of the data subjected to integrity protection, and a method for processing the data that is not subjected to integrity protection is provided. In addition, the accuracy of data reception or the accuracy of data submitted to an upper layer can be improved, and the communication quality/efficiency can also be improved. For example, if the first condition is satisfied, the first data is discarded, and the more cases the first condition comprises, the higher the requirement for reserved data is, so that the accuracy of data reception or the accuracy of the data submitted to the upper layer can be improved.

Description

一种通信方法和装置A communication method and device
本申请要求于2022年03月17日提交中国国家知识产权局、申请号为202210266127.2、申请名称为“一种通信方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application submitted to the State Intellectual Property Office of China on March 17, 2022, with application number 202210266127.2 and application title "A communication method and device", the entire content of which is incorporated into this application by reference. middle.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种通信方法和装置。The present application relates to the field of communication, and in particular, to a communication method and device.
背景技术Background technique
随着通信技术的快速发展,移动通信系统的信息安全问题受到越来越多的关注。完整性保护(integrity protection,IP)功能是一种防止用户数据被篡改的功能。完整性保护功能包含完整性保护以及完整性校验,一般来说,通过分组数据汇聚协议(packet data convergence protocol,PDCP)层执行完整性保护功能。例如,发送端对PDCP协议数据单元(protocol data unit,PDU)的头部(header)以及数据部分进行完整性保护,接收端再对PDCP PDU进行完整性校验。With the rapid development of communication technology, the information security issues of mobile communication systems have received more and more attention. The integrity protection (IP) function is a function that prevents user data from being tampered with. The integrity protection function includes integrity protection and integrity verification. Generally speaking, the integrity protection function is performed through the packet data convergence protocol (PDCP) layer. For example, the sending end performs integrity protection on the header and data part of the PDCP protocol data unit (PDU), and the receiving end performs integrity verification on the PDCP PDU.
目前,对于每一个无线承载(radio bearer,RB)来说,如果该RB被配置了完整性保护功能,那么该RB上的所有数据(data)(例如,所有PDCP data PDU)都会被进行完整性保护,以便于接收端对其进行完整性校验,并在校验失败的情况下,对其进行丢弃。而在某些情况下,可能只对该RB上的部分数据(例如,部分PDCP data PDU)进行了完整性保护(以下简称部分完保)。Currently, for each radio bearer (RB), if the RB is configured with the integrity protection function, then all data (data) on the RB (for example, all PDCP data PDUs) will be integrity protected. Protection, so that the receiving end can check its integrity and discard it if the verification fails. In some cases, only part of the data on the RB (for example, part of the PDCP data PDU) may be integrity protected (hereinafter referred to as partial integrity protection).
需要说明的是,“RB上的所有数据”不包括PDCP控制PDU。It should be noted that "all data on the RB" does not include PDCP control PDU.
因此,在部分完保的情况下,如何处理未进行完整性保护的数据成为一项亟待解决的技术问题。Therefore, in the case of partial integrity protection, how to deal with data that is not integrity protected has become an urgent technical issue that needs to be solved.
发明内容Contents of the invention
本申请提供了一种通信方法和装置,以便于在部分完保的情况下,处理未进行完整性保护的数据。This application provides a communication method and device to facilitate processing of data without integrity protection in the case of partial integrity protection.
第一方面,本申请提供了一种通信方法,该方法可以由第一通信设备执行,或者,也可以由配置在第一通信设备中的部件(如芯片、芯片系统等)执行,或者,还可以由能够实现全部或部分第一通信设备功能的逻辑模块或软件实现,本申请对此不作限定。In a first aspect, this application provides a communication method, which can be executed by a first communication device, or can also be executed by a component (such as a chip, chip system, etc.) configured in the first communication device, or also It can be implemented by a logic module or software that can realize all or part of the functions of the first communication device, and this application does not limit this.
示例性地,该方法包括:获取第一数据,该第一数据是未进行完整性保护的数据,第一数据与第一媒体接入控制(medium access control,MAC)PDU相关联,且与第一PDCP实体相关联;满足第一条件,丢弃第一数据,该第一条件包括以下一项或多项:第二数据完整性校验失败,第二数据与第一MAC PDU相关联,且与第一PDCP实体相关联;第三数据完整性校验失败,第三数据与第一MAC PDU相关联,且与第二PDCP实体相关联;第四数据完整性校验失败,第四数据与第二MAC PDU相关联,且与第一PDCP实体相关 联;第五数据完整性校验失败,第五数据与第二MAC PDU相关联,且与第二PDCP实体相关联;或者,第六数据完整性校验失败,第六数据与第二MAC PDU相关联,且与第三PDCP实体相关联。Exemplarily, the method includes: obtaining first data, the first data is data without integrity protection, the first data is associated with a first medium access control (medium access control, MAC) PDU, and is associated with a first medium access control (MAC) PDU. A PDCP entity is associated; the first condition is met and the first data is discarded. The first condition includes one or more of the following: the second data integrity check fails, the second data is associated with the first MAC PDU, and The first PDCP entity is associated; the third data integrity check fails, and the third data is associated with the first MAC PDU and is associated with the second PDCP entity; the fourth data integrity check fails, and the fourth data is associated with the second PDCP entity. Two MAC PDUs are associated and related to the first PDCP entity associated; the fifth data integrity check fails, the fifth data is associated with the second MAC PDU, and is associated with the second PDCP entity; or the sixth data integrity check fails, the sixth data is associated with the second MAC PDU associated, and associated with the third PDCP entity.
基于上述技术方案,第一通信设备获取到未进行完整性保护的数据(即第一数据)后,可以在与之相关联的、进行了完整性保护的数据校验失败的情况下,丢弃第一数据,其中,与之相关联的、进行了完整性保护的数据校验失败可以是第二数据完整性校验失败,第二数据和第一数据与同一个MAC PDU相关联,且与同一PDCP实体相关联;或者,也可以是第三数据完整性校验失败,第三数据和第一数据与同一MAC PDU相关联,且与不同的PDCP实体相关联;或者,也可以是第四数据完整性校验失败,第四数据和第一数据与不同的MAC PDU相关联,且与同一个PDCP实体相关联;或者,也可以是第五数据完整性校验失败,第五数据和第一数据与不同的MAC PDU相关联,且与不同的PDCP实体相关联,但第五数据和第三数据与同一PDCP实体相关联;或者,也可以是第六数据完整性校验失败,第六数据和第一数据与不同的MAC PDU相关联,且与不同的PDCP实体相关联,另外,第六数据和第三数据与不同的PDCP实体相关联。基于进行了完整性保护的数据的校验结果,进而确定是否丢弃未进行完整性保护的数据,为第一通信设备提供了一种未进行完整性保护的数据的处理方法。另外,有利于提高数据接收的准确性或向上层递交的数据的准确性,也有利于提高通信质量/效率。例如,丢弃未进行完整性保护的数据的情况较多,换言之,将未进行完整性保护的数据向上层递交的条件较严格,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。Based on the above technical solution, after the first communication device obtains the data that is not integrity protected (i.e., the first data), it can discard the second data if the integrity-protected data associated with it fails to be verified. One data, wherein the integrity-protected data verification failure associated with it may be a second data integrity verification failure, and the second data and the first data are associated with the same MAC PDU and are associated with the same PDCP entities are associated; or, the third data integrity check may fail, and the third data and the first data are associated with the same MAC PDU and are associated with different PDCP entities; or, it may be the fourth data. The integrity check fails, and the fourth data and the first data are associated with different MAC PDUs and are associated with the same PDCP entity; alternatively, the integrity check of the fifth data fails, and the fifth data and the first data The data is associated with different MAC PDUs and different PDCP entities, but the fifth data and the third data are associated with the same PDCP entity; alternatively, the sixth data integrity check may fail and the sixth data The first data is associated with different MAC PDUs and different PDCP entities. In addition, the sixth data and the third data are associated with different PDCP entities. Based on the verification results of the integrity-protected data, it is then determined whether to discard the data that is not integrity-protected, thereby providing the first communication device with a method for processing the data that is not integrity-protected. In addition, it is helpful to improve the accuracy of data reception or the accuracy of data submitted to the upper layer, and is also beneficial to improving communication quality/efficiency. For example, there are many cases where data without integrity protection is discarded. In other words, the conditions for submitting data without integrity protection to the upper layer are stricter, which is beneficial to improving the accuracy of data reception or the accuracy of data submitted to the upper layer. sex.
结合第一方面,在第一方面的某些可能的实现方式中,第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与不同的MAC PDU相关联。In conjunction with the first aspect, in some possible implementations of the first aspect, at least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data is different from MAC PDU associated.
第一通信设备在进行完整性校验之前,考虑了MAC PDU中的至少一个数据是经过分段之后的数据的情况。换言之,第二通信设备将某一数据分段之后,经过不同的MAC PDU发送。这种存在分段的情况下,第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据是与不同的MAC PDU相关联的。例如,第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与第一MAC PDU和第二MAC PDU相关联。Before performing the integrity check, the first communication device considers the situation that at least one data in the MAC PDU is fragmented data. In other words, the second communication device segments certain data and sends it through different MAC PDUs. In this case where segmentation exists, at least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data is associated with different MAC PDUs. For example, at least one of first data, second data, third data, fourth data, fifth data, or sixth data is associated with the first MAC PDU and the second MAC PDU.
结合第一方面,在第一方面的某些可能的实现方式中,上述方法还包括:丢弃第二数据、第三数据、第四数据、第五数据、或者第六数据中的一项或多项。In conjunction with the first aspect, in some possible implementations of the first aspect, the above method further includes: discarding one or more of the second data, the third data, the fourth data, the fifth data, or the sixth data. item.
一种可能的实现方式是,与同一MAC PDU相关联的数据中的某一数据完整性校验失败,即可丢弃该MAC PDU中的所有数据,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。示例性地,第一通信设备在第二数据完整性校验失败和/或第三数据完整性校验失败的情况下,还可以丢弃第二数据和第三数据;在第四数据完整性校验失败的情况下,还可以丢弃第四数据、第五数据以及第六数据;同样地,在第五数据和/或第六数据完整性校验失败的情况下,还可以丢弃第四数据、第五数据以及第六数据。One possible implementation is that if a certain data integrity check in the data associated with the same MAC PDU fails, all data in the MAC PDU can be discarded, which will help improve the accuracy of data reception or send data to the upper layer. Accuracy of data submitted. For example, when the second data integrity check fails and/or the third data integrity check fails, the first communication device may also discard the second data and the third data; when the fourth data integrity check fails, When the integrity check of the fifth data and/or the sixth data fails, the fourth data, the fifth data and the sixth data can also be discarded; similarly, when the integrity check of the fifth data and/or the sixth data fails, the fourth data, the fifth data and the sixth data can also be discarded. The fifth data and the sixth data.
另一种可能的实现方式是,当与同一MAC PDU相关联的数据中的某一数据完整性校验失败时,可以丢弃该MAC PDU中完整性校验失败的数据和未进行完整性保护的数据,有利于降低未进行完整性保护的数据被篡改的可能性,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。 Another possible implementation is that when a certain data integrity check in the data associated with the same MAC PDU fails, the data in the MAC PDU that fails the integrity check and the data that is not integrity protected can be discarded. Data will help reduce the possibility of data tampering without integrity protection, thereby helping to improve the accuracy of data reception or the accuracy of data submitted to the upper level.
结合第一方面,在第一方面的某些可能的实现方式中,上述方法还包括:在满足第二条件的情况下,不丢弃第一数据;其中,第二条件包括以下一项或多项:第二数据完整性校验成功;第三数据完整性校验成功;第四数据完整性校验成功;第五数据完整性校验成功;或者,第六数据完整性校验成功。In conjunction with the first aspect, in some possible implementations of the first aspect, the above method further includes: not discarding the first data when the second condition is met; wherein the second condition includes one or more of the following : The second data integrity check is successful; the third data integrity check is successful; the fourth data integrity check is successful; the fifth data integrity check is successful; or the sixth data integrity check is successful.
结合第一方面,在第一方面的某些可能的实现方式中,上述方法还包括:根据第一指示信息,确定第一数据、第二数据、或者第三数据中的至少一个数据与第一MAC PDU相关联;和/或,基于第二指示信息,确定第四数据、第五数据、或者第六数据中的至少一个数据与第二MAC PDU相关联。In conjunction with the first aspect, in some possible implementations of the first aspect, the above method further includes: determining, according to the first indication information, that at least one of the first data, the second data, or the third data is consistent with the first data. The MAC PDU is associated; and/or, based on the second indication information, it is determined that at least one of the fourth data, the fifth data, or the sixth data is associated with the second MAC PDU.
可以理解,当第一通信设备获取到多个MAC PDU时,需要确定出哪些数据与同一MAC PDU相关联,以便于基于与同一MAC PDU相关联的数据中的进行了完整性保护的数据的校验结果,确定是否丢弃未进行完整性保护的数据,有利于提高数据接收的准确性或向上层递交的数据的准确性。一种可能的实现方式是,第一通信设备根据第一指示信息,确定第一数据、第二数据、第三数据中的至少一个数据与第一MAC PDU相关联;和/或,基于第二指示信息,确定第四数据、第五数据、第六数据中的至少一个数据与第二MAC PDU相关联,其中,第一指示信息和第二指示信息可以分开接收,也可以一起接收。第一指示信息和第二指示信息可以同时接收,也可以不同时接收。It can be understood that when the first communication device obtains multiple MAC PDUs, it needs to determine which data is associated with the same MAC PDU, so as to facilitate integrity-protected data verification based on the data associated with the same MAC PDU. Check the results to determine whether to discard data without integrity protection, which will help improve the accuracy of data reception or the accuracy of data submitted to the upper layer. One possible implementation is that the first communication device determines that at least one of the first data, the second data, and the third data is associated with the first MAC PDU based on the first indication information; and/or, based on the second The indication information determines that at least one of the fourth data, the fifth data, and the sixth data is associated with the second MAC PDU, wherein the first indication information and the second indication information can be received separately or together. The first indication information and the second indication information may be received at the same time or not at the same time.
可选地,第一指示信息来自第一通信设备的MAC层。Optionally, the first indication information comes from the MAC layer of the first communication device.
可选地,第二指示信息来自第一通信设备的MAC层。Optionally, the second indication information comes from the MAC layer of the first communication device.
第一指示信息和/或第二指示信息来自第一通信设备的MAC层。换言之,第一通信设备的MAC层可以向PDCP层发送指示信息,以指示哪些数据来自同一MAC PDU。The first indication information and/or the second indication information comes from the MAC layer of the first communication device. In other words, the MAC layer of the first communication device can send indication information to the PDCP layer to indicate which data comes from the same MAC PDU.
结合第一方面,在第一方面的某些可能的实现方式中,第一指示信息中包括第一数据、第二数据、或第三数据中的至少一个数据对应的编号信息;和/或,第二指示信息中包括第四数据、第五数据、或第六数据中的至少一个数据对应的编号信息。In conjunction with the first aspect, in some possible implementations of the first aspect, the first indication information includes number information corresponding to at least one of the first data, the second data, or the third data; and/or, The second indication information includes number information corresponding to at least one of the fourth data, the fifth data, or the sixth data.
其中,上述编号信息可以是自定义的编号,与同一MAC PDU相关联的数据将会获得相同的编号,例如,与第一MAC PDU相关联的数据将会获得相同的编号,与第二MAC PDU相关联的数据将会获得不同于第一MAC PDU的编号。另外,上述编号信息也可以是第一通信设备中的MAC层直接给PDCP层指示的PDCP序列号,或者是第一通信设备中的MAC层给RLC层指示的RLC序列号,进而RLC层给PDCP层指示的PDCP序列号。通过给出第一指示信息和第二指示信息的指示的方式,有利于第一通信设备根据上述指示信息确定与同一MAC PDU相关联的数据。Among them, the above numbering information can be a customized number, and the data associated with the same MAC PDU will get the same number. For example, the data associated with the first MAC PDU will get the same number, and the data associated with the second MAC PDU will get the same number. The associated data will receive a different number than the first MAC PDU. In addition, the above numbering information may also be a PDCP sequence number that the MAC layer in the first communication device directly indicates to the PDCP layer, or an RLC sequence number that the MAC layer in the first communication device indicates to the RLC layer, and then the RLC layer indicates to the PDCP The PDCP sequence number indicated by the layer. By giving indications of the first indication information and the second indication information, it is beneficial for the first communication device to determine the data associated with the same MAC PDU based on the above indication information.
结合第一方面,在第一方面的某些可能的实现方式中,上述方法还包括:基于第三指示信息,确定第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与不同的MAC PDU相关联。In conjunction with the first aspect, in some possible implementations of the first aspect, the above method further includes: based on the third indication information, determining the first data, the second data, the third data, the fourth data, the fifth data, Or at least one data in the sixth data is associated with a different MAC PDU.
当第一通信设备获取的多个MAC PDU中的数据存在分段的情况下,可以根据来自RLC层的第三指示信息确定第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与不同的MAC PDU相关联,例如,第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与第一MAC PDU和第二MAC PDU相关联,进而有利于进一步确定上述第一数据至第六数据中至少一个数据的完整性校验结果。 When the data in the multiple MAC PDUs obtained by the first communication device is fragmented, the first data, the second data, the third data, the fourth data, the fifth data may be determined according to the third indication information from the RLC layer. The data, or at least one of the sixth data, is associated with different MAC PDUs, for example, at least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data. Being associated with the first MAC PDU and the second MAC PDU is beneficial to further determining the integrity check result of at least one of the above-mentioned first data to sixth data.
可选地,第三指示信息来自第一通信设备的无线链路控制(radio link control,RLC)层。Optionally, the third indication information comes from a radio link control (radio link control, RLC) layer of the first communication device.
结合第一方面,在第一方面的某些可能的实现方式中,上述方法还包括以下一项或多项:基于第四指示信息,确定第三数据完整性校验失败或成功;基于第五指示信息,确定第五数据完整性校验失败或成功;或者,基于第六指示信息,确定第六数据完整性校验失败或成功。In conjunction with the first aspect, in some possible implementations of the first aspect, the above method further includes one or more of the following: determining whether the third data integrity check fails or succeeds based on the fourth indication information; based on the fifth The indication information determines that the fifth data integrity check fails or succeeds; or based on the sixth indication information, it determines that the sixth data integrity check fails or succeeds.
可选地,第四指示信息来自第二PDCP实体。Optionally, the fourth indication information comes from the second PDCP entity.
可选地,第五指示信息来自第二PDCP实体。Optionally, the fifth indication information comes from the second PDCP entity.
可选地,第六指示信息来自第三PDCP实体。Optionally, the sixth indication information comes from the third PDCP entity.
第一通信设备获取的MAC PDU中的数据与不同的PDCP实体相关联时,可以基于来自上述不同的PDCP实体的指示信息,以得到不同的PDCP实体关联的数据的完整性校验结果,进而有利于对未进行完整性保护的数据进行处理。例如,基于来自第二PDCP实体的第四指示信息,确定第三数据完整性校验失败。When the data in the MAC PDU obtained by the first communication device is associated with different PDCP entities, it can obtain the integrity check results of the data associated with different PDCP entities based on the instruction information from the different PDCP entities, and then have Facilitates processing of data that is not integrity protected. For example, based on the fourth indication information from the second PDCP entity, it is determined that the third data integrity check fails.
第二方面,本申请提供了一种通信方法,该方法可以由第一通信设备执行,或者,也可以由配置在第一通信设备中的部件(如芯片、芯片系统等)执行,或者,还可以由能够实现全部或部分第一通信设备功能的逻辑模块或软件实现,本申请对此不作限定。In a second aspect, the present application provides a communication method, which can be executed by a first communication device, or can also be executed by a component (such as a chip, chip system, etc.) configured in the first communication device, or also It can be implemented by a logic module or software that can realize all or part of the functions of the first communication device, and this application does not limit this.
示例性地,该方法包括:生成第七指示信息,该第七指示信息用于指示调整完整性保护的数据的比例;向第二通信设备发送第七指示信息。Exemplarily, the method includes: generating seventh indication information, the seventh indication information being used to indicate adjusting the proportion of integrity protected data; and sending the seventh indication information to the second communication device.
基于上述技术方案,第一通信设备可以生成并向第二通信设备发送第七指示信息,以指示第二通信设备调整完整性保护的数据的比例,其中,调整可以是将完整性保护的数据的比例调高或调低,也可以是开启或关闭部分完保功能。第一通信设备发送第七指示信息,有利于第二通信设备基于第七指示信息合理地调整完整性保护的数据的比例。Based on the above technical solution, the first communication device may generate and send seventh instruction information to the second communication device to instruct the second communication device to adjust the proportion of the integrity-protected data, where the adjustment may be to increase the proportion of the integrity-protected data. The ratio can be adjusted up or down, or part of the full protection function can be turned on or off. The first communication device sends the seventh indication information, which is helpful for the second communication device to reasonably adjust the proportion of integrity protected data based on the seventh indication information.
第三方面,本申请提供了一种通信方法,该方法可以由第二通信设备执行,或者,也可以由配置在第二通信设备中的部件(如芯片、芯片系统等)执行,或者,还可以由能够实现全部或部分第二通信设备功能的逻辑模块或软件实现,本申请对此不作限定。In a third aspect, the present application provides a communication method, which can be executed by a second communication device, or can also be executed by a component (such as a chip, chip system, etc.) configured in the second communication device, or also It can be implemented by a logic module or software that can realize all or part of the functions of the second communication device, and this application does not limit this.
示例性地,该方法包括:接收第七指示信息,该第七指示信息用于指示调整完整性保护的数据的比例;基于上述第七指示信息,调整完整性保护的数据的比例。Exemplarily, the method includes: receiving seventh indication information, the seventh indication information being used to instruct adjusting the proportion of integrity-protected data; and adjusting the proportion of integrity-protected data based on the above-mentioned seventh indication information.
基于上述技术方案,第二通信设备可以接收第七指示信息,以便于基于第七指示信息,调整完整性保护的数据的比例,其中,调整可以是将完整性保护的数据的比例调高或调低,也可以是开启或关闭部分完保功能。第二通信设备根据第七指示信息调整完整性保护的数据的比例,有利于提高第二通信设备中完整性保护的数据的比例的合理性。Based on the above technical solution, the second communication device may receive seventh indication information, so as to adjust the proportion of integrity-protected data based on the seventh indication information, where the adjustment may be to increase or decrease the proportion of integrity-protected data. Low, it can also turn on or off some full protection functions. The second communication device adjusts the proportion of integrity-protected data according to the seventh instruction information, which is beneficial to improving the rationality of the proportion of integrity-protected data in the second communication device.
结合第二方面或第三方面,在某些可能的实现方式中,在满足第三条件的情况下,第七指示信息指示调高完整性保护的数据的比例,其中,第三条件包括以下一项或多项:完整性校验失败的次数大于或等于第一阈值;或,接收到的、不包含完整性保护的数据的MAC PDU的个数大于或等于第二阈值;和/或,在满足第四条件的情况下,第七指示信息指示调低完整性保护的数据的比例,其中,第四条件包括以下一项或多项:完整性校验成功的次数大于或等于第三阈值;接收到的、包含完整性保护的数据的MAC PDU的个数大于或等于第四阈值;或,接收到的MAC PDU的个数大于或等于第五阈值,其中,接收到的MAC PDU包含的数据均为完整性保护的。 In combination with the second aspect or the third aspect, in some possible implementations, when the third condition is met, the seventh instruction information indicates to increase the proportion of integrity protected data, where the third condition includes one of the following: One or more items: the number of integrity check failures is greater than or equal to the first threshold; or, the number of received MAC PDUs that do not contain integrity protected data is greater than or equal to the second threshold; and/or, in If the fourth condition is met, the seventh instruction information indicates to reduce the proportion of integrity protected data, where the fourth condition includes one or more of the following: the number of successful integrity checks is greater than or equal to the third threshold; The number of received MAC PDUs containing integrity protected data is greater than or equal to the fourth threshold; or the number of received MAC PDUs is greater than or equal to the fifth threshold, wherein the received MAC PDUs contain data All are integrity protected.
在上述技术方案中,给出了第七指示信息指示调高完整性保护的数据的比例的可能的条件,和/或,第七指示信息指示调低完整性保护的数据的比例的可能的条件,进而可以在不同的情况下,第一通信设备向第二通信设备发送不同的指示信息,以便于第二通信设备调整完整性保护的数据的比例,有利于提高第二通信设备调整完整性保护的数据的比例的合理性。In the above technical solution, possible conditions for the seventh instruction information to indicate an increase in the proportion of integrity-protected data are given, and/or possible conditions for the seventh instruction information to indicate a decrease in the proportion of integrity-protected data. , furthermore, under different circumstances, the first communication device can send different instruction information to the second communication device, so that the second communication device can adjust the proportion of integrity protected data, which is beneficial to improving the second communication device's adjustment of integrity protection. The rationality of the proportion of the data.
结合第二方面或第三方面,在某些可能的实现方式中,完整性校验失败的次数根据以下任一项确定:完整性校验失败的PDCP PDU的个数;或者,包含完整性校验失败的PDCP PDU的MAC PDU的个数。Combined with the second aspect or the third aspect, in some possible implementations, the number of integrity check failures is determined according to any of the following: the number of PDCP PDUs that fail the integrity check; or, including the number of PDCP PDUs that fail the integrity check. The number of MAC PDUs for PDCP PDUs that failed verification.
完整性校验失败的次数可以根据完整性校验失败的PDCP PDU的个数确定,该完整性校验失败的PDCP PDU的个数是针对第一通信设备粒度的,例如,第一通信设备可以维护一个计数器,完整性校验失败的PDCP PDU的个数增加1,则计数器指示的完整性校验失败的次数增加1。完整性校验失败的次数还可以根据包含完整性校验失败的PDCP PDU的MAC PDU的个数确定,该MAC PDU的个数是针对第一通信设备粒度的,例如,第一通信设备可以维护一个计数器,包含完整性校验失败的PDCP PDU的MAC PDU的个数增加1,则计数器指示的完整性校验失败的次数增加1,其中,对于某一MAC PDU来说,如果该MAC PDU中完整性校验失败的PDCP PDU的个数为2个,计数器增加1。The number of integrity check failures can be determined based on the number of PDCP PDUs that fail the integrity check. The number of PDCP PDUs that fail the integrity check is based on the granularity of the first communication device. For example, the first communication device can Maintain a counter. The number of PDCP PDUs that fail integrity check increases by 1, and the number of integrity check failures indicated by the counter increases by 1. The number of integrity check failures can also be determined based on the number of MAC PDUs containing PDCP PDUs that failed integrity check. The number of MAC PDUs is for the first communication device granularity. For example, the first communication device can maintain A counter. The number of MAC PDUs containing PDCP PDUs that failed integrity check increases by 1. Then the number of integrity check failures indicated by the counter increases by 1. Among them, for a certain MAC PDU, if the MAC PDU contains The number of PDCP PDUs that failed the integrity check is 2, and the counter is increased by 1.
结合第二方面或第三方面,在某些可能的实现方式中,完整性校验失败的PDCP PDU的个数与一个PDCP实体相关联;或者,包含完整性校验失败的PDCP PDU的MAC PDU的个数中的完整性校验失败的PDCP PDU与一个PDCP实体相关联。Combined with the second aspect or the third aspect, in some possible implementations, the number of PDCP PDUs that fail integrity check is associated with a PDCP entity; or, the MAC PDU containing the PDCP PDU that fails integrity check The number of PDCP PDUs that failed the integrity check are associated with a PDCP entity.
完整性校验失败的PDCP PDU的个数与一个PDCP实体相关联表示完整性校验失败的PDCP PDU的个数是针对一个PDCP实体粒度的。例如,每个PDCP实体维护一个计数器,该PDCP实体关联的完整性校验失败的PDCP PDU的个数增加1,则该PDCP实体对应的计数器指示的完整性校验失败的次数增加1。同样地,包含完整性校验失败的PDCP PDU的MAC PDU的个数中的完整性校验失败的PDCP PDU与一个PDCP实体相关联也是针对一个PDCP实体粒度的。例如,每个PDCP实体维护一个计数器,对于某一MAC PDU来说,如果该MAC PDU中完整性校验失败的PDCP PDU的个数为2个,且这两个PDCP PDU与不同的PDCP实体相关联,则每个PDCP实体对应的计数器增加1。The number of PDCP PDUs that failed the integrity check is associated with a PDCP entity. It means that the number of PDCP PDUs that failed the integrity check is based on one PDCP entity granularity. For example, each PDCP entity maintains a counter. If the number of PDCP PDUs associated with the PDCP entity that fail the integrity check increases by 1, then the number of integrity check failures indicated by the counter corresponding to the PDCP entity increases by 1. Similarly, the PDCP PDU that fails the integrity check and is associated with a PDCP entity in the number of MAC PDUs that contain the PDCP PDU that fails the integrity check is also based on the granularity of a PDCP entity. For example, each PDCP entity maintains a counter. For a certain MAC PDU, if the number of PDCP PDUs that fail integrity check in the MAC PDU is 2, and these two PDCP PDUs are related to different PDCP entities connection, the counter corresponding to each PDCP entity increases by 1.
结合第二方面或第三方面,在某些可能的实现方式中,完整性校验成功的次数根据以下任一项确定:完整性校验成功的PDCP PDU的个数;或者,包含完整性校验成功的PDCP PDU的MAC PDU的个数。Combined with the second aspect or the third aspect, in some possible implementations, the number of successful integrity checks is determined according to any of the following: the number of PDCP PDUs with successful integrity checks; or, including the number of PDCP PDUs with successful integrity checks; The number of MAC PDUs of successfully verified PDCP PDUs.
结合第二方面或第三方面,在某些可能的实现方式中,完整性校验成功的PDCP PDU的个数与一个PDCP实体相关联;或者,包含完整性校验成功的PDCP PDU的MAC PDU的个数中的完整性校验成功的PDCP PDU与一个PDCP实体相关联。Combined with the second aspect or the third aspect, in some possible implementations, the number of PDCP PDUs with successful integrity verification is associated with a PDCP entity; or, a MAC PDU containing the PDCP PDU with successful integrity verification A number of PDCP PDUs with successful integrity checks are associated with a PDCP entity.
结合第二方面或第三方面,在某些可能的实现方式中,第七指示信息与一个PDCP实体相关联。Combined with the second aspect or the third aspect, in some possible implementations, the seventh indication information is associated with a PDCP entity.
其中,第七指示信息与一个PDCP实体相关联是指第七指示信息是针对某一PDCP实体粒度的,换言之,第七指示信息可以指示调整某一PDCP实体关联的数据中完整性保护的数据的比例,从而有利于第二通信设备合理地调整某一PDCP实体中完整性保护的数据的比例。 Wherein, the seventh indication information is associated with a PDCP entity means that the seventh indication information is for a certain PDCP entity granularity. In other words, the seventh indication information can indicate adjusting the integrity protection data in the data associated with a certain PDCP entity. proportion, thereby helping the second communication device to reasonably adjust the proportion of integrity-protected data in a certain PDCP entity.
第四方面,本申请提供了一种通信方法,该方法可以由第二通信设备执行,或者,也可以由配置在第二通信设备中的部件(如芯片、芯片系统等)执行,或者,还可以由能够实现全部或部分第二通信设备功能的逻辑模块或软件实现,本申请对此不作限定。In the fourth aspect, the present application provides a communication method, which can be executed by a second communication device, or can also be executed by a component (such as a chip, chip system, etc.) configured in the second communication device, or also It can be implemented by a logic module or software that can realize all or part of the functions of the second communication device, and this application does not limit this.
示例性地,该方法包括:获取第一资源;满足第五条件,为第一逻辑信道(logical channel,LCH)分配资源,该第一LCH与部分完保相关联,其中,第五条件包括以下一项或多项:第一资源的剩余资源大于或等于第一数据集合的大小和MAC子头的大小;或者,第一LCH对应的变量大于或等于第一数据集合的大小;其中,第一数据集合包括第七数据,或,第一数据集合包括第七数据和第二数据集合,其中,第七数据是进行了完整性保护的数据,第二数据集合包括至少一个数据,至少一个数据是未进行完整性保护的数据。Exemplarily, the method includes: obtaining a first resource; satisfying a fifth condition, allocating resources to a first logical channel (logical channel, LCH), the first LCH being associated with partial security, where the fifth condition includes the following One or more items: the remaining resources of the first resource are greater than or equal to the size of the first data set and the size of the MAC subheader; or the variable corresponding to the first LCH is greater than or equal to the size of the first data set; wherein, the first The data set includes seventh data, or the first data set includes seventh data and a second data set, wherein the seventh data is integrity protected data, the second data set includes at least one data, and the at least one data is Data that is not integrity protected.
基于上述技术方案,第二通信设备在第一资源的剩余资源大于或等于第一数据集合的大小和MAC子头的大小情况下,和/或第一LCH对应的变量大于或等于第一数据集合的大小的情况下,为与部分完保相关联的第一LCH分配资源,其中,第一LCH与部分完保相关联是指该第一LCH对应的PDCP实体被配置了部分完保,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据,相对于MAC PDU中至少包含一个进行完整性保护的数据,有利于降低数据被篡改的可能性,从而有利于提高数据的安全性。Based on the above technical solution, when the remaining resources of the first resource are greater than or equal to the size of the first data set and the size of the MAC subheader, and/or the variable corresponding to the first LCH is greater than or equal to the first data set, the second communication device If the size of Ensure that the MAC PDU contains at least one integrity-protected data for each PDCP entity. Compared with the MAC PDU containing at least one integrity-protected data, it will help reduce the possibility of data being tampered with, thereby helping to improve the security of the data. safety.
结合第四方面,在第四方面的某些可能的实现方式中,第二数据集合包括第七数据前的所有数据;或者,第二数据集合包括第七数据和第八数据之间的所有数据,其中,第八数据是进行了完整性保护的数据。Combined with the fourth aspect, in some possible implementations of the fourth aspect, the second data set includes all data before the seventh data; or, the second data set includes all data between the seventh data and the eighth data. , among which, the eighth data is integrity-protected data.
第七数据前的所有数据是指在RLC层下发的数据中,位于第七数据前的所有数据。一种可能的情况是,第二数据集合包括第七数据前的所有数据,换言之,第七数据前可能存在一个或多个未进行完整性保护的数据,没有其他的进行了完整性保护的数据了,第七数据之后可能存在进行了完整性保护或未进行完整性保护的数据,也即MAC复用过程中,针对该第一LCH,如果该第一LCH维护的变量Bj大于或等于第一个进行完整性保护的数据(即第七数据)及其之前的数据(即第二数据集合),则将其复用在MAC PDU中,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据。另一种可能的情况是,第二数据集合包括第七数据和第八数据之间的所有数据,换言之,MAC复用过程中,针对该第一LCH,如果Bj大于或等于第一个进行完整性保护的数据(即第七数据)及第一个进行完整性保护的数据和第二个进行完整性保护的数据之间的数据(即第二数据集合),则将其复用在MAC PDU中,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据。All data before the seventh data refers to all data before the seventh data in the data sent by the RLC layer. One possible situation is that the second data set includes all the data before the seventh data. In other words, there may be one or more data that are not integrity protected before the seventh data, and there is no other data that is integrity protected. Yes, there may be integrity-protected or non-integrity-protected data after the seventh data. That is, during the MAC multiplexing process, for the first LCH, if the variable Bj maintained by the first LCH is greater than or equal to the first The integrity-protected data (i.e., the seventh data) and its previous data (i.e., the second data set) are multiplexed in the MAC PDU, thereby ensuring that the MAC PDU contains at least one for each PDCP entity. Integrity protected data. Another possible situation is that the second data set includes all data between the seventh data and the eighth data. In other words, during the MAC multiplexing process, for the first LCH, if Bj is greater than or equal to the first one, complete The data with integrity protection (i.e., the seventh data) and the data between the first data with integrity protection and the second data with integrity protection (i.e., the second data set) are multiplexed in the MAC PDU , thus ensuring that the MAC PDU contains at least one integrity-protected data for each PDCP entity.
结合第四方面,在第四方面的某些可能的实现方式中,第八数据为第七数据之后一个进行了完整性保护的数据。Combined with the fourth aspect, in some possible implementations of the fourth aspect, the eighth data is integrity-protected data after the seventh data.
也就是说,第七数据是第一数据集合中的第一个数据,也即进行了完整性保护的数据是第一数据集合中的第一个数据,从而可以保证MAC复用之后,MAC PDU中针对每个PDCP实体第一个数据是进行完整性保护的数据。In other words, the seventh data is the first data in the first data set, that is, the integrity-protected data is the first data in the first data set, thus ensuring that after MAC multiplexing, the MAC PDU The first data for each PDCP entity is the data for integrity protection.
结合第四方面,在第四方面的某些可能的实现方式中,第二数据集合包括第七数据前的所有数据,包括:第二数据集合包括第九数据和第七数据之间的所有数据。其中,第九数据可以为第七数据之前一个进行了完整性保护的数据。 Combined with the fourth aspect, in some possible implementations of the fourth aspect, the second data set includes all data before the seventh data, including: the second data set includes all data between the ninth data and the seventh data. . The ninth data may be integrity-protected data before the seventh data.
也就是说,第七数据之前还可以包括进行了完整性保护的数据(如第九数据),第一资源的剩余资源需要容纳下如下数据:第七数据、第八数据和第七数据之间的数据,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据。That is to say, the seventh data may also include integrity-protected data (such as the ninth data). The remaining resources of the first resource need to accommodate the following data: between the seventh data, the eighth data and the seventh data. data, thus ensuring that the MAC PDU contains at least one integrity-protected data for each PDCP entity.
结合第四方面,在第四方面的某些可能的实现方式中,上述方法还包括:第一数据集合、第八数据、和第九数据与一个PDCP实体相关联。Combined with the fourth aspect, in some possible implementations of the fourth aspect, the above method further includes: the first data set, the eighth data, and the ninth data are associated with one PDCP entity.
结合第四方面,在第四方面的某些可能的实现方式中,第一LCH对应的变量大于0。Combined with the fourth aspect, in some possible implementations of the fourth aspect, the variable corresponding to the first LCH is greater than 0.
第五方面,本申请提供了一种通信方法,该方法可以由终端设备执行,或者,也可以由配置在终端设备中的部件(如芯片、芯片系统等)执行,或者,还可以由能够实现全部或部分终端设备功能的逻辑模块或软件实现,本申请对此不作限定。In the fifth aspect, this application provides a communication method, which can be executed by a terminal device, or can be executed by a component (such as a chip, chip system, etc.) configured in the terminal device, or can be implemented by Logic modules or software implementations of all or part of the terminal equipment functions are not limited in this application.
示例性地,该方法包括:接收无线链路监测(radio link monitoring,RLM)测量放松配置信息和/或波束失败检测(beam failure detection,BFD)测量放松配置信息,其中,RLM测量放松配置信息可以用于指示RLM测量放松规则,BFD测量放松配置信息可以用于指示BFD测量放松规则;确定RLM测量放松规则和/或BFD测量放松规则。放松RLM测量和/或BFD测量,或者根据指示信息确定放松或不放松放松RLM测量和/或BFD测量。Exemplarily, the method includes: receiving radio link monitoring (radio link monitoring, RLM) measurement relaxation configuration information and/or beam failure detection (beam failure detection, BFD) measurement relaxation configuration information, wherein the RLM measurement relaxation configuration information can Used to indicate RLM measurement relaxation rules, BFD measurement relaxation configuration information can be used to indicate BFD measurement relaxation rules; determine RLM measurement relaxation rules and/or BFD measurement relaxation rules. Relax the RLM measurement and/or BFD measurement, or determine whether to relax or not relax the RLM measurement and/or BFD measurement according to the instruction information.
在本申请中,终端设备根据网络设备的配置确定RLM/BFD测量放松规则,(在满足RLM/BFD测量放松准则后)自行进行测量放松,或者根据网络设备的指示信息确定是否进行测量放松,使得网络设备可以根据终端设备的情况调整终端设备放松RLM测量和/或BFD测量的策略,以尽量降低终端设备在放松测量时发生失败的概率。例如,在终端设备的服务区信号质量不足够好或者终端设备有较高服务质量要求的业务的情况下,网络设备可配置终端设备根据网络设置的指示来确定是否进行测量放松,而不能自行进行测量放松,以便网络设备控制终端设备的测量行为,进而避免终端设备自主测量放松带来不利影响。In this application, the terminal device determines the RLM/BFD measurement relaxation rules according to the configuration of the network device, and (after meeting the RLM/BFD measurement relaxation criteria) performs measurement relaxation on its own, or determines whether to perform measurement relaxation according to the instruction information of the network device, so that The network device can adjust the strategy for the terminal device to relax RLM measurement and/or BFD measurement according to the conditions of the terminal device to minimize the probability of failure of the terminal device when relaxing the measurement. For example, when the signal quality in the service area of the terminal device is not good enough or the terminal device has services with higher service quality requirements, the network device can configure the terminal device to determine whether to perform measurement relaxation according to the instructions of the network settings, rather than doing it on its own. Measurement relaxation allows the network device to control the measurement behavior of the terminal device, thereby avoiding the adverse effects of the terminal device's autonomous measurement relaxation.
一种可能的设计中,确定RLM测量放松规则和/或BFD测量放松规则可以是终端设备确定(满足RLM/BFD测量放松准则后)可以自行决定是否进行测量放松,或者终端设备确定(满足RLM/BFD测量放松准则后)需要根据网络设备的指示信息确定是否可以进行测量放松。In a possible design, determining the RLM measurement relaxation rules and/or BFD measurement relaxation rules may be that the terminal equipment determines (after meeting the RLM/BFD measurement relaxation criteria) that it can decide whether to perform measurement relaxation on its own, or the terminal equipment determines (after meeting the RLM/BFD measurement relaxation criteria) After BFD measurement relaxation criteria), it is necessary to determine whether measurement relaxation can be performed based on the instruction information of the network device.
一种可能的设计中,放松RLM测量和/或BFD测量,包括:增大RLM测量和/或BFD测量的测量周期,增大RLM测量和/或BFD测量的指示和/或上报周期,或者减少RLM测量和/或BFD测量的参考信号个数等。In one possible design, relaxing RLM measurement and/or BFD measurement includes: increasing the measurement period of RLM measurement and/or BFD measurement, increasing the indication and/or reporting period of RLM measurement and/or BFD measurement, or reducing The number of reference signals for RLM measurement and/or BFD measurement, etc.
第六方面,本申请提供了一种通信装置,可以实现第一方面和第一方面任一种可能的实现方式中的通信方法,或者,可以实现第二方面和第二方面任一种可能的实现方式中的通信方法。该装置包括用于执行上述方法的相应的单元。该装置包括的单元可以通过软件和/或硬件方式实现。In a sixth aspect, the present application provides a communication device that can implement the first aspect and the communication method in any possible implementation of the first aspect, or can implement the second aspect and any possible implementation of the second aspect. Communication methods in the implementation. The device includes corresponding units for performing the above method. The units included in the device can be implemented by software and/or hardware.
第七方面,本申请提供了一种通信装置,可以实现第三方面和第三方面任一种可能的实现方式中的通信方法,或者,可以实现第四方面和第四方面任一种可能的实现方式中的通信方法。该装置包括用于执行上述方法的相应的单元。该装置包括的单元可以通过软件和/或硬件方式实现。In a seventh aspect, the present application provides a communication device that can implement the third aspect and the communication method in any possible implementation of the third aspect, or can implement any of the fourth aspect and any possible implementation of the fourth aspect. Communication methods in the implementation. The device includes corresponding units for performing the above method. The units included in the device can be implemented by software and/or hardware.
第八方面,本申请提供了一种通信装置,该装置包括处理器。该处理器与存储器耦合,可用于执行存储器中的计算机程序,以实现第一方面和第一方面任一种可能的实现方式中的通信方法,或实现第二方面和第二方面任一种可能的实现方式中的通信方法。 In an eighth aspect, the present application provides a communication device, which includes a processor. The processor is coupled to a memory and can be used to execute a computer program in the memory to implement the first aspect and the communication method in any possible implementation of the first aspect, or to implement the second aspect and any possible implementation of the second aspect. Communication methods in the implementation.
第九方面,本申请提供了一种通信装置,该装置包括处理器。该处理器与存储器耦合,可用于执行存储器中的计算机程序,以实现第三方面和第三方面任一种可能的实现方式中的通信方法,或实现第四方面和第四方面任一种可能的实现方式中的通信方法。In a ninth aspect, the present application provides a communication device, which includes a processor. The processor is coupled to a memory and can be used to execute a computer program in the memory to implement the communication method in the third aspect and any possible implementation of the third aspect, or to implement any one of the fourth aspect and the fourth possible implementation. Communication methods in the implementation.
第十方面,本申请提供了一种通信装置,可以实现第五方面所述的通信方法。该装置包括用于执行上述方法的相应的单元。该装置包括的单元可以通过软件和/或硬件方式实现。In a tenth aspect, the present application provides a communication device that can implement the communication method described in the fifth aspect. The device includes corresponding units for performing the above method. The units included in the device can be implemented by software and/or hardware.
第十一方面,本申请提供了一种通信装置,该装置包括处理器。该处理器与存储器耦合,可用于执行存储器中的计算机程序,以实现第五方面所述的通信方法。In an eleventh aspect, the present application provides a communication device, which includes a processor. The processor is coupled to the memory and can be used to execute the computer program in the memory to implement the communication method described in the fifth aspect.
第十二方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序或指令,当该计算机程序或指令被执行时,以实现第一方面和第一方面任一种可能的实现方式中的通信方法,或实现第二方面和第二方面任一种可能的实现方式中的通信方法,或实现第三方面和第三方面任一种可能的实现方式中的通信方法,或实现第四方面和第四方面任一种可能的实现方式中的通信方法,或实现第五方面所述的通信方法。In a twelfth aspect, the present application provides a computer-readable storage medium in which a computer program or instructions are stored. When the computer program or instructions are executed, the first aspect and the first aspect are implemented. The communication method in any possible implementation manner, or the communication method in any possible implementation manner of implementing the second aspect and the second aspect, or the communication method in any possible implementation manner of implementing the third aspect and the third aspect The communication method, or implement the communication method in the fourth aspect and any possible implementation manner of the fourth aspect, or implement the communication method described in the fifth aspect.
第十三方面,本申请提供了一种计算机程序产品,该计算机程序产品包括指令,当该指令被运行时,以实现第一方面和第一方面任一种可能的实现方式中的通信方法,或实现第二方面和第二方面任一种可能的实现方式中的通信方法,或实现第三方面和第三方面任一种可能的实现方式中的通信方法,或实现第四方面和第四方面任一种可能的实现方式中的通信方法,或实现第五方面所述的通信方法。In a thirteenth aspect, the present application provides a computer program product that includes instructions that, when executed, implement the communication method in the first aspect and any possible implementation of the first aspect, Or implement the second aspect and the communication method in any possible implementation of the second aspect, or implement the third aspect and the communication method in any possible implementation of the third aspect, or implement the fourth aspect and the fourth aspect The communication method in any possible implementation of the aspect, or the communication method described in the fifth aspect.
第十四方面,本申请提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现第一方面和第一方面任一种可能的实现方式中的通信方法,或实现第二方面和第二方面任一种可能的实现方式中的通信方法,或实现第三方面和第三方面任一种可能的实现方式中的通信方法,或实现第四方面和第四方面任一种可能的实现方式中的通信方法,或实现第五方面所述的通信方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a fourteenth aspect, the present application provides a chip system, which includes a processor and may also include a memory, for implementing the communication method in the first aspect and any possible implementation of the first aspect, or implementing The communication method in the second aspect and any possible implementation of the second aspect, or the communication method in any possible implementation of the third aspect and the third aspect, or the communication method in any of the fourth aspect and the fourth aspect. A communication method in a possible implementation, or the communication method described in the fifth aspect. The chip system can be composed of chips or include chips and other discrete devices.
第十五方面,本申请实施例提供了一种通信系统,该系统包括第六方面、或第八方面所述的通信装置,和,第七方面、或第九方面所述的通信装置。In a fifteenth aspect, embodiments of the present application provide a communication system, which includes the communication device described in the sixth or eighth aspect, and the communication device described in the seventh or ninth aspect.
附图说明Description of the drawings
图1是本申请实施例提供的协议栈的结构示意图;Figure 1 is a schematic structural diagram of a protocol stack provided by an embodiment of the present application;
图2是本申请实施例提供的数据PDU的结构示意图;Figure 2 is a schematic structural diagram of a data PDU provided by an embodiment of the present application;
图3是本申请实施例提供的各个协议层的PDU和服务数据单元(service data unit,SDU)的关系示意图;Figure 3 is a schematic diagram of the relationship between PDU and service data unit (service data unit, SDU) of each protocol layer provided by the embodiment of this application;
图4是本申请实施例提供的PDCP PDU和PDCP SDU的关系的示意图;Figure 4 is a schematic diagram of the relationship between PDCP PDU and PDCP SDU provided by the embodiment of the present application;
图5是本申请实施例提供的部分完保的示意图;Figure 5 is a schematic diagram of partially complete protection provided by the embodiment of the present application;
图6是适用于本申请实施例提供的方法的系统架构示意图;Figure 6 is a schematic diagram of the system architecture suitable for the method provided by the embodiment of the present application;
图7是本申请实施例提供的通信方法的示意性流程图;Figure 7 is a schematic flow chart of the communication method provided by the embodiment of the present application;
图8至图12是本申请实施例提供的几种MAC PDU的示意图;Figures 8 to 12 are schematic diagrams of several MAC PDUs provided by embodiments of this application;
图13是本申请实施例提供的另一通信方法的示意性流程图;Figure 13 is a schematic flow chart of another communication method provided by an embodiment of the present application;
图14是本申请实施例提供的又一通信方法的示意性流程图;Figure 14 is a schematic flow chart of yet another communication method provided by an embodiment of the present application;
图15是本申请实施例提供的再一通信方法的示意性流程图; Figure 15 is a schematic flow chart of yet another communication method provided by an embodiment of the present application;
图16至图19是本申请实施例提供的可能的通信装置的结构示意图。Figures 16 to 19 are schematic structural diagrams of possible communication devices provided by embodiments of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the accompanying drawings.
为便于理解本申请实施例,首先做出如下说明:In order to facilitate understanding of the embodiments of this application, the following description is first made:
第一,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一指示信息和第二指示信息仅仅是为了区分不同的指示信息,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。First, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. . For example, the first indication information and the second indication information are only used to distinguish different indication information, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not limit the number and execution order.
第二,本申请实施例中,“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系,但并不排除表示前后关联对象是一种“和”的关系的情况,具体表示的含义可以结合上下文进行理解。“以下一项(个)或多项(个)”或其类似表达,是指的这些项(个)中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的一项或多项(个),可以表示:a,b,c;a和b;a和c;b和c;或a和b和c。其中a,b,c可以是单个,也可以是多个。Second, in the embodiment of this application, "and/or" describes the association of associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, and A and B exist simultaneously. When B exists alone, A and B can be singular or plural. The character "/" generally indicates that the related objects are in an "or" relationship, but it does not exclude the situation that the related objects are in an "and" relationship. The specific meaning can be understood based on the context. "The following one or more items" or similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, one or more of a, b, or c can mean: a, b, c; a and b; a and c; b and c; or a and b and c. Among them, a, b, c can be single or multiple.
本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。In this application, the words "exemplary" or "such as" are used to mean examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
本申请提供的技术方案可以应用于各种通信系统,例如:全球移动通讯(global system for mobile communications,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、无线局域网(wireless local area network,WLAN)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、侧链(sidelink)通信系统,通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5th generation,5G)移动通信系统或新无线接入技术(new radio access technology,NR)。其中,5G移动通信系统可以包括非独立组网(non-standalone,NSA)和/或独立组网(standalone,SA)。The technical solution provided by this application can be applied to various communication systems, such as: global system for mobile communications (GSM) system, code division multiple access (code division multiple access, CDMA) system, broadband code division multiple access (CDMA) system wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), wireless local area network (WLAN), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (TDD), sidelink communication system, universal mobile telecommunication system (UMTS), global interconnection microwave access (worldwide interoperability for microwave access, WiMAX) communication system, fifth generation (5th generation, 5G) mobile communication system or new radio access technology (new radio access technology, NR). Among them, the 5G mobile communication system may include non-standalone networking (non-standalone, NSA) and/or independent networking (standalone, SA).
本申请提供的技术方案还可以应用于未来的通信系统,如第六代(6th Generation,6G)移动通信系统等。本申请对此不作限定。The technical solution provided by this application can also be applied to future communication systems, such as the sixth generation (6th Generation, 6G) mobile communication system, etc. This application does not limit this.
在本申请实施例中,第一通信设备和/或第二通信设备可以是网络设备或终端设备。In this embodiment of the present application, the first communication device and/or the second communication device may be a network device or a terminal device.
其中,网络设备可以是任意一种具有无线收发功能的设备。网络设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver  station,BTS)、家庭基站(例如,home evolved Node B,或home Node B,HNB)、基带单元(baseband unit,BBU)、无线保真(wireless fidelity,Wi-Fi)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G(如NR)系统中的gNB或传输点(TRP或TP),或者,5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU)等。The network device can be any device with wireless transceiver functions. Network equipment includes but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (Node B, NB), base station controller (BSC) , base transceiver station station (BTS), home base station (e.g., home evolved Node B, or home Node B, HNB), baseband unit (BBU), access point in a wireless fidelity (Wi-Fi) system ( access point (AP), wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc. It can also be a gNB in a 5G (such as NR) system. or transmission point (TRP or TP), or one or a group (including multiple antenna panels) of antenna panels of a base station in a 5G system, or it can also be a network node that constitutes a gNB or transmission point, such as a baseband unit (BBU) ), or distributed unit (DU), etc.
在一些部署中,gNB可以包括集中单元(centralized unit,CU)和DU。示例性地,CU实现gNB的部分功能,DU实现gNB的部分功能,比如,CU负责处理非实时协议和服务,实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能;DU可以包括无线链路控制(radio link control,RLC)层的功能、媒体接入控制(media access control,MAC)层的功能,和,物理(physical,PHY)层的部分功能。In some deployments, gNB may include centralized units (CUs) and DUs. For example, CU implements some functions of gNB, and DU implements some functions of gNB. For example, CU is responsible for processing non-real-time protocols and services, implementing radio resource control (RRC), and packet data convergence layer protocol (packet data convergence). protocol, PDCP) layer functions; DU can include the functions of the radio link control (RLC) layer, the functions of the media access control (media access control, MAC) layer, and the physical (physical, PHY) layer some functions.
示例性地,DU可以包括PHY层中高层的功能。其中,PHY层中高层的功能可以包括循环冗余校验(cyclic redundancy check,CRC)功能、信道编码、速率匹配、加扰、调制、和层映射;或者,PHY层中高层的功能可以包括循环冗余校验、信道编码、速率匹配、加扰、调制、层映射和预编码。PHY层中低层的功能可以通过另一个与DU独立的网络实体实现,其中,PHY层中低层的功能可以包括预编码、资源映射、物理天线映射和射频功能;或者,PHY层中低层的功能可以包括资源映射、物理天线映射和射频功能。本申请实施例对PHY层中高层和底层的功能划分不作限制。当PHY层中低层的功能可以以另一个与DU独立的网络实体实现时,DU向其它通信装置(例如终端设备、核心网设备)发送数据或信息,可以理解为:DU执行RLC层、MAC层的功能,和,PHY层的部分功能。例如,DU在完成RLC层、MAC层的功能,以及,循环冗余校验、信道编码、速率匹配、加扰、调制、层映射后,由执行PHY层中低层的功能的与DU独立的网络实体执行剩余的在物理资源上映射和发送的功能。For example, the DU may include functions of higher layers in the PHY layer. Among them, the functions of the higher layers in the PHY layer may include cyclic redundancy check (CRC) functions, channel coding, rate matching, scrambling, modulation, and layer mapping; or, the functions of the upper layers of the PHY layer may include cyclic Redundancy check, channel coding, rate matching, scrambling, modulation, layer mapping and precoding. The functions of the middle and lower layers of the PHY layer can be implemented through another network entity independent of the DU. Among them, the functions of the middle and lower layers of the PHY layer can include precoding, resource mapping, physical antenna mapping and radio frequency functions; alternatively, the functions of the middle and lower layers of the PHY layer can Includes resource mapping, physical antenna mapping and radio frequency capabilities. The embodiments of the present application do not limit the functional division of the upper layer and the lower layer in the PHY layer. When the functions of the lower layers in the PHY layer can be implemented by another network entity independent of DU, DU sends data or information to other communication devices (such as terminal equipment, core network equipment), which can be understood as: DU executes the RLC layer and MAC layer functions, and, part of the functions of the PHY layer. For example, after DU completes the functions of the RLC layer and MAC layer, as well as cyclic redundancy check, channel coding, rate matching, scrambling, modulation, and layer mapping, a network independent of the DU performs the functions of the middle and lower layers of the PHY layer. The entity performs the remaining functions of mapping and sending on physical resources.
网络设备为小区提供服务,终端设备通过网络设备分配的传输资源(例如,频域资源,或者说,频谱资源)与小区进行通信,该小区可以属于宏基站(例如,宏eNB或宏gNB等),也可以属于小小区(small cell)对应的基站,这里的小小区可以包括:城市小区(metro cell)、微小区(micro cell)、微微小区(pico cell)、毫微微小区(femto cell)等,这些小小区具有覆盖范围小、发射功率低的特点,适用于提供高速率的数据传输服务。The network equipment provides services for the cell, and the terminal equipment communicates with the cell through the transmission resources (for example, frequency domain resources, or spectrum resources) allocated by the network equipment. The cell may belong to a macro base station (for example, macro eNB or macro gNB, etc.) , or it can belong to the base station corresponding to a small cell. The small cell here can include: metro cell, micro cell, pico cell, femto cell, etc. , these small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-rate data transmission services.
在本申请实施例中,终端设备也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。In the embodiment of this application, the terminal equipment may also be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, Terminal, wireless communication equipment, user agent or user device.
终端设备可以是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端设备的举例可以为:手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑(如笔记本电脑、掌上电脑等)、移动互联网设备(mobile internet device,MID)、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、无人机、远程医疗(remote medical)中的无线终端、智能电网(smart grid) 中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等。The terminal device may be a device that provides voice/data connectivity to the user, such as a handheld device, a vehicle-mounted device, etc. with wireless connectivity capabilities. At present, some examples of terminal devices can be: mobile phones, tablets, computers with wireless transceiver functions (such as laptops, handheld computers, etc.), mobile internet devices (MID), virtual Reality (VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), wireless terminals in self-driving (self driving), drones, remote medicine (remote) Wireless terminals and smart grid in medical Wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocols protocol (SIP) telephone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, Vehicle-mounted equipment, wearable devices, terminal equipment in 5G networks or terminal equipment in the future evolved public land mobile communication network (public land mobile network, PLMN), etc.
其中,可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。Among them, wearable devices can also be called wearable smart devices. It is a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes, etc. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined wearable smart devices include full-featured, large-sized devices that can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, and those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones. Use, such as various types of smart bracelets, smart jewelry, etc. for physical sign monitoring.
此外,终端设备还可以是物联网(internet of things,IoT)系统中的终端设备。IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。IoT技术可以通过例如窄带(narrow band,NB)技术,做到海量连接,深度覆盖,终端省电。In addition, the terminal device can also be a terminal device in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-computer interconnection and object interconnection. IoT technology can achieve massive connections, deep coverage, and terminal power saving through narrowband (NB) technology, for example.
此外,终端设备还可以包括智能打印机、火车探测器、加油站等传感器,主要功能包括收集数据(部分终端设备)、接收网络设备的控制信息与下行数据,并发送电磁波,向网络设备传输上行数据。In addition, terminal equipment can also include sensors such as smart printers, train detectors, and gas stations. Its main functions include collecting data (some terminal equipment), receiving control information and downlink data from network equipment, and sending electromagnetic waves to transmit uplink data to network equipment. .
应理解,本申请对于网络设备和终端设备的具体形式均不作限定。It should be understood that this application does not limit the specific forms of network equipment and terminal equipment.
为了更好地理解本申请实施例提供的通信方法,首先对本申请中涉及到的术语作简单说明。In order to better understand the communication method provided by the embodiments of this application, first a brief explanation of the terms involved in this application will be given.
1、NR协议架构:根据用途可以分为用户平面协议栈和控制平面协议栈。下面将结合图1详细描述上述两种协议栈。图1中的a)示出了用户平面协议栈,图1中的b)示出了控制平面协议栈。如图1中的a)所示,用户平面协议栈主要包括PHY层、MAC层、RLC层、PDCP层以及服务数据适配协议(service data adaptation protocol,SDAP)层五个层次。其中,PHY层可以负责处理编译码、调制解调、多天线映射以及其它物理层功能中的一项或多项。MAC层负责可以处理混合自动重传请求(hybrid automatic repeat request,HARQ)重传、上下行调度中的一项或多项。RLC层可以负责分段、重组以及重传处理。PDCP层可以负责执行头压缩、安全(加密功能、完整性保护功能)、重传以及对高层数据的顺序传送等中的一项或多项。1. NR protocol architecture: It can be divided into user plane protocol stack and control plane protocol stack according to the purpose. The above two protocol stacks will be described in detail below in conjunction with Figure 1. a) in Figure 1 shows the user plane protocol stack, and b) in Figure 1 shows the control plane protocol stack. As shown in a) in Figure 1, the user plane protocol stack mainly includes five layers: PHY layer, MAC layer, RLC layer, PDCP layer and service data adaptation protocol (service data adaptation protocol, SDAP) layer. Among them, the PHY layer can be responsible for processing one or more of encoding and decoding, modulation and demodulation, multi-antenna mapping and other physical layer functions. The MAC layer is responsible for processing one or more of hybrid automatic repeat request (HARQ) retransmission and uplink and downlink scheduling. The RLC layer can be responsible for segmentation, reassembly and retransmission processing. The PDCP layer can be responsible for performing one or more of header compression, security (encryption function, integrity protection function), retransmission, and sequential transmission of high-level data.
如图1中的b)所示,控制平面协议栈主要包括非接入层(non-access stratum,NAS)、RRC、PDCP、RLC、MAC、PHY层。其中,PDCP层提供加密和完整性保护功能,RLC层和MAC层中控制平面执行的功能与用户平面一致。RRC层主要负责广播、寻呼、RRC连接管理、无线承载控制、移动性管理、终端设备测量上报和控制等功能。NAS层处理终端设备和接入及移动性管理功能(access and mobility management function,AMF)实体之间信息的传输,传输的内容可以是用户信息或控制信息,例如,传输的内容包括会话管理, 用户管理,安全管理等。应理解,对于用户平面协议栈来说,NR协议栈与LTE协议栈相比,多了SDAP层,对于控制平面协议栈来说,NR协议栈与LTE协议栈类似。As shown in b) in Figure 1, the control plane protocol stack mainly includes the non-access stratum (NAS), RRC, PDCP, RLC, MAC, and PHY layers. Among them, the PDCP layer provides encryption and integrity protection functions, and the control plane in the RLC layer and MAC layer performs the same functions as the user plane. The RRC layer is mainly responsible for functions such as broadcast, paging, RRC connection management, wireless bearer control, mobility management, terminal equipment measurement reporting and control. The NAS layer handles the transmission of information between the terminal device and the access and mobility management function (AMF) entity. The transmitted content can be user information or control information. For example, the transmitted content includes session management. User management, security management, etc. It should be understood that for the user plane protocol stack, the NR protocol stack has an additional SDAP layer compared to the LTE protocol stack. For the control plane protocol stack, the NR protocol stack is similar to the LTE protocol stack.
2、完整性保护:数据的完整性是信息安全的三个基本要点之一,指在传输或存储的过程中,确保数据不被篡改或在篡改后能够被迅速发现。完整性保护功能包括完整性保护和完整性校验,用于防止数据被篡改,完整性保护功能在PDCP层执行。其中,发送端的PDCP层执行完整性保护,并且会生成完整性消息认证码(message authentication code for integrity,MAC-I)放在PDCP PDU的最后,接收端的PDCP层会根据MAC-I执行完整性校验。完整性保护的数据单元是PDU报头和加密前的PDU的数据部分。完整性保护可以应用于携带控制面数据的信令无线承载(signalling radio bearer,SRB)(SRB carrying control plane data)的PDCP数据PDU。完整性保护还可以应用于配置了完整性保护的携带用户面数据的数据无线承载(data radio bearer,DRB)(DRB carrying user plane data)的PDCP数据PDU。其中,数据PDU用来传送用户面和控制面的数据以及完整性保护产生的MAC-I。2. Integrity protection: Data integrity is one of the three basic points of information security. It refers to ensuring that the data is not tampered with or can be quickly discovered after tampering during the transmission or storage process. The integrity protection function includes integrity protection and integrity verification, which are used to prevent data from being tampered with. The integrity protection function is performed at the PDCP layer. Among them, the PDCP layer at the sending end performs integrity protection and generates an integrity message authentication code (message authentication code for integrity, MAC-I) to be placed at the end of the PDCP PDU. The PDCP layer at the receiving end performs integrity verification based on MAC-I. test. The data unit of integrity protection is the PDU header and the data part of the PDU before encryption. Integrity protection can be applied to PDCP data PDUs of the signaling radio bearer (SRB) carrying control plane data. Integrity protection can also be applied to PDCP data PDUs of data radio bearer (DRB) (DRB carrying user plane data) configured with integrity protection that carry user plane data. Among them, the data PDU is used to transmit user plane and control plane data as well as MAC-I generated by integrity protection.
图2给出了数据PDU的两个示例,图2中的a)示出了SRB对应的PDCP数据PDU的格式,图2中的b)示出了DRB对应的PDCP数据PDU的格式。下面将结合图2详细描述上述两种PDCP数据PDU的格式。Figure 2 shows two examples of data PDUs. a) in Figure 2 shows the format of the PDCP data PDU corresponding to the SRB, and b) in Figure 2 shows the format of the PDCP data PDU corresponding to the DRB. The formats of the above two PDCP data PDUs will be described in detail below with reference to Figure 2.
如图2中的a)所示,SRB对应的PDCP数据PDU包括R字段、PDCP序列号(sequence number,SN)、数据(Data)以及MAC-I。其中,R代表预留比特,例如,可以包括4个预留比特。另外,PDCP SN的长度为12比特。As shown in a) in Figure 2, the PDCP data PDU corresponding to the SRB includes the R field, PDCP sequence number (SN), data (Data) and MAC-I. Among them, R represents reserved bits, which may include 4 reserved bits, for example. In addition, the length of PDCP SN is 12 bits.
如图2中的b)所示,DRB对应的PDCP数据PDU包括D/C字段、R字段、PDCP SN、Data以及MAC-I。其中,D/C字段用于标识PDU的类型,例如,D/C字段为0代表控制PDU,D/C字段为1代表数据PDU。R代表预留比特。另外,PDCP SN的长度可以为12比特。在其他的实施例中,PDCP SN的长度也可以为18比特,本申请实施例对此不作限定。As shown in b) in Figure 2, the PDCP data PDU corresponding to the DRB includes the D/C field, R field, PDCP SN, Data and MAC-I. The D/C field is used to identify the type of PDU. For example, a D/C field of 0 represents a control PDU, and a D/C field of 1 represents a data PDU. R represents reserved bits. In addition, the length of PDCP SN can be 12 bits. In other embodiments, the length of the PDCP SN may also be 18 bits, which is not limited in the embodiments of this application.
需要说明的是,图2中的“MAC-I(继续(continue))”表示MAC-I可以占用多行。“PDCP SN(继续)”表示PDCP SN可以占用多行。It should be noted that “MAC-I (continue)” in Figure 2 indicates that MAC-I can occupy multiple lines. "PDCP SN (Continue)" indicates that the PDCP SN can occupy multiple lines.
3、PDU和SDU:第N层的SDU和上一层的PDU是一一对应的。换言之,本层的PDU为下层的SDU,本层的SDU为上层的PDU。3. PDU and SDU: The SDU of the Nth layer has a one-to-one correspondence with the PDU of the upper layer. In other words, the PDU of this layer is the SDU of the lower layer, and the SDU of this layer is the PDU of the upper layer.
下面将结合图3和图4详细描述PDU和SDU的关系。The relationship between PDU and SDU will be described in detail below with reference to Figures 3 and 4.
图3是本申请实施例提供的各个协议层的PDU和SDU的关系示意图。如图3所示,对于接入网设备来说,RRC层生成要传输的信令(例如,RRC消息或者RRC PDU)后,可以将其递交到对应的PDCP实体,为了描述方便,接下来我们将信令称为/替换为数据;对于从RRC层接收到的数据(例如,PDCP SDU),PDCP实体可能经过一定的处理或不处理得到PDCP PDU,然后将PDCP PDU递交到该PDCP实体对应的RLC实体;对于从PDCP层接收到的数据(例如,RLC SDU),RLC实体可能经过一定的处理或不处理得到RLC PDU,然后将RLC PDU递交到对应的MAC实体;对于从RLC层接收到的数据(例如,MAC SDU),MAC实体可能经过一定的处理或不处理得到MAC PDU,然后将MAC PDU递交给PHY层;PHY层将会执行空口传输。Figure 3 is a schematic diagram of the relationship between PDU and SDU of each protocol layer provided by the embodiment of the present application. As shown in Figure 3, for access network equipment, after the RRC layer generates the signaling to be transmitted (for example, RRC message or RRC PDU), it can submit it to the corresponding PDCP entity. For the convenience of description, next we Call/replace signaling with data; for data received from the RRC layer (for example, PDCP SDU), the PDCP entity may obtain the PDCP PDU after certain processing or no processing, and then submit the PDCP PDU to the corresponding PDCP entity. RLC entity; for data received from the PDCP layer (for example, RLC SDU), the RLC entity may obtain the RLC PDU through certain processing or no processing, and then submit the RLC PDU to the corresponding MAC entity; for data received from the RLC layer Data (for example, MAC SDU), the MAC entity may obtain the MAC PDU through certain processing or not, and then submit the MAC PDU to the PHY layer; the PHY layer will perform air interface transmission.
相应地,对于终端设备来说,PHY层接收到数据(例如,传输块(transport block,TB))后,将会TB递交给MAC层;对于从PHY接收到的数据(例如,TB或MAC PDU), MAC实体可能经过一定的处理或不处理得到MAC SDU,然后将MAC SDU递交给对应的RLC层;对于从MAC层接收到的数据(例如,RLC PDU),RLC实体可能经过一定的处理或不处理得到RLC SDU,然后将RLC SDU递交到对应的PDCP实体;对于从RLC层接收到的数据(例如,PDCP PDU),PDCP实体可能经过一定的处理或不处理得到PDCP SDU,然后将PDCP SDU递交到RRC层;对于从PDCP层接收到的数据(例如,RRC消息或者RRC PDU),也可以称为信令,RRC层会执行RRC译码或者ASN.1译码,以确定所收到的数据的含义。Correspondingly, for the terminal device, after the PHY layer receives the data (for example, transport block (TB)), it will submit the TB to the MAC layer; for the data received from the PHY (for example, TB or MAC PDU ), The MAC entity may obtain the MAC SDU through certain processing or not, and then submit the MAC SDU to the corresponding RLC layer; for the data received from the MAC layer (for example, RLC PDU), the RLC entity may or may not process the data received from the MAC layer. Obtain the RLC SDU, and then submit the RLC SDU to the corresponding PDCP entity; for the data received from the RLC layer (for example, PDCP PDU), the PDCP entity may obtain the PDCP SDU after certain processing or no processing, and then submit the PDCP SDU to RRC layer; for data received from the PDCP layer (for example, RRC message or RRC PDU), which can also be called signaling, the RRC layer will perform RRC decoding or ASN.1 decoding to determine the identity of the received data. meaning.
对于数据(或者信令)的发送和接收来说,数据在各个层中可能进行相对应的封装/处理,或可能是透传的。例如,对于发送端来说,某一层从该层的上层收到的数据称为SDU,该层递交给下层的数据称为PDU,对于该层来说,从上层收到的数据和递交给下层的数据可能相同(例如,透传),也可能不同(例如,从上层收到的数据经过该层封装/处理后得到递交给下层的数据)。例如,PDCP实体从上层接收到的数据称为PDCP SDU,PDCP实体发送到下层的数据称为PDCP PDU;RLC实体从上层接收到的数据称为RLC SDU,RLC实体发送到下层的数据称为RLC PDU;MAC实体从上层接收到的数据称为MAC SDU,MAC实体发送到下层的数据称为MAC PDU。例如,对于接收来说,某一层从该层的下层收到的数据称为PDU,该层递交给上层的数据称为SDU,对于该层来说,从下层收到的数据和递交给上层的数据可能相同(例如,透传),也可能不同(例如,从下层收到的数据经过该层处理后得到递交给上层的数据)。例如,PDCP实体从下层接收到的数据称为PDCP PDU,PDCP实体发送到上层的数据称为PDCP SDU;RLC实体从下层接收到的数据称为RLC PDU,RLC实体发送到上层的数据称为RLC SDU;MAC实体从下层接收到的数据称为MAC PDU,MAC实体发送到上层的数据称为MAC SDU。For the sending and receiving of data (or signaling), the data may be encapsulated/processed accordingly in each layer, or may be transparently transmitted. For example, for the sender, the data received by a certain layer from the upper layer of this layer is called SDU, and the data submitted by this layer to the lower layer is called PDU. For this layer, the data received from the upper layer and the data submitted to The data in the lower layer may be the same (for example, transparent transmission), or they may be different (for example, the data received from the upper layer is encapsulated/processed by this layer and then the data is submitted to the lower layer). For example, the data received by the PDCP entity from the upper layer is called PDCP SDU, and the data sent by the PDCP entity to the lower layer is called PDCP PDU; the data received by the RLC entity from the upper layer is called RLC SDU, and the data sent by the RLC entity to the lower layer is called RLC. PDU; the data received by the MAC entity from the upper layer is called MAC SDU, and the data sent by the MAC entity to the lower layer is called MAC PDU. For example, for reception, the data received by a certain layer from the lower layer of the layer is called PDU, and the data submitted by this layer to the upper layer is called SDU. For this layer, the data received from the lower layer and the data submitted to the upper layer are The data may be the same (for example, transparent transmission), or they may be different (for example, the data received from the lower layer is processed by this layer and then the data is submitted to the upper layer). For example, the data received by the PDCP entity from the lower layer is called PDCP PDU, and the data sent by the PDCP entity to the upper layer is called PDCP SDU; the data received by the RLC entity from the lower layer is called RLC PDU, and the data sent by the RLC entity to the upper layer is called RLC. SDU; the data received by the MAC entity from the lower layer is called MAC PDU, and the data sent by the MAC entity to the upper layer is called MAC SDU.
其中,本申请实施例中所涉及的上层和下层是一个相对概念,比如,以RLC层为例,对于RRC层来说,RLC层可以是RRC层的下层,但对于MAC层而言,RLC层可以是MAC层的上层。又比如,RRC层的下层可能包括以下任一项或多项:PHY层、MAC层、RLC层、PDCP层。Among them, the upper layer and lower layer involved in the embodiments of this application are a relative concept. For example, taking the RLC layer as an example, for the RRC layer, the RLC layer can be the lower layer of the RRC layer, but for the MAC layer, the RLC layer Can be the upper layer of the MAC layer. For another example, the lower layer of the RRC layer may include any one or more of the following: PHY layer, MAC layer, RLC layer, and PDCP layer.
图4是本申请实施例提供的PDCP PDU和PDCP SDU的关系的示意图。如图4所示,对于接入网设备来说,针对从RRC层接收到的数据(例如,PDCP SDU),PDCP实体可能经过一定的处理或不处理得到PDCP PDU,例如,PDCP实体可以将PDCP SDU加上PDCP头,得到PDCP PDU。Figure 4 is a schematic diagram of the relationship between PDCP PDU and PDCP SDU provided by the embodiment of the present application. As shown in Figure 4, for the access network equipment, for the data (for example, PDCP SDU) received from the RRC layer, the PDCP entity may obtain the PDCP PDU after certain processing or no processing. For example, the PDCP entity may obtain the PDCP PDU. Add the PDCP header to the SDU to get the PDCP PDU.
4、MAC复用:是指MAC层将一个或多个逻辑信道的数据(例如,MAC SDU,或,RLC SDU,或,RLC PDU)和/或MAC CE复用到一个资源或MAC PDU上。也就是说,基站分配给某终端设备的上行资源是确定的,终端设备基于基站的配置,以及协议规定的规则,来决定放置哪些逻辑信道的数据以及每个逻辑信道放置多少数据。4. MAC multiplexing: refers to the MAC layer multiplexing the data of one or more logical channels (for example, MAC SDU, or RLC SDU, or RLC PDU) and/or MAC CE into one resource or MAC PDU. That is to say, the uplink resources allocated by the base station to a certain terminal device are determined. The terminal device decides which logical channel data to place and how much data to place in each logical channel based on the configuration of the base station and the rules specified by the protocol.
可以理解,在MAC复用的过程中,资源或MAC PDU只有一个,但要复用的逻辑信道却有多个,可以根据逻辑信道优先级(Logical Channel Prioritization,LCP)的规则为每个逻辑信道分配资源。其中,逻辑信道有对应的优先级。It can be understood that in the process of MAC multiplexing, there is only one resource or MAC PDU, but there are multiple logical channels to be multiplexed. Each logical channel can be configured according to the rules of Logical Channel Prioritization (LCP). Allocating resources. Among them, logical channels have corresponding priorities.
一种可能的方式是:最高优先级的逻辑信道的数据优先包含在MAC PDU中,接着是次高优先级的逻辑信道的数据,以此类推,直到分配的资源或MAC PDU已满或没有更多的数据要发送。但这种分配方式可能使得高优先级的逻辑信道始终占据着基站分配给该终 端设备的无线资源,从而导致低优先级的逻辑信道无法得到无线资源。为了避免这种情况,LTE引入了优先比特率(prioritised bit rate,PBR)的概念。One possible way is: the data of the highest priority logical channel is included in the MAC PDU first, followed by the data of the second highest priority logical channel, and so on until the allocated resources or MAC PDU are full or there is no update. There is a lot of data to send. However, this allocation method may cause the high-priority logical channel to always occupy the terminal allocated by the base station. The wireless resources of the end device are blocked, resulting in low-priority logical channels being unable to obtain wireless resources. To avoid this situation, LTE introduces the concept of prioritized bit rate (PBR).
下面详细描述MAC复用的具体过程。The specific process of MAC multiplexing is described in detail below.
MAC层使用类似于令牌桶(token bucket)的算法实现MAC复用。该算法的基本思想是基于令牌桶内是否有令牌以及令牌的多少来确定是否发送某逻辑信道的数据,并控制组装在MAC PDU中的该逻辑信道的数据量。下面将详细描述令牌桶的算法。The MAC layer uses an algorithm similar to the token bucket to implement MAC reuse. The basic idea of this algorithm is to determine whether to send the data of a certain logical channel based on whether there are tokens in the token bucket and the number of tokens, and to control the amount of data of the logical channel assembled in the MAC PDU. The token bucket algorithm will be described in detail below.
桶大小持续时间(bucket size duration,BSD)决定了令牌桶的“深度”。它与PBR共同决定了令牌桶的最大容量为PBR×BSD。令牌桶的最大容量限制了每个逻辑信道可以挂起(pending)的数据量,即缓存在缓存器(buffer)中的数据总量。Bucket size duration (BSD) determines the "depth" of the token bucket. It and PBR jointly determine the maximum capacity of the token bucket as PBR × BSD. The maximum capacity of the token bucket limits the amount of data that can be pending for each logical channel, that is, the total amount of data cached in the buffer.
终端设备为每个逻辑信道j维护一个变量Bj,该变量Bj指示了令牌桶里当前可用的令牌数,逻辑信道j建立,MAC实体将该逻辑信道j对应的变量Bj初始化为零。The terminal device maintains a variable Bj for each logical channel j. The variable Bj indicates the number of tokens currently available in the token bucket. Logical channel j is established, and the MAC entity initializes the variable Bj corresponding to the logical channel j to zero.
执行新的传输,MAC层应按如下方式将资源分配给逻辑信道:To perform a new transmission, the MAC layer should allocate resources to logical channels as follows:
对于根据LCP限制选出来的LCH(且LCH的Bj大于0),按优先级递减顺序分配资源。如果逻辑信道的PBR被设置为“无穷大”,则MAC实体将在满足较低优先级逻辑信道的PBR之前,为该逻辑信道上可用于传输的所有数据分配资源,并将Bj减去上述逻辑信道j所提供的MAC SDU的总大小。如果有剩余资源,则对于根据LCP限制选出来的逻辑信道,以严格递减的优先级顺序(无论Bj的值如何)提供数据。需要说明的是,相同优先级的逻辑信道应该被平等地处理。For the LCH selected according to LCP restrictions (and the Bj of the LCH is greater than 0), resources are allocated in descending order of priority. If the PBR of a logical channel is set to "infinity", the MAC entity will allocate resources for all data available for transmission on that logical channel before the PBR of the lower priority logical channel is met, and Bj minus the above logical channel jThe total size of the provided MAC SDU. If resources remain, data is provided in strictly decreasing priority order (regardless of the value of Bj) for logical channels selected according to LCP restrictions. It should be noted that logical channels with the same priority should be processed equally.
在上述过程中,LCP限制可能包括以下任一项或多项:子载波间隔、物理下行共享信道(physical downlink shared channel,PUSCH)的持续时间、资源(grant)、小区等。In the above process, LCP restrictions may include any one or more of the following: subcarrier spacing, physical downlink shared channel (PUSCH) duration, resources (grant), cells, etc.
LCP或MAC复用具体的内容可以参考第三代合作伙伴计划(3rd generation partnership project,3GPP)的技术规范(technical specification,TS)38.321中关于MAC的相关内容,具体可参看“3rd Generation Partnership Project;Technical Specification Group Radio Access Network;NR;Medium Access Control(MAC)protocol specification”。For the specific content of LCP or MAC reuse, please refer to the relevant content on MAC in the technical specification (TS) 38.321 of the 3rd generation partnership project (3GPP). For details, please refer to the "3rd Generation Partnership Project; Technical Specification Group Radio Access Network; NR; Medium Access Control (MAC) protocol specification".
5、部分完保:针对某一RB来说,该RB关联的多个数据(例如,PDCP data PDU)中部分数据进行了完整性保护。由前可知,MAC层可以对多个RLC PDU,或多个RLC SDU,或多个MAC SDU进行复用,因此,MAC PDU可能存在以下两种情况:5. Partial integrity protection: For a certain RB, part of the multiple data (for example, PDCP data PDU) associated with the RB is integrity protected. As can be seen from the above, the MAC layer can multiplex multiple RLC PDUs, or multiple RLC SDUs, or multiple MAC SDUs. Therefore, the MAC PDU may have the following two situations:
MAC PDU中针对每个RB至少包含一个完整性保护的MAC SDU;或,MAC PDU中至少包含一个完整性保护的MAC SDU。图5给出了上述两种情况的一个示例,下面将结合图5详细描述上述两种情况。The MAC PDU contains at least one integrity-protected MAC SDU for each RB; or, the MAC PDU contains at least one integrity-protected MAC SDU. Figure 5 gives an example of the above two situations. The above two situations will be described in detail below with reference to Figure 5.
完整性保护的MAC SDU可以理解为:完整性保护的PDCP PDU/SDU对应的MAC SDU,或完整性保护的PDCP PDU/SDU对应的RLC PDU,或完整性保护的PDCP PDU/SDU对应的RLC SDU。The integrity protected MAC SDU can be understood as: the MAC SDU corresponding to the integrity protected PDCP PDU/SDU, or the RLC PDU corresponding to the integrity protected PDCP PDU/SDU, or the RLC SDU corresponding to the integrity protected PDCP PDU/SDU. .
针对MAC PDU中针对每个RB至少包含一个完整性保护的MAC SDU:Contain at least one integrity-protected MAC SDU for each RB in the MAC PDU:
如图5中的a)所示,RB 1关联的三个PDCP SDU分别为PDCP SDU 1至3,PDCP SDU 1进行了完整性保护,RB 2关联的三个PDCP SDU分别为PDCP SDU a至c,PDCP SDU a进行了完整性保护,PDCP层将其下发给RLC层,RLC层未进行分段,进一步下发给MAC层,MAC层可以将其复用在一个MAC PDU中,则该MAC PDU中针对每个RB包含一个完整性保护的MAC SDU,即MAC SDU 1和MAC SDU a。 As shown in a) in Figure 5, the three PDCP SDUs associated with RB 1 are PDCP SDU 1 to 3 respectively. PDCP SDU 1 is integrity protected. The three PDCP SDUs associated with RB 2 are PDCP SDU a to c. , PDCP SDU a is integrity protected, and the PDCP layer delivers it to the RLC layer. The RLC layer does not segment it and further delivers it to the MAC layer. The MAC layer can multiplex it in a MAC PDU, then the MAC The PDU contains an integrity-protected MAC SDU for each RB, namely MAC SDU 1 and MAC SDU a.
针对MAC PDU中至少包含一个完整性保护的MAC SDU的情况:For the case where the MAC PDU contains at least one integrity-protected MAC SDU:
如图5中的b)所示,RB 1关联的三个PDCP SDU分别为PDCP SDU 1至3,PDCP SDU 1进行了完整性保护,RB 2关联的三个PDCP SDU分别为PDCP SDU a至c,均未进行完整性保护,PDCP层将其下发给RLC层,RLC层未进行分段,进一步下发给MAC层,MAC层可以将其复用在一个MAC PDU中,则该MAC PDU中包含一个完整性保护的MAC SDU,即MAC SDU 1。As shown in b) in Figure 5, the three PDCP SDUs associated with RB 1 are PDCP SDU 1 to 3. PDCP SDU 1 is integrity protected. The three PDCP SDUs associated with RB 2 are PDCP SDU a to c. , none of them are integrity protected. The PDCP layer delivers it to the RLC layer. The RLC layer does not segment it and further delivers it to the MAC layer. The MAC layer can multiplex it in a MAC PDU. Then in the MAC PDU Contains an integrity-protected MAC SDU, MAC SDU 1.
其中,图5中描述的PDCP SDU可以替换为PDCP PDU,可以理解,PDCP SDU和PDCP PDU对应。另外,图5描述的MAC SDU与PDCP PDU对应,换言之,MAC PDU中包含一个完整性保护的MAC SDU,也可以替换为,MAC PDU中包含一个完整性保护的PDCP PDU。Among them, the PDCP SDU described in Figure 5 can be replaced by PDCP PDU. It can be understood that PDCP SDU corresponds to PDCP PDU. In addition, the MAC SDU depicted in Figure 5 corresponds to the PDCP PDU. In other words, the MAC PDU contains an integrity-protected MAC SDU, which can also be replaced by the MAC PDU containing an integrity-protected PDCP PDU.
为便于理解本申请实施例提供的通信方法,下面将对本申请实施例提供的通信方法的系统架构进行说明。可以理解,本申请实施例描述的系统架构是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定。In order to facilitate understanding of the communication method provided by the embodiment of the present application, the system architecture of the communication method provided by the embodiment of the present application will be described below. It can be understood that the system architecture described in the embodiments of this application is to more clearly illustrate the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided by the embodiments of this application.
图6是适用于本申请实施例提供的方法的系统架构示意图。如图6所示,如图6所示,该通信系统600包括通信设备610至650,其中,通信设备610和通信设备620例如可以是网络设备,例如可以是微基站,也可以为TRP或其他类型的网络设备,本申请实施例对此不作限定。通信设备630至650例如可以是终端设备。其中,终端设备可以是移动的或固定的。可以理解,每个网络设备可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域(小区)内的终端设备进行无线链路通信。例如,网络设备610可以和终端设备630进行通信,网络设备620可以和终端设备640、终端设备650进行通信。另外,终端设备与终端设备之间也可以进行无线链路通信。例如,终端设备630可以和终端设备640进行通信,也可以和终端设备650进行通信,终端设备640可以和终端设备650进行通信。Figure 6 is a schematic diagram of the system architecture suitable for the method provided by the embodiment of the present application. As shown in Figure 6, the communication system 600 includes communication devices 610 to 650, wherein the communication device 610 and the communication device 620 may be network devices, such as micro base stations, or TRP or other devices. Type of network equipment, this is not limited in the embodiments of this application. The communication devices 630 to 650 may be terminal devices, for example. Among them, the terminal equipment can be mobile or fixed. It can be understood that each network device can provide communication coverage for a specific geographical area and can perform wireless link communication with terminal devices located within the coverage area (cell). For example, the network device 610 can communicate with the terminal device 630, and the network device 620 can communicate with the terminal device 640 and the terminal device 650. In addition, wireless link communication can also be performed between terminal devices. For example, the terminal device 630 can communicate with the terminal device 640 or with the terminal device 650, and the terminal device 640 can communicate with the terminal device 650.
可选地,该通信系统600所示的通信系统可以包括更多或更少的通信设备,以及任意两个通信设备之间的连接关系也可以为其他的连接关系,本申请实施例对此不做限定。Optionally, the communication system shown in the communication system 600 may include more or less communication devices, and the connection relationship between any two communication devices may also be other connection relationships. This is not the case in the embodiment of the present application. Make limitations.
如图6所示的系统架构中,任意两个通信设备进行通信时,通信设备所发送的数据可以由PDCP层进行完整性保护,以防止数据被篡改。由前可知,若某一PDCP实体配置了完整性保护,则该PDCP实体关联的PDCP PDU(例如,PDCP data PDU)进行了完整性保护,接收端可以基于该PDCP PDU是否通过完整性校验来确定是否丢弃该PDCP PDU。但是,在某一PDCP实体配置了部分完保的情况下,如何处理未进行完整性保护的PDCP PDU(例如,PDCP data PDU)是一项亟需解决的技术问题。In the system architecture shown in Figure 6, when any two communication devices communicate, the data sent by the communication devices can be integrity protected by the PDCP layer to prevent data from being tampered with. As can be seen from the above, if a certain PDCP entity is configured with integrity protection, the PDCP PDU (for example, PDCP data PDU) associated with the PDCP entity is integrity protected, and the receiving end can determine whether the PDCP PDU passes the integrity check. Determine whether to discard this PDCP PDU. However, when a certain PDCP entity is configured with partial integrity protection, how to handle PDCP PDU (for example, PDCP data PDU) without integrity protection is a technical problem that needs to be solved urgently.
为解决上述问题,本申请提供了一种通信方法,第一通信设备获取到未进行完整性保护的数据后,在与之相关联的进行了完整性保护的数据校验失败的情况下,丢弃上述未进行完整性保护的数据,其中,与之相关联的进行了完整性保护的数据可以和未进行完整性保护的数据与同一个MAC PDU相关联,且与同一个PDCP实体相关联,或者,与同一个MAC PDU相关联,且与不同的PDCP实体相关联,或者,与不同的MAC PDU相关联,且与同一个PDCP实体相关联,或者与不同的MAC PDU相关联,且与不同的PDCP实体相关联。通过进行了完整性保护的数据的完整性校验结果,进而确定是否丢弃未进行完整性保护的数据,为第一通信设备提供了一种未进行完整性保护的数据的处理方法。另外,有利于提高数据接收的准确性或向上层递交的数据的准确性,也有利于提高通信质量/效率。 例如,丢弃未进行完整性保护的数据的情况较多,换言之,未进行完整性保护的数据向上层递交的条件较为严格,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。In order to solve the above problem, this application provides a communication method. After the first communication device obtains the data without integrity protection, if the integrity protection data associated with it fails to be verified, the first communication device discards the data. For the above-mentioned data without integrity protection, the associated data with integrity protection can be associated with the same MAC PDU and the same PDCP entity as the data without integrity protection, or , associated with the same MAC PDU and associated with different PDCP entities, or associated with different MAC PDU and associated with the same PDCP entity, or associated with different MAC PDU and different PDCP entities are associated. Through the integrity check result of the integrity-protected data, it is determined whether to discard the data that is not integrity-protected, thereby providing the first communication device with a method for processing the data that is not integrity-protected. In addition, it is helpful to improve the accuracy of data reception or the accuracy of data submitted to the upper layer, and is also beneficial to improving communication quality/efficiency. For example, data without integrity protection is often discarded. In other words, the conditions for submitting data without integrity protection to the upper layer are stricter, which is beneficial to improving the accuracy of data reception or the accuracy of data submitted to the upper layer. .
需要说明的是,在本申请实施例中,第一通信设备例如可以是数据的接收端,第二通信设备例如可以是数据的发送端。第一通信设备的类型可以是终端设备或网络设备,第二通信设备的类型可以是网络设备或终端设备,换言之,本申请提供的实施例既可以适用于网络设备和终端设备的交互,也可以适用于终端设备和终端设备之间的交互,本申请实施例对此不作限定。It should be noted that in this embodiment of the present application, the first communication device may be, for example, a data receiving end, and the second communication device may be, for example, a data sending end. The type of the first communication device may be a terminal device or a network device, and the type of the second communication device may be a network device or a terminal device. In other words, the embodiments provided in this application may be applicable to the interaction between a network device and a terminal device, or may be It is suitable for interaction between terminal devices and is not limited in the embodiments of this application.
在本申请实施例中,第一PDCP实体、第一RB、第一RLC实体、第一LCH、以及第一逻辑信道标识(logical channel identifier,LCID)中的任意两项或多项之间是相关联的,本申请实施例对此不作限定。In this embodiment of the present application, any two or more items among the first PDCP entity, the first RB, the first RLC entity, the first LCH, and the first logical channel identifier (LCID) are related. The embodiments of this application do not limit this.
在本申请实施例中,第一PDCP实体可以替换为:第一RB、第一RLC实体、第一LCH、以及第一LCID中的任一项或多项。In this embodiment of the present application, the first PDCP entity may be replaced by any one or more of the first RB, the first RLC entity, the first LCH, and the first LCID.
在本申请实施例中,第二PDCP实体、第二RB、第二RLC实体、第二LCH、以及第二LCID中的任意两项或多项之间是相关联的,本申请实施例对此不作限定。In this embodiment of the present application, any two or more of the second PDCP entity, the second RB, the second RLC entity, the second LCH, and the second LCID are associated. In this embodiment of the present application, Not limited.
在本申请实施例中,第二PDCP实体可以替换为:第二RB、第二RLC实体、第二LCH、以及第二LCID中的任一项或多项。In this embodiment of the present application, the second PDCP entity may be replaced by any one or more of the second RB, the second RLC entity, the second LCH, and the second LCID.
在本申请实施例中,第三PDCP实体、第三RB、第三RLC实体、第三LCH、以及第三LCID中的任意两项或多项之间是相关联的,本申请实施例对此不作限定。In the embodiment of the present application, any two or more of the third PDCP entity, the third RB, the third RLC entity, the third LCH, and the third LCID are associated. In this embodiment of the present application, Not limited.
在本申请实施例中,第三PDCP实体可以替换为:第三RB、第三RLC实体、第三LCH、以及第三LCID中的任一项或多项。In this embodiment of the present application, the third PDCP entity may be replaced by any one or more of the third RB, the third RLC entity, the third LCH, and the third LCID.
在本申请实施例中,PDCP实体也可以描述/替换为RB、或LCH、或LCID、或RLC实体。In the embodiment of this application, the PDCP entity can also be described/replaced as an RB, or LCH, or LCID, or RLC entity.
下面将结合附图,详细说明本申请实施例提供的通信方法。应理解,图7所示的实施例从第一通信设备与第二通信设备交互的角度来描述了该方法。The communication method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the embodiment shown in FIG. 7 describes the method from the perspective of interaction between the first communication device and the second communication device.
应理解,下文示出的实施例虽然以第一通信设备与第二通信设备交互为例来描述,但不应对该方法的执行主体构成任何限定。只要能够通过运行记录有本申请实施例提供的方法的代码的程序,便可执行本申请实施例提供的方法。例如,第一通信设备也可以替换为配置在第一通信设备中的部件(如,芯片、芯片系统等),或其他能够调用程序并执行程序的功能模块,第二通信设备也可以替换为配置在网络设备中的部件(如,芯片、芯片系统等),或其他能够调用程序并执行程序的功能模块。本申请实施例对此不作限定。It should be understood that although the embodiments shown below are described by taking the interaction between the first communication device and the second communication device as an example, this should not constitute any limitation on the execution subject of the method. As long as the program recording the code of the method provided by the embodiment of the present application can be run, the method provided by the embodiment of the present application can be executed. For example, the first communication device can also be replaced by components (such as chips, chip systems, etc.) configured in the first communication device, or other functional modules capable of calling and executing programs, and the second communication device can also be replaced by components configured in the first communication device. Components in network equipment (such as chips, chip systems, etc.), or other functional modules that can call and execute programs. The embodiments of the present application do not limit this.
图7是本申请实施例提供的通信方法700的示意性流程图。图7所示的通信方法700可以包括S710和S720。下面详细说明方法700中的各个步骤。Figure 7 is a schematic flow chart of the communication method 700 provided by the embodiment of the present application. The communication method 700 shown in Figure 7 may include S710 and S720. Each step in method 700 is described in detail below.
S710、第一通信设备获取第一数据。S710. The first communication device obtains the first data.
第一数据可以是未进行完整性保护的数据。The first data may be data that is not integrity protected.
可选地,第一数据与第一MAC PDU相关联,和/或,与第一PDCP实体相关联。Optionally, the first data is associated with the first MAC PDU, and/or is associated with the first PDCP entity.
其中,第一数据与第一MAC PDU相关联,可以包括/理解为,第一数据的全部数据或部分数据来自于第一MAC PDU;和/或,第一数据的全部数据或部分数据属于第一MAC PDU。Wherein, the first data is associated with the first MAC PDU, which may include/understand that all or part of the first data comes from the first MAC PDU; and/or all or part of the first data belongs to the first MAC PDU. One MAC PDU.
例如,第一数据是未被进行分段的数据,换言之,第二通信设备在发送第一数据的过 程中未进行分段,也即,第一数据的全部数据来自第一MAC PDU。For example, the first data is data that has not been segmented. In other words, when the second communication device sends the first data, No segmentation is performed in the process, that is, all the data of the first data comes from the first MAC PDU.
又例如,第一数据是被进行过分段的数据,换言之,第二通信设备在发送第一数据的过程中进行了分段,也即,将第一数据通过不同的MAC PDU发送,如通过第一MAC PDU和第二MAC PDU发送,换言之,第一数据的部分数据来自第一MAC PDU,第一数据的另一部分来自第二MAC PDU。For another example, the first data is segmented data. In other words, the second communication device performs segmentation in the process of sending the first data, that is, the first data is sent through different MAC PDUs, such as through The first MAC PDU and the second MAC PDU are sent, in other words, part of the first data comes from the first MAC PDU, and the other part of the first data comes from the second MAC PDU.
其中,第一数据与第一PDCP实体相关联,可以包括/理解为,第一数据由第一PDCP实体进行处理,和/或,第一数据属于第一PDCP实体。Wherein, the first data is associated with the first PDCP entity, which may include/be understood to mean that the first data is processed by the first PDCP entity, and/or the first data belongs to the first PDCP entity.
可选地,第一PDCP实体与部分完保相关联。Optionally, the first PDCP entity is associated with partial coverage.
例如,第一数据可以包括/理解为:第一PDCP PDU或第一PDCP data PDU。For example, the first data may include/understand as: the first PDCP PDU or the first PDCP data PDU.
第一通信设备获取第一数据可以包括/理解为:Obtaining the first data by the first communication device may include/understood as:
(一)、第一通信设备接收来自于第二通信设备的第一数据。相应地,第二通信设备向第一通信设备发送第一数据;或,(1) The first communication device receives the first data from the second communication device. Correspondingly, the second communication device sends the first data to the first communication device; or,
(二)、第一通信设备的高层(例如,第一通信设备的PDCP层)从第一通信设备的底层获取第一数据。例如,以第一通信设备的第一PDCP实体来说,第一PDCP实体从第一通信设备的RLC层获取第一数据;或者,第一PDCP实体从第一通信设备的MAC层获取第一数据。(2) The high layer of the first communication device (for example, the PDCP layer of the first communication device) obtains the first data from the bottom layer of the first communication device. For example, taking the first PDCP entity of the first communication device, the first PDCP entity obtains the first data from the RLC layer of the first communication device; or, the first PDCP entity obtains the first data from the MAC layer of the first communication device. .
S720、满足第一条件,第一通信设备丢弃第一数据。S720. When the first condition is met, the first communication device discards the first data.
其中,第一条件包括以下一项或多项:Among them, the first condition includes one or more of the following:
第二数据完整性校验失败;The second data integrity check failed;
第三数据完整性校验失败;The third data integrity check failed;
第四数据完整性校验失败;The fourth data integrity check failed;
第五数据完整性校验失败;或者,The fifth data integrity check failed; or,
第六数据完整性校验失败。The sixth data integrity check failed.
应理解,第二数据至第六数据为进行了完整性保护的数据。It should be understood that the second data to the sixth data are integrity protected data.
可选地,第二数据与第一MAC PDU相关联,和/或,与第一PDCP实体相关联。Optionally, the second data is associated with the first MAC PDU, and/or is associated with the first PDCP entity.
可选地,第三数据与第一MAC PDU相关联,和/或,与第二PDCP实体相关联。Optionally, the third data is associated with the first MAC PDU, and/or is associated with the second PDCP entity.
可选地,第四数据与第二MAC PDU相关联,和/或,与第一PDCP实体相关联。Optionally, the fourth data is associated with the second MAC PDU, and/or is associated with the first PDCP entity.
可选地,第五数据与第二MAC PDU相关联,和/或,与第二PDCP实体相关联。Optionally, the fifth data is associated with the second MAC PDU, and/or is associated with the second PDCP entity.
可选地,第六数据与第二MAC PDU相关联,和/或,与第三PDCP实体相关联。Optionally, the sixth data is associated with the second MAC PDU, and/or is associated with the third PDCP entity.
其中,第二数据与第一MAC PDU相关联,第三数据与第一MAC PDU相关联,第四数据与第二MAC PDU相关联,第五数据与第二MAC PDU相关联,或,第六数据与第二MAC PDU相关联中的至少一项的理解可以参考第一数据与第一MAC PDU相关联的理解。第二数据与第一PDCP实体相关联,第三数据与第二PDCP实体相关联,第四数据与第一PDCP实体相关联,第五数据与第二PDCP实体相关联,第六数据与第三PDCP实体相关联中的至少一项的理解可以参考第一数据与第一PDCP实体相关联的理解,为了简洁,此处不再一一详述。Wherein, the second data is associated with the first MAC PDU, the third data is associated with the first MAC PDU, the fourth data is associated with the second MAC PDU, the fifth data is associated with the second MAC PDU, or, the sixth data The understanding of at least one item in the association between the data and the second MAC PDU may refer to the understanding of the association between the first data and the first MAC PDU. The second data is associated with the first PDCP entity, the third data is associated with the second PDCP entity, the fourth data is associated with the first PDCP entity, the fifth data is associated with the second PDCP entity, and the sixth data is associated with the third The understanding of at least one item in the PDCP entity association may refer to the understanding of the association between the first data and the first PDCP entity. For the sake of brevity, the details will not be described one by one here.
可选地,第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与不同的MAC PDU相关联。例如,第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与第一MAC PDU和第二MAC PDU相 关联。“第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与不同的MAC PDU相关联”可以包括/理解为:第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个是由来自不同的MAC PDU中分段数据(例如,MAC SDU或RLC PDU)重组得到的。其中,分段数据是由同一数据分段之后的数据,例如,对于第一数据来说,第二通信设备在发送第一数据的过程中执行了分段,也即将第一数据通过不同的MAC PDU发送,以将第一数据分为两段数据为例,即第一数据分为分段数据1和分段数据2,分段数据1由第一MAC PDU发送,分段数据2由第二MAC PDU发送,则第一通信设备接收到分段数据1和分段数据2后,通过RLC层将其重组,得到第一数据的全部数据。Optionally, at least one of the first data, second data, third data, fourth data, fifth data, or sixth data is associated with different MAC PDUs. For example, at least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data is consistent with the first MAC PDU and the second MAC PDU. association. "At least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data is associated with different MAC PDUs" may include/understood as: the first data, the second data, or the sixth data. At least one of the data, the third data, the fourth data, the fifth data, or the sixth data is reassembled from segmented data in different MAC PDUs (eg, MAC SDU or RLC PDU). The segmented data is data that is segmented from the same data. For example, for the first data, the second communication device performs segmentation during the process of sending the first data, that is, the first data passes through a different MAC. PDU transmission, taking the first data into two pieces of data as an example, that is, the first data is divided into segment data 1 and segment data 2. Segment data 1 is sent by the first MAC PDU, and segment data 2 is sent by the second MAC PDU. When the MAC PDU is sent, after receiving segment data 1 and segment data 2, the first communication device reassembles them through the RLC layer to obtain all the data of the first data.
还应理解,在基于第二数据的完整性校验结果判断是否丢弃第一数据的情况下,即认为第一通信设备已经获取到第二数据。同样地,第三数据至第六数据类似于第二数据,此处不再描述。It should also be understood that when it is determined whether to discard the first data based on the integrity check result of the second data, it is considered that the first communication device has acquired the second data. Likewise, the third to sixth data are similar to the second data and will not be described here.
还应理解,下文从满足第一条件,第一通信设备丢弃第一数据的角度描述,其中,第一通信设备执行的步骤(例如,丢弃第一数据)可以由PDCP实体或其他层执行,本申请不限定。例如,满足第一条件,第一PDCP实体丢弃第一数据。It should also be understood that the following description is from the perspective that the first communication device discards the first data when the first condition is met, wherein the steps performed by the first communication device (for example, discarding the first data) may be performed by the PDCP entity or other layers. There are no restrictions on application. For example, if the first condition is met, the first PDCP entity discards the first data.
下面将示例性地示出几种丢弃第一数据的情况。Several cases of discarding the first data will be exemplarily shown below.
需要说明的是,图8至图12中的阴影部分表示进行了完整性保护的数据,空白部分表示未进行完整性保护的数据。下面以一个或多个未进行完整性保护的数据中的任意一个(如第一数据)为例,详细描述丢弃第一数据的几种可能的情况。It should be noted that the shaded portions in Figures 8 to 12 represent data with integrity protection, and the blank portions represent data without integrity protection. Taking any one of one or more pieces of data that is not integrity protected (such as the first data) as an example, several possible situations of discarding the first data are described in detail below.
首先示出针对一个MAC PDU的几种丢弃第一数据的情况。First, several situations of discarding the first data for a MAC PDU are shown.
第一种可能的情况是,在第二数据完整性校验失败的情况下,丢弃第一数据。可以理解的是,若与第一MAC PDU相关联(即,与第一数据相关联的MAC PDU相同)、且与第一PDCP实体相关联(即,与第一数据相关联的PDCP实体相同)的、进行了完整性保护的数据完整性校验失败,可以认为第一数据存在被篡改的可能,丢弃第一数据,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。如图8所示,该MAC PDU中未进行完整性保护的数据包括数据2和/或数据b,第二数据可以是数据1或数据a,第二数据和第一数据均与第一MAC PDU相关联,且均与第一PDCP实体相关联。在第二数据完整性校验失败的情况下,第一通信设备丢弃第一数据,即丢弃数据2和/或数据b。The first possible situation is to discard the first data if the integrity check of the second data fails. It can be understood that if it is associated with the first MAC PDU (that is, the MAC PDU associated with the first data is the same), and is associated with the first PDCP entity (that is, the PDCP entity associated with the first data is the same) If the integrity check of the data with integrity protection fails, it can be considered that the first data may have been tampered with and the first data will be discarded, which will help improve the accuracy of data reception or the accuracy of data submitted to the upper layer. As shown in Figure 8, the data that is not integrity protected in the MAC PDU includes data 2 and/or data b. The second data can be data 1 or data a. Both the second data and the first data are the same as the first MAC PDU. associated, and both are associated with the first PDCP entity. In the event that the second data integrity check fails, the first communication device discards the first data, that is, discards data 2 and/or data b.
第二种可能的情况是,在第三数据完整性校验失败的情况下,丢弃第一数据。可以理解的是,若与第一MAC PDU相关联(即,与第一数据相关联的MAC PDU相同)、且与第二PDCP实体相关联(即,与第一数据相关联的PDCP实体不同)的、进行了完整性保护的数据完整性校验失败,可以认为第一数据存在被篡改的可能,丢弃第一数据,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。如图9所示,该MAC PDU中未进行完整性保护的数据包括数据1、数据2以及数据b,第三数据包括数据a,第一数据和第三数据均与第一MAC PDU相关联,第一数据与第一PDCP实体相关联,第三数据与第二PDCP实体相关联。在第三数据完整性校验失败的情况下,第一通信设备丢弃第一数据,即丢弃数据1、数据2或数据b中的至少一个。The second possible situation is to discard the first data when the integrity check of the third data fails. It can be understood that if it is associated with the first MAC PDU (that is, the MAC PDU associated with the first data is the same), and is associated with the second PDCP entity (that is, the PDCP entity associated with the first data is different) If the integrity check of the data with integrity protection fails, it can be considered that the first data may have been tampered with and the first data will be discarded, which will help improve the accuracy of data reception or the accuracy of data submitted to the upper layer. As shown in Figure 9, the data that is not integrity protected in the MAC PDU includes data 1, data 2 and data b. The third data includes data a. The first data and the third data are both associated with the first MAC PDU. The first data is associated with the first PDCP entity, and the third data is associated with the second PDCP entity. In the event that the third data integrity check fails, the first communication device discards the first data, that is, discards at least one of data 1, data 2, or data b.
第三种可能的情况是,在第二数据完整性校验失败和第三数据完整性校验失败的情况下,丢弃第一数据。可以理解的是,若与第一MAC PDU相关联(即,与第一数据相关联 的MAC PDU相同)、进行了完整性保护的数据完整性校验失败,可以认为第一数据存在被篡改的可能,丢弃第一数据,从而有利于提高数据接收的准确性或向上层递交的数据的准确性。如图10所示,该MAC PDU中未进行完整性保护的数据包括数据2和数据b,第二数据包括数据1,第三数据包括数据a,第一数据至第三数据均与第一MAC PDU相关联。在第二数据和第三数据均完整性校验失败的情况下,第一通信设备丢弃第一数据,也即丢弃数据2和/或数据b。The third possible situation is to discard the first data when the second data integrity check fails and the third data integrity check fails. It can be understood that if associated with the first MAC PDU (ie, associated with the first data (the same MAC PDU), if the integrity check of the data with integrity protection fails, it can be considered that the first data may have been tampered with, and the first data will be discarded, which will help improve the accuracy of data reception or data submitted to the upper layer. accuracy. As shown in Figure 10, the data without integrity protection in the MAC PDU includes data 2 and data b, the second data includes data 1, and the third data includes data a. The first data to the third data are all the same as the first MAC PDU associated. When both the second data and the third data fail the integrity check, the first communication device discards the first data, that is, discards data 2 and/or data b.
可以看出,第二数据完整性校验失败和/或第三数据完整性校验失败,丢弃第一数据,可以理解为,与第一数据关联同一MAC PDU的进行了完整性保护的数据中一个或多个数据完整性校验失败的情况下,丢弃第一数据。需要说明的是,在本申请实施例中,可以针对与第一数据关联同一MAC PDU的进行了完整性保护的数据中一个或多个数据完整性校验结果,确定是否丢弃第一数据,也即可以不考虑该MAC PDU上对应的PDCP实体,另外也可以考虑PDCP实体,本申请实施例对此不作限定。It can be seen that the second data integrity check fails and/or the third data integrity check fails, and the first data is discarded. It can be understood that the integrity-protected data associated with the same MAC PDU as the first data In the event that one or more data integrity checks fail, the first data is discarded. It should be noted that in this embodiment of the present application, it can be determined whether to discard the first data based on one or more data integrity check results in the integrity-protected data associated with the same MAC PDU as the first data, or That is, the corresponding PDCP entity on the MAC PDU may not be considered, and the PDCP entity may also be considered, which is not limited in the embodiments of this application.
其次示出针对多个MAC PDU的几种丢弃第一数据的情况。Next, several situations of discarding the first data for multiple MAC PDUs are shown.
应理解,前已述及,第一数据至第六数据中的至少一个数据可能存在分段的情况,也即,某一数据经由不同的MAC PDU发送,下面将详细描述分段的情况下,如何丢弃第一数据。It should be understood that, as mentioned above, at least one of the first data to the sixth data may be fragmented, that is, a certain data is sent through different MAC PDUs. The fragmentation situation will be described in detail below. How to discard the first data.
第一种可能的情况是,在第四数据完整性校验失败的情况下,丢弃第一数据。第四数据完整性校验失败有如下两种可能的设计:The first possible situation is that when the fourth data integrity check fails, the first data is discarded. There are two possible designs for the fourth data integrity check failure:
一种可能的设计是,第四数据可能是进行分段的数据,例如,第四数据的部分数据来自第一MAC PDU,第四数据的另一部分数据来自第二MAC PDU,经过第一通信设备的RLC层进行重组之后,PDCP层进一步地对第四数据进行完整性校验,因此,第四数据完整性校验失败可能是由第一MAC PDU中的第四数据的一部分存在被篡改的可能,也有可能是第二MAC PDU中的第四数据的另一部分存在被篡改的可能,故第一MAC PDU中未进行完整性保护的数据也有被篡改的可能,因此,第一通信设备丢弃第一数据。例如,如图11所示,第一MAC PDU中未进行完整性保护的数据包括数据2和数据b(数据2和/或数据b可以是未进行分段的数据;或,数据2和/或数据b也可以是进行分段的数据),第四数据是进行分段的数据,第四数据的一部分数据可以是数据3,另一部分数据可以是数据1。第一通信设备将数据1和数据3重组之后形成第四数据,若第四数据的完整性校验失败,数据1和数据3中任一个都存在被篡改的可能,因此,第一MAC PDU中未进行完整性保护的数据,即第一数据,也存在被篡改的可能,因此丢弃数据2和/或数据b,也即丢弃第一数据。One possible design is that the fourth data may be segmented data. For example, part of the fourth data comes from the first MAC PDU, and another part of the fourth data comes from the second MAC PDU, passing through the first communication device. After the RLC layer is reorganized, the PDCP layer further performs an integrity check on the fourth data. Therefore, the failure of the fourth data integrity check may be due to the possibility that part of the fourth data in the first MAC PDU has been tampered with. , it is also possible that another part of the fourth data in the second MAC PDU may be tampered with, so the data that is not integrity protected in the first MAC PDU may also be tampered with. Therefore, the first communication device discards the first data. For example, as shown in Figure 11, the data that is not integrity protected in the first MAC PDU includes data 2 and data b (data 2 and/or data b may be unsegmented data; or, data 2 and/or Data b may also be segmented data), the fourth data may be segmented data, a part of the fourth data may be data 3, and the other part of the data may be data 1. The first communication device reassembles data 1 and data 3 to form fourth data. If the integrity check of the fourth data fails, either data 1 or data 3 may be tampered with. Therefore, in the first MAC PDU Data without integrity protection, that is, the first data, may also be tampered with, so data 2 and/or data b, that is, the first data, are discarded.
另一种可能的设计是,第一数据可能是进行分段的数据,第四数据是未进行分段的数据,例如,第一数据的部分数据来自第一MAC PDU,第一数据的另一部分数据来自第二MAC PDU,在第四数据完整性校验失败的情况下,第二MAC PDU中第一数据的部分数据存在被篡改的可能,因此,第一通信设备丢弃第一数据。Another possible design is that the first data may be segmented data, and the fourth data may be unsegmented data. For example, part of the first data comes from the first MAC PDU, and another part of the first data The data comes from the second MAC PDU. When the fourth data integrity check fails, part of the first data in the second MAC PDU may be tampered with. Therefore, the first communication device discards the first data.
应理解,上文所示的丢弃第一数据的情况仅为示例,不应对本申请实施例构成任何限定。例如,在第五数据完整性校验失败的情况下,丢弃第一数据;或,在第六数据完整性校验失败的情况下,丢弃第一数据。另外,第二数据至第六数据中任两个或多个数据都完整性校验失败的情况下,也可以丢弃第一数据,如第二数据和第四数据完整性校验失败, 丢弃第一数据。为了简洁,此处不再一一详述。It should be understood that the situation of discarding the first data shown above is only an example and should not constitute any limitation on the embodiment of the present application. For example, if the fifth data integrity check fails, the first data is discarded; or if the sixth data integrity check fails, the first data is discarded. In addition, when any two or more data from the second to sixth data fail the integrity check, the first data can also be discarded. For example, if the integrity check of the second data and the fourth data fails, Discard the first data. For the sake of brevity, they will not be described in detail here.
还应理解,第五数据完整性校验失败和/或第六数据完整性校验失败的情况和第四数据类似,为了简洁,此处不再一一详述。It should also be understood that the failure of the fifth data integrity check and/or the failure of the sixth data integrity check is similar to that of the fourth data, and will not be described in detail here for the sake of brevity.
还应理解,图8至图11的描述中仅示例性地描述了一个未进行完整性保护的数据的丢弃的情况,其他未进行完整性保护的数据可以通过相似的方法进行丢弃,此处不再一一详述。It should also be understood that the description of Figures 8 to 11 only exemplarily describes a situation of discarding data that is not integrity protected. Other data that is not integrity protected can be discarded through similar methods. This is not the case here. Elaborate again.
可选地,在本申请实施例中,丢弃数据可以是以组的形式丢弃。一示例,某一MAC PDU中包含一个PDCP实体关联的数据的情况。该MAC PDU中进行了完整性保护的数据完整性校验失败的情况下,则丢弃该MAC PDU中未进行完整性保护的所有数据(即一组数据)。例如,MAC PDU 1中包含数据1、数据2、以及数据3,数据1是进行完整性保护的数据,数据2和数据3是未进行完整性保护的数据,且数据1、数据2、以及数据3关联同一PDCP实体,则在数据1完整性校验失败的情况下,数据2和数据3都需要丢弃。Optionally, in this embodiment of the present application, the discarded data may be discarded in the form of groups. As an example, a certain MAC PDU contains data associated with a PDCP entity. If the integrity check of the integrity-protected data in the MAC PDU fails, all data (i.e. a set of data) in the MAC PDU that is not integrity-protected will be discarded. For example, MAC PDU 1 contains data 1, data 2, and data 3. Data 1 is integrity protected data, data 2 and data 3 are data that are not integrity protected, and data 1, data 2, and data 3 is associated with the same PDCP entity, if the integrity check of data 1 fails, both data 2 and data 3 need to be discarded.
又一示例,某一MAC PDU中包含多个PDCP实体关联的数据的情况。该MAC PDU中进行了完整性保护的数据完整性校验失败的情况下,则丢弃该MAC PDU中未进行完整性保护的所有数据(即一组数据)。例如,MAC PDU 1中包含数据1、数据2、数据3以及数据4,数据1和数据3是进行完整性保护的数据,数据2和数据4是未进行完整性保护的数据,且数据1和数据2关联PDCP实体1,数据3和数据4关联PDCP实体2,则在数据1完整性校验失败的情况下,对于未进行完整性保护的数据2和数据4,都需要将其丢弃。Another example is the case where a certain MAC PDU contains data associated with multiple PDCP entities. If the integrity check of the integrity-protected data in the MAC PDU fails, all data (i.e. a set of data) in the MAC PDU that is not integrity-protected will be discarded. For example, MAC PDU 1 contains data 1, data 2, data 3 and data 4. Data 1 and data 3 are integrity protected data, data 2 and data 4 are data that are not integrity protected, and data 1 and data 3 are integrity protected data. Data 2 is associated with PDCP entity 1, and data 3 and 4 are associated with PDCP entity 2. If the integrity check of data 1 fails, data 2 and data 4 that are not integrity protected need to be discarded.
再一示例,对于多个MAC PDU来说,以MAC PDU 1和MAC PDU 2为例,MAC PDU1中的某一数据和MAC PDU 2中的某一数据是由同一数据分段而成的,且是进行了完整性保护的数据,则将上述数据重组之后进行完整性校验,若完整性校验失败,则丢弃MAC PDU 1和MAC PDU 2中所有未进行完整性保护的数据。例如,MAC PDU 1包含数据1、数据2、以及数据3,MAC PDU 2中包含数据4和数据5,数据1和数据4是进行完整性保护的数据,且数据1和数据4是由某一数据(记为数据6)分段之后的数据,数据2、数据3以及数据5是未进行完整性保护的数据,则将数据1和数据4重组之后进行完整性校验,若完整性校验失败,则对于未进行完整性保护的数据2、数据3以及数据5,都需要将其丢弃。As another example, for multiple MAC PDUs, taking MAC PDU 1 and MAC PDU 2 as an example, certain data in MAC PDU1 and certain data in MAC PDU 2 are segmented from the same data, and If the data is integrity protected, the above data will be reorganized and then integrity checked. If the integrity check fails, all data in MAC PDU 1 and MAC PDU 2 that are not integrity protected will be discarded. For example, MAC PDU 1 contains data 1, data 2, and data 3, MAC PDU 2 contains data 4 and data 5, data 1 and data 4 are integrity protected data, and data 1 and data 4 are protected by a certain After the data (recorded as data 6) is segmented, data 2, data 3 and data 5 are data that have not been integrity protected. Then data 1 and data 4 will be reorganized and then integrity checked. If the integrity check If it fails, data 2, data 3 and data 5 that are not integrity protected need to be discarded.
还应理解,第一通信设备可以基于第三指示信息,确定第一数据、第二数据、第三数据、第四数据、第五数据、或者第六数据中的至少一个数据与不同的MAC PDU相关联。It should also be understood that the first communication device may determine that at least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data is different from the MAC PDU based on the third indication information. Associated.
可选地,第三指示信息可以来自第一通信设备的RLC层或者MAC层。Optionally, the third indication information may come from the RLC layer or MAC layer of the first communication device.
例如,第一数据、第二数据、或第四数据中的至少一个数据与不同的MAC PDU(例如,第一MAC PDU和第二MAC PDU)相关联,第三指示信息可以来自第一RLC实体。For example, at least one of the first data, the second data, or the fourth data is associated with different MAC PDUs (e.g., the first MAC PDU and the second MAC PDU), and the third indication information may come from the first RLC entity .
例如,第三数据和/或第五数据与不同的MAC PDU(例如,第一MAC PDU和第二MAC PDU)相关联,第三指示信息可以来自第二RLC实体。For example, the third data and/or the fifth data are associated with different MAC PDUs (eg, the first MAC PDU and the second MAC PDU), and the third indication information may come from the second RLC entity.
例如,第六数据与不同的MAC PDU(例如,第一MAC PDU和第二MAC PDU)相关联,第三指示信息可以来自第三RLC实体。For example, the sixth data is associated with different MAC PDUs (eg, the first MAC PDU and the second MAC PDU), and the third indication information may come from the third RLC entity.
可选地,上述方法还包括:丢弃第二数据、第三数据、第四数据、第五数据、或者第六数据中的一项或多项。 Optionally, the above method further includes: discarding one or more items of the second data, the third data, the fourth data, the fifth data, or the sixth data.
也就是说,对于进行了完整性保护的第二数据至第六数据,也需要考虑是否丢弃。下面示例性地示出几种可能的情况。In other words, it is also necessary to consider whether to discard the second to sixth data that have been integrity protected. Several possible situations are exemplarily shown below.
第一种可能的情况是,第一通信设备除了丢弃第一数据之外,还丢弃第二数据。如图8所示,该MAC PDU中未进行完整性保护的数据包括数据2和数据b,第二数据可以是数据1或数据a,第二数据和第一数据均与第一MAC PDU相关联,且均与第一PDCP实体相关联,在数据1完整性校验失败的情况下,丢弃数据2、数据1和数据b,即丢弃第一数据和第二数据。另外,无论数据a是否完整性校验成功,都将进一步丢弃数据a,换言之,当某一MAC PDU中,只要有一个数据完整性校验失败,将丢弃该MAC PDU上的所有数据(例如,MAC SDU或RLC SDU或RLC PDU),或,将丢弃该MAC PDU上的与部分完保相关联的PDCP实体相关联的数据(例如,MAC SDU或RLC SDU或RLC PDU)。另一种方法是,若数据1完整性校验失败,数据a完整性校验成功,丢弃数据2、数据b和数据1。换言之,当某一MAC PDU中,有一个或多个数据完整性校验失败,将丢弃该MAC PDU上完整性保护失败的数据和未进行完整性保护的数据(例如,MAC SDU或RLC SDU或RLC PDU),或,将丢弃该MAC PDU上完整性保护失败的数据和未进行完整性保护的、与部分完保相关联的PDCP实体相关联的数据(例如,MAC SDU或RLC SDU或RLC PDU)。应理解,针对未进行完整性保护的数据2和数据b,在实际过程中,第一PDCP实体可能逐一接收数据2和数据b或可能一起接收数据2和数据b,因此,每接收到一个未进行完整性保护的数据的情况下,可以基于与其相关联的完整性保护的数据的完整性校验结果,确定是否丢弃该未进行完整性保护的数据。A first possible situation is that the first communication device discards the second data in addition to the first data. As shown in Figure 8, the data that is not integrity protected in this MAC PDU includes data 2 and data b. The second data can be data 1 or data a. Both the second data and the first data are associated with the first MAC PDU. , and are all associated with the first PDCP entity. If the integrity check of data 1 fails, data 2, data 1 and data b are discarded, that is, the first data and the second data are discarded. In addition, regardless of whether the integrity check of data a is successful, data a will be further discarded. In other words, when one data integrity check fails in a certain MAC PDU, all data on the MAC PDU will be discarded (for example, MAC SDU or RLC SDU or RLC PDU), or the data on that MAC PDU associated with the PDCP entity associated with partial integrity will be discarded (e.g., MAC SDU or RLC SDU or RLC PDU). Another method is to discard data 2, data b and data 1 if the integrity check of data 1 fails and the integrity check of data a succeeds. In other words, when one or more data integrity checks fail in a certain MAC PDU, the data that fails integrity protection and the data that is not integrity protected on the MAC PDU will be discarded (for example, MAC SDU or RLC SDU or RLC PDU), or data on that MAC PDU that fails integrity protection and data associated with a partially intact PDCP entity that is not integrity protected will be discarded (e.g., MAC SDU or RLC SDU or RLC PDU ). It should be understood that for data 2 and data b that are not integrity protected, in the actual process, the first PDCP entity may receive data 2 and data b one by one or may receive data 2 and data b together. Therefore, every time it receives an unprotected In the case of integrity-protected data, it may be determined whether to discard the data that is not integrity-protected based on the integrity check result of the integrity-protected data associated with it.
第二种可能的情况是,第一通信设备除了丢弃第一数据之外,还丢弃第二数据和第三数据。如图12所示,第一数据包括数据1,第二数据包括数据2,第三数据可以是数据a或数据b,当数据2、数据a和数据b中一个或多个数据完整性校验失败的情况下,丢弃数据1、数据2、数据a以及数据b,即丢弃第一数据、第二数据和第三数据。或者,当数据2完整性校验失败,数据a和数据b完整性校验成功的情况下,丢弃数据1和数据2。The second possible situation is that the first communication device discards the second data and the third data in addition to the first data. As shown in Figure 12, the first data includes data 1, the second data includes data 2, and the third data can be data a or data b. When one or more data integrity checks among data 2, data a, and data b In the case of failure, data 1, data 2, data a and data b are discarded, that is, the first data, the second data and the third data are discarded. Or, when the integrity check of data 2 fails and the integrity check of data a and data b succeeds, data 1 and data 2 are discarded.
应理解,上文所示的两种情况仅为示例,不应对本申请实施例构成任何限定。例如,还可以丢弃第二数据和第四数据;或,还可以丢弃第二数据和第五数据等。为了简洁,此处不再一一详述。It should be understood that the two situations shown above are only examples and should not constitute any limitation on the embodiments of the present application. For example, the second data and the fourth data may also be discarded; or the second data, the fifth data, etc. may also be discarded. For the sake of brevity, they will not be described in detail here.
可以理解,上文从第一通信设备在何种情况下丢弃第一数据的角度进行描述,相应地,也可以考虑第一通信设备在何种情况下不丢弃第一数据的角度进行描述。It can be understood that the above description is from the perspective of the circumstances under which the first communication device discards the first data. Correspondingly, the description can also be considered from the perspective of the circumstances under which the first communication device does not discard the first data.
可选地,上述方法还可以包括:S730、满足第二条件,第一通信设备不丢弃第一数据。Optionally, the above method may also include: S730: The first communication device does not discard the first data when the second condition is met.
第一通信设备不丢弃第一数据可以包括/理解为以下一项或多项:第一通信设备存储第一数据,第一通信设备将第一数据递交给/存储在接收缓存,第一通信设备执行重排序,或,第一通信设备对第一数据进行处理。The first communication device not discarding the first data may include/understood as one or more of the following: the first communication device stores the first data, the first communication device submits/stores the first data to the receiving buffer, the first communication device Reordering is performed, or the first communication device processes the first data.
其中,第二条件包括以下一项或多项:Among them, the second condition includes one or more of the following:
第二数据完整性校验成功;The second data integrity check is successful;
第三数据完整性校验成功;The third data integrity check is successful;
第四数据完整性校验成功;The fourth data integrity check is successful;
第五数据完整性校验成功;或者,The fifth data integrity check is successful; or,
第六数据完整性校验成功。 The sixth data integrity check is successful.
首先示出针对一个MAC PDU的几种不丢弃第一数据的情况。First, several situations in which the first data is not discarded for a MAC PDU are shown.
第一种可能的情况是,第一通信设备在第二数据完整性校验成功的情况下,不丢弃第一数据。若与第一MAC PDU相关联(即,与第一数据相关联的MAC PDU相同)、且与第一PDCP实体相关联(即,与第一数据相关联的PDCP实体相同)的、进行了完整性保护的数据完整性校验成功,可以认为第一数据不存在被篡改的可能,不丢弃第一数据。例如,第一MAC PDU中仅包含一个PDCP实体关联的数据,当第二数据完整性校验成功,即第一MAC PDU中进行了完整性保护的数据完整性校验成功,即认为可以忽略未进行完整性保护的数据被篡改的可能,因此第一通信设备不丢弃第一数据。The first possible situation is that the first communication device does not discard the first data when the second data integrity check is successful. If associated with the first MAC PDU (i.e., the same MAC PDU associated with the first data), and associated with the first PDCP entity (i.e., the same PDCP entity associated with the first data), the complete If the data integrity check of sexual protection is successful, it can be considered that there is no possibility of the first data being tampered with, and the first data will not be discarded. For example, the first MAC PDU only contains data associated with one PDCP entity. When the integrity check of the second data is successful, that is, the integrity check of the integrity-protected data in the first MAC PDU is successful, it is considered that the incomplete data can be ignored. There is a possibility that the integrity-protected data may be tampered with, so the first communication device does not discard the first data.
第二种可能的情况是,第一通信设备在第三数据完整性校验成功的情况下,不丢弃第一数据。若与第一MAC PDU相关联(即,与第一数据相关联的MAC PDU相同)、且与第二PDCP实体相关联(即,与第一数据相关联的PDCP实体不同)的、进行了完整性保护的数据完整性校验成功,可以认为第一数据不存在被篡改的可能,不丢弃第一数据。例如,第一MAC PDU中包含第一PDCP实体和第二PDCP实体关联的数据,在第三数据完整性校验成功的情况下,即认为可以忽略未进行完整性保护的数据被篡改的可能,因此第一通信设备不丢弃第一数据。The second possible situation is that the first communication device does not discard the first data when the third data integrity check is successful. If associated with the first MAC PDU (i.e., the same MAC PDU associated with the first data), and associated with the second PDCP entity (i.e., different PDCP entity associated with the first data), the complete If the data integrity check of sexual protection is successful, it can be considered that there is no possibility of the first data being tampered with, and the first data will not be discarded. For example, the first MAC PDU contains data associated with the first PDCP entity and the second PDCP entity. If the integrity check of the third data succeeds, it is considered that the possibility of tampering with unprotected data can be ignored. Therefore the first communication device does not discard the first data.
第三种可能的情况是,第一通信设备在第二数据完整性校验成功和第三数据完整性校验成功的情况下,不丢弃第一数据。若与第一MAC PDU相关联(即,与第一数据相关联的MAC PDU相同)、且与第二PDCP实体相关联(即,与第一数据相关联的PDCP实体不同)和与第一PDCP实体相关联(与第一数据相关联的PDCP实体相同)的、进行了完整性保护的数据完整性校验成功,可以认为第一数据不存在被篡改的可能,不丢弃第一数据。例如,第一MAC PDU中包含第一PDCP实体和第二PDCP实体关联的数据,第二数据完整性校验成功,且第三数据完整性校验成功的情况下,不丢弃第一数据。The third possible situation is that the first communication device does not discard the first data when the second data integrity check is successful and the third data integrity check is successful. If associated with a first MAC PDU (i.e., the same MAC PDU associated with the first data), and associated with a second PDCP entity (i.e., a different PDCP entity associated with the first data) and with the first PDCP If the integrity check of the integrity-protected data associated with the entity (the same as the PDCP entity associated with the first data) is successful, it can be considered that there is no possibility of tampering with the first data, and the first data will not be discarded. For example, the first MAC PDU contains data associated with the first PDCP entity and the second PDCP entity. If the integrity check of the second data is successful and the integrity check of the third data is successful, the first data is not discarded.
由上述情况可以看出,一种可能的实现方式是,与第一数据关联同一MAC PDU的、进行了完整性保护的数据中一个或多个数据完整性校验成功,第一通信设备可以不丢弃第一数据。It can be seen from the above situation that one possible implementation method is that if one or more integrity-protected data associated with the same MAC PDU as the first data is successfully verified, the first communication device may not Discard the first data.
其次示出针对多个MAC PDU的几种丢弃第一数据的情况。Next, several situations of discarding the first data for multiple MAC PDUs are shown.
应理解,前已述及,第一数据至第六数据中的至少一个数据可能存在分段的情况,也即,某一数据经由不同的MAC PDU发送,下面将详细描述分段的情况下,不丢弃第一数据的条件。It should be understood that, as mentioned above, at least one of the first data to the sixth data may be fragmented, that is, a certain data is sent through different MAC PDUs. The fragmentation situation will be described in detail below. Conditions for not discarding the first data.
第一种可能的情况是,在第四数据完整性校验成功的情况下,不丢弃第一数据。第四数据完整性校验成功有如下两种可能的设计:The first possible situation is that when the fourth data integrity check is successful, the first data is not discarded. There are two possible designs for the fourth successful data integrity check:
一种可能的设计是,第四数据可能是进行分段的数据,例如,第四数据的部分数据来自第一MAC PDU,第四数据的另一部分数据来自第二MAC PDU,经过第一通信设备的RLC层进行重组之后,PDCP层进一步地对第四数据进行完整性校验,因此,第四数据完整性校验成功可以理解为由第一MAC PDU中的第四数据的一部分和第二MAC PDU中的第四数据的另一部分不存在被篡改的可能,故第一MAC PDU中未进行完整性保护的数据可能不存在被篡改的可能,因此,第一通信设备不丢弃第一数据。One possible design is that the fourth data may be segmented data. For example, part of the fourth data comes from the first MAC PDU, and another part of the fourth data comes from the second MAC PDU, passing through the first communication device. After the RLC layer is reorganized, the PDCP layer further performs an integrity check on the fourth data. Therefore, the success of the fourth data integrity check can be understood as consisting of a part of the fourth data in the first MAC PDU and the second MAC The other part of the fourth data in the PDU has no possibility of being tampered with, so the data in the first MAC PDU that is not integrity protected may not have the possibility of being tampered with. Therefore, the first communication device does not discard the first data.
另一种可能的设计是,第一数据可能是进行分段的数据,第四数据是未进行分段的数据,例如,第一数据的部分数据来自第一MAC PDU,第一数据的另一部分数据来自第二 MAC PDU,在第四数据完整性校验成功的情况下,第二MAC PDU中第一数据的一部分数据可能不存在被篡改的可能,因此,第一通信设备不丢弃第一数据。Another possible design is that the first data may be segmented data, and the fourth data may be unsegmented data. For example, part of the first data comes from the first MAC PDU, and another part of the first data Data comes from the second MAC PDU, if the fourth data integrity check is successful, part of the first data in the second MAC PDU may not be tampered with, and therefore, the first communication device does not discard the first data.
第二种可能的情况是,第一通信设备在第二数据完整性校验成功和第四数据完整性校验成功的情况下,不丢弃第一数据。例如,第一MAC PDU中仅包含第一PDCP实体关联的数据,第二MAC PDU仅包含第一PDCP实体关联的数据,且第一数据与第一MAC PDU和第二MAC PDU相关联,则当第二数据完整性校验成功和第四数据完整性校验成功的情况下,第一通信设备不丢弃第一数据。The second possible situation is that the first communication device does not discard the first data when the second data integrity check is successful and the fourth data integrity check is successful. For example, the first MAC PDU only contains data associated with the first PDCP entity, the second MAC PDU only contains data associated with the first PDCP entity, and the first data is associated with the first MAC PDU and the second MAC PDU, then when When the second data integrity check is successful and the fourth data integrity check is successful, the first communication device does not discard the first data.
应理解,上文所示的情况仅为示例,不应对本申请实施例构成任何限定。例如,还可以在第五数据完整性校验成功的情况下,不丢弃第一数据。为了简洁,此处不再一一详述。It should be understood that the situations shown above are only examples and should not constitute any limitation on the embodiments of the present application. For example, if the fifth data integrity check succeeds, the first data may not be discarded. For the sake of brevity, they will not be described in detail here.
还应理解,第五数据完整性校验成功和/或第六数据完整性校验成功的情况和第四数据类似,为了简洁,此处不再一一详述。It should also be understood that the success of the fifth data integrity check and/or the success of the sixth data integrity check are similar to the fourth data, and for the sake of brevity, they will not be described in detail here.
还应理解,上述丢弃第一数据的条件和不丢弃第一数据的条件可以分开使用,也可以结合使用,本申请实施例对此不作限定。It should also be understood that the above-mentioned condition for discarding the first data and the condition for not discarding the first data can be used separately or in combination, and this is not limited in the embodiments of the present application.
可以理解,第一通信设备基于第三数据、第五数据、或第六数据中的一项或多项的完整性校验结果确定是否丢弃第一数据,第一通信设备还需要接收跨RB/PDCP实体的指示信息。例如,第一PDCP实体接收其他PDCP实体的指示信息,以确定其关联的数据完整性校验结果。It can be understood that the first communication device determines whether to discard the first data based on the integrity check result of one or more of the third data, the fifth data, or the sixth data, and the first communication device also needs to receive the cross-RB/ PDCP entity indication information. For example, the first PDCP entity receives indication information from other PDCP entities to determine its associated data integrity check results.
示例性地,第一通信设备执行如下一项或多项:基于第八指示信息,确定第三数据完整性校验成功;基于第九指示信息,确定第五数据完整性校验成功;或,基于第十指示信息,确定第六数据完整性校验成功。Exemplarily, the first communication device performs one or more of the following: based on the eighth indication information, determining that the third data integrity check is successful; based on the ninth indication information, determining that the fifth data integrity check is successful; or, Based on the tenth indication information, it is determined that the sixth data integrity check is successful.
可选地,第八指示信息来自第二PDCP实体。Optionally, the eighth indication information comes from the second PDCP entity.
可选地,第九指示信息来自第二PDCP实体。Optionally, the ninth indication information comes from the second PDCP entity.
可选地,第十指示信息来自第三PDCP实体。Optionally, the tenth indication information comes from the third PDCP entity.
示例性地,第一PDCP实体接收来自第二PDCP实体的第八指示信息,第八指示信息指示第三数据完整性校验成功,则第一PDCP实体可以确定与第一数据相关联的同一MAC PDU相关联的数据完整性校验成功,可以不丢弃第一数据。Exemplarily, the first PDCP entity receives the eighth indication information from the second PDCP entity, and the eighth indication information indicates that the third data integrity check is successful, then the first PDCP entity can determine the same MAC associated with the first data. The data integrity check associated with the PDU is successful, and the first data does not need to be discarded.
需要说明的是,S730可以作为一个独立的实施例来实施,或者也可以作为本实施例中的一个步骤,与本实施例中的其他步骤结合使用,例如,作为可选步骤同S710、S720以及下文所提及的i至v中的一项或多项结合。本申请对此不做限制。It should be noted that S730 can be implemented as an independent embodiment, or can be used as a step in this embodiment in combination with other steps in this embodiment, for example, as an optional step together with S710, S720 and A combination of one or more of the items i to v mentioned below. This application does not limit this.
可选地,上述方法还可以包括下述i和ii中的至少一项:Optionally, the above method may also include at least one of the following i and ii:
i、第一通信设备或第一通信设备的PDCP层/实体根据第一指示信息,确定第一数据、第二数据、第三数据中的至少一个数据与第一MAC PDU相关联;或i. The first communication device or the PDCP layer/entity of the first communication device determines that at least one of the first data, the second data, and the third data is associated with the first MAC PDU based on the first indication information; or
ii、第一通信设备或第一通信设备的PDCP层/实体基于第二指示信息,确定第四数据、第五数据、第六数据中的至少一个数据与第二MAC PDU相关联。ii. The first communication device or the PDCP layer/entity of the first communication device determines that at least one of the fourth data, the fifth data, and the sixth data is associated with the second MAC PDU based on the second indication information.
可以理解,第一通信设备获取到一个或多个PDCP PDU,需要确定这些PDCP PDU与哪个或哪些MAC PDU相关联。It can be understood that the first communication device obtains one or more PDCP PDUs and needs to determine which MAC PDU(s) these PDCP PDUs are associated with.
可选地,第一指示信息和/或第二指示信息可以来自第一通信设备的MAC层或者RLC层。Optionally, the first indication information and/or the second indication information may come from the MAC layer or RLC layer of the first communication device.
其中,第一通信设备或第一通信设备的PDCP层/实体获取第一指示信息和第二指示信 息,第一指示信息和第二指示信息可以是同时获取的,也可以是不同时获取的,可以是分开获取的,也可以是一起获取的,本申请实施例对此不作限定。Wherein, the first communication device or the PDCP layer/entity of the first communication device obtains the first indication information and the second indication information. Information, the first indication information and the second indication information may be obtained at the same time, or may not be obtained at the same time, may be obtained separately, or may be obtained together, which is not limited in the embodiment of the present application.
下面将从第一通信设备各个协议层的角度描述第一通信设备确定与同一MAC PDU相关联的数据的过程。The process of the first communication device determining data associated with the same MAC PDU will be described below from the perspective of each protocol layer of the first communication device.
一示例,当只有一个MAC PDU(如第一MAC PDU),且第一MAC PDU仅包含一个PDCP实体关联的数据,MAC或RLC层向PDCP层发送第一指示信息,以指示PDCP层第一数据和/或第二数据与第一MAC PDU相关联。For example, when there is only one MAC PDU (such as the first MAC PDU), and the first MAC PDU only contains data associated with one PDCP entity, the MAC or RLC layer sends the first indication information to the PDCP layer to indicate the first data of the PDCP layer. and/or the second data is associated with the first MAC PDU.
又一示例,当只有一个MAC PDU(如第一MAC PDU),且第一MAC PDU包含多个PDCP实体(如第一PDCP实体和第二PDCP实体)关联的数据,MAC或RLC层向PDCP层发送第一指示信息,以指示PDCP层第一数据、第二数据或第三数据中的至少一个与第一MAC PDU相关联。In another example, when there is only one MAC PDU (such as the first MAC PDU), and the first MAC PDU contains data associated with multiple PDCP entities (such as the first PDCP entity and the second PDCP entity), the MAC or RLC layer transmits data to the PDCP layer. First indication information is sent to indicate that at least one of the first data, the second data or the third data of the PDCP layer is associated with the first MAC PDU.
可选地,第一指示信息还需要指示第一MAC PDU中包含的数据与哪些PDCP实体相关联。例如,只有一个MAC PDU,如MAC PDU 1,该MAC PDU 1中包括数据1、数据2和数据3,数据1与PDCP实体1相关联,数据2和数据3与PDCP实体2相关联,也即该MAC PDU 1包含2个PDCP实体关联的数据,则MAC或RLC层向PDCP层发送第一指示信息,该第一指示信息可以指示:与MAC PDU 1相关联的数据的信息(例如,数据1、数据2或数据3中至少一个数据对应的编号信息),还可以指示:与MAC PDU 1相关联的PDCP实体的信息(例如,数据1与PDCP实体1相关联,和/或,数据2和/或数据3与PDCP实体2相关联)。Optionally, the first indication information also needs to indicate which PDCP entities the data contained in the first MAC PDU is associated with. For example, there is only one MAC PDU, such as MAC PDU 1. The MAC PDU 1 includes data 1, data 2 and data 3. Data 1 is associated with PDCP entity 1, and data 2 and data 3 are associated with PDCP entity 2, that is, The MAC PDU 1 contains data associated with two PDCP entities, then the MAC or RLC layer sends the first indication information to the PDCP layer. The first indication information can indicate: the information of the data associated with the MAC PDU 1 (for example, data 1 , the number information corresponding to at least one data in data 2 or data 3), and can also indicate: the information of the PDCP entity associated with MAC PDU 1 (for example, data 1 is associated with PDCP entity 1, and/or, data 2 and /or data 3 is associated with PDCP entity 2).
再一示例,当有多个MAC PDU(如第一MAC PDU和第二MAC PDU),MAC或RLC层向PDCP层发送第一指示信息,以指示PDCP层第一数据、第二数据或第三数据中的至少一个与第一MAC PDU相关联。MAC或RLC层向PDCP层发送第二指示信息,以指示第四数据、第五数据、或第六数据中的至少一个与第二MAC PDU相关联。In another example, when there are multiple MAC PDUs (such as the first MAC PDU and the second MAC PDU), the MAC or RLC layer sends first indication information to the PDCP layer to indicate the first data, second data or third data of the PDCP layer. At least one of the data is associated with the first MAC PDU. The MAC or RLC layer sends second indication information to the PDCP layer to indicate that at least one of the fourth data, the fifth data, or the sixth data is associated with the second MAC PDU.
可选地,如果某一MAC PDU中包含的数据关联多个PDCP实体,指示信息中还需要指示MAC PDU中包含的数据与哪些PDCP实体相关联。例如,有多个MAC PDU,如MAC PDU 1和MAC PDU 2,该MAC PDU 1中包括数据1和数据2,数据1与PDCP实体1相关联,数据2与PDCP实体2相关联,也即该MAC PDU 1包含2个PDCP实体关联的数据,上述MAC PDU 2中包括数据3和数据4,数据3与PDCP实体1相关联,数据4与PDCP实体2相关联,则MAC或RLC层向PDCP层发送第一指示信息,该第一指示信息可以指示与MAC PDU 1相关联的数据的信息(例如,数据1、或数据2中至少一个数据对应的编号信息。例如,数据1和数据2与MAC PDU 1相关联),还可以指示与MAC PDU 1相关联的PDCP实体的信息(例如,数据1与PDCP实体1相关联,数据2与PDCP实体2相关联),另外,MAC或RLC层还可以向PDCP层发送第二指示信息,该第二指示信息可以指示与MAC PDU 2相关联的数据的信息(例如,数据3、或数据4中至少一个数据对应的编号信息。例如,数据3和数据4与MAC PDU 2相关联),还可以指示与MAC PDU 2相关联的PDCP实体的信息(例如,数据3与PDCP实体1相关联,数据4与PDCP实体2相关联)。其中,第一指示信息和第二指示信息可以承载在同一信令中,也可以承载在不同的信令中,本申请对此不做限定。Optionally, if the data contained in a certain MAC PDU is associated with multiple PDCP entities, the indication information also needs to indicate which PDCP entities the data contained in the MAC PDU is associated with. For example, there are multiple MAC PDUs, such as MAC PDU 1 and MAC PDU 2. The MAC PDU 1 includes data 1 and data 2. Data 1 is associated with PDCP entity 1, and data 2 is associated with PDCP entity 2. That is, the MAC PDU 1 contains data associated with 2 PDCP entities. The above MAC PDU 2 includes data 3 and data 4. Data 3 is associated with PDCP entity 1, and data 4 is associated with PDCP entity 2. Then the MAC or RLC layer communicates with the PDCP layer. Send first indication information, which may indicate information about the data associated with MAC PDU 1 (for example, data 1, or number information corresponding to at least one data in data 2. For example, data 1 and data 2 are associated with MAC PDU 1 associated), can also indicate the information of the PDCP entity associated with MAC PDU 1 (for example, data 1 is associated with PDCP entity 1, data 2 is associated with PDCP entity 2), in addition, the MAC or RLC layer can also Send second indication information to the PDCP layer. The second indication information may indicate information about the data associated with MAC PDU 2 (for example, data 3, or number information corresponding to at least one data in data 4. For example, data 3 and data 4 associated with MAC PDU 2), and may also indicate information about the PDCP entity associated with MAC PDU 2 (for example, data 3 is associated with PDCP entity 1, data 4 is associated with PDCP entity 2). The first indication information and the second indication information may be carried in the same signaling, or may be carried in different signaling, which is not limited in this application.
下面将详细描述第一指示信息和第二指示信息的指示方法。 The indication methods of the first indication information and the second indication information will be described in detail below.
一种可能的实现方式是,第一指示信息中包括第一数据、第二数据、或者第三数据中的至少一个数据对应的编号信息;和/或,第二指示信息中包括第四数据、第五数据、或者第六数据中的至少一个数据对应的编号信息。One possible implementation is that the first indication information includes number information corresponding to at least one of the first data, the second data, or the third data; and/or the second indication information includes the fourth data, Number information corresponding to at least one of the fifth data or the sixth data.
上述编号信息可以有以下两种可能的设计:The above numbering information can have the following two possible designs:
一种可能的设计是,上述编号信息可以是新定义的编号,与同一MAC PDU相关联的数据将会获得相同的编号。例如,与第一MAC PDU相关联的数据将会获得相同的编号,如编号1,与第二MAC PDU相关联的数据将会获得不同于第一MAC PDU的编号,如编号2。一示例,第一MAC PDU包括数据1、数据2以及数据3,第二MAC PDU包括数据4和数据5,则数据1、数据2以及数据3的编号可以为编号1,数据4和数据5的编号可以为编号2,第一指示信息中可以包括数据1、数据2以及数据3对应的编号信息,如编号1,第二指示信息中可以包括数据4和数据5对应的编号,如编号2。One possible design is that the above numbering information can be a newly defined number, and data associated with the same MAC PDU will receive the same number. For example, the data associated with the first MAC PDU will get the same number, such as number 1, and the data associated with the second MAC PDU will get a different number than the first MAC PDU, such as number 2. As an example, the first MAC PDU includes data 1, data 2 and data 3, and the second MAC PDU includes data 4 and data 5. Then the numbers of data 1, data 2 and data 3 can be number 1, and the numbers of data 4 and data 5. The number may be number 2. The first indication information may include number information corresponding to data 1, data 2 and data 3, such as number 1. The second indication information may include number information corresponding to data 4 and data 5, such as number 2.
另一种可能的设计是,上述编号可以是第一通信设备中的MAC层直接给PDCP层指示的PDCP序列号,或者是第一通信设备中的MAC层给RLC层指示的RLC序列号,进而RLC层给PDCP层指示的PDCP序列号。例如,MAC层直接给PDCP层指示哪些数据对应的PDCP序列号是与第一MAC PDU相关联,哪些数据对应的PDCP序列号是与第二MAC PDU相关联,PDCP层读取出PDCP序列号之后,即可确定与第一MAC PDU相关联的数据和与第二MAC PDU相关联的数据。Another possible design is that the above number can be a PDCP sequence number directly indicated to the PDCP layer by the MAC layer in the first communication device, or an RLC sequence number indicated by the MAC layer in the first communication device to the RLC layer, and then The PDCP sequence number indicated by the RLC layer to the PDCP layer. For example, the MAC layer directly indicates to the PDCP layer which data corresponding to the PDCP sequence number is associated with the first MAC PDU, and which data corresponding to the PDCP sequence number is associated with the second MAC PDU. After the PDCP layer reads the PDCP sequence number , the data associated with the first MAC PDU and the data associated with the second MAC PDU can be determined.
前已述及,第一通信设备获取的数据可能与不同的PDCP实体相关联,例如,第一数据、第二数据和第四数据与第一PDCP实体相关联,第三数据、第五数据与第二PDCP实体相关联,第六数据和第三PDCP实体相关联,而对某一数据的完整性校验是由其对应的PDCP实体来执行的,因此,对于第一PDCP实体来说,需要接收来自其他PDCP实体对其相关联的数据的完整性校验结果。需要说明的是,在本申请实施例中,对于一个MAC PDU的情况,本文以2个PDCP实体(如第一PDCP实体和第二PDCP实体)为例进行说明,对于2个MAC PDU的情况,本文以3个PDCP实体(如第一PDCP实体、第二PDCP实体和第三PDCP实体)进行说明,在其他实施例中,第一通信设备还可能对应更多数量的PDCP实体,也即需要进行交互的PDCP的数量会更多,本申请实施例对此不作限定。As mentioned before, the data obtained by the first communication device may be associated with different PDCP entities. For example, the first data, the second data and the fourth data are associated with the first PDCP entity, and the third data and the fifth data are associated with the first PDCP entity. The second PDCP entity is associated, the sixth data is associated with the third PDCP entity, and the integrity check of a certain data is performed by its corresponding PDCP entity. Therefore, for the first PDCP entity, it is necessary to Receive the integrity check results of its associated data from other PDCP entities. It should be noted that in the embodiment of this application, for the case of one MAC PDU, this article takes two PDCP entities (such as the first PDCP entity and the second PDCP entity) as an example to illustrate. For the case of two MAC PDUs, This article uses three PDCP entities (such as the first PDCP entity, the second PDCP entity, and the third PDCP entity) for description. In other embodiments, the first communication device may also correspond to a larger number of PDCP entities, that is, it is necessary to perform The number of interactive PDCPs will be greater, which is not limited in the embodiments of this application.
可选地,上述方法还可以包括下述iii至v中的至少一项:Optionally, the above method may also include at least one of the following iii to v:
iii、第一通信设备基于第四指示信息,确定第三数据完整性校验失败或成功;iii. The first communication device determines that the third data integrity check fails or succeeds based on the fourth indication information;
iv、第一通信设备基于第五指示信息,确定第五数据完整性校验失败或成功;或iv. The first communication device determines that the fifth data integrity check failed or succeeded based on the fifth indication information; or
v、第一通信设备基于第六指示信息,确定第六数据完整性校验失败或成功。v. The first communication device determines that the sixth data integrity check fails or succeeds based on the sixth indication information.
可选地,第四指示信息来自第二PDCP实体。Optionally, the fourth indication information comes from the second PDCP entity.
可选地,第五指示信息来自第二PDCP实体。Optionally, the fifth indication information comes from the second PDCP entity.
可选地,第六指示信息来自第三PDCP实体。Optionally, the sixth indication information comes from the third PDCP entity.
示例性地,第一PDCP实体接收来自第二PDCP实体的第四指示信息,第四指示信息指示第三数据完整性校验失败,则第一PDCP实体可以确定第三数据完整性校验失败,也即与第一MAC PDU相关联,且与第二PDCP实体相关联的、进行了完整性保护的数据完整性校验失败,第一PDCP实体可以丢弃第一数据。For example, the first PDCP entity receives the fourth indication information from the second PDCP entity, and the fourth indication information indicates that the third data integrity check fails, then the first PDCP entity may determine that the third data integrity check fails, That is, if the integrity check of the integrity-protected data associated with the first MAC PDU and associated with the second PDCP entity fails, the first PDCP entity can discard the first data.
示例性地,第一PDCP实体接收来自第二PDCP实体的第四指示信息,第四指示信息指示第三数据完整性校验成功,则第一PDCP实体可以确定第三数据完整性校验成功,也 即与第一MAC PDU相关联,且与第二PDCP实体相关联的、进行了完整性保护的数据完整性校验成功,第一PDCP实体可以不丢弃第一数据。For example, the first PDCP entity receives the fourth indication information from the second PDCP entity, and the fourth indication information indicates that the third data integrity check is successful, then the first PDCP entity can determine that the third data integrity check is successful, also That is, if the integrity check of the integrity-protected data associated with the first MAC PDU and associated with the second PDCP entity is successful, the first PDCP entity may not discard the first data.
基于上述技术方案,第一通信设备获取到未进行完整性保护的数据(例如,第一数据)后,可以在与其相关联的进行了完整性保护的数据的校验失败的情况下,丢弃第一数据。通过进行了完整性保护的数据的校验结果,进而确定是否丢弃未进行完整性保护的数据,为第一通信设备提供了一种未进行完整性保护的数据的处理方法。也有利于提高数据接收的准确性或向上层递交的数据的准确性。有利于提高通信质量/效率。例如,丢弃未进行完整性保护的数据的情况较多,也即向上层递交未进行完整性保护的数据的条件较严格,有利于提高数据接收的准确性或向上层递交的数据的准确性。Based on the above technical solution, after the first communication device obtains the data that is not integrity protected (for example, the first data), it can discard the second data if the verification of the integrity protected data associated with it fails. One data. By checking the results of the integrity-protected data and then determining whether to discard the data that is not integrity-protected, a method for processing the data that is not integrity-protected is provided for the first communication device. It is also helpful to improve the accuracy of data reception or the accuracy of data submitted to the upper level. Helps improve communication quality/efficiency. For example, there are many cases where data without integrity protection is discarded, that is, the conditions for submitting data without integrity protection to the upper layer are stricter, which is helpful to improve the accuracy of data reception or the accuracy of data submitted to the upper layer.
下面将结合图13描述本申请实施例提供的另一通信方法。图13是本申请实施例提供的另一通信方法1300的示意性流程图。图13所示的通信方法1300可以包括S1310至S1330。下面详细说明方法1300中的各个步骤。Another communication method provided by the embodiment of the present application will be described below with reference to FIG. 13 . Figure 13 is a schematic flowchart of another communication method 1300 provided by an embodiment of the present application. The communication method 1300 shown in FIG. 13 may include S1310 to S1330. Each step in method 1300 is described in detail below.
S1310、第一通信设备生成第七指示信息,该第七指示信息用于指示调整(或建议调整)完整性保护的数据的比例。S1310. The first communication device generates seventh indication information, where the seventh indication information is used to indicate adjusting (or recommending adjusting) the proportion of integrity protected data.
其中,调整或建议调整完整性保护的数据的比例包括/理解为以下任意一项:调高(或建议调高)完整性保护的数据的比例、调低(或建议调低)完整性保护的数据的比例、增加(或建议增加)完整性保护的数据、减少(或建议减少)完整性保护的数据、开启(或建议开启)部分完保功能、或者关闭(或建议关闭)部分完保功能。Among them, adjusting or recommending to adjust the proportion of integrity-protected data includes/is understood to mean any of the following: increasing (or recommending to increase) the proportion of integrity-protected data, lowering (or recommending to lower) the proportion of integrity-protected data. The proportion of data, increasing (or recommending to increase) the data for integrity protection, reducing (or recommending to reduce) the data for integrity protection, turning on (or recommending turning on) the partial full protection function, or turning off (or recommending turning off) the partial full protection function. .
调高可以包括/理解为:增加。Turning up can include/understand as: increase.
调低可以包括/理解为:减少。Turning down can include/understand as: reduce.
开启可以包括/理解为:使能。Turning on can include/understand as: enabling.
关闭可以包括/理解为:去使能。Shutdown can include/be understood as: disabling.
可选地,第七指示信息还可以用于指示调整的比例,或,建议调整的比例。Optionally, the seventh indication information may also be used to indicate the adjustment ratio, or to recommend the adjustment ratio.
换言之,第七指示信息可以指示第二通信设备调整(或建议调整)完整性保护的比例,还可以指示具体调整(或建议调整)的完整性保护的数据的比例的数值。例如,第七指示信息可以指示调高(或建议调高)完整性保护的数据的比例,还可以指示具体调高(或建议调高)多少。又例如,第七指示信息可以指示调低(或建议调低)完整性保护的数据的比例,还可以指示具体调低(或建议调低)多少。In other words, the seventh indication information may instruct the second communication device to adjust (or recommend adjusting) the proportion of integrity protection, and may also indicate a numerical value of the proportion of integrity protection data that is specifically adjusted (or recommended to be adjusted). For example, the seventh instruction information may indicate increasing (or recommending increasing) the proportion of integrity protected data, and may also indicate a specific amount of increasing (or recommending increasing). For another example, the seventh instruction information may indicate to reduce (or recommend to reduce) the proportion of integrity protected data, and may also indicate how much to specifically reduce (or recommend to reduce).
可选地,上述方法还可以包括:满足第三条件,第七指示信息指示调高(或建议调高)完整性保护的数据的比例、或增加(或建议增加)完整性保护的数据、或关闭(或建议关闭)部分完保功能。Optionally, the above method may also include: when the third condition is met, the seventh instruction information indicates to increase (or recommend to increase) the proportion of integrity protected data, or to increase (or recommend to increase) the integrity protected data, or Turn off (or recommend turning off) some full protection functions.
其中,第三条件包括以下一项或多项:Among them, the third condition includes one or more of the following:
完整性校验失败的次数大于或等于第一阈值;或,The number of integrity check failures is greater than or equal to the first threshold; or,
接收到的、不包含完整性保护的数据的MAC PDU的个数大于或等于第二阈值。The number of received MAC PDUs that do not contain integrity-protected data is greater than or equal to the second threshold.
其中,MAC PDU中可能还包含MAC控制元素(control element,CE)等。需要说明的是,上文所述的数据可以是指MAC SDU或MAC SDU对应的PDCP PDU。Among them, the MAC PDU may also contain a MAC control element (control element, CE), etc. It should be noted that the data mentioned above may refer to the MAC SDU or the PDCP PDU corresponding to the MAC SDU.
完整性校验失败的次数大于或等于第一阈值可以包括/替换为:完整性校验成功的次数小于或等于第一阈值。The number of integrity check failures being greater than or equal to the first threshold may include/replaced by: the number of integrity check successes being less than or equal to the first threshold.
完整性保护的数据可以替换为完整性保护的MAC SDU或MAC SDU对应的PDCP  PDU。Integrity-protected data can be replaced with integrity-protected MAC SDU or the PDCP corresponding to the MAC SDU. PDU.
可选地,上述方法还可以包括:满足第四条件,第七指示信息指示调低(或建议调低)完整性保护的数据的比例或、减少(或建议减少)完整性保护的数据、或开启(或建议开启)部分完保功能。Optionally, the above method may also include: meeting the fourth condition, the seventh instruction information indicating to reduce (or recommend reducing) the proportion of integrity protected data or, reducing (or recommending reducing) the integrity protected data, or Turn on (or recommend turning on) some full protection functions.
其中,第四条件包括以下一项或多项:Among them, the fourth condition includes one or more of the following:
完整性校验成功的次数大于或等于第三阈值;The number of successful integrity checks is greater than or equal to the third threshold;
接收到的、包含完整性保护的数据的MAC PDU的个数大于或等于第四阈值;或,The number of received MAC PDUs containing integrity protected data is greater than or equal to the fourth threshold; or,
接收到的MAC PDU的个数大于或等于第五阈值,其中,接收到的MAC PDU包含的数据均为完整性保护的。The number of received MAC PDUs is greater than or equal to the fifth threshold, in which the data contained in the received MAC PDUs is integrity protected.
其中,MAC PDU中可能还包含MAC CE,需要说明的是,这里所述的数据是指MAC SDU或MAC SDU对应的PDCP PDU。例如,接收到的MAC PDU包含的数据均为完整性保护的可以替换为:接收到的MAC PDU包含的MAC SDU均为完整性保护的。Among them, the MAC PDU may also contain MAC CE. It should be noted that the data described here refers to the MAC SDU or the PDCP PDU corresponding to the MAC SDU. For example, the data contained in the received MAC PDU is integrity protected, which can be replaced by: the MAC SDU contained in the received MAC PDU is integrity protected.
接收到的MAC PDU包含的数据均为完整性保护的,可以包括/理解为以下一项或多项:接收到的MAC PDU包含的数据(例如,MAC SDU或RLC SDU或RLC PDU)均为完整性保护的数据;或,接收到的MAC PDU包含的、与部分完保相关联的PDCP实体相关联的数据(例如,MAC SDU或RLC SDU或RLC PDU)均为完整性保护的数据。The data contained in the received MAC PDU is integrity protected, which can include/understand as one or more of the following: The data contained in the received MAC PDU (for example, MAC SDU or RLC SDU or RLC PDU) is complete Integrity-protected data; or, the data contained in the received MAC PDU and associated with the PDCP entity associated with partial integrity protection (for example, MAC SDU or RLC SDU or RLC PDU) is integrity-protected data.
完整性校验成功的次数大于或等于第三阈值可以包括/替换为:完整性校验失败的次数小于或等于第三阈值。The number of times of integrity check successes being greater than or equal to the third threshold may include/replaced by: the number of times of integrity check failures being less than or equal to the third threshold.
下面分别详细解释第三条件和第四条件。The third condition and the fourth condition are explained in detail below respectively.
完整性校验失败的次数根据以下任一项确定:完整性校验失败的PDCP PDU的个数;或者,包含完整性校验失败的PDCP PDU的MAC PDU的个数。The number of integrity check failures is determined by either of the following: the number of PDCP PDUs that fail the integrity check; or the number of MAC PDUs that contain the PDCP PDUs that fail the integrity check.
可选地,完整性校验失败的次数可以是连续完整性校验失败的次数,也可以是不连续的完整性校验失败的次数。例如,连续完整性校验失败是指进行完整性校验中,连续完整性校验均失败,中间没有完整性校验成功的情况。不连续的完整性校验失败是指进行了多次完整性校验,有的是完整性校验成功,有的是完整性校验失败,其中,完整性校验失败是不连续的。例如,进行了四次完整性校验,第一次完整性校验失败,第二次和第三次完整性校验成功,第四次完整性校验失败,则完整性校验失败的次数为两次。Optionally, the number of integrity check failures may be the number of consecutive integrity check failures or the number of discontinuous integrity check failures. For example, continuous integrity check failure means that during the integrity check, consecutive integrity checks fail, and no integrity check succeeds in the middle. Discontinuous integrity check failures refer to multiple integrity checks being performed, some of which are successful and some of which are failed. Among them, the integrity check failures are discontinuous. For example, if four integrity checks are performed, the first integrity check fails, the second and third integrity checks succeed, and the fourth integrity check fails, then the number of integrity check failures is for twice.
一种可能的设计是,完整性校验失败的次数可以根据完整性校验失败的PDCP PDU的个数确定。完整性校验失败的PDCP PDU的个数可以是连续完整性校验失败的PDCP PDU的个数,也可以是不连续完整性校验失败的PDCP PDU的个数,本申请实施例对此不作限定。One possible design is that the number of integrity check failures can be determined based on the number of PDCP PDUs that fail the integrity check. The number of PDCP PDUs that fail the integrity check may be the number of PDCP PDUs that fail the continuous integrity check, or the number of PDCP PDUs that fail the discontinuous integrity check. This is not the case in the embodiment of this application. limited.
可选地,完整性校验失败的PDCP PDU的个数可以是针对第一通信设备粒度的,也可以是针对一个PDCP实体粒度的。其中,PDCP实体粒度也可以描述/替换为RB粒度、或LCH粒度、或LCID粒度、或RLC实体粒度。Optionally, the number of PDCP PDUs that fail the integrity check may be at the granularity of the first communication device or at the granularity of a PDCP entity. The PDCP entity granularity can also be described/replaced as RB granularity, or LCH granularity, or LCID granularity, or RLC entity granularity.
可选地,若完整性校验失败的PDCP PDU的个数可以是针对一个PDCP实体粒度的,完整性校验失败的次数可以是连续完整性校验失败的次数,也可以是不连续的完整性校验失败的次数。例如,连续完整性校验失败是指针对一个PDCP实体,连续完整性校验均失败,中间没有完整性校验成功的情况。不连续的完整性校验失败是指针对一个PDCP实体,进行了多次完整性校验,有的是完整性校验成功,有的是完整性校验失败,其中,完整性 校验失败是不连续的。例如,进行了四次完整性校验,第一次完整性校验失败,第二次和第三次完整性校验成功,第四次完整性校验失败,则完整性校验失败的次数为两次。Optionally, if the number of PDCP PDUs that fail integrity check can be granular for one PDCP entity, the number of integrity check failures can be the number of consecutive integrity check failures, or it can be discontinuous complete The number of failed sex checks. For example, continuous integrity check failure refers to the situation where continuous integrity checks fail for a PDCP entity, and no integrity check succeeds in the middle. Discontinuous integrity check failures refer to multiple integrity checks being performed on a PDCP entity. Some integrity checks are successful, and some integrity checks fail. Among them, the integrity check Verification failures are discontinuous. For example, if four integrity checks are performed, the first integrity check fails, the second and third integrity checks succeed, and the fourth integrity check fails, then the number of integrity check failures is for twice.
一示例,第一通信设备可以维护一个计数器,完整性校验失败的PDCP PDU的个数增加1,则计数器完整性校验失败的次数增加1。As an example, the first communication device can maintain a counter. The number of PDCP PDUs that fail integrity check increases by 1, and the number of times that the counter integrity check fails increases by 1.
可选地,完整性校验失败的PDCP PDU的个数是第一预设时长内完整性校验失败的PDCP PDU的个数。Optionally, the number of PDCP PDUs that fail the integrity check is the number of PDCP PDUs that fail the integrity check within the first preset time period.
例如,可以设置时长,在达到第一预设时长、且完整性校验失败的PDCP PDU的个数大于或等于第一阈值的情况下,第七指示信息指示调高(或建议调高)完整性保护的数据的比例、或增加(或建议增加)完整性保护的数据、或关闭(或建议关闭)部分完保功能。For example, the duration can be set. When the first preset duration is reached and the number of PDCP PDUs that fail integrity check is greater than or equal to the first threshold, the seventh instruction information indicates to increase (or recommend to increase) the integrity The proportion of data with integrity protection, or increasing (or recommending to increase) the data with integrity protection, or turning off (or recommending turning off) some of the integrity protection functions.
另一种可能的设计是,完整性校验失败的次数可以根据包含完整性校验失败的PDCP PDU的MAC PDU的个数确定。Another possible design is that the number of integrity check failures can be determined based on the number of MAC PDUs containing PDCP PDUs that failed integrity check.
包含完整性校验失败的PDCP PDU的MAC PDU的个数可以是针对第一通信设备粒度的,也可以是针对一个PDCP实体粒度的。The number of MAC PDUs containing PDCP PDUs that failed integrity check may be at the granularity of the first communication device or at the granularity of a PDCP entity.
一示例,第一通信设备可以维护一个计数器,包含完整性校验失败的PDCP PDU的MAC PDU的个数增加1,则计数器完整性校验增加1,其中,对于某一MAC PDU来说,如果该MAC PDU中完整性校验失败的PDCP PDU的个数为2个,计数器增加1。As an example, the first communication device can maintain a counter. The number of MAC PDUs containing PDCP PDUs that fail integrity check increases by 1, and the integrity check of the counter increases by 1. Wherein, for a certain MAC PDU, if The number of PDCP PDUs that failed integrity check in this MAC PDU is 2, and the counter is increased by 1.
可选地,包含完整性校验失败的PDCP PDU的MAC PDU的个数是第二预设时长内包含完整性校验失败的PDCP PDU的MAC PDU的个数。Optionally, the number of MAC PDUs containing PDCP PDUs that fail integrity check is the number of MAC PDUs that contain PDCP PDUs that fail integrity check within the second preset time period.
例如,可以设置时长,在达到第二预设时长、且包含完整性校验失败的PDCP PDU的MAC PDU的个数大于或等于第二阈值的情况下,第七指示信息指示调高(或建议调高)完整性保护的数据的比例、或增加(或建议增加)完整性保护的数据、或关闭(或建议关闭)部分完保功能。For example, the duration can be set. When the second preset duration is reached and the number of MAC PDUs containing PDCP PDUs that failed integrity check is greater than or equal to the second threshold, the seventh instruction information indicates to increase the value (or recommend Increase) the proportion of integrity-protected data, or increase (or recommend adding) integrity-protected data, or close (or recommend closing) some of the complete protection functions.
可选地,完整性校验失败的PDCP PDU的个数与一个PDCP实体相关联;或者,包含完整性校验失败的PDCP PDU的MAC PDU的个数中的完整性校验失败的PDCP PDU与一个PDCP实体相关联。Optionally, the number of PDCP PDUs that failed the integrity check is associated with a PDCP entity; or, the number of MAC PDUs that contain the PDCP PDU that failed the integrity check is associated with the PDCP PDU that failed the integrity check. A PDCP entity is associated.
其中,完整性校验失败的PDCP PDU的个数与一个PDCP实体相关联表示完整性校验失败的PDCP PDU的个数是针对一个PDCP实体粒度的。例如,一个PDCP实体维护一个计数器,该PDCP实体关联的完整性校验失败的PDCP PDU的个数增加1,则该PDCP实体对应的计数器完整性校验增加1。Among them, the number of PDCP PDUs that failed integrity check is associated with one PDCP entity, indicating that the number of PDCP PDUs that failed integrity check is based on one PDCP entity granularity. For example, a PDCP entity maintains a counter. If the number of PDCP PDUs associated with the PDCP entity that fail the integrity check increases by 1, then the integrity check of the counter corresponding to the PDCP entity increases by 1.
包含完整性校验失败的PDCP PDU的MAC PDU的个数中的完整性校验失败的PDCP PDU与一个PDCP实体相关联也是针对一个PDCP实体粒度的。例如,一个PDCP实体维护一个计数器,对于某一MAC PDU来说,如果该MAC PDU中完整性校验失败的PDCP PDU的个数为2个,且这两个PDCP PDU与不同的PDCP实体相关联,则每个PDCP实体对应的计数器增加1。The PDCP PDU that fails the integrity check and is associated with a PDCP entity in the number of MAC PDUs that contain the PDCP PDU that fails the integrity check is also based on the granularity of a PDCP entity. For example, a PDCP entity maintains a counter. For a certain MAC PDU, if the number of PDCP PDUs that fail integrity check in the MAC PDU is 2, and these two PDCP PDUs are associated with different PDCP entities , then the counter corresponding to each PDCP entity increases by 1.
完整性校验成功的次数根据以下任一项确定:完整性校验成功的PDCP PDU的个数;或者,包含完整性校验成功的PDCP PDU的MAC PDU的个数。The number of successful integrity checks is determined by either of the following: the number of PDCP PDUs with successful integrity checks; or the number of MAC PDUs containing PDCP PDUs with successful integrity checks.
可选地,完整性校验成功的次数可以是连续完整性校验成功的次数,也可以是不连续的完整性校验成功的次数。例如,连续完整性校验成功是指进行完整性校验中,连续完整性校验均成功,中间没有完整性校验失败的情况。不连续的完整性校验成功是指进行了多 次完整性校验,有的是完整性校验成功,有的是完整性校验失败,其中,完整性校验成功是不连续的。例如,进行了五次完整性校验,第一次完整性校验成功,第二次至第四次完整性校验失败,第五次完整性校验成功,则完整性校验成功的次数为两次。Optionally, the number of successful integrity checks may be the number of successful continuous integrity checks, or the number of successful discontinuous integrity checks. For example, continuous integrity check success means that during the integrity check, consecutive integrity checks are successful, and there is no integrity check failure in the middle. Discontinuous integrity check success means that multiple During the integrity check, some are successful and some are failed. Among them, the success of integrity check is discontinuous. For example, if five integrity checks are performed, the first integrity check succeeds, the second to fourth integrity checks fail, and the fifth integrity check succeeds, then the number of successful integrity checks for twice.
完整性校验成功的次数可以根据完整性校验成功的PDCP PDU的个数确定。The number of successful integrity checks can be determined based on the number of PDCP PDUs with successful integrity checks.
可选地,该完整性校验成功的PDCP PDU的个数是针对第一通信设备粒度的,也可以是针对一个PDCP实体粒度的。其中,PDCP实体粒度也可以描述/替换为RB粒度、或LCH粒度、或LCID粒度、或RLC实体粒度。Optionally, the number of PDCP PDUs with successful integrity check is based on the granularity of the first communication device, or may be based on the granularity of a PDCP entity. The PDCP entity granularity can also be described/replaced as RB granularity, or LCH granularity, or LCID granularity, or RLC entity granularity.
可选地,若完整性校验成功的PDCP PDU的个数可以是针对一个PDCP实体粒度的,完整性校验成功的次数可以是连续完整性校验成功的次数,也可以是不连续的完整性校验成功的次数。例如,连续完整性校验成功是指针对一个PDCP实体,连续完整性校验均成功,中间没有完整性校验失败的情况。不连续的完整性校验成功是指针对一个PDCP实体,进行了多次完整性校验,有的是完整性校验成功,有的是完整性校验失败,其中,完整性校验成功是不连续的。例如,进行了四次完整性校验,第一次完整性校验成功,第二次和第三次完整性校验失败,第四次完整性校验成功,则完整性校验成功的次数为两次。Optionally, if the number of PDCP PDUs with successful integrity check can be based on one PDCP entity granularity, the number of successful integrity checks can be the number of consecutive successful integrity checks, or it can be discontinuous complete The number of successful sex checks. For example, continuous integrity check success means that for a PDCP entity, continuous integrity checks are successful, and there is no integrity check failure in the middle. Discontinuous integrity check success means that multiple integrity checks have been performed on a PDCP entity. Some integrity checks are successful, and some integrity checks fail. Among them, the integrity check successes are discontinuous. For example, if four integrity checks are performed, the first integrity check succeeds, the second and third integrity checks fail, and the fourth integrity check succeeds, then the number of successful integrity checks for twice.
例如,第一通信设备可以维护一个计数器,完整性校验成功的PDCP PDU的个数增加1,则计数器指示的完整性校验成功的次数增加1。For example, the first communication device may maintain a counter. The number of PDCP PDUs with successful integrity checks increases by 1, and the number of successful integrity checks indicated by the counter increases by 1.
可选地,完整性校验成功的PDCP PDU的个数是第三预设时长内完整性校验成功的PDCP PDU的个数。Optionally, the number of PDCP PDUs whose integrity verification is successful is the number of PDCP PDUs whose integrity verification is successful within the third preset time period.
例如,可以设置时长,在达到第三预设时长、且完整性校验成功的PDCP PDU的个数大于或等于第三阈值的情况下,第七指示信息指示调低(或建议调低)完整性保护的数据的比例、或减少(或建议减少)完整性保护的数据、或开启(或建议开启)部分完保功能。For example, the duration can be set. When the third preset duration is reached and the number of PDCP PDUs with successful integrity verification is greater than or equal to the third threshold, the seventh instruction information indicates to lower (or recommends lowering) the integrity The proportion of integrity-protected data may be reduced (or it is recommended to reduce) the integrity-protected data, or the partial integrity protection function may be enabled (or it is recommended to be enabled).
完整性校验成功的次数还可以根据包含完整性校验成功的PDCP PDU的MAC PDU的个数确定。The number of successful integrity checks can also be determined based on the number of MAC PDUs containing PDCP PDUs with successful integrity checks.
该MAC PDU的个数是针对第一通信设备粒度的,也可以是针对一个PDCP实体粒度的。The number of MAC PDUs is for the granularity of the first communication device, or it may be for the granularity of a PDCP entity.
例如,第一通信设备可以维护一个计数器,包含完整性校验成功的PDCP PDU的MAC PDU的个数增加1,则计数器指示的完整性校验成功的次数增加1,其中,对于某一MAC PDU来说,如果该MAC PDU中完整性校验成功的PDCP PDU的个数为2个,计数器增加1。For example, the first communication device can maintain a counter, and the number of MAC PDUs containing PDCP PDUs with successful integrity checks increases by 1, and then the number of successful integrity checks indicated by the counter increases by 1, where, for a certain MAC PDU For example, if the number of PDCP PDUs with successful integrity check in this MAC PDU is 2, the counter increases by 1.
可选地,包含完整性校验成功的PDCP PDU的MAC PDU的个数是第四预设时长内包含完整性校验成功的PDCP PDU的MAC PDU的个数。Optionally, the number of MAC PDUs containing PDCP PDUs with successful integrity verification is the number of MAC PDUs containing PDCP PDUs with successful integrity verification within the fourth preset time period.
例如,可以设置时长,在达到第四预设时长、且包含完整性校验成功的PDCP PDU的MAC PDU的个数大于或等于第四阈值的情况下,第七指示信息指示调低(或建议调低)完整性保护的数据的比例、或减少(或建议减少)完整性保护的数据、或开启(或建议开启)部分完保功能。For example, the duration can be set. When the fourth preset duration is reached and the number of MAC PDUs containing PDCP PDUs with successful integrity verification is greater than or equal to the fourth threshold, the seventh indication information indicates to lower (or recommend Reduce) the proportion of integrity-protected data, or reduce (or recommend reducing) the integrity-protected data, or turn on (or turn on) part of the complete protection function.
可选地,完整性校验成功的PDCP PDU的个数与一个PDCP实体相关联;或者,包含完整性校验成功的PDCP PDU的MAC PDU的个数中的完整性校验成功的PDCP PDU与一个PDCP实体相关联。Optionally, the number of PDCP PDUs with successful integrity verification is associated with a PDCP entity; or, the number of MAC PDUs containing PDCP PDUs with successful integrity verification is associated with the PDCP PDU with successful integrity verification. A PDCP entity is associated.
其中,完整性校验成功的PDCP PDU的个数与一个PDCP实体相关联表示完整性校验 成功的PDCP PDU的个数是针对一个PDCP实体粒度的。例如,一个PDCP实体维护一个计数器,该PDCP实体关联的完整性校验成功的PDCP PDU的个数增加1,则该PDCP实体对应的计数器完整性校验增加1。Among them, the number of PDCP PDUs whose integrity check is successful is associated with a PDCP entity to indicate the integrity check. The number of successful PDCP PDUs is based on one PDCP entity granularity. For example, a PDCP entity maintains a counter. If the number of PDCP PDUs associated with the PDCP entity with successful integrity check increases by 1, then the integrity check of the counter corresponding to the PDCP entity increases by 1.
包含完整性校验成功的PDCP PDU的MAC PDU的个数中的完整性校验成功的PDCP PDU与一个PDCP实体相关联也是针对一个PDCP实体粒度的。例如,一个PDCP实体维护一个计数器,对于某一MAC PDU来说,如果该MAC PDU中完整性校验成功的PDCP PDU的个数为2个,且这两个PDCP PDU与不同的PDCP实体相关联,则每个PDCP实体对应的计数器增加1。The number of MAC PDUs containing PDCP PDUs with successful integrity checks. The PDCP PDUs with successful integrity checks are associated with a PDCP entity and are also granular for a PDCP entity. For example, a PDCP entity maintains a counter. For a certain MAC PDU, if the number of PDCP PDUs with successful integrity check in the MAC PDU is 2, and these two PDCP PDUs are associated with different PDCP entities , then the counter corresponding to each PDCP entity increases by 1.
应理解,上文所述的调整或建议调整完整性保护的数据的比例可以是针对通信设备粒度的,也可以是针对PDCP实体粒度的。例如,第七指示信息指示调整或建议调整第二通信设备中完整性保护的数据的比例。It should be understood that the adjustment or recommendation to adjust the proportion of integrity protected data described above may be at the communication device granularity or at the PDCP entity granularity. For example, the seventh instruction information indicates adjusting or recommending adjusting the proportion of integrity-protected data in the second communication device.
可选地,第七指示信息与一个PDCP实体相关联。换言之,调整或建议调整完整性保护的数据的比例是针对PDCP实体粒度的。例如,第七指示信息可以用于指示调整或建议调整第二通信设备中某一PDCP实体关联的完整性保护的数据的比例。Optionally, the seventh indication information is associated with one PDCP entity. In other words, adjusting or recommending adjusting the proportion of integrity protected data is based on the PDCP entity granularity. For example, the seventh indication information may be used to instruct or recommend adjusting the proportion of integrity protected data associated with a certain PDCP entity in the second communication device.
示例性地,以第一PDCP实体为例,第一PDCP实体关联的完整性校验失败的PDCP PDU的个数达到第一阈值,第七指示信息指示调高或建议调高第一PDCP实体关联的完整性保护的数据的比例,或针对第一PDCP实体关闭或建议关闭部分完保功能。换言之,第二通信设备的其他PDCP实体关联的完整性保护的数据的比例无需调整。Illustratively, taking the first PDCP entity as an example, the number of PDCP PDUs that fail the integrity check associated with the first PDCP entity reaches the first threshold, and the seventh instruction information indicates or recommends increasing the association of the first PDCP entity. The proportion of integrity protected data, or the first PDCP entity is turned off or it is recommended to turn off the partial integrity protection function. In other words, the proportion of integrity-protected data associated with other PDCP entities of the second communication device does not need to be adjusted.
S1320、第一通信设备向第二通信设备发送第七指示信息。相应地,第二通信设备接收第七指示信息。S1320. The first communication device sends seventh instruction information to the second communication device. Correspondingly, the second communication device receives the seventh indication information.
第一通信设备生成第七指示信息后,将其发送给第二通信设备,以便于第二通信设备调整完整性保护的数据的比例。After the first communication device generates the seventh indication information, it sends it to the second communication device, so that the second communication device adjusts the proportion of integrity protected data.
例如,第七指示信息占用1比特。该值为1表示调高(或建议调高)完整性保护的数据的比例,该值为0表示调低(或建议调低)完整性保护的数据的比例。具体的调整的数值可以由第二通信设备决定。For example, the seventh indication information occupies 1 bit. A value of 1 indicates that the proportion of data for integrity protection is increased (or recommended to be increased), and a value of 0 indicates that the proportion of data for integrity protection is decreased (or recommended to be increased). The specific adjusted value may be determined by the second communication device.
又例如,该值为1表示开启(或建议开启)部分完保功能,该值为0表示关闭(或建议关闭)部分完保功能。For another example, a value of 1 means turning on (or recommending turning on) the partial full protection function, and a value of 0 means turning off (or recommending turning off) the partial full protection function.
可选地,第七指示信息指示对应的PDCP实体、RB、LCH、或LCID中的至少一项的信息。Optionally, the seventh indication information indicates information on at least one of the corresponding PDCP entity, RB, LCH, or LCID.
例如,调整完整性保护的数据的比例也可以是针对PDCP实体粒度的,第七指示信息指示调整(或建议调整)某一PDCP实体关联的完整性保护的数据的比例,第七指示信息还需要指示对应的PDCP实体的信息。第七指示信息还可以指示对应的RB、或LCH、或LCID的信息。本申请实施例对此不作限定。For example, adjusting the proportion of integrity protected data can also be based on PDCP entity granularity. The seventh instruction information indicates adjusting (or recommending adjustment) the proportion of integrity protected data associated with a certain PDCP entity. The seventh instruction information also needs to Information indicating the corresponding PDCP entity. The seventh indication information may also indicate the corresponding RB, or LCH, or LCID information. The embodiments of the present application do not limit this.
可选地,上述方法还包括:S1330、第二通信设备基于第七指示信息,调整完整性保护的数据的比例。Optionally, the above method further includes: S1330: The second communication device adjusts the proportion of integrity protected data based on the seventh indication information.
第二通信设备接收到第七指示信息后,基于该第七指示信息,调整完整性保护的数据的比例。After receiving the seventh indication information, the second communication device adjusts the proportion of integrity protected data based on the seventh indication information.
例如,第七指示信息指示调高(或建议调高)第二通信设备中完整性保护的数据的比例,则第二通信设备接收到第七指示信息后,将完整性保护的数据的比例调高,具体调高 的数值可以由第二通信设备决定,如可以基于第二通信设备自身的功能决定。For example, the seventh instruction information indicates to increase (or recommend to increase) the proportion of integrity-protected data in the second communication device. After receiving the seventh instruction information, the second communication device adjusts the proportion of integrity-protected data. High, specifically increase The value of may be determined by the second communication device, for example, may be determined based on the functions of the second communication device itself.
又例如,第七指示信息指示调高(或建议调高)第二通信设备中第一PDCP实体关联的完整性保护的数据的比例,则第二通信设备接收到第七指示信息后,将第一PDCP实体关联的完整性保护的数据的比例调高,其他PDCP实体可以按照原来的比例对数据进行完整性保护。For another example, the seventh instruction information indicates to increase (or recommend to increase) the proportion of integrity protected data associated with the first PDCP entity in the second communication device. Then, after receiving the seventh instruction information, the second communication device will If the proportion of integrity-protected data associated with one PDCP entity is increased, other PDCP entities can integrity-protect data according to the original proportion.
基于上述技术方案,第一通信设备可以基于完整性保护的数据的校验结果生成第七指示信息,并将其发送给第二通信设备,以便于第二通信设备基于第七指示信息,调整完整性保护的数据的比例,有利于提高第二通信设备中完整性保护的数据的比例的合理性,提高通信质量/效率。Based on the above technical solution, the first communication device can generate the seventh indication information based on the verification result of the integrity protected data, and send it to the second communication device, so that the second communication device adjusts the completeness based on the seventh indication information. The proportion of integrity-protected data is conducive to improving the rationality of the proportion of integrity-protected data in the second communication device and improving communication quality/efficiency.
需要说明的是,图7和图13所示的实施例可以结合使用,也可以单独使用,本申请实施例对比不作限定。It should be noted that the embodiments shown in Fig. 7 and Fig. 13 can be used in combination or alone. The comparison of the embodiments of this application is not limited.
由前可知,在部分完保的情况下,一个MAC PDU中针对每个PDCP实体包含至少一个完整性保护的MAC SDU,下面将结合具体的实施例详细说明第二通信设备在MAC复用的过程中是如何保证一个MAC PDU中针对一个PDCP实体(例如,一个与部分完保关联的PDCP实体)包含至少一个完整性保护的MAC SDU的。As can be seen from the above, in the case of partial integrity protection, a MAC PDU contains at least one integrity-protected MAC SDU for each PDCP entity. The following will describe in detail the process of MAC multiplexing by the second communication device in conjunction with specific embodiments. How to ensure that a MAC PDU contains at least one integrity-protected MAC SDU for a PDCP entity (for example, a PDCP entity associated with partial integrity).
图14是本申请实施例提供的又一通信方法1400的示意性流程图。图14所示的通信方法1400可以包括S1410和S1420。下面详细说明方法1400中的各个步骤。Figure 14 is a schematic flow chart of yet another communication method 1400 provided by an embodiment of the present application. The communication method 1400 shown in FIG. 14 may include S1410 and S1420. Each step in method 1400 is described in detail below.
S1410、获取第一资源。S1410. Obtain the first resource.
S1420、满足第五条件,第二通信设备为第一LCH分配资源。S1420. When the fifth condition is met, the second communication device allocates resources to the first LCH.
可选地,第一LCH与部分完保相关联。Optionally, the first LCH is associated with partial coverage.
第一LCH与部分完保相关联,可以包括/理解为以下一项或多项,第一LCH对应的第一RLC实体与部分完保相关联,或,第一LCH对应的第一RB与部分完保相关联,或第一LCH对应的第一LCID与部分完保相关联,或第一LCH对应的第一PDCP实体与部分完保相关联,本申请实施例对此不作限定。The first LCH is associated with partially completed protection, which may include/understood as one or more of the following: the first RLC entity corresponding to the first LCH is associated with partially completed protection, or the first RB corresponding to the first LCH is associated with partially completed protection Full coverage is associated, or the first LCID corresponding to the first LCH is associated with partial full coverage, or the first PDCP entity corresponding to the first LCH is associated with partial full coverage. This is not limited in the embodiment of the present application.
第五条件包括以下一项或多项:The fifth condition includes one or more of the following:
第一资源的剩余资源或第一资源大于或等于第一数据集合的大小和MAC子头的大小;或者,The remaining resources of the first resource or the first resource are greater than or equal to the size of the first data set and the size of the MAC subheader; or,
第一LCH对应的变量大于或等于第一数据集合的大小。The variable corresponding to the first LCH is greater than or equal to the size of the first data set.
第一资源的剩余资源或第一资源大于或等于第一数据集合的大小和MAC子头的大小可以包括:第一资源能够容纳第一数据集合。The remaining resources of the first resource or the first resource being greater than or equal to the size of the first data set and the size of the MAC subheader may include: the first resource can accommodate the first data set.
MAC子头是指MAC SDU的子头,每个MAC SDU均包括子头。The MAC subheader refers to the subheader of the MAC SDU, and each MAC SDU includes the subheader.
第一数据集合包括第七数据,或,第一数据集合包括第七数据和第二数据集合。The first data set includes seventh data, or the first data set includes seventh data and the second data set.
其中,第七数据是进行了完整性保护的数据。第二数据集合包括至少一个数据,至少一个数据是未进行完整性保护的数据。Among them, the seventh data is integrity-protected data. The second data set includes at least one data, and at least one data is data that is not integrity protected.
还应理解,第二通信设备先按照LCP限制进行LCH选择,然后按照LCH优先级降序的顺序为LCH进行分配资源。It should also be understood that the second communication device first performs LCH selection according to LCP restrictions, and then allocates resources to the LCH in descending order of LCH priority.
一种可能的实现方式是,若LCH对应的PDCP实体部分完保相关联,按照图14所示的实施例执行。若LCH对应的PDCP实体不与部分完保相关联,可以按照现有的MAC复用或其他的流程来执行,本申请不限制。 One possible implementation method is that if the PDCP entity part corresponding to the LCH is fully associated, execution is performed according to the embodiment shown in Figure 14. If the PDCP entity corresponding to the LCH is not associated with partial integrity, it can be performed according to the existing MAC multiplexing or other processes, which is not limited by this application.
第二通信设备为第一LCH分配资源,一种可能的实现方式是,第一资源的剩余资源大于或等于第一数据集合的大小和MAC子头的大小,第二通信设备为第一LCH分配资源,换言之,将第一数据集合复用在第一MAC PDU中,则第一MAC PDU中针对该第一LCH对应的至少一个数据是进行了完整性保护的数据,即第七数据。The second communication device allocates resources to the first LCH. One possible implementation is that the remaining resources of the first resource are greater than or equal to the size of the first data set and the size of the MAC subheader, and the second communication device allocates resources to the first LCH. Resources, in other words, the first data set is multiplexed in the first MAC PDU, then at least one data corresponding to the first LCH in the first MAC PDU is integrity protected data, that is, the seventh data.
另一种可能的实现方式是,第一LCH对应的变量,即前文所述的Bj大于或等于第一数据集合的大小的情况下,第二通信设备为第一LCH分配资源。可选地,第一LCH对应的变量大于0。Another possible implementation is that when the variable corresponding to the first LCH, that is, the aforementioned Bj is greater than or equal to the size of the first data set, the second communication device allocates resources to the first LCH. Optionally, the variable corresponding to the first LCH is greater than 0.
又一种可能的实现方式是,第一资源的剩余资源大于或等于第一数据集合的大小和MAC子头的大小,且第一LCH对应的变量,即前文所述的Bj大于或等于第一数据集合的大小的情况下,第二通信设备为第一LCH分配资源。Another possible implementation is that the remaining resources of the first resource are greater than or equal to the size of the first data set and the size of the MAC subheader, and the variable corresponding to the first LCH, that is, the aforementioned Bj is greater than or equal to the first If the size of the data set is determined, the second communication device allocates resources to the first LCH.
可选地,第二数据集合包括第七数据前的所有数据;或者,第二数据集合包括第七数据和第八数据之间的所有数据,其中,第八数据是进行了完整性保护的数据。Optionally, the second data set includes all data before the seventh data; or, the second data set includes all data between the seventh data and the eighth data, where the eighth data is integrity protected data. .
需要说明的是,在本申请实施例中,之前或之后可以是按照RLC层下发数据的过程中的顺序进行理解,例如,第七数据前的所有数据是指在RLC层下发的数据中,位于第七数据前的所有数据。It should be noted that in the embodiment of the present application, before or after can be understood according to the order in the process of data being delivered by the RLC layer. For example, all data before the seventh data refers to the data delivered by the RLC layer. , all data before the seventh data.
下面将详细说明上述第二数据集合的两种可能的情况:Two possible situations for the above second data set will be described in detail below:
一种可能的情况是,第二数据集合包括第七数据前的所有数据。第七数据前可能存在一个或多个未进行完整性保护的数据,没有其他的进行了完整性保护的数据了,第七数据之后可能存在进行了完整性保护或未进行完整性保护的数据,也即MAC复用过程中,针对该第一LCH,如果Bj大于或等于第一个进行完整性保护的数据(即第七数据)及其之前的数据(即第二数据集合),则将其复用在MAC PDU中,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据。One possible situation is that the second data set includes all data before the seventh data. There may be one or more data that are not integrity protected before the seventh data, and there is no other data that is integrity protected. After the seventh data, there may be data that are integrity protected or not. That is, during the MAC multiplexing process, for the first LCH, if Bj is greater than or equal to the first integrity-protected data (i.e., the seventh data) and the data before it (i.e., the second data set), then it will Multiplexed in the MAC PDU, thereby ensuring that the MAC PDU contains at least one integrity-protected data for each PDCP entity.
可选地,第二数据集合包括第七数据前的所有数据,包括:第二数据集合包括第九数据和第七数据之间的所有数据。其中,第九数据可以是第七数据之前一个进行了完整性保护的数据。Optionally, the second data set includes all data before the seventh data, including: the second data set includes all data between the ninth data and the seventh data. The ninth data may be integrity-protected data before the seventh data.
也就是说,第七数据之前还可以包括进行了完整性保护的数据(如第九数据),第一资源的剩余资源需要容纳下如下数据:第七数据、第九数据和第七数据之间的数据,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据(即第七数据)。其中,第九数据和第七数据之间的数据不包括第七数据和第九数据。That is to say, the seventh data may also include integrity-protected data (such as ninth data). The remaining resources of the first resource need to accommodate the following data: between the seventh data, the ninth data and the seventh data. data, thereby ensuring that the MAC PDU contains at least one integrity-protected data (ie, the seventh data) for each PDCP entity. Among them, the data between the ninth data and the seventh data does not include the seventh data and the ninth data.
另一种可能的情况是,第二数据集合包括第七数据和第八数据之间的所有数据,换言之,MAC复用过程中,针对该第一LCH,如果Bj大于或等于第一个进行完整性保护的数据(即第七数据)及第一个进行完整性保护的数据和第二个进行完整性保护的数据之间的数据(即第二数据集合),则将其复用在MAC PDU中,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据。Another possible situation is that the second data set includes all data between the seventh data and the eighth data. In other words, during the MAC multiplexing process, for the first LCH, if Bj is greater than or equal to the first one, complete The data with integrity protection (i.e., the seventh data) and the data between the first data with integrity protection and the second data with integrity protection (i.e., the second data set) are multiplexed in the MAC PDU , thus ensuring that the MAC PDU contains at least one integrity-protected data for each PDCP entity.
可选地,第八数据为第七数据之后一个进行了完整性保护的数据。Optionally, the eighth data is integrity-protected data after the seventh data.
也就是说,第七数据是第一数据集合中的第一个数据,也即进行了完整性保护的数据是第一数据集合中的第一个数据,从而可以保证MAC复用之后,MAC PDU中针对每个PDCP实体第一个数据是进行完整性保护的数据。In other words, the seventh data is the first data in the first data set, that is, the integrity-protected data is the first data in the first data set, thus ensuring that after MAC multiplexing, the MAC PDU The first data for each PDCP entity is the data for integrity protection.
下面结合具体的实例详细描述第二通信设备分配资源的过程。 The process of allocating resources by the second communication device is described in detail below with reference to specific examples.
一种可能的设计是,第二通信设备通过如下方式分配资源,以保证每个MAC PDU中包含针对每个RB的第一个MAC SDU是进行了完整性保护的:One possible design is that the second communication device allocates resources in the following manner to ensure that the first MAC SDU for each RB contained in each MAC PDU is integrity protected:
以多个LCH中的第一LCH为例,第一LCH为多个LCH中优先级最高的LCH,若Bj大于或等于该第一LCH中第一个进行了完整性保护的数据和第一个进行了完整性保护的数据到第二个进行了完整性保护的数据之间的数据,则为该第一LCH分配资源。Taking the first LCH among multiple LCHs as an example, the first LCH is the LCH with the highest priority among the multiple LCHs. If Bj is greater than or equal to the first integrity-protected data in the first LCH and the first For data between the integrity-protected data and the second integrity-protected data, resources are allocated to the first LCH.
相反地,若Bj小于该LCH中第一个进行了完整性保护的数据和第一个进行了完整性保护的数据到第二个进行了完整性保护的数据之间的数据,则判断下一个LCH。On the contrary, if Bj is smaller than the data between the first integrity-protected data in the LCH and the first integrity-protected data to the second integrity-protected data, then the next one is judged. LCH.
需要说明的是,还可以综合考虑剩余资源能否容纳第一LCH中第一个进行了完整性保护的数据和第一个进行了完整性保护的数据到第二个进行了完整性保护的数据之间的数据,换言之,若Bj大于或等于该第一LCH中第一个进行了完整性保护的数据和第一个进行了完整性保护的数据到第二个进行了完整性保护的数据之间的数据,且剩余资源能够容纳第一LCH中第一个进行了完整性保护的数据和第一个进行了完整性保护的数据到第二个进行了完整性保护的数据之间的数据,则为第一LCH分配资源。It should be noted that it is also possible to comprehensively consider whether the remaining resources can accommodate the first integrity-protected data in the first LCH and the first integrity-protected data to the second integrity-protected data. In other words, if Bj is greater than or equal to the first integrity-protected data in the first LCH and the first integrity-protected data to the second integrity-protected data. data between, and the remaining resources can accommodate the data between the first integrity-protected data in the first LCH and the first integrity-protected data to the second integrity-protected data, Then allocate resources to the first LCH.
应理解,根据上述方法可以按照LCH优先级由高到低的顺序依次判断每一个LCH。It should be understood that according to the above method, each LCH can be judged in order from high to low LCH priority.
还应理解,判断完所有的满足条件的LCH后,若还有剩余资源,按照LCH优先级降序的顺序,不考虑Bj,按照剩余资源是否能容纳一组数据(如:下一个进行完整性保护的数据之前的数据)进行判断。It should also be understood that after judging all LCHs that meet the conditions, if there are remaining resources, the LCH priority will be in descending order, regardless of Bj, and integrity protection will be performed based on whether the remaining resources can accommodate a set of data (such as the next one). data before the data) to make a judgment.
另一种可能的设计是,第二通信设备通过如下方式分配资源,以保证每个MAC PDU中包含针对每个RB的一个MAC SDU是进行了完整性保护的(不要求第一个)。Another possible design is that the second communication device allocates resources in the following manner to ensure that each MAC PDU contains one MAC SDU for each RB that is integrity protected (the first one is not required).
以多个LCH中的第一LCH为例,第一LCH为多个LCH中优先级最高的LCH,若Bj大于或等于该第一LCH中第一个完保的数据及其之前的数据,且剩余资源能容纳该部分数据,则为该第一LCH分配资源。Taking the first LCH among multiple LCHs as an example, the first LCH is the LCH with the highest priority among the multiple LCHs. If Bj is greater than or equal to the first fully protected data in the first LCH and its previous data, and If the remaining resources can accommodate this part of data, resources will be allocated to the first LCH.
相反地,若Bj小于该第一LCH中第一个完保的数据及其之前的数据,则判断下一个LCH。On the contrary, if Bj is smaller than the first intact data in the first LCH and its previous data, the next LCH is determined.
需要说明的是,还可以综合考虑剩余资源能否容纳第一LCH中第一个完保的数据及其之前的数据,换言之,若Bj大于或等于该第一LCH中第一个完保的数据及其之前的数据,且剩余资源能够容纳第一LCH中第一个完保的数据及其之前的数据,则为第一LCH分配资源。It should be noted that whether the remaining resources can accommodate the first fully guaranteed data in the first LCH and its previous data can also be comprehensively considered. In other words, if Bj is greater than or equal to the first fully guaranteed data in the first LCH and the data before it, and the remaining resources can accommodate the first intact data in the first LCH and the data before it, then allocate resources to the first LCH.
应理解,根据上述方法可以按照LCH优先级由高到低的顺序依次判断每一个LCH。It should be understood that according to the above method, each LCH can be judged in order from high to low LCH priority.
还应理解,判断完所有的满足条件的LCH后,若还有剩余资源,按照LCH优先级降序的顺序,不考虑Bj,按照剩余资源是否能容纳一组数据(如:下一个进行完整性保护的数据之前的数据)进行判断。It should also be understood that after judging all LCHs that meet the conditions, if there are remaining resources, the LCH priority will be in descending order, regardless of Bj, and integrity protection will be performed based on whether the remaining resources can accommodate a set of data (such as the next one). data before the data) to make a judgment.
可选地,第一数据集合中的数据、第八数据、和第九数据与一个PDCP实体相关联。换言之,第一数据集合中的数据、第八数据、和第九数据与一个LCH相关联,也即与一个RB相关联。Optionally, the data in the first data set, the eighth data, and the ninth data are associated with one PDCP entity. In other words, the data, the eighth data, and the ninth data in the first data set are associated with one LCH, that is, with one RB.
可选地,上述方法还包括:第二通信设备发送MAC PDU。Optionally, the above method also includes: the second communication device sends a MAC PDU.
第二通信设备按照上述方法分配资源后,可以将复用之后的MAC PDU发送出去。After allocating resources according to the above method, the second communication device can send the multiplexed MAC PDU.
基于上述技术方案,第二通信设备在第一资源的剩余资源大于或等于第一数据集合的大小和MAC子头的大小情况下,和/或第一LCH对应的变量大于或等于第一数据集合的 大小的情况下,为与部分完保相关联的第一LCH分配资源,其中,第一LCH与部分完保相关联是指该第一LCH对应的PDCP实体被配置了部分完保,从而可以保证MAC PDU中针对每个PDCP实体至少包含一个进行完整性保护的数据,相对于MAC PDU中至少包含一个进行完整性保护的数据,有利于降低数据被篡改的可能性,从而有利于提高数据的安全性。Based on the above technical solution, when the remaining resources of the first resource are greater than or equal to the size of the first data set and the size of the MAC subheader, and/or the variable corresponding to the first LCH is greater than or equal to the first data set, the second communication device of If the size is large, allocate resources to the first LCH associated with partial security, where the first LCH associated with partial security means that the PDCP entity corresponding to the first LCH is configured with partial security, thus ensuring The MAC PDU contains at least one integrity-protected data for each PDCP entity. Compared with the MAC PDU, which contains at least one integrity-protected data, it is helpful to reduce the possibility of data tampering, thereby helping to improve data security. sex.
需要说明的是,本申请中所描述的各个实施例(比如图7、图13、图14对应的实施例)中的各个步骤可以是同时的,也可以是有先后的。例如,图7中的S720和S730可以同时执行,也可以是有先后顺序的,如,第一通信设备可以先执行S720,再执行S730;或反之,本申请实施例对此不作限定。另外,本申请实施例中所描述的各个实施例(比如图7、图13、图14对应的实施例)的步骤编号仅为执行流程的一种示例,并不构成对步骤执行的先后顺序的限制,本申请实施例中相互之间没有时序依赖关系的步骤之间没有严格的执行顺序。It should be noted that the various steps in the various embodiments described in this application (such as the embodiments corresponding to FIG. 7, FIG. 13, and FIG. 14) may be simultaneous or sequential. For example, S720 and S730 in Figure 7 can be executed at the same time or in sequence. For example, the first communication device can execute S720 first and then S730; or vice versa. This is not limited in the embodiment of the present application. In addition, the step numbers of the various embodiments described in the embodiments of this application (such as the embodiments corresponding to Figures 7, 13, and 14) are only an example of the execution process, and do not constitute an indication of the order of execution of the steps. Limitation: There is no strict execution order between steps that have no temporal dependence on each other in the embodiments of this application.
需要说明的是,本申请中所描述的各个实施例(比如图7、图13、图14对应的实施例)可以单独实施、或者也可以结合实施(比如图7中涉及的全部或部分方案可以和图13对应的实施例结合),具体不做限定。It should be noted that each of the embodiments described in this application (such as the embodiments corresponding to Figures 7, 13, and 14) can be implemented individually or in combination (for example, all or part of the solutions involved in Figure 7 can be implemented Combined with the embodiment corresponding to Figure 13), the details are not limited.
此外,目前,网络设备可以配置终端设备执行RLM测量和/或BFD测量,以监测通信链路和/或通信波束的质量,保证通信信息。终端设备在满足一定放松准则的情况下,可以放松RLM测量和/或BFD测量,例如,终端设备以较长的周期执行RLM测量和/或BFD测量。然而在放松了RLM测量和/或BFD测量的情况下,由于终端设备对通信链路和/或波束质量的监测不及时,终端设备可能会发生无线链路失败(radio link failure,RLF)和/或波束失败(beam failure,BF),因此如何避免或降低终端设备因放松RLM测量和/或BFD测量而发生失败是一个亟待解决的问题。In addition, currently, network equipment can configure terminal equipment to perform RLM measurement and/or BFD measurement to monitor the quality of communication links and/or communication beams to ensure communication information. The terminal device can relax the RLM measurement and/or BFD measurement when certain relaxation criteria are met. For example, the terminal device performs the RLM measurement and/or BFD measurement in a longer period. However, when the RLM measurement and/or BFD measurement is relaxed, the terminal equipment may suffer from radio link failure (RLF) and/or due to the terminal equipment not monitoring the communication link and/or beam quality in a timely manner. Or beam failure (BF), therefore how to avoid or reduce the failure of terminal equipment due to relaxing RLM measurement and/or BFD measurement is an urgent problem to be solved.
针对这个问题,本申请实施例提供一种通信方法,该方法通过网络设备控制终端设备的RLM/BFD测量放松行为,以使得网络可以根据UE的情况调整UE放松RLM测量和/或BFD测量的策略,以尽量降低UE在放松测量时发生失败的概率。下面将结合图15,详细描述上述通信方法。如图15所示,该方法包括S1510至S1550,下面将详细描述图15的各个步骤。To address this problem, embodiments of the present application provide a communication method that controls the RLM/BFD measurement relaxation behavior of the terminal device through the network device, so that the network can adjust the UE's strategy for relaxing RLM measurement and/or BFD measurement according to the UE's situation. , to minimize the probability of UE failure when relaxing measurements. The above communication method will be described in detail below with reference to Figure 15. As shown in Figure 15, the method includes S1510 to S1550. Each step of Figure 15 will be described in detail below.
应理解,图15所示的步骤仅为示例,不应对本申请实施例构成任何限定。例如,在另外的实施例中,该通信方法可以包括比图15更多或更少的步骤,如不包含S1520。It should be understood that the steps shown in Figure 15 are only examples and should not constitute any limitation on the embodiments of the present application. For example, in other embodiments, the communication method may include more or fewer steps than in FIG. 15 , such as not including S1520.
S1510、网络设备向终端设备发送RLM/BFD测量放松配置信息。S1510. The network device sends RLM/BFD measurement relaxation configuration information to the terminal device.
RLM/BFD测量放松配置信息可以用于指示RLM/BFD测量放松准则配置。其中,RLM/BFD测量放松准则配置用于终端设备判断是否满足放松RLM/BFD测量的条件,该配置可以包括参考信号的质量阈值和/或时长阈值。具体地,RLM/BFD测量放松配置信息可以包括低移动性准则(low mobility criterion)配置和/或服务小区质量准则(serving cell quality criterion)配置。RLM/BFD measurement relaxation configuration information may be used to indicate RLM/BFD measurement relaxation criterion configuration. The RLM/BFD measurement relaxation criterion configuration is used by the terminal device to determine whether the conditions for relaxing RLM/BFD measurement are met. The configuration may include a quality threshold and/or a duration threshold of the reference signal. Specifically, the RLM/BFD measurement relaxation configuration information may include low mobility criterion (low mobility criterion) configuration and/or serving cell quality criterion (serving cell quality criterion) configuration.
RLM/BFD测量放松配置信息还可以用于指示RLM/BFD测量放松的规则。RLM/BFD测量放松的规则具体可以是终端设备(满足RLM/BFD测量放松准则后)可以自行决定是否进行测量放松,或者终端设备(满足RLM/BFD测量放松准则后)需要根据网络的指示信息确定是否可以进行测量放松。 The RLM/BFD measurement relaxation configuration information may also be used to indicate rules for RLM/BFD measurement relaxation. The specific rules for RLM/BFD measurement relaxation can be that the terminal device (after meeting the RLM/BFD measurement relaxation criteria) can decide whether to perform measurement relaxation on its own, or the terminal device (after meeting the RLM/BFD measurement relaxation criteria) needs to determine according to the instruction information of the network. Is it possible to measure relaxation.
例如,网络设备发送的RLM/BFD测量放松配置信息中包含第一字段,则表示终端设备(满足RLM/BFD测量放松准则后)需要根据网络的指示信息确定是否可以进行测量放松。网络设备发送的RLM/BFD测量放松配置信息中不包含第一字段,则表示终端设备满足RLM/BFD测量放松准则后可以自行决定是否进行测量放松。For example, if the RLM/BFD measurement relaxation configuration information sent by the network device contains the first field, it means that the terminal device (after meeting the RLM/BFD measurement relaxation criteria) needs to determine whether measurement relaxation can be performed based on the network's instruction information. If the RLM/BFD measurement relaxation configuration information sent by the network device does not contain the first field, it means that the terminal device can decide whether to perform measurement relaxation after meeting the RLM/BFD measurement relaxation criteria.
再例如,网络设备发送的RLM/BFD测量放松配置信息中包含第一字段,第一字段具有至少两个取值,若第一字段被设置为取值1则表示终端设备(满足RLM/BFD测量放松准则后)需要根据网络设备的指示信息确定是否可以进行测量放松;若第一字段被设置为取值2则表示终端设备满足RLM/BFD测量放松准则后可以自行决定是否进行测量放松。For another example, the RLM/BFD measurement relaxation configuration information sent by the network device includes a first field. The first field has at least two values. If the first field is set to a value of 1, it means that the terminal device (satisfies the RLM/BFD measurement requirements) After relaxing the criteria), it is necessary to determine whether measurement relaxation can be performed based on the instruction information of the network device; if the first field is set to the value 2, it means that the terminal device can decide whether to perform measurement relaxation after meeting the RLM/BFD measurement relaxation criteria.
需要说明的是,网络设备可以在同一条消息中指示RLM/BFD测量放松准则配置和RLM/BFD测量放松规则,也可以在不同的消息中指示。换言之,RLM测量放松规则和BFD测量放松规则可以分别指示,也可以一起指示,本申请实施例对此不作限定。It should be noted that the network device can indicate the RLM/BFD measurement relaxation criterion configuration and the RLM/BFD measurement relaxation rule in the same message, or in different messages. In other words, the RLM measurement relaxation rules and the BFD measurement relaxation rules can be indicated separately or together, which is not limited in the embodiments of the present application.
S1520、终端设备根据RLM/BFD测量放松配置信息,确定满足放松准则。S1520: The terminal device measures the relaxation configuration information according to the RLM/BFD and determines that the relaxation criteria are met.
终端设备根据接入网设备发送的RLM/BFD测量放松配置信息,评估RLM/BFD测量放松准则,确定满足放松准则。The terminal device evaluates the RLM/BFD measurement relaxation criteria based on the RLM/BFD measurement relaxation configuration information sent by the access network device, and determines that the relaxation criteria are met.
其中,S1520可以是可选的步骤。Among them, S1520 may be an optional step.
S1530、终端设备根据RLM/BFD测量放松配置信息,确定测量放松规则。S1530: The terminal device determines the measurement relaxation rules according to the RLM/BFD measurement relaxation configuration information.
终端设备根据接入网设备发送的RLM/BFD测量放松配置信息,确定RLM/BFD测量放松的规则。The terminal device determines the rules for RLM/BFD measurement relaxation based on the RLM/BFD measurement relaxation configuration information sent by the access network device.
其中,测量放松规则可以是终端设备(满足RLM/BFD测量放松准则后)可以自行决定是否进行测量放松,或者终端设备(满足RLM/BFD测量放松准则后)需要根据网络的指示信息确定是否可以进行测量放松。Among them, the measurement relaxation rule may be that the terminal device (after meeting the RLM/BFD measurement relaxation criteria) can decide whether to perform measurement relaxation on its own, or the terminal device (after meeting the RLM/BFD measurement relaxation criteria) needs to determine whether it can be performed based on the instruction information of the network. Measure relaxation.
S1540a、如果测量放松规则是终端设备(满足RLM/BFD测量放松准则后)可以自行决定是否进行测量放松,终端设备放松RLM/BFD测量。S1540a. If the measurement relaxation rule is that the terminal device (after meeting the RLM/BFD measurement relaxation criteria) can decide on its own whether to perform measurement relaxation, the terminal device relaxes the RLM/BFD measurement.
具体地,终端设备可以在满足放松准则的情况下,放松RLM测量和/或BFD测量。其中,放松RLM测量和/或BFD测量的具体方式可以是终端设备增大RLM测量和/或BFD测量的测量周期,增大RLM测量和/或BFD测量的指示和/或上报周期,或者减少RLM测量和/或BFD测量的参考信号个数等等。Specifically, the terminal device may relax the RLM measurement and/or the BFD measurement if the relaxation criteria are met. The specific way to relax the RLM measurement and/or BFD measurement may be that the terminal device increases the measurement period of the RLM measurement and/or BFD measurement, increases the indication and/or reporting period of the RLM measurement and/or BFD measurement, or reduces the RLM The number of reference signals for measurement and/or BFD measurement, etc.
S1540b、如果测量放松规则是终端设备(满足RLM/BFD测量放松准则后)需要根据网络的指示信息确定是否可以进行测量放松,终端设备确定放松或不放松RLM/BFD测量。S1540b. If the measurement relaxation rule is that the terminal device (after meeting the RLM/BFD measurement relaxation criteria) needs to determine whether measurement relaxation can be performed based on the instruction information of the network, the terminal device determines whether to relax the RLM/BFD measurement.
终端设备根据网络设备发送的指示信息,确定放松或不放松测量。The terminal device determines whether to relax or not to relax the measurement according to the instruction information sent by the network device.
具体可以是,网络设备指示允许放松,或者网络设备未(在一定时间内)指示不允许进行放松,则终端设备可以进行测量放松。网络设备指示不允许放松,或者网络设备未指示允许放松,则终端设备不进行测量放松。Specifically, if the network device indicates that relaxation is allowed, or if the network device does not indicate (within a certain period of time) that relaxation is not allowed, the terminal device may perform measurement relaxation. If the network device indicates that relaxation is not allowed, or the network device does not indicate that relaxation is allowed, the terminal device will not perform measurement relaxation.
S1550、网络设备向终端设备发送指示信息。S1550. The network device sends instruction information to the terminal device.
指示信息用于指示终端设备是否可以进行RLM/BFD测量放松。The indication information is used to indicate whether the terminal device can perform RLM/BFD measurement relaxation.
具体地,指示信息可以是指示允许终端设备进行测量放松,或者指示不允许终端设备进行测量放松。Specifically, the indication information may be an indication that the terminal device is allowed to perform measurement relaxation, or an indication that the terminal device is not allowed to perform measurement relaxation.
应理解,在上文实施例中,终端设备和/或网络设备可以执行各实施例中的部分或全部步骤。这些步骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。 此外,各个步骤可以按照各实施例呈现的不同的顺序来执行,并且有可能并非要执行本申请实施例中的全部操作。且,各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the above embodiments, the terminal device and/or the network device may perform some or all of the steps in each embodiment. These steps or operations are only examples, and embodiments of the present application may also perform other operations or variations of various operations. In addition, various steps may be performed in a different order presented in each embodiment, and it is possible that not all operations in the embodiments of the present application are performed. Moreover, the size of the serial number of each step does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
应理解,本申请实施例还可以应用于其他类型的测量放松。例如,无线资源管理(Radio Resource Management,RRM)测量。符合上文实施例的逻辑的也应在本申请的范围内。It should be understood that the embodiments of the present application can also be applied to other types of measurement relaxation. For example, Radio Resource Management (RRM) measurement. Anything that conforms to the logic of the above embodiments should also be within the scope of this application.
图16至图19为本申请实施例提供的可能的通信装置的结构示意图。16 to 19 are schematic structural diagrams of possible communication devices provided by embodiments of the present application.
图16是本申请实施例提供的通信装置1600的示意性框图。Figure 16 is a schematic block diagram of a communication device 1600 provided by an embodiment of the present application.
如图16所示,通信装置1600包括处理单元1610和收发单元1620。As shown in Figure 16, the communication device 1600 includes a processing unit 1610 and a transceiver unit 1620.
上述装置1600可以用于实现上述图7所示的方法实施例中第一通信设备的功能,或者,上述装置1600可以包括用于实现上述图7所示的方法实施例中第一通信设备的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。上述装置1600可以用于实现上述图13所示的方法实施例中第一通信设备的功能,或者,装置1600可以包括用于实现上述图13所示的方法实施例中第一通信设备的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。上述装置1600可以用于实现上述图13所示的方法实施例中第二通信设备的功能,或者,装置1600可以包括用于实现上述图13所示的方法实施例中第二通信设备的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。上述装置1600可以用于实现上述图14所示的方法实施例中第二通信设备的功能,或者,装置1600可以包括用于实现上述图14所示的方法实施例中第二通信设备的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。The above-mentioned device 1600 may be used to implement the functions of the first communication device in the above-mentioned method embodiment shown in Figure 7, or the above-mentioned device 1600 may include any means for implementing the first communication device in the above-mentioned method embodiment shown in Figure 7. A functional or operational module that may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. The above-mentioned device 1600 may be used to implement the functions of the first communication device in the above-mentioned method embodiment shown in Figure 13, or the device 1600 may include any of the first communication devices used in the above-mentioned method embodiment shown in Figure 13. A module of function or operation, which may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. The above-mentioned device 1600 may be used to implement the functions of the second communication device in the above-mentioned method embodiment shown in FIG. 13, or the device 1600 may include any one of the functions of the second communication device in the above-mentioned method embodiment shown in FIG. 13. A module of function or operation, which may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. The above-mentioned device 1600 may be used to implement the functions of the second communication device in the above-mentioned method embodiment shown in FIG. 14, or the device 1600 may include any one of the functions of the second communication device in the above-mentioned method embodiment shown in FIG. 14. A module of function or operation, which may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
示例性地,当装置1600用于实现图7所示的方法实施例中第一通信设备的功能时,收发单元1620可以用于获取第一数据,第一数据是未进行完整性保护的数据,第一数据与第一MAC PDU相关联,且与第一PDCP实体相关联;处理单元1610可以用于满足第一条件,丢弃第一数据,第一条件包括以下一项或多项:第二数据完整性校验失败,所述第二数据与第一MAC PDU相关联,且与第一PDCP实体相关联;第三数据完整性校验失败,第三数据与述第一MAC PDU相关联,且与第二PDCP实体相关联;第四数据完整性校验失败,第四数据与第二MAC PDU相关联,且与第一PDCP实体相关联;第五数据完整性校验失败,第五数据与第二MAC PDU相关联,且与第二PDCP实体相关联;或者,第六数据完整性校验失败,第六数据与第二MAC PDU相关联,且与第三PDCP实体相关联。For example, when the device 1600 is used to implement the functions of the first communication device in the method embodiment shown in Figure 7, the transceiver unit 1620 can be used to obtain the first data, and the first data is data without integrity protection, The first data is associated with the first MAC PDU and is associated with the first PDCP entity; the processing unit 1610 can be used to satisfy the first condition and discard the first data, where the first condition includes one or more of the following: second data The integrity check fails, the second data is associated with the first MAC PDU, and is associated with the first PDCP entity; the third data integrity check fails, the third data is associated with the first MAC PDU, and Associated with the second PDCP entity; the fourth data integrity check fails, the fourth data is associated with the second MAC PDU, and associated with the first PDCP entity; the fifth data integrity check fails, the fifth data is associated with The second MAC PDU is associated with the second PDCP entity; or, the sixth data integrity check fails, and the sixth data is associated with the second MAC PDU and is associated with the third PDCP entity.
示例性地,当装置1600用于实现图13所示的方法实施例中第一通信设备的功能时,处理单元1610可以用于生成第七指示信息,该第七指示信息用于指示调整完整性保护的数据的比例,收发单元1620可以用于发送第七指示信息。Exemplarily, when the apparatus 1600 is used to implement the functions of the first communication device in the method embodiment shown in Figure 13, the processing unit 1610 can be used to generate seventh indication information, the seventh indication information being used to indicate adjusting the integrity According to the proportion of protected data, the transceiver unit 1620 may be used to send seventh indication information.
示例性地,当装置1600用于实现图13所示的方法实施例中第二通信设备的功能时,收发单元1620可以用于接收第七指示信息,处理单元1610可以用于基于第七指示信息,调整完整性保护的数据的比例。For example, when the apparatus 1600 is used to implement the functions of the second communication device in the method embodiment shown in Figure 13, the transceiver unit 1620 can be used to receive the seventh indication information, and the processing unit 1610 can be used to receive the seventh indication information based on the seventh indication information. , adjust the proportion of integrity-protected data.
示例性地,当装置1600用于实现图14所示的方法实施例中第二通信设备的功能时,处理单元1610可以用于获取第一资源;满足第五条件,为第一逻辑信道分配资源,该第一LCH与部分完保相关联,其中,第五条件包括以下一项或多项:第一资源的剩余资源 大于或等于第一数据集合的大小和MAC子头的大小;或者,第一LCH对应的变量大于或等于第一数据集合的大小;其中,第一数据集合包括第七数据,或,第一数据集合包括第七数据和第二数据集合,其中,第七数据是进行了完整性保护的数据,第二数据集合包括至少一个数据,至少一个数据是未进行完整性保护的数据。For example, when the device 1600 is used to implement the functions of the second communication device in the method embodiment shown in Figure 14, the processing unit 1610 can be used to obtain the first resource; and when the fifth condition is met, allocate resources to the first logical channel , the first LCH is associated with a partial guarantee, where the fifth condition includes one or more of the following: remaining resources of the first resource Greater than or equal to the size of the first data set and the size of the MAC subheader; or, the variable corresponding to the first LCH is greater than or equal to the size of the first data set; wherein the first data set includes seventh data, or, the first data The set includes seventh data and a second data set, wherein the seventh data is integrity-protected data, and the second data set includes at least one data, and at least one data is data that is not integrity-protected.
可选地,上述装置1600还可以用于实现上述图15所示的方法实施例中终端设备的功能,或者,上述装置1600可以包括用于实现上述图15所示的方法实施例中终端设备的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。上述装置1600还可以用于实现上述图15所示的方法实施例中网络设备的功能,或者,上述装置1600可以包括用于实现上述图15所示的方法实施例中网络设备的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。Optionally, the above-mentioned device 1600 can also be used to implement the functions of the terminal device in the above-mentioned method embodiment shown in Figure 15, or the above-mentioned device 1600 can include a function for implementing the terminal device in the above-mentioned method embodiment shown in Figure 15. Any function or operation module that can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. The above-mentioned device 1600 can also be used to implement the functions of the network device in the above-mentioned method embodiment shown in Figure 15, or the above-mentioned device 1600 can be used to implement any function of the network device in the above-mentioned method embodiment shown in Figure 15 or A module of operation, which may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
有关上述处理单元1610和收发单元1620更详细的描述可以直接参考图7、图13、图14或图15所示的方法实施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the processing unit 1610 and the transceiver unit 1620 can be obtained directly by referring to the relevant descriptions in the method embodiments shown in Figure 7, Figure 13, Figure 14 or Figure 15, and will not be described again here.
应理解,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be understood that the division of units in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods. In addition, each functional unit in various embodiments of the present application may be integrated into one processor, may exist independently, or may have two or more units integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
图17是本申请实施例提供的通信装置1700的另一示意性框图。该装置1700可以为芯片系统,或者,也可以为配置了芯片系统,以用于实现上述方法实施例中通信功能的装置。在本申请实施例中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。Figure 17 is another schematic block diagram of a communication device 1700 provided by an embodiment of the present application. The device 1700 may be a chip system, or may be a device configured with a chip system to implement the communication function in the above method embodiment. In the embodiment of the present application, the chip system may be composed of chips, or may include chips and other discrete devices.
如图17所示,该装置1700可以包括处理器1710和通信接口1720。其中,通信接口1720可用于通过传输介质和其它设备进行通信,从而用于装置1700可以和其它设备进行通信。所述通信接口1720例如可以是收发器、接口、总线、电路或者能够实现收发功能的装置。处理器1710可利用通信接口1720输入输出数据,并用于实现图7、图13、图14或图15对应的实施例中所述的方法。例如,该装置1700可用于实现上述方法实施例第一通信设备或第二通信设备的功能。As shown in Figure 17, the device 1700 may include a processor 1710 and a communication interface 1720. The communication interface 1720 can be used to communicate with other devices through a transmission medium, so that the device 1700 can communicate with other devices. The communication interface 1720 may be, for example, a transceiver, an interface, a bus, a circuit, or a device capable of implementing transceiver functions. The processor 1710 can use the communication interface 1720 to input and output data, and is used to implement the method described in the corresponding embodiment of FIG. 7, FIG. 13, FIG. 14 or FIG. 15. For example, the device 1700 can be used to implement the functions of the first communication device or the second communication device in the above method embodiment.
当装置1700用于实现图7、图13、图14或图15所示的方法时,处理器1610用于实现上述处理单元1610的功能,通信接口1720用于实现上述收发单元1620的功能。When the device 1700 is used to implement the method shown in Figure 7, Figure 13, Figure 14 or Figure 15, the processor 1610 is used to implement the function of the above-mentioned processing unit 1610, and the communication interface 1720 is used to implement the function of the above-mentioned transceiver unit 1620.
可选地,该装置1700还包括至少一个存储器1730,用于存储程序指令和/或数据。存储器1730和处理器1710耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器1710可能和存储器1730协同操作。处理器1710可能执行存储器1730中存储的程序指令。所述至少一个存储器中的至少一个可以包括于处理器中。Optionally, the apparatus 1700 further includes at least one memory 1730 for storing program instructions and/or data. Memory 1730 and processor 1710 are coupled. The coupling in the embodiment of this application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information interaction between devices, units or modules. Processor 1710 may cooperate with memory 1730. Processor 1710 may execute program instructions stored in memory 1730 . At least one of the at least one memory may be included in the processor.
本申请实施例中不限定上述处理器1710、通信接口1720以及存储器1730之间的具体连接介质。本申请实施例在图17中以处理器1710、通信接口1720以及存储器1730之间通过总线1740连接。总线1740在图17中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图17中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The embodiment of the present application does not limit the specific connection medium between the processor 1710, the communication interface 1720, and the memory 1730. In the embodiment of the present application, in Figure 17, the processor 1710, the communication interface 1720, and the memory 1730 are connected through a bus 1740. The bus 1740 is represented by a thick line in FIG. 17 , and the connection methods between other components are only schematically illustrated and not limited thereto. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 17, but it does not mean that there is only one bus or one type of bus.
图18是本申请实施例提供的网络设备的结构示意图,例如可以为基站的结构示意图。如图18所示,该基站1800可以包括一个或多个射频单元,如远端射频单元(remote radio  unit,RRU)1810和一个或多个基带单元(BBU)(也可称为分布式单元(DU))1820。所述RRU 1810可以称为收发单元,与图16中的收发单元1620对应。可选地,该RRU 1810还可以称为收发机、收发电路、或者收发器等等,其可以包括至少一个天线1811和射频单元1812。可选地,RRU 1810可以包括接收单元和发送单元,接收单元可以对应于接收器(或称接收机、接收电路),发送单元可以对应于发射器(或称发射机、发射电路)。所述RRU 1810部分主要用于射频信号的收发以及射频信号与基带信号的转换,例如用于向终端设备发送配置信息。所述BBU 1820部分主要用于进行基带处理,对基站进行控制等。所述RRU 1810与BBU 1820可以是物理上设置在一起,也可以物理上分离设置的,即分布式基站。Figure 18 is a schematic structural diagram of a network device provided by an embodiment of the present application, which may be a schematic structural diagram of a base station, for example. As shown in Figure 18, the base station 1800 may include one or more radio frequency units, such as a remote radio unit (remote radio unit). unit (RRU) 1810 and one or more baseband units (BBUs) (also called distributed units (DU)) 1820. The RRU 1810 may be called a transceiver unit, corresponding to the transceiver unit 1620 in Figure 16 . Optionally, the RRU 1810 may also be called a transceiver, a transceiver circuit, a transceiver, or the like, and may include at least one antenna 1811 and a radio frequency unit 1812. Optionally, the RRU 1810 may include a receiving unit and a transmitting unit, the receiving unit may correspond to a receiver (or receiver, receiving circuit), and the transmitting unit may correspond to a transmitter (or transmitter, transmitting circuit). The RRU 1810 part is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals and baseband signals, for example, for sending configuration information to terminal equipment. The BBU 1820 part is mainly used for baseband processing, base station control, etc. The RRU 1810 and the BBU 1820 may be physically installed together or physically separated, that is, a distributed base station.
所述BBU 1820为基站的控制中心,也可以称为处理单元,可以与图16中的处理单元1610对应,主要用于完成基带处理功能,如信道编码,复用,调制,扩频等等。例如所述BBU(处理单元)可以用于控制基站执行上述方法实施例中关于网络设备的操作流程。The BBU 1820 is the control center of the base station and can also be called a processing unit. It can correspond to the processing unit 1610 in Figure 16 and is mainly used to complete baseband processing functions, such as channel coding, multiplexing, modulation, spread spectrum, etc. For example, the BBU (processing unit) can be used to control the base station to execute the operation process related to the network device in the above method embodiment.
在一个示例中,所述BBU 1820可以由一个或多个单板构成,多个单板可以共同支持单一接入制式的无线接入网(如LTE网),也可以分别支持不同接入制式的无线接入网(如LTE网,5G网或其他网)。所述BBU 1820还包括存储器1821和处理器1822。所述存储器1821用以存储必要的指令和数据。所述处理器1822用于控制基站进行必要的动作,例如用于控制基站执行上述方法实施例中关于网络设备的操作流程。所述存储器1821和处理器1822可以服务于一个或多个单板。也就是说,可以每个单板上单独设置存储器和处理器。也可以是多个单板共用相同的存储器和处理器。此外每个单板上还可以设置有必要的电路。In one example, the BBU 1820 may be composed of one or more single boards. Multiple single boards may jointly support a single access standard wireless access network (such as an LTE network), or may support different access standard wireless access networks respectively. Wireless access network (such as LTE network, 5G network or other networks). The BBU 1820 also includes a memory 1821 and a processor 1822. The memory 1821 is used to store necessary instructions and data. The processor 1822 is used to control the base station to perform necessary actions, for example, to control the base station to perform the operation process of the network equipment in the above method embodiment. The memory 1821 and processor 1822 may serve one or more single boards. In other words, the memory and processor can be set independently on each board. It is also possible for multiple boards to share the same memory and processor. In addition, necessary circuits can also be installed on each board.
应理解,图18所示的基站1800能够实现图7、图13、图14或图15所示实施例中所述的方法。基站1800中的各个模块的操作和/或功能,分别为了实现上述方法实施例中的相应流程。具体可参见上述方法实施例中的描述,为避免重复,此处适当省略详细描述。It should be understood that the base station 1800 shown in Figure 18 can implement the method described in the embodiment shown in Figure 7, Figure 13, Figure 14 or Figure 15. The operations and/or functions of each module in the base station 1800 are respectively intended to implement the corresponding processes in the above method embodiments. For details, please refer to the description in the above method embodiment. To avoid repetition, the detailed description is appropriately omitted here.
图19是本申请实施例提供的终端设备的结构示意图。该终端设备1900可以用于实现图7、图13、图14或图15所示实施例中所述的方法,该终端设备1900可应用于如图6所示的通信系统600中。如图19所示,该终端设备1900包括处理器1901和收发器1902。可选地,该终端设备1900还包括存储器1903。其中,处理器1901、收发器1902和存储器1903之间可以通过内部连接通路互相通信,传输控制和/或数据信号,该存储器1903用于存储计算机程序,该处理器1901用于从该存储器1903中调用并运行该计算机程序,以控制该收发器1902收发信号。可选地,终端设备1900还可以包括天线1904,用于将收发器1902输出的上行数据或上行控制信令通过无线信号发送出去。可选地,该终端设备1900还包括Wi-Fi模块1911,用于接入无线网络中。Figure 19 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. The terminal device 1900 can be used to implement the method described in the embodiment shown in Figure 7, Figure 13, Figure 14 or Figure 15. The terminal device 1900 can be applied in the communication system 600 shown in Figure 6. As shown in Figure 19, the terminal device 1900 includes a processor 1901 and a transceiver 1902. Optionally, the terminal device 1900 also includes a memory 1903. Among them, the processor 1901, the transceiver 1902 and the memory 1903 can communicate with each other through internal connection channels and transmit control and/or data signals. The memory 1903 is used to store computer programs, and the processor 1901 is used to retrieve data from the memory 1903. The computer program is called and run to control the transceiver 1902 to send and receive signals. Optionally, the terminal device 1900 may also include an antenna 1904 for sending uplink data or uplink control signaling output by the transceiver 1902 through wireless signals. Optionally, the terminal device 1900 also includes a Wi-Fi module 1911 for accessing a wireless network.
上述处理器1901可以和存储器1903可以合成一个处理装置,处理器1901用于执行存储器1903中存储的程序代码来实现上述功能。具体实现时,该存储器1903也可以集成在处理器1901中,或者独立于处理器1901。该处理器1901可以与图16中的处理单元1610或图17中的处理器1710对应。The above-mentioned processor 1901 and the memory 1903 can be combined into one processing device, and the processor 1901 is used to execute the program code stored in the memory 1903 to implement the above functions. During specific implementation, the memory 1903 may also be integrated in the processor 1901 or independent of the processor 1901. The processor 1901 may correspond to the processing unit 1610 in FIG. 16 or the processor 1710 in FIG. 17 .
上述收发器1902可以与图16中的收发单元1620或图17中的通信接口1720对应。收发器1902可以包括接收器(或称接收机、接收电路)和发射器(或称发射机、发射电路)。其中,接收器用于接收信号,发射器用于发射信号。 The above-mentioned transceiver 1902 may correspond to the transceiver unit 1620 in FIG. 16 or the communication interface 1720 in FIG. 17 . The transceiver 1902 may include a receiver (or receiver, receiving circuit) and a transmitter (or transmitter, transmitting circuit). Among them, the receiver is used to receive signals, and the transmitter is used to transmit signals.
可选地,上述终端设备1900还可以包括电源1905,用于给终端设备1900中的各种器件或电路提供电源。Optionally, the above terminal device 1900 may also include a power supply 1905, which is used to provide power to various devices or circuits in the terminal device 1900.
除此之外,为了使得该终端设备的功能更加完善,该终端设备1900还可以包括输入单元1906、显示单元1907、音频电路1908、摄像头1909和传感器1910等中的一个或多个,所述音频电路还可以包括扬声器1908a、麦克风1908b等。In addition, in order to make the functions of the terminal device more complete, the terminal device 1900 may also include one or more of an input unit 1906, a display unit 1907, an audio circuit 1908, a camera 1909, a sensor 1910, etc., the audio The circuitry may also include a speaker 1908a, a microphone 1908b, etc.
应理解,图19所示的终端设备1900能够实现图7、图13、图14或图15所示方法实施例中涉及终端设备的各个过程。终端设备1900中的各个模块的操作和/或功能,分别为了实现上述方法实施例中的相应流程。具体可参见上述方法实施例中的描述,为避免重复,此处适当省略详细描述。It should be understood that the terminal device 1900 shown in Figure 19 can implement various processes involving the terminal device in the method embodiments shown in Figure 7, Figure 13, Figure 14 or Figure 15. The operations and/or functions of each module in the terminal device 1900 are respectively to implement the corresponding processes in the above method embodiment. For details, please refer to the description in the above method embodiment. To avoid repetition, the detailed description is appropriately omitted here.
当终端设备1900用于执行上文方法实施例中涉及终端设备的操作流程时,处理器1901可以用于执行前面方法实施例中描述的由终端设备内部实现的动作,而收发器1902可以用于执行前面方法实施例中描述的终端设备向网络设备发送或从网络设备接收的动作。具体请见前面方法实施例中的描述,此处不再赘述。When the terminal device 1900 is used to perform the operation process involving the terminal device in the above method embodiment, the processor 1901 can be used to perform the actions implemented internally by the terminal device described in the previous method embodiment, and the transceiver 1902 can be used to Execute the actions of the terminal device sending to or receiving from the network device described in the previous method embodiments. For details, please refer to the description in the previous method embodiments and will not be described again here.
本申请还提供一种计算机程序产品,所述计算机程序产品包括:计算机程序(也可以称为代码,或指令),当所述计算机程序被运行时,使得计算机实现图7、图13、图14或图15所示实施例中任意一个实施例所述的方法。This application also provides a computer program product. The computer program product includes: a computer program (which can also be called a code, or an instruction). When the computer program is run, it causes the computer to implement Figures 7, 13, and 14. Or the method described in any one of the embodiments shown in Figure 15.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序(也可以称为代码,或指令)。当所述计算机程序被运行时,使得计算机实现图7、图13、图14或图15所示实施例中任意一个实施例所述的方法。This application also provides a computer-readable storage medium that stores a computer program (which may also be called a code, or an instruction). When the computer program is run, the computer is caused to implement the method described in any one of the embodiments shown in Figure 7, Figure 13, Figure 14 or Figure 15.
本申请实施例提供了一种通信系统,该系统包括如前所述的第一通信设备和第二通信设备。An embodiment of the present application provides a communication system, which includes a first communication device and a second communication device as described above.
应理解,本申请实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. During the implementation process, each step of the above method embodiment can be completed through an integrated logic circuit of hardware in the processor or instructions in the form of software. The above-mentioned processor can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (field programmable gate array, FPGA), or other available processors. Programmed logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logical block diagram disclosed in the embodiment of this application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态 随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should also be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static Random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM) . It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
本说明书中使用的术语“单元”、“模块”等,可用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。本申请实施例中的单元和模块含义相同,可以交叉使用。The terms "unit", "module", etc. used in this specification may be used to refer to computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. The units and modules in the embodiments of this application have the same meaning and can be used interchangeably.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。在本申请所提供的几个实施例中,应该理解到,所揭露的装置、设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or a combination of computer software and electronic hardware. accomplish. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application. In the several embodiments provided in this application, it should be understood that the disclosed devices, equipment and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
在上述实施例中,各功能单元的功能可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令(程序)。在计算机上加载和执行所述计算机程序指令(程序)时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,数字通用光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, the functions of each functional unit may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (program) are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmission to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVD)), or semiconductor media (e.g., solid state disks (SSD) )wait.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储 在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described are implemented in the form of software functional units and sold or used as independent products, they can be stored on a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (33)

  1. 一种通信方法,其特征在于,应用于第一通信设备,所述方法包括:A communication method, characterized in that it is applied to a first communication device, and the method includes:
    获取第一数据,所述第一数据是未进行完整性保护的数据,所述第一数据与第一媒体接入控制MAC协议数据单元PDU相关联,且与第一分组数据汇聚协议PDCP实体相关联;Obtain first data, the first data is data without integrity protection, the first data is associated with the first media access control MAC protocol data unit PDU, and is associated with the first packet data convergence protocol PDCP entity couplet;
    满足第一条件,丢弃所述第一数据,所述第一条件包括以下一项或多项:If the first condition is met, the first data is discarded. The first condition includes one or more of the following:
    第二数据完整性校验失败,所述第二数据与所述第一MAC PDU相关联,且与所述第一PDCP实体相关联;The second data integrity check failed, the second data is associated with the first MAC PDU and is associated with the first PDCP entity;
    第三数据完整性校验失败,所述第三数据与所述第一MAC PDU相关联,且与第二PDCP实体相关联;The integrity check of the third data failed, and the third data is associated with the first MAC PDU and associated with the second PDCP entity;
    第四数据完整性校验失败,所述第四数据与第二MAC PDU相关联,且与所述第一PDCP实体相关联;The fourth data integrity check fails, the fourth data is associated with the second MAC PDU and is associated with the first PDCP entity;
    第五数据完整性校验失败,所述第五数据与所述第二MAC PDU相关联,且与所述第二PDCP实体相关联;或者,The fifth data integrity check fails, the fifth data is associated with the second MAC PDU and is associated with the second PDCP entity; or,
    第六数据完整性校验失败,所述第六数据与所述第二MAC PDU相关联,且与第三PDCP实体相关联。The sixth data integrity check fails, and the sixth data is associated with the second MAC PDU and associated with the third PDCP entity.
  2. 如权利要求1所述的方法,其特征在于,所述第一数据、所述第二数据、所述第三数据、所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据与不同的MAC PDU相关联。The method of claim 1, wherein: among the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data At least one piece of data is associated with a different MAC PDU.
  3. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, characterized in that the method further includes:
    丢弃所述第二数据、所述第三数据、所述第四数据、所述第五数据、或者所述第六数据中的一项或多项。One or more of the second data, the third data, the fourth data, the fifth data, or the sixth data are discarded.
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, characterized in that the method further includes:
    在满足第二条件的情况下,不丢弃所述第一数据;其中,When the second condition is met, the first data is not discarded; wherein,
    所述第二条件包括以下一项或多项:The second condition includes one or more of the following:
    所述第二数据完整性校验成功;The second data integrity check is successful;
    所述第三数据完整性校验成功;The third data integrity check is successful;
    所述第四数据完整性校验成功;The fourth data integrity check is successful;
    所述第五数据完整性校验成功;或者,The fifth data integrity check is successful; or,
    所述第六数据完整性校验成功。The sixth data integrity check is successful.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that the method further includes:
    根据第一指示信息,确定所述第一数据、所述第二数据、或者所述第三数据中的至少一个数据与所述第一MAC PDU相关联,所述第一指示信息来自所述第一通信设备的MAC层;和/或,According to first indication information, it is determined that at least one of the first data, the second data, or the third data is associated with the first MAC PDU, and the first indication information is from the third data. The MAC layer of a communications device; and/or,
    基于第二指示信息,确定所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据与所述第二MAC PDU相关联,所述第二指示信息来自所述第一通信设备的MAC层。Based on second indication information, it is determined that at least one of the fourth data, the fifth data, or the sixth data is associated with the second MAC PDU, the second indication information being from the first The MAC layer of a communication device.
  6. 如权利要求5所述的方法,其特征在于,所述第一指示信息中包括所述第一数据、所述第二数据、或者所述第三数据中的至少一个数据对应的编号信息;和/或,所述第二指示信息中包括所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据对应的 编号信息。The method of claim 5, wherein the first indication information includes number information corresponding to at least one of the first data, the second data, or the third data; and /Or, the second indication information includes data corresponding to at least one of the fourth data, the fifth data, or the sixth data. Number information.
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, characterized in that the method further includes:
    基于第三指示信息,确定所述第一数据、所述第二数据、所述第三数据、所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据与不同的MAC PDU相关联,所述第三指示信息来自所述第一通信设备的无线链路控制RLC层。Based on the third indication information, it is determined that at least one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data is different from associated with the MAC PDU, and the third indication information comes from the radio link control RLC layer of the first communication device.
  8. 如权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括以下一项或多项:The method according to any one of claims 1 to 7, characterized in that the method further includes one or more of the following:
    基于第四指示信息,确定所述第三数据完整性校验失败或成功,所述第四指示信息来自所述第二PDCP实体;Determine whether the third data integrity check fails or succeeds based on fourth indication information, the fourth indication information coming from the second PDCP entity;
    基于第五指示信息,确定所述第五数据完整性校验失败或成功,所述第五指示信息来自所述第二PDCP实体;或者,Determine that the fifth data integrity check failed or succeeded based on fifth indication information, the fifth indication information coming from the second PDCP entity; or,
    基于第六指示信息,确定所述第六数据完整性校验失败或成功,所述第六指示信息来自所述第三PDCP实体。Based on sixth indication information, it is determined that the sixth data integrity check fails or succeeds, and the sixth indication information comes from the third PDCP entity.
  9. 如权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, characterized in that the method further includes:
    向第二通信设备发送第七指示信息,所述第七指示信息用于指示调整完整性保护的数据的比例。Seventh indication information is sent to the second communication device, where the seventh indication information is used to indicate adjusting the proportion of integrity protected data.
  10. 如权利要求9所述的方法,其特征在于,在满足第三条件的情况下,所述第七指示信息指示调高完整性保护的数据的比例,其中,所述第三条件包括以下一项或多项:The method of claim 9, wherein when a third condition is met, the seventh instruction information indicates increasing the proportion of integrity protected data, wherein the third condition includes one of the following or more than one:
    完整性校验失败的次数大于或等于第一阈值;或,The number of integrity check failures is greater than or equal to the first threshold; or,
    接收到的、不包含完整性保护的数据的MAC PDU的个数大于或等于第二阈值;The number of received MAC PDUs that do not contain integrity-protected data is greater than or equal to the second threshold;
    和/或,and / or,
    在满足第四条件的情况下,所述第七指示信息指示调低完整性保护的数据的比例,其中,所述第四条件包括以下一项或多项:If the fourth condition is met, the seventh indication information indicates to reduce the proportion of integrity protected data, wherein the fourth condition includes one or more of the following:
    完整性校验成功的次数大于或等于第三阈值;The number of successful integrity checks is greater than or equal to the third threshold;
    接收到的、包含完整性保护的数据的MAC PDU的个数大于或等于第四阈值;或,The number of received MAC PDUs containing integrity protected data is greater than or equal to the fourth threshold; or,
    接收到的MAC PDU的个数大于或等于第五阈值,其中,所述接收到的MAC PDU包含的数据均为完整性保护的。The number of received MAC PDUs is greater than or equal to the fifth threshold, wherein the data contained in the received MAC PDUs is integrity protected.
  11. 如权利要求10所述的方法,其特征在于,所述完整性校验失败的次数根据以下任一项确定:The method of claim 10, wherein the number of integrity check failures is determined according to any of the following:
    完整性校验失败的PDCP PDU的个数;或者,The number of PDCP PDUs that failed integrity check; or,
    包含完整性校验失败的PDCP PDU的MAC PDU的个数。The number of MAC PDUs containing PDCP PDUs that failed integrity check.
  12. 如权利要求11所述的方法,其特征在于,所述完整性校验失败的PDCP PDU的个数与一个PDCP实体相关联;或者,The method of claim 11, wherein the number of PDCP PDUs that fail the integrity check is associated with one PDCP entity; or,
    所述包含完整性校验失败的PDCP PDU的MAC PDU的个数中的完整性校验失败的PDCP PDU与一个PDCP实体相关联。The PDCP PDU that fails the integrity check in the number of MAC PDUs containing the PDCP PDU that fails the integrity check is associated with a PDCP entity.
  13. 如权利要求10至12中任一项所述的方法,其特征在于,所述完整性校验成功的次数根据以下任一项确定:The method according to any one of claims 10 to 12, characterized in that the number of successful integrity checks is determined according to any one of the following:
    完整性校验成功的PDCP PDU的个数;或者,The number of PDCP PDUs with successful integrity check; or,
    包含完整性校验成功的PDCP PDU的MAC PDU的个数。 The number of MAC PDUs containing PDCP PDUs with successful integrity check.
  14. 如权利要求13所述的方法,其特征在于,所述完整性校验成功的PDCP PDU的个数与一个PDCP实体相关联;或者,The method of claim 13, wherein the number of PDCP PDUs with successful integrity verification is associated with one PDCP entity; or,
    所述包含完整性校验成功的PDCP PDU的MAC PDU的个数中的完整性校验成功的PDCP PDU与一个PDCP实体相关联。The PDCP PDU with successful integrity check among the number of MAC PDUs containing the PDCP PDU with successful integrity check is associated with one PDCP entity.
  15. 如权利要求9至14中任一项所述的方法,其特征在于,所述第七指示信息与一个PDCP实体相关联。The method according to any one of claims 9 to 14, characterized in that the seventh indication information is associated with a PDCP entity.
  16. 一种通信装置,其特征在于,包括:A communication device, characterized by including:
    收发单元,用于获取第一数据,所述第一数据是未进行完整性保护的数据,所述第一数据与第一媒体接入控制MAC协议数据单元PDU相关联,且与第一分组数据汇聚协议PDCP实体相关联;A transceiver unit, configured to obtain first data, which is data without integrity protection, where the first data is associated with the first media access control MAC protocol data unit PDU and is associated with the first packet data The convergence protocol PDCP entity is associated;
    处理单元,用于满足第一条件,丢弃所述第一数据,所述第一条件包括以下一项或多项:A processing unit configured to discard the first data when a first condition is met, where the first condition includes one or more of the following:
    第二数据完整性校验失败,所述第二数据与所述第一MAC PDU相关联,且与所述第一PDCP实体相关联;The second data integrity check failed, the second data is associated with the first MAC PDU and is associated with the first PDCP entity;
    第三数据完整性校验失败,所述第三数据与所述第一MAC PDU相关联,且与第二PDCP实体相关联;The integrity check of the third data failed, and the third data is associated with the first MAC PDU and associated with the second PDCP entity;
    第四数据完整性校验失败,所述第四数据与第二MAC PDU相关联,且与所述第一PDCP实体相关联;The fourth data integrity check fails, the fourth data is associated with the second MAC PDU and is associated with the first PDCP entity;
    第五数据完整性校验失败,所述第五数据与所述第二MAC PDU相关联,且与所述第二PDCP实体相关联;或者,The fifth data integrity check fails, the fifth data is associated with the second MAC PDU and is associated with the second PDCP entity; or,
    第六数据完整性校验失败,所述第六数据与所述第二MAC PDU相关联,且与第三PDCP实体相关联。The sixth data integrity check fails, and the sixth data is associated with the second MAC PDU and associated with the third PDCP entity.
  17. 如权利要求16所述的装置,其特征在于,所述第一数据、所述第二数据、所述第三数据、所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据与不同的MAC PDU相关联。The device of claim 16, wherein: one of the first data, the second data, the third data, the fourth data, the fifth data, or the sixth data At least one piece of data is associated with a different MAC PDU.
  18. 如权利要求16或17所述的装置,其特征在于,所述处理单元还用于丢弃所述第二数据、所述第三数据、所述第四数据、所述第五数据、或者所述第六数据中的一项或多项。The device of claim 16 or 17, wherein the processing unit is further configured to discard the second data, the third data, the fourth data, the fifth data, or the One or more items in the sixth data.
  19. 如权利要求16至18中任一项所述的装置,其特征在于,所述处理单元还用于在满足第二条件的情况下,不丢弃所述第一数据;其中,The device according to any one of claims 16 to 18, wherein the processing unit is further configured not to discard the first data when the second condition is met; wherein,
    所述第二条件包括以下一项或多项:The second condition includes one or more of the following:
    所述第二数据完整性校验成功;The second data integrity check is successful;
    所述第三数据完整性校验成功;The third data integrity check is successful;
    所述第四数据完整性校验成功;The fourth data integrity check is successful;
    所述第五数据完整性校验成功;或者,The fifth data integrity check is successful; or,
    所述第六数据完整性校验成功。The sixth data integrity check is successful.
  20. 如权利要求16至19中任一项所述的装置,其特征在于,所述处理单元还用于根据第一指示信息,确定所述第一数据、所述第二数据、或者所述第三数据中的至少一个数据与所述第一MAC PDU相关联,所述第一指示信息来自所述装置的MAC层;和/或, The device according to any one of claims 16 to 19, wherein the processing unit is further configured to determine the first data, the second data, or the third data according to the first indication information. At least one of the data is associated with the first MAC PDU, and the first indication information comes from the MAC layer of the device; and/or,
    基于第二指示信息,确定所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据与所述第二MAC PDU相关联,所述第二指示信息来自所述装置的MAC层。Determine that at least one of the fourth data, the fifth data, or the sixth data is associated with the second MAC PDU based on second indication information, the second indication information coming from the device MAC layer.
  21. 如权利要求20所述的装置,其特征在于,所述第一指示信息中包括所述第一数据、所述第二数据、或者所述第三数据中的至少一个数据对应的编号信息;和/或,所述第二指示信息中包括所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据对应的编号信息。The device of claim 20, wherein the first indication information includes number information corresponding to at least one of the first data, the second data, or the third data; and /Or, the second indication information includes number information corresponding to at least one of the fourth data, the fifth data, or the sixth data.
  22. 如权利要求16至21中任一项所述的装置,其特征在于,所述处理单元还用于基于第三指示信息,确定所述第一数据、所述第二数据、所述第三数据、所述第四数据、所述第五数据、或者所述第六数据中的至少一个数据与不同的MAC PDU相关联,所述第三指示信息来自所述装置的无线链路控制RLC层。The device according to any one of claims 16 to 21, wherein the processing unit is further configured to determine the first data, the second data, and the third data based on third indication information. , at least one of the fourth data, the fifth data, or the sixth data is associated with different MAC PDUs, and the third indication information comes from the radio link control RLC layer of the device.
  23. 如权利要求16至22中任一项所述的装置,其特征在于,所述处理单元还用于执行以下一项或多项:The device according to any one of claims 16 to 22, wherein the processing unit is further configured to perform one or more of the following:
    基于第四指示信息,确定所述第三数据完整性校验失败或成功,所述第四指示信息来自所述第二PDCP实体;Determine whether the third data integrity check fails or succeeds based on fourth indication information, the fourth indication information coming from the second PDCP entity;
    基于第五指示信息,确定所述第五数据完整性校验失败或成功,所述第五指示信息来自所述第二PDCP实体;或者,Determine that the fifth data integrity check failed or succeeded based on fifth indication information, the fifth indication information coming from the second PDCP entity; or,
    基于第六指示信息,确定所述第六数据完整性校验失败或成功,所述第六指示信息来自所述第三PDCP实体。Based on sixth indication information, it is determined that the sixth data integrity check fails or succeeds, and the sixth indication information comes from the third PDCP entity.
  24. 如权利要求16至23中任一项所述的装置,其特征在于,所述处理单元还用于发送第七指示信息,所述第七指示信息用于指示调整完整性保护的数据的比例。The device according to any one of claims 16 to 23, characterized in that the processing unit is further configured to send seventh indication information, and the seventh indication information is used to indicate adjusting the proportion of integrity protected data.
  25. 如权利要求24所述的装置,其特征在于,The device according to claim 24, characterized in that:
    在满足第三条件的情况下,所述第七指示信息指示调高完整性保护的数据的比例,其中,所述第三条件包括以下一项或多项:If the third condition is met, the seventh indication information indicates increasing the proportion of integrity protected data, wherein the third condition includes one or more of the following:
    完整性校验失败的次数大于或等于第一阈值;或,The number of integrity check failures is greater than or equal to the first threshold; or,
    接收到的、不包含完整性保护的数据的MAC PDU的个数大于或等于第二阈值;和/或,The number of received MAC PDUs that do not contain integrity protected data is greater than or equal to the second threshold; and/or,
    在满足第四条件的情况下,所述第七指示信息指示调低完整性保护的数据的比例,其中,所述第四条件包括以下一项或多项:If the fourth condition is met, the seventh indication information indicates to reduce the proportion of integrity protected data, wherein the fourth condition includes one or more of the following:
    完整性校验成功的次数大于或等于第三阈值;The number of successful integrity checks is greater than or equal to the third threshold;
    接收到的、包含完整性保护的数据的MAC PDU的个数大于或等于第四阈值;或,The number of received MAC PDUs containing integrity protected data is greater than or equal to the fourth threshold; or,
    接收到的MAC PDU的个数大于或等于第五阈值,其中,所述接收到的MAC PDU包含的数据均为完整性保护的。The number of received MAC PDUs is greater than or equal to the fifth threshold, wherein the data contained in the received MAC PDUs is integrity protected.
  26. 如权利要求25所述的装置,其特征在于,所述完整性校验失败的次数根据以下任一项确定:The device of claim 25, wherein the number of integrity check failures is determined according to any one of the following:
    完整性校验失败的PDCP PDU的个数;或者,The number of PDCP PDUs that failed integrity check; or,
    包含完整性校验失败的PDCP PDU的MAC PDU的个数。The number of MAC PDUs containing PDCP PDUs that failed integrity check.
  27. 如权利要求26所述的装置,其特征在于,所述完整性校验失败的PDCP PDU的个数与一个PDCP实体相关联;或者,The device of claim 26, wherein the number of PDCP PDUs that fail the integrity check is associated with one PDCP entity; or,
    所述包含完整性校验失败的PDCP PDU的MAC PDU的个数中的完整性校验失败的 PDCP PDU与一个PDCP实体相关联。Among the number of MAC PDUs containing PDCP PDUs that failed the integrity check, the integrity check failed. PDCP PDU is associated with a PDCP entity.
  28. 如权利要求25至27中任一项所述的装置,其特征在于,所述完整性校验成功的次数根据以下任一项确定:The device according to any one of claims 25 to 27, characterized in that the number of successful integrity checks is determined according to any one of the following:
    完整性校验成功的PDCP PDU的个数;或者,The number of PDCP PDUs with successful integrity check; or,
    包含完整性校验成功的PDCP PDU的MAC PDU的个数。The number of MAC PDUs containing PDCP PDUs with successful integrity check.
  29. 如权利要求28所述的装置,其特征在于,所述完整性校验成功的PDCP PDU的个数与一个PDCP实体相关联;或者,The device of claim 28, wherein the number of PDCP PDUs with successful integrity verification is associated with one PDCP entity; or,
    所述包含完整性校验成功的PDCP PDU的MAC PDU的个数中的完整性校验成功的PDCP PDU与一个PDCP实体相关联。The PDCP PDU with successful integrity check among the number of MAC PDUs containing the PDCP PDU with successful integrity check is associated with one PDCP entity.
  30. 如权利要求24至29中任一项所述的装置,其特征在于,所述第七指示信息与一个PDCP实体相关联。The apparatus according to any one of claims 24 to 29, wherein the seventh indication information is associated with a PDCP entity.
  31. 一种通信装置,其特征在于,包括处理器和存储器,所述处理器和所述存储器耦合,所述处理器用于控制所述装置实现如权利要求1至15中任一项所述的方法。A communication device, characterized in that it includes a processor and a memory, the processor is coupled to the memory, and the processor is used to control the device to implement the method according to any one of claims 1 to 15.
  32. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或所述指令被计算机执行时,实现如权利要求1至15中任一项所述的方法。A computer-readable storage medium, characterized in that a computer program or instructions are stored in the storage medium. When the computer program or instructions are executed by a computer, the implementation of any one of claims 1 to 15 is achieved. method described.
  33. 一种计算机程序产品,其特征在于,所述计算机程序产品包括指令,当所述指令被计算机运行时,实现如权利要求1至15中任一项所述的方法。 A computer program product, characterized in that the computer program product includes instructions, and when the instructions are run by a computer, the method according to any one of claims 1 to 15 is implemented.
PCT/CN2023/078554 2022-03-17 2023-02-27 Communication method and apparatus WO2023174044A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210266127.2A CN116801253A (en) 2022-03-17 2022-03-17 Communication method and device
CN202210266127.2 2022-03-17

Publications (1)

Publication Number Publication Date
WO2023174044A1 true WO2023174044A1 (en) 2023-09-21

Family

ID=88022309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/078554 WO2023174044A1 (en) 2022-03-17 2023-02-27 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN116801253A (en)
WO (1) WO2023174044A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857920A (en) * 2011-06-30 2013-01-02 重庆重邮信科通信技术有限公司 Processing method and device for downlink signal messages by terminal side of LTE (long term evolution) system
CN110651491A (en) * 2017-06-14 2020-01-03 三星电子株式会社 Method and user equipment for handling integrity check failure of PDCP PDU
CN111757348A (en) * 2019-03-29 2020-10-09 华为技术有限公司 Communication method and device
WO2022025528A1 (en) * 2020-07-31 2022-02-03 삼성전자 주식회사 Method and device for reducing terminal processing load due to integrity protection or verification procedure in next-generation mobile communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857920A (en) * 2011-06-30 2013-01-02 重庆重邮信科通信技术有限公司 Processing method and device for downlink signal messages by terminal side of LTE (long term evolution) system
CN110651491A (en) * 2017-06-14 2020-01-03 三星电子株式会社 Method and user equipment for handling integrity check failure of PDCP PDU
CN111757348A (en) * 2019-03-29 2020-10-09 华为技术有限公司 Communication method and device
WO2022025528A1 (en) * 2020-07-31 2022-02-03 삼성전자 주식회사 Method and device for reducing terminal processing load due to integrity protection or verification procedure in next-generation mobile communication system

Also Published As

Publication number Publication date
CN116801253A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
JP6510156B1 (en) base station
EP3474595A1 (en) Data processing method, device, and system
US11622366B2 (en) Apparatus and method for transmitting and receiving packet data information in wireless communication system
WO2020199942A1 (en) Communication method, communication apparatus, and system
US11700543B2 (en) Method and apparatus for transmitting data and communication system
WO2021023215A1 (en) Method and apparatus for wireless communication
WO2019149248A1 (en) Communication method and device
WO2018228558A1 (en) Data transmission method, network device, and terminal device
US20240154715A1 (en) Wireless communication method and apparatus
WO2019214660A1 (en) Communication method and communication device
WO2023078339A1 (en) Data transmission method, satellite base station, gateway station, and storage medium
US10834780B2 (en) Radio terminal and base station
US20230354334A1 (en) Communication method and apparatus
WO2020199034A1 (en) Relay communication method and apparatus
US20220286899A1 (en) Interface between a radio access network and an application
WO2023174044A1 (en) Communication method and apparatus
WO2021249218A1 (en) Data transmission method and apparatus
WO2022056877A1 (en) Information transmission methods, terminal device and network device
WO2020221011A1 (en) Data transmission method and apparatus
WO2020238596A1 (en) Handover method, apparatus and communications system
TW202207733A (en) Attention (at) interface for radio access network bitrate recommendations
WO2021062700A1 (en) Data transmission method, apparatus and computer readable storage medium
WO2021022423A1 (en) Method and device for transmitting data
WO2023011461A1 (en) Method and apparatus for transmitting buffer data state information of secondary cell group
WO2023185450A1 (en) Data packet processing method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23769552

Country of ref document: EP

Kind code of ref document: A1