Information parsing method, sending method, device, electronic device and storage medium
By introducing the target indication field in the MAC sub-header, the terminal device can quickly determine whether there is a MAC RAR in the MAC PDU, which solves the problem of terminal device parsing complexity and low efficiency in the new air interface system, and reduces the risk of parsing errors.
Patent Information
- Application Number
- CN202111442833.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-11-30
AI Technical Summary
In the new air interface system, terminal equipment has high complexity and low efficiency when parsing MAC PDU, and the wrong SI preamble index list configured in RRC may cause parsing deviation and expand the scope of faults.
The target indication field is introduced into the MAC subheader, and the target indication field is parsed to determine whether there is a corresponding MAC RAR, which reduces the terminal parsing complexity and improves efficiency, and avoids relying on the comparison of the SI preamble index list configured by RAPID and RRC.
It simplifies the process of terminal parsing MAC PDU, improves efficiency, reduces the scope of impact when parsing errors occur, and does not require changing the length of the original MAC subheader.
Smart Images

Figure CN114040516B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information parsing method, a sending method, a device, an electronic device and a storage medium. Background Art
[0002] In the New Radio (NR) system, the terminal device needs to establish a connection with the network, a process usually called random access (RA) process. Through random access, the terminal device can establish uplink synchronization with the network and obtain a unique cell-Radio network temporary identifier (C-RNTI). The ultimate goal of random access is to establish synchronization. Only when uplink synchronization is achieved can the terminal device perform uplink transmission.
[0003] During the random access process of the terminal, the base station will send a random access response message to the terminal through the Medium Access Control (MAC) layer, which may carry a MAC payload for Random Access Response (MAC RAR) for random access response. If the base station detects random access requests from multiple terminals on the same Physical Random Access Channel (PRACH) resource, the base station will multiplex the random access response messages sent to multiple terminals in the same MAC Protocol Data Unit (MAC PDU). The MAC PDU includes a MAC subheader, and there may be a MAC RAR after the MAC subheader. When the terminal parses the MAC PDU, it parses the MAC subheaders in sequence to find the MAC subheader containing the information it needs. As for whether there is a MAC RAR after the MAC subheader of the MAC PDU, the terminal currently judges by comparing the random access preamble ID (RAPID) parsed by the terminal from the MAC PDU with the system information preamble index (SI preamble index) list configured by the radio resource control (RRC). If the RAPID is not in the list, it is considered that the MAC subheader has a corresponding MAC RAR.
[0004] However, a MAC PDU may include multiple RAPIDs, so the terminal needs to compare them one by one, which increases the complexity of the terminal parsing the MAC PDU and reduces the parsing efficiency. In addition, when the SI preamble index list configured by RRC is wrong, it may cause the offset of the entire MAC PDU parsing to be wrong, making all subsequent parsing errors, expanding the scope of possible faults, and causing unpredictable problems. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide an information parsing method, a sending method, an apparatus, an electronic device and a storage medium, so as to improve the problems of high complexity and low parsing efficiency of terminal parsing MAC PDU in the prior art.
[0006] In a first aspect, an embodiment of the present application provides an information parsing method, which is applied to a terminal, and the method includes:
[0007] Receive a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response;
[0008] The target indication field in the MAC subheader of the MAC PDU is parsed to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0009] In the above implementation process, by receiving the MAC PDU corresponding to the random access response, the target indication field in the MAC subheader of the MAC PDU is parsed to determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR. In this way, the terminal does not need to compare the RAPID in the MAC PDU with the SI preamble index list configured by the RRC to determine whether there is a MAC RAR corresponding to the MAC subheader. Instead, the terminal can determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR by parsing the target indication field. This can reduce the complexity of terminal parsing, improve terminal parsing efficiency, and reduce the scope that may be affected by terminal parsing errors.
[0010] Optionally, the target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader containing a fallback indication BI, a subheader containing a random access preamble identifier RAPID, and a subheader containing a padding. In this way, by parsing the target indication field, the type of the MAC subheader can also be quickly determined.
[0011] Optionally, the parsing the target indication field in the MAC subheader of the MAC PDU includes:
[0012] If the target indication field is parsed to obtain a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR;
[0013] If the target indication field is parsed to obtain a second preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing a BI;
[0014] If the target indication field is parsed to obtain a third preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader including RAPID;
[0015] If the target indication field is parsed to obtain a fourth preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing padding.
[0016] In the above implementation process, the target indication field is used to indicate the type of the MAC subheader and whether the MAC subheader has a corresponding MAC RAR. The terminal can directly obtain the corresponding information according to the target indication field in the MAC subheader, and quickly determine whether there is a MAC RAR and the type of MAC subheader, thereby reducing the complexity of MAC PDU parsing, improving the parsing efficiency, and reducing the scope that may be affected when parsing errors occur.
[0017] Optionally, if the MAC PDU includes a MAC subheader of a type including a padding subheader, it indicates that the MAC subheader is located at the end of the MAC PDU. In this way, the meaning of the E field in the original MAC subheader can be replaced by the target indication field.
[0018] Optionally, the target indication field occupies the T field and the E field in the MAC subheader, so that the length of the original MAC subheader does not need to be changed, thus saving resources.
[0019] Optionally, the target indication field occupies a newly added field in the MAC subheader. In this way, by parsing the target indication field in the MAC subheader, it is possible to determine whether the MAC subheader has a corresponding MAC RAR, which facilitates rapid parsing of the MAC PDU.
[0020] In a second aspect, an embodiment of the present application provides an information sending method, which is applied to a base station, and the method includes:
[0021] Generate a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response;
[0022] Send the MAC PDU.
[0023] In the above implementation process, the target indication field in the MAC subheader is used to indicate whether there is a MAC RAR corresponding to its MAC subheader. In this way, the terminal does not need to compare the RAPID in the MAC PDU with the SI preambleindex list configured by the RRC to determine whether there is a MAC RAR corresponding to the MAC subheader. Instead, the terminal can determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR by parsing the target indication field. This can reduce the complexity of terminal parsing, improve terminal parsing efficiency, and reduce the scope that may be affected when the terminal parsing errors occur.
[0024] In a third aspect, an embodiment of the present application provides an information parsing device, which runs on a terminal, and the device includes:
[0025] An information receiving module, configured to receive a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response;
[0026] The information parsing module is used to parse the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0027] In a fourth aspect, an embodiment of the present application provides an information sending device, which runs on a base station, and the device includes:
[0028] An information generation module, configured to generate a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response;
[0029] An information sending module is used to send the MAC PDU.
[0030] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect or the second aspect are executed.
[0031] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method provided in the first aspect or the second aspect are performed.
[0032] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a competitive random access process in the prior art;
[0036] Figure 3 A schematic diagram of a non-contention random access process in the prior art;
[0037] Figure 4 A flowchart of an information analysis method provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of a MAC PDU format in the prior art;
[0039] Figure 6 A schematic diagram of a MAC subheader format in the prior art;
[0040] Figure 7 A schematic diagram of the format of an improved MAC subheader provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of the format of an improved MAC PDU provided in an embodiment of the present application;
[0042] Fig. 9 A schematic diagram of another improved MAC PDU format provided in an embodiment of the present application;
[0043] Fig.10 A flowchart of a method for sending information provided by an embodiment of the present application;
[0044] Fig.11 A structural block diagram of an information analysis device provided in an embodiment of the present application;
[0045] Fig.12 A structural block diagram of an information sending device provided in an embodiment of the present application;
[0046] Fig.13 A schematic diagram of the structure of an electronic device for executing an information parsing method or an information sending method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application.
[0048] It should be noted that the terms "system" and "network" in the embodiments of the present invention can be used interchangeably. "Multiple" means two or more. In view of this, in the embodiments of the present invention, "multiple" can also be understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the previously associated objects are in an "or" relationship.
[0049] The information parsing method and the information sending method in the embodiments of the present application can be applied to 5G New Radio (NR), 6G system and various subsequent evolved communication systems.
[0050] like Figure 1As shown, the information parsing method or information sending method in this application can be applied to Figure 1 The communication system 100 shown. The communication system 100 includes a base station 10 and a terminal 20. The base station 10 can provide communication coverage for an area and can communicate with the terminal 20 located in the area. In some embodiments, the base station 10 can be a base station in a 5G NR system, a 6G system, and various subsequent evolved communication systems.
[0051] The terminal 20 may refer to an access terminal, a user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a 5G network or a terminal in a future evolved PLMN, a 6G system and various subsequent evolved communication systems, etc.
[0052] In order to facilitate the understanding of the present application, some concepts involved in the present application are briefly introduced below.
[0053] 1. Contention random access: It is generally used for terminals that have not yet established a connection with the base station or need to re-establish a connection. At this time, the terminal selects random access resources on its own. When multiple terminals select the same resource, a conflict occurs. Therefore, a conflict resolution mechanism is required to ensure the success of random access.
[0054] The process of competitive access is as follows Figure 2 As shown, the process is as follows:
[0055] (1) The terminal sends a random access preamble to the base station. The random access preamble is used to identify the terminal that initiates the random access request and is also used as the basis for the base station to measure the uplink transmission delay. The preamble is marked by a unique identifier, RAPID.
[0056] (2) The base station sends a random access response to the terminal (including sending a MAC PDU corresponding to the random access response, which may carry a MAC RAR). After sending the random access preamble, the terminal monitors the Physical Downlink Control Channel (PDCCH) in the Transmission Time Interval (TTI) window to obtain the MAC RAR. Once the downlink control information (DCI) of the PDCCH is detected to contain the random access cell radio network temporary identifier (RA-Radio Network Temporary Identifier, RA-RNTI) selected in the sending step of the random access preamble, the MAC PDU is received.
[0057] MAC PDU may contain multiple random access preamble response information. MAC PDU is actually multicast information. Terminals that select the same time-frequency resources to send preambles can receive the message. Therefore, after receiving MAC PDU, the terminal must also detect whether the message contains a matching RAPID.
[0058] If the MAC PDU message received by the terminal does not contain a RAPID that matches the terminal, the terminal backs off according to the back-off indicator (BI) value in the MAC PDU message, and reselects the preamble sequence when sending the preamble signal again.
[0059] If the MAC PDU message received by the terminal contains a RAPID that matches the terminal, the terminal considers that the MAC PDU has been received successfully. If the MAC subheader containing the RAPID is followed by a MAC RAR, the terminal can obtain the timing advance (TA) information for uplink synchronization, obtain the uplink resources allocated by the base station for subsequent data transmission, and extract the temporary cell identifier by parsing the MAC RAR message.
[0060] (3) After successfully receiving the MAC PDU message, the terminal sends the first data in the uplink grant specified in the MAC PDU message after completing uplink synchronization. For the initial access scenario, the terminal sends a connection establishment request message of the RRC layer on the uplink grant.
[0061] (4) The base station sends a contention elimination message to the terminal.
[0062] 2. Non-contention random access: used for terminals that have established a connection with a base station. At this time, the terminal can specify random access resources for the terminal through messages at the RRC layer, thereby avoiding conflicts between the terminal and other terminals when selecting the same resources, thereby increasing the success probability of random access.
[0063] The process of non-contention access is as follows Figure 3 As shown, the process is as follows:
[0064] (1) The base station sends a random access preamble allocation message to the terminal.
[0065] (2) The terminal sends a random access preamble signal assigned by the base station to the base station.
[0066] (3) The base station sends a random access response to the terminal at the MAC layer.
[0067] An embodiment of the present application provides an information parsing method, which is applied to a terminal. By receiving a MAC PDU corresponding to a random access response, the target indication field in the MAC subheader of the MAC PDU is parsed to determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR. In this way, the terminal does not need to compare the RAPID in the MAC PDU with the SI preamble index list configured by the RRC to determine whether there is a MAC RAR corresponding to the MAC subheader. Instead, the terminal can determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR by parsing the target indication field. This can reduce the complexity of terminal parsing, improve terminal parsing efficiency, and reduce the scope that may be affected when the terminal parsing errors occur.
[0068] Please refer to Figure 4 , Figure 4 A flowchart of an information analysis method provided in an embodiment of the present application, the method comprising the following steps:
[0069] Step S210: Receive a MAC PDU corresponding to a random access response.
[0070] The application scenario of the information parsing method of the present application can be the above-mentioned competitive random access or non-competitive random access scenario. No matter which type of random access is used, the terminal needs to first send a random access preamble signal RAPID to the base station during the access process. The random access preamble signal can be assigned by the base station or selected by the terminal itself. After receiving the RAPID sent by the terminal, the base station first generates a MAC PDU corresponding to the random access response sent to the terminal, that is, carries relevant information in the MAC PDU and feeds it back to the terminal, so that the terminal can receive the MAC PDU sent by the base station.
[0071] Among them, the structure of MAC PDU can be as follows Figure 5 As shown, the MAC PDU includes a media access control sub-protocol data unit (MAC sub-PDU), that is, a MAC subPDU, and the MAC subPDU includes a MAC subheader. The MAC subheader may have a corresponding MAC RAR. If the MAC subheader does not have a corresponding MAC RAR, the MAC subheader independently constitutes a MAC subPDU, and all MAC subheaders are arranged in sequence. When the MAC PDU includes two MAC subPDUs, the two MAC subPDUs are arranged in sequence, so that the base station can quickly respond to random access requests from multiple terminals.
[0072] There are three types of MAC subheaders, such as: MAC subheader including BI, MAC subheader including RAPID, MAC subheader including RAPID, and RAR. The MAC subheader carrying BI does not have a corresponding MAC RAR. The existing MAC subheader format is as follows: Figure 6 As shown, the MAC subheader including BI includes an E field, a T field, an R field and a BI, and the MAC subheader including RAPID includes an E field, a T field and a RAPID.
[0073] The E field is used to indicate whether there are other subheaders after the current subheader, occupying 1 bit. If the E field is 0, it means that the current subheader is the last subheader, and if it is 1, it means that there are subheaders after the current subheader. The T field represents the type field, occupying 1 bit. If it is 1, it means that the current subheader is a MAC subheader containing RAPID, and if it is 0, it means that the current subheader is a MAC subheader containing BI. The R field is a reserved field.
[0074] Since the original MAC subheader does not have a field for indicating whether the MAC subheader has a corresponding MAC RAR, the present application makes targeted improvements to the structure of the original MAC subheader. Specifically, the MAC subheader includes a target indication field, which is used to indicate whether the MAC subheader has a corresponding MAC RAR.
[0075] Step S220: Parse the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0076] After receiving the MAC PDU, the terminal will first compare the RAPID in the MAC PDU with the RAPID sent to the base station, and then determine whether there is a MAC RAR after the MAC subheader. The parsing results include the following situations:
[0077] Case 1: If the RAPID in the MAC PDU is consistent with the RAPID sent to the base station, and there is a MAC RAR after the MAC subheader, the MAC RAR is parsed to obtain relevant information.
[0078] Case 2: If the RAPID in the MAC PDU is consistent with the RAPID sent to the base station, and there is no MACRAR after the MAC subheader, the parsing is terminated.
[0079] Case 3: If the RAPID in the MAC PDU is inconsistent with the RAPID sent to the base station, and there is a MACRAR after the MAC subheader, skip the MAC RAR and continue to parse the next MAC subheader.
[0080] Case 4: If the RAPID in the MAC PDU is inconsistent with the RAPID sent to the base station, and there is no MACRAR after the MAC subheader, continue to parse the next MAC subheader.
[0081] That is to say, judging whether there is a MAC RAR after the MAC subheader is related to the parsing efficiency of the terminal. Since the MAC PDU may contain multiple RAPIDs, and the terminal in the prior art needs to compare the RAPID and the SI preamble index list of the current RRC configuration in turn to judge whether there is a MAC RAR after the MAC subheader, the terminal parsing efficiency is low. In order to make it unnecessary for the terminal to compare the RAPID in the MAC PDU with the SI preamble index list of the current RRC configuration to judge whether there is a corresponding MAC RAR, so as to improve the judgment efficiency of whether there is a corresponding MAC RAR after the MAC subheader, and thus improve the parsing efficiency of the terminal, in this application, the target indication field is carried in the MAC subheader to indicate whether the MAC subheader has a corresponding MAC RAR. When parsing the MAC PDU, the terminal can parse the target indication field therein to quickly judge whether there is a corresponding MAC RAR after the MAC subheader where the target indication field is located.
[0082] In some implementations, a byte may be added to the MAC subheader including the RAPID to fill in a newly added field (e.g., the newly added field is the K field, which may be located between the T field and the RAPID), and the K field is used to indicate whether the MAC subheader has a corresponding MAC RAR, that is, the target indication field occupies the newly added field in the MAC subheader. When the base station generates a MAC PDU, it may fill in relevant information in the K field, such as filling in 1 to indicate that the MAC subheader has a corresponding MAC RAR, and filling in 0 to indicate that the MAC subheader does not have a corresponding MAC RAR. In this way, when the terminal performs parsing, it may parse the value of the K field in the MAC subheader including the RAPID, and may determine whether the current MAC subheader has a corresponding MAC RAR based on the value of the K field.
[0083] It can be understood that if the MAC PDU received by the terminal includes multiple MAC subPDUs, that is, multiple MAC subheaders, then when the terminal parses a certain MAC subheader, it can parse the target indication field in the MAC subheader to determine whether the MAC subheader has a corresponding MAC RAR based on the target indication field in the MAC subheader.
[0084] After parsing the target indication domain, the terminal device can obtain the corresponding parsing result. For example, when the terminal parses a MAC subheader containing RAPID and the value of the K field is 1, it is determined that the MAC subheader has a corresponding MAC RAR. At this time, if the RAPID is consistent with the RAPID sent by the terminal to the base station, it means that the MAC RAR belongs to the terminal, and the terminal can continue to parse the MAC RAR to obtain the corresponding access information without parsing the subsequent content. If the RAPID is inconsistent with the RAPID sent by the terminal to the base station, it means that the MAC RAR is not for the terminal, and the terminal can skip the MAC RAR and continue to parse the next MAC subheader. When the terminal parses a MAC subheader containing RAPID and the value of the K field is 0, it is determined that the MAC subheader has no corresponding MAC RAR. At this time, if the RAPID is inconsistent with the RAPID sent by the terminal to the base station, the terminal can continue to parse the subsequent MAC subheaders to continue parsing and determine whether there is a corresponding MAC RAR. When the terminal parses a MAC subheader containing a RAPID and finds that the value of the K field is 0, it is determined that the MAC subheader has no corresponding MAC RAR. At this time, if the RAPID is consistent with the RAPID sent by the terminal to the base station, the parsing is terminated and the subsequent MAC subheaders are no longer parsed.
[0085] In actual applications, in the MAC PDU structure, the MAC subheader is in front of the MAC RAR, or the MAC subheader is before the MAC RAR and is adjacent to the MAC RAR to meet the requirements of the 5G system.
[0086] In the above implementation process, by receiving the MAC PDU corresponding to the random access response, the target indication field in the MAC subheader of the MAC PDU is parsed to determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR. In this way, the terminal does not need to compare the RAPID in the MAC PDU with the SI preamble index list configured by the RRC to determine whether there is a MAC RAR corresponding to the MAC subheader. Instead, the terminal can determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR by parsing the target indication field. This can reduce the complexity of terminal parsing, improve terminal parsing efficiency, and reduce the scope that may be affected by parsing errors.
[0087] In other embodiments, the target indication field may occupy the T field and the E field in the MAC subheader, and the target indication field may be referred to as the T field (but the meaning of the T field at this time is different from the original T field). Figure 6 The structure of the MAC subheader is improved, such as Figure 7 As shown ( Figure 7 Three types of MAC subheaders are shown in the figure: a MAC subheader containing BI, a MAC subheader containing RAPID, and a MAC subheader containing padding). In this application, the E field and the T field in the MAC subheader are combined into a target indication field (represented by T in the figure), and the indication meaning of the target indication field is redefined. The target indication field can occupy 2 bits in each MAC subheader to indicate whether there is a MAC RAR corresponding to its MAC subheader.
[0088] The meaning indicated by the target indication field in the present application is different from the meaning indicated by the original T field (although both are called T fields, the original T field occupies 1 bit). The target indication field of the present application occupies 2 bits, so that the value of the target indication field can be used to indicate whether the MAC subheader has a corresponding MAC RAR. For example, the value of the target indication field is 1, which means that the MAC subheader has a corresponding MAC RAR.
[0089] That is to say, the base station and the terminal can pre-agree that when the target indication field takes a preset value, it is determined that the MAC subheader has a corresponding MAC RAR. In this way, after the terminal parses the MAC subheader, if the target indication field is parsed to obtain a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0090] The first preset value may be a value preset and negotiated between the base station and the terminal, such as 1 or 2, etc. The specific value may be flexibly set according to actual needs.
[0091] In the above implementation process, by modifying the corresponding fields in the MAC subheader, the terminal can directly determine whether the MAC subheader has a corresponding MAC RAR based on the target indication field in the MAC subheader, thereby improving the judgment efficiency, reducing the complexity of MAC PDU parsing, and improving the parsing efficiency.
[0092] On the basis of the above embodiment, in order not to change the length of the MAC subheader and save resources, the target indication field in the present application occupies 2 bits, and different values of the target indication field can be used to represent different types of MAC subheaders, that is, the target indication field is also used to indicate the type of MAC subheader, which type includes at least one of the following: a subheader containing BI, a subheader containing RAPID, and a subheader containing padding.
[0093] In this way, after the terminal parses the target indication domain in the MAC subheader, if the target indication domain is parsed to obtain the second preset value, it means that the MAC subheader where the parsed target indication domain is located is a subheader containing BI; if the target indication domain is parsed to obtain the third preset value, it means that the MAC subheader where the parsed target indication domain is located is a subheader containing RAPID; if the target indication domain is parsed to obtain the fourth preset value, it means that the MAC subheader where the parsed target indication domain is located is a subheader containing padding.
[0094] Among them, the first preset value, the second preset value, the third preset value and the fourth preset value are different and can be set according to actual conditions. For example, the first preset value is 2, indicating that when the target indication domain value is 2, the current MAC subheader contains RAPID and has a corresponding MAC RAR; the second preset value is 3, indicating that when the target indication domain value is 3, the current MAC subheader contains BI; the third preset value is 1, indicating that when the target indication domain value is 1, the current MAC subheader only contains RAPID and has no corresponding MACRAR; the fourth preset value is 0, indicating that when the target indication domain value is 0, the current MAC subheader contains padding.
[0095] In this way, R can still be a reserved field. When resources are sufficient, there is padding. An example of the format of MAC PDU can be as follows: Figure 8 shown.
[0096] In the above implementation process, the target indication field is used to indicate the type of the MAC subheader and whether the MAC subheader has a corresponding MAC RAR. The terminal can directly obtain the corresponding information according to the target indication field in the MAC subheader, and quickly determine whether there is a RAR and the type of MAC subheader, thereby reducing the complexity of MAC PDU parsing, improving the parsing efficiency, and reducing the scope that may be affected when parsing errors occur.
[0097] Based on the above embodiment, although the target indication field occupies the original E field, the content indicated by the original E field can be indicated by the target indication field. For example, the length of the data corresponding to each MAC subheader is fixed. When the target indication field is parsed to be 0, it means that the current MAC subheader contains padding, and there is no subsequent MAC subheader to be parsed. This is equivalent to replacing the function of the E field in the existing MAC subheader with the target indication field.
[0098] That is to say, if the MAC PDU includes a MAC subheader of a type that includes padding, and the MAC subheader is located at the end of the MAC PDU, when the terminal parses and finds that the target indication field is 0, it indicates that the MAC subheader includes padding, indicating that the MAC PDU has no MAC subheader, and the terminal does not need to continue parsing.
[0099] When resources are insufficient, there may be no padding in the MAC PDU. Its format is as follows: Fig. 9 As shown, in this case, the terminal cannot determine whether the current MAC subheader is the last subheader. It can determine whether there is subsequent content based on the total length of the MAC PDU and whether the terminal needs to continue parsing. This is equivalent to completing the function of the E field in the original MAC subheader based on the total length of the MAC PDU.
[0100] Based on the same inventive concept as the above embodiment, the embodiment of the present application also provides a method for sending information, such as Fig.10 As shown, the method is applied to a base station and comprises the following steps:
[0101] Step S310: Generate a MAC PDU corresponding to a random access response.
[0102] After receiving the random access preamble signal sent by the terminal, the base station sends a random access response to the terminal through a MAC PDU, and the base station can carry the corresponding response information in the MAC PDU. The MAC PDU includes a MAC subPDU, and the MAC subPDU includes a MAC subheader, and the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for random access response.
[0103] It can be understood that the specific method for expressing the target indication field can refer to the content of the above embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0104] Step S320: Send the MAC PDU.
[0105] The terminal is used to parse the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0106] It can be understood that those skilled in the art can clearly understand that, for the convenience and brevity of description, the terminal parses the target indication field, and determines whether there is a MAC RAR corresponding to its MAC subheader based on the parsing result. The specific working process can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0107] Optionally, the target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader containing a fallback indication BI, a subheader containing a random access preamble identifier RAPID, and a subheader containing a padding. In this way, by parsing the target indication field, the type of the MAC subheader can also be quickly determined.
[0108] Optionally, if the target indication field is parsed to obtain a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR;
[0109] If the target indication field is parsed to obtain a second preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing a BI;
[0110] If the target indication field is parsed to obtain a third preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader including RAPID;
[0111] If the target indication field is parsed to obtain a fourth preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing padding.
[0112] Optionally, if the MAC PDU includes a MAC subheader whose type is a subheader including padding, it indicates that the MAC subheader is located at the end of the MAC PDU.
[0113] Optionally, the target indication field occupies the T field and the E field in the MAC subheader.
[0114] Optionally, the target indication field occupies a newly added field in the MAC subheader.
[0115] In the above implementation process, the target indication field in the MAC subheader is used to indicate whether there is a RAR corresponding to its MAC subheader. In this way, the terminal does not need to compare the RAPID in the MAC PDU with the SI preamble index list configured by the RRC to determine whether there is a MAC RAR corresponding to the MAC subheader. Instead, the terminal can determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR by parsing the target indication field. This can reduce the complexity of terminal parsing, improve terminal parsing efficiency, and reduce the scope that may be affected when the terminal parsing errors occur.
[0116] Please refer to Fig.11 , Fig.11 This is a structural block diagram of an information analysis device 400 provided in an embodiment of the present application. The device 400 runs on a terminal. The device 400 may be a module, a program segment or a code on the terminal. It should be understood that the device 400 is similar to the above Figure 6 The method embodiment corresponds to and can be executed Figure 6 The various steps involved in the method embodiment and the specific functions of the device 400 can be found in the above description. To avoid repetition, the detailed description is appropriately omitted here.
[0117] Optionally, the device 400 includes:
[0118] The information receiving module 410 is configured to receive a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response;
[0119] The information parsing module 420 is used to parse the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0120] Optionally, the target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader containing a fallback indication BI, a subheader containing a random access preamble identifier RAPID, and a subheader containing a padding bit padding.
[0121] Optionally, if the information parsing module 420 parses and obtains a first preset value, it indicates that the MAC subheader where the parsed target indication domain is located has a corresponding MAC RAR; if the information parsing module 420 parses and obtains a second preset value, it indicates that the MAC subheader where the parsed target indication domain is located is a subheader containing BI; if the information parsing module 420 parses and obtains a third preset value, it indicates that the MAC subheader where the parsed target indication domain is located is a subheader containing RAPID; if the information parsing module 420 parses and obtains a fourth preset value, it indicates that the MAC subheader where the parsed target indication domain is located is a subheader containing padding.
[0122] Optionally, if the MAC PDU includes a MAC subheader whose type is a subheader including padding, it indicates that the MAC subheader is located at the end of the MAC PDU.
[0123] Optionally, the target indication field occupies the T field and the E field in the MAC subheader.
[0124] Optionally, the target indication field occupies a newly added field in the MAC subheader.
[0125] Please refer to Fig.12 , Fig.12 This is a structural block diagram of an information sending device 500 provided in an embodiment of the present application. The device 500 runs on a base station. The device 500 may be a module, program segment or code on the base station. It should be understood that the device 500 is similar to the above Fig.10 The method embodiment corresponds to and can be executed Fig.10 The various steps involved in the method embodiment and the specific functions of the device 500 can be found in the above description. To avoid repetition, the detailed description is appropriately omitted here.
[0126] Optionally, the device 500 includes:
[0127] An information generation module 510 is configured to generate a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response;
[0128] The information sending module 520 is used to send the MAC PDU. The terminal is used to parse the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MACRAR.
[0129] Optionally, the target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader containing a fallback indication BI, a subheader containing a random access preamble identifier RAPID, and a subheader containing a padding bit padding.
[0130] Optionally, if the target indication domain is parsed to obtain a first preset value, it means that the MAC subheader where the parsed target indication domain is located has a corresponding MAC RAR; if the target indication domain is parsed to obtain a second preset value, it means that the MAC subheader where the parsed target indication domain is located is a subheader containing BI; if the target indication domain is parsed to obtain a third preset value, it means that the MAC subheader where the parsed target indication domain is located is a subheader containing RAPID; if the target indication domain is parsed to obtain a fourth preset value, it means that the MAC subheader where the parsed target indication domain is located is a subheader containing padding.
[0131] Optionally, if the MAC PDU includes a MAC subheader whose type is a subheader including padding, it indicates that the MAC subheader is located at the end of the MAC PDU.
[0132] Optionally, the target indication field occupies the T field and the E field in the MAC subheader.
[0133] Optionally, the target indication field occupies a newly added field in the MAC subheader.
[0134] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0135] Please refer to Fig.13 , Fig.13 A structural diagram of an electronic device for executing an information parsing method or an information sending method provided in an embodiment of the present application, the electronic device may include: at least one processor 610, such as a CPU, at least one communication interface 620, at least one memory 630 and at least one communication bus 640. Among them, the communication bus 640 is used to realize direct connection and communication between these components. Among them, the communication interface 620 of the device in the embodiment of the present application is used to communicate signaling or data with other node devices. The memory 630 can be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 630 can optionally also be at least one storage device located away from the aforementioned processor. Computer-readable instructions are stored in the memory 630. When the computer-readable instructions are executed by the processor 610, the electronic device executes the above-mentioned Figure 4 or Fig.10 The method process is shown.
[0136] Understandably, Fig.13 The structure shown is for illustration only, and the electronic device may also include Fig.13 More or fewer components as shown, or with Fig.13 Different configurations are shown. Fig.13 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0137] The present application embodiment provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the following is performed: Figure 4 or Fig.10 The method process in the method embodiment shown is executed by the electronic device.
[0138] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for random access response; parsing the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR.
[0139] In summary, the embodiments of the present application provide an information parsing method, a sending method, an apparatus, an electronic device and a storage medium. By receiving a MAC PDU corresponding to a random access response, the target indication field in the MAC subheader of the MAC PDU is parsed to determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR. In this way, the terminal does not need to compare the RAPID in the MAC PDU with the SI preamble index list configured by the RRC to determine whether there is a MAC RAR corresponding to the MAC subheader. Instead, the terminal can determine whether the MAC subheader where the target indication field is located has a corresponding MAC RAR by parsing the target indication field. This can reduce the complexity of terminal parsing, improve terminal parsing efficiency, and reduce the scope that may be affected when terminal parsing errors occur.
[0140] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0141] In addition, 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 distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0143] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0144] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An information analysis method, characterized in that: Applied to a terminal, the method comprises: Receive a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response; Parsing the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR; The target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader including a fallback indication BI, a subheader including a random access preamble identifier RAPID, and a subheader including a padding bit padding; The target indication field occupies the T field and the E field in the MAC subheader; The parsing of the target indication field in the MAC subheader of the MAC PDU includes: If the target indication field is parsed to obtain a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR; If the target indication field is parsed to obtain a second preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing a BI; If the target indication field is parsed to obtain a third preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader including RAPID; If the target indication field is parsed to obtain a fourth preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing padding; The method further comprises: It is determined whether the MAC subheader where the target indication field is located is the last subheader according to the total length of the MAC PDU.
2. The method according to claim 1, characterized in that If the MAC PDU includes a MAC subheader whose type is a subheader including padding, it indicates that the MAC subheader is located at the end of the MAC PDU.
3. A method for sending information, characterized in that: Applied to a base station, the method comprises: Generate a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response; Sending the MAC PDU; The target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader including a fallback indication BI, a subheader including a random access preamble identifier RAPID, and a subheader including a padding bit padding; The target indication field occupies the T field and the E field in the MAC subheader; If the target indication field is a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR; If the target indication field is a second preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing a BI; If the target indication field is a third preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader including RAPID; If the target indication field is a fourth preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing padding; Wherein, the terminal is used to determine whether the MAC subheader where the target indication field is located is the last subheader according to the total length of the MAC PDU.
4. An information analysis device, characterized in that: Running on a terminal, the device comprises: An information receiving module, configured to receive a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response; An information parsing module, configured to parse the target indication field in the MAC subheader of the MAC PDU to determine whether the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR; The target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader including a fallback indication BI, a subheader including a random access preamble identifier RAPID, and a subheader including a padding bit padding; The target indication field occupies the T field and the E field in the MAC subheader; Wherein, the information parsing module is specifically used for: If the target indication field is parsed to obtain a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR; If the target indication field is parsed to obtain a second preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing a BI; If the target indication field is parsed to obtain a third preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader including RAPID; If the target indication field is parsed to obtain a fourth preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing padding; The information parsing module is further used to determine whether the MAC subheader where the target indication field is located is the last subheader according to the total length of the MAC PDU.
5. An information sending device, characterized in that: Running on a base station, the device comprises: An information generation module, configured to generate a media access control protocol data unit MAC PDU corresponding to a random access response, wherein the MAC PDU includes a media access control sub-protocol data unit MAC subPDU, the MAC subPDU includes a MAC subheader, the MAC subheader includes a target indication field, and the target indication field is used to indicate whether the MAC subheader has a corresponding media access control payload MAC RAR for a random access response; An information sending module, used for sending the MAC PDU; The target indication field is also used to indicate the type of the MAC subheader, and the type includes at least one of the following: a subheader including a fallback indication BI, a subheader including a random access preamble identifier RAPID, and a subheader including a padding bit padding; The target indication field occupies the T field and the E field in the MAC subheader; If the target indication field is a first preset value, it indicates that the MAC subheader where the parsed target indication field is located has a corresponding MAC RAR; If the target indication field is a second preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing a BI; If the target indication field is a third preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader including RAPID; If the target indication field is a fourth preset value, it indicates that the MAC subheader where the parsed target indication field is located is a subheader containing padding; Wherein, the terminal is used to determine whether the MAC subheader where the target indication field is located is the last subheader according to the total length of the MAC PDU.
6. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the information parsing method according to claim 1 or 2 or the information sending method according to claim 3 is executed.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the information analyzing method according to claim 1 or 2 or the information sending method according to claim 3 is executed.
Citation Information
Patent Citations
Random access method, response method, terminal and network equipment
CN111417214A
