CN-122002383-A - Communication method and device
Abstract
The application provides a communication method and a device, and relates to the technical field of communication. The method includes determining a non-access stratum (NAS) message, wherein the NAS message comprises a message header and user data, the message header comprises a safety header type cell, the safety header type cell indicates the NAS message to be used for transmitting the user data, and sending the NAS message.
Inventors
- SHU LIN
- Mikael gas
- WU KAI
- CHEN TAO
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241106
Claims (20)
- 1. A method of communication, comprising: determining a non-access stratum (NAS) message, wherein the NAS message comprises a message header and user data, the message header comprises a safety header type cell, and the safety header type cell indicates that the NAS message is used for transmitting the user data; and sending the NAS message.
- 2. The method of claim 1, wherein the method is applied to a first communication device; The method further includes, prior to determining the NAS message, transmitting first capability information indicating that the first communications device supports the NAS message.
- 3. A method of communication, comprising: Receiving a non-access stratum (NAS) message, wherein the NAS message comprises a message header and user data, the message header comprises a safety header type cell, and the safety header type cell indicates that the NAS message is used for transmitting the user data; and processing the user data according to the safety head type information element.
- 4. The method of claim 3, wherein the step of, Receiving the NAS message comprising receiving the NAS message from a first communication device; The method further includes, prior to receiving the NAS message, receiving first capability information from the first communications device, the first capability information indicating that the first communications device supports the NAS message.
- 5. The method according to claim 2 or 4, wherein, The first capability information is included in at least one of a registration request message, an attach request message, or a tracking area update TAU request message, the first communication apparatus being a terminal device, or The first capability information is included in at least one of a registration accept message, an attach accept message, or a TAU accept message, the first communication device being a mobility management network element.
- 6. The method according to any of claims 1-5, wherein the security header type cell further indicates one of: The NAS message is secured or The NAS message is integrity protected, or The NAS message is integrity protected and encrypted, or The NAS message is integrity protected and partially encrypted.
- 7. The method according to any one of claims 1-6, wherein the message header is structured as: The value of the EPD cell indicates that the NAS message is a fifth generation system mobile management 5GMM message, and the EPD cell occupies A 1 bytes; The first type information indicates a data type of the user data, and the first type information occupies M 1 bits; The second type information indicates the service type of the user data, and the second type information occupies N 1 bits; The safety head type cell occupies P 1 bits, M 1 +N 1 +P 1 =8; The MAC is used for protecting the integrity of the NAS message, and occupies C 1 bytes; the SN indicates the sending sequence number of the NAS message, and occupies D 1 bytes; The first identifier is used for identifying a security context, the security context is used for security protection of the NAS message, and the first identifier occupies Q 1 bits; The DDX indicating whether a downlink data transmission is expected after the user data transmission, the DDX occupying S 1 bits; The second identifier is used for identifying a first session, the first session is used for transmitting the user data, and the second identifier occupies T 1 bits; A 1 、B 1 、C 1 、D 1 、E 1 、M 1 、N 1 、P 1 、Q 1 、S 1 And T 1 are positive integers.
- 8. The method of claim 7, wherein a 1 =B 1 =D 1 =E 1 =1,C 1 = 2 or 4;P 1 = 4.
- 9. The method according to any one of claims 1-6, wherein the message header is structured as: The value of the EPD cell indicates that the NAS message is a fifth generation system mobile management 5GMM message, and the EPD cell occupies A 2 bytes; The idle bit is M 2 bits, and the safety head type cell occupies P 2 bits, wherein M 2 +P 2 =8; The MAC is used for protecting the integrity of the NAS message, and occupies C 2 bytes; The SN indicates the sending sequence number of the NAS message, and occupies D 2 bytes; The first identifier is used for identifying a security context, the security context is used for security protection of the NAS message, and the first identifier occupies Q 2 bits; The DDX indicating whether a downlink data transmission is expected after the user data transmission, the DDX occupying S 2 bits; The second identifier is used for identifying a first session, the first session is used for transmitting the user data, and the second identifier occupies T 2 bits; Both A 2 、B 2 、C 2 、D 2 、E 2 、M 2 、P 2 、Q 2 、S 2 and T 2 are positive integers.
- 10. The method of claim 9, wherein a 2 =B 2 =D 2 =E 2 =1,C 2 = 2 or 4;M 2 =P 2 = 4.
- 11. The method according to any one of claims 1-6, wherein the message header is structured as: The value of the EPD cell indicates that the NAS message is a fifth generation system mobile management 5GMM message, and the EPD cell occupies A 3 bytes; The first type information indicates a data type of the user data, and the first type information occupies M 3 bits; The second type information indicates the service type of the user data, and the second type information occupies N 3 bits; the safety head type cell occupies P 3 bits, M 3 +N 3 +P 3 =8; The MAC is used for protecting the integrity of the NAS message, and occupies C 3 bytes; the first identifier is used for identifying a security context, the security context is used for security protection of the NAS message, and the first identifier occupies Q 3 bits; The SN indicates the sending sequence number of the NAS message, and occupies R 3 bits; The idle bits are K 3 bits; The DDX indicating whether a downlink data transmission is expected after the user data transmission, the DDX occupying S 3 bits; the second identifier is used for identifying a first session, the first session is used for transmitting the user data, and the second identifier occupies T 3 bits; A 3 、B 3 、C 3 、D 3 、E 3 、M 3 、N 3 、P 3 、R 3 、K 3 、S 3 And T 3 are positive integers, Q 3 is an integer greater than or equal to 0.
- 12. The method of claim 11, wherein a 3 =B 3 =D 3 =E 3 =1,C 3 = 2 or 4;P 3 = 4.
- 13. The method according to any one of claims 1-6, wherein the message header is structured as: the value of the EPD cell indicates that the NAS message is a fifth generation system mobile management 5GMM message, and the EPD cell occupies A 4 bytes; the idle bit is M 4 bits, the safety head type cell occupies P 4 bits, M 4 +P 4 =8; The MAC is used for protecting the integrity of the NAS message, and occupies C 4 bytes; The first identifier is used for identifying a security context, the security context is used for security protection of the NAS message, and the first identifier occupies Q 4 bits, the SN indicates a sending sequence number of the NAS message, and the SN occupies R 4 bits; The second type information indicates the service type of the user data, and the second type information occupies K 4 bits; The DDX indicating whether a downlink data transmission is expected after the user data transmission, the DDX occupying S 4 bits; the second identifier is used for identifying a first session, the first session is used for transmitting the user data, and the second identifier occupies T 4 bits; A 4 、B 4 、C 4 、D 4 、E 4 、M 4 、P 4 、R 4 、K 4 、S 4 And T 4 are positive integers, Q 4 is an integer greater than or equal to 0.
- 14. The method of claim 13, wherein a 4 =B 4 =D 4 =E 4 =1,C 4 = 2 or 4;M 4 =P 4 = 4.
- 15. The method according to any one of claims 1-6, wherein the message header is structured as: The safety head type cell occupies M 5 bits; The value of the PD cell indicates that the NAS message is an evolution packet system mobile management EMM message, and the PD cell occupies N 5 bits; The MAC is used for protecting the integrity of the NAS message, and occupies B 5 bytes; The SN indicates the sending sequence number of the NAS message, and occupies C 5 bytes; The first identifier is used for identifying a security context, the security context is used for security protection of the NAS message, and the first identifier occupies P 5 bits; the DDX indicating whether a downlink data transmission is expected after the user data transmission, the DDX occupying Q 5 bits; The second identifier is used for identifying a first bearer, the first bearer is used for transmitting the user data, and the second identifier occupies S 5 bits; Both A 5 、B 5 、C 5 、D 5 、M 5 、N 5 、P 5 、Q 5 and S 5 are positive integers.
- 16. The method of claim 15, wherein a 5 =C 5 =D 5 =1,B 5 = 2 or 4;M 5 =N 5 = 4.
- 17. The method according to any one of claims 1-6, wherein the message header is structured as: The safety head type cell occupies M 6 bits; The value of the PD cell indicates that the NAS message is an evolution packet system mobile management EMM message, and the PD cell occupies N 6 bits; The MAC is used for protecting the integrity of the NAS message, and occupies B 6 bytes; The first identifier is used for identifying a security context, the security context is used for security protection of the NAS message, and the first identifier occupies P 6 bits; the SN indicates the sending sequence number of the NAS message, and occupies K 6 bits; The second type information indicates the service type of the user data, and the second type information occupies R 6 bits; The DDX indicating whether a downlink data transmission is expected after the user data transmission, the DDX occupying Q 6 bits; The second identifier is used for identifying a first bearer, the first bearer is used for transmitting the user data, and the second identifier occupies S 6 bits; A 6 、B 6 、C 6 、D 6 、M 6 、N 6 、K 6 、R 6 、Q 6 and S 6 are both positive integers, and P 6 is an integer greater than or equal to 0.
- 18. The method of claim 17, wherein a 6 =C 6 =D 6 =1,B 6 = 2 or 4;M 6 =N 6 = 4.
- 19. The method of any of claims 1-18, wherein the message header length is less than or equal to 8 bytes.
- 20. A communication device, characterized in that it is a first communication device for implementing the method according to any of claims 1-2 and 5-19.
Description
Communication method and device Technical Field The present application relates to the field of communications technologies, and in particular, to a communications method and apparatus. Background In the control plane user data transmission mechanism, user data is transmitted through non-access stratum (NAS) information of the control plane, so that the establishment of an air interface bearing of the user plane is avoided, and the transmission efficiency and the network resource utilization rate are improved. Wherein the NAS message includes a message header and user data, the message header including cells of at least one of a protocol of mobility management (mobility management) and session management (session management), and cells for security protection. Wherein a mobility management or session management cell can indicate that the NAS message carries user data. However, the number of cells for mobility management and session management is high, resulting in a high number of overhead bits. In addition, the manner of indicating the information is not efficient enough. In addition, the data transmission efficiency and the transmission delay are also affected, for example, the data transmission efficiency is lower and the transmission delay is larger. Disclosure of Invention In order to solve the technical problems, the application provides a communication method and a device, which can reduce the occupied bit of a message header. In order to achieve the above purpose, the application adopts the following technical scheme: In a first aspect, a communication method is provided. The method may be performed by a first communication device. The first communication device may be a terminal device, a component in the terminal device (for example, a processor, a chip, or a chip system, etc.), or a logic module or software that can implement all or part of the functions of the terminal device. The first communication device may be a mobility management element, a component in the mobility management element (for example, a processor, a chip, or a system on a chip, etc.), or a logic module or software that can implement all or part of the functions of the mobility management element. In the following, description will be made taking an example in which the execution subject is the first communication apparatus. The method comprises the following steps: determining a non-access stratum (NAS) message, wherein the NAS message comprises a message header and user data, and the message header comprises a safety header type cell, and the safety header type cell indicates that the NAS message is used for transmitting the user data. And sending the NAS message. That is, the NAS message is indicated for transmitting the user data by the security header type cell, i.e., multiplexing existing cells for security protection. Compared with the mode of indicating the NAS message to contain user data through the mobile management and session management cells, the application adopts the safety head type cells to indicate, reduces the overhead of the message head by multiplexing the existing cells, improves the data transmission efficiency and reduces the transmission delay. In one possible design, the method is applied to the first communication device. Before determining the NAS message, the method further comprises sending first capability information indicating that the first communication device supports the NAS message to enable capability negotiation between different communication devices. In one possible design, the first capability information is included in at least one of a registration request message, an attach request message, or a tracking area update TAU request message, and the first communication apparatus is a terminal device, so that capability negotiation is performed in an initial registration, a registration update, an attach procedure, or a TAU procedure. In one possible design, the first capability information is included in at least one of a registration accept message, an attach accept message, or a TAU accept message, and the first communication device is a mobility management element, so that capability negotiation is performed in an initial registration, registration update, attach procedure, or TAU procedure. In one possible design, sending the NAS message includes sending the NAS message to a second communication device. The method further includes, prior to determining the NAS message, receiving second capability information from the second communications device, the second capability information indicating that the second communications device supports the NAS message to enable capability negotiation between different communications devices. In one possible design, the second capability information is included in at least one of a registration request message, an attach request message, or a tracking area update TAU request message, and the second communication apparatus is a terminal device, so t