WO2020173411A1 - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
WO2020173411A1
WO2020173411A1 PCT/CN2020/076465 CN2020076465W WO2020173411A1 WO 2020173411 A1 WO2020173411 A1 WO 2020173411A1 CN 2020076465 W CN2020076465 W CN 2020076465W WO 2020173411 A1 WO2020173411 A1 WO 2020173411A1
Authority
WO
WIPO (PCT)
Prior art keywords
random access
sub
access preamble
response message
terminal
Prior art date
Application number
PCT/CN2020/076465
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 WO2020173411A1 publication Critical patent/WO2020173411A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • H04W74/008Transmission of channel access control information with additional processing of random access related information at receiving side
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access

Definitions

  • This application relates to the field of communication technologies, and in particular to a communication method and device. Background technique
  • the fifth generation (5G) communication system that can support multiple services has emerged.
  • the random access scenario of the 5G communication system requires that the number of users in the serving cell can reach 10% of the number of users in the serving cell under the LTE communication system. 100 times, while requiring random access channel (random access channel, RACH) can support more functions.
  • the random access channel is used for the terminal to access the network equipment during the random access process
  • the terminal can send a random access preamble sequence (Preamble) to the base station on the random access channel
  • the random access preamble sequence can also be called random Access preamble or access preamble.
  • the terminal After the terminal is connected to the network device, it can send data to or receive data from the network device.
  • a first aspect provides a communication method, including: a terminal sends a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and The random access preamble set includes N sub-random access preambles, where N and S are integers greater than 1, and S ⁇ N; the terminal receives a first random access response message from the network device, and the first random access The incoming response message includes indication information, and the indication information indicates the second random access preamble to the terminal.
  • the indication information includes an identifier of the second random access preamble.
  • the method further includes: determining, by the terminal, the second random access preamble according to the first random access response message; The network device sends the second random access preamble.
  • the terminal re-initiates the random access process by sending the random access preamble to the network device again, and the re-sent random access preamble is indicated by the network device in the random access response message, thus improving the terminal The probability of successful random access.
  • the sending of the first random access preamble by the terminal to the network device includes: the terminal sends the first random access preamble to the network device on the first physical random access channel PRACH resource; Sending the first random access preamble by the network device;
  • the S sub-random access preambles form a first sub-random access preamble group;
  • the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
  • the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
  • each sub-random access preamble group that collides in the M sub-random access preamble groups can the corresponding terminal receive from the network equipment including the indication random
  • the random access response message of the access preamble indication information on the basis of reducing the waste of resources caused by false alarms, ensures that the random access preamble is actually sent to the network device and the corresponding sub-random access preamble group is not connected with other sub-groups.
  • the random access efficiency of the terminal when the random access preamble collides (the M sub-random access preamble group does not have the same sub-random access preamble group corresponding to the sub-random access preamble group corresponding to the terminal).
  • the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is S
  • the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
  • the random access preambles of terminals that randomly access the same PRACH resource are all generated by S sub-random access preambles.
  • M sub-random access preambles M sub-random access preambles
  • the number of sub-random access preambles included in the sub-random access preamble group in the preamble group is also S, which reduces the complexity of obtaining the M sub-random access preamble groups by the network device, thereby reducing the network device’s generation of random access response messages. Therefore, the efficiency of random access of the terminal is improved.
  • the first random access response message in the above solution is located in the PDU, which is a protocol data unit at the MAC layer of the media access control, and the PDU may have the following but not limited to the following five formats.
  • the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the header of the PDU includes multiple sub-random access preamble identifiers; wherein, the sub-random access The sub-random access preamble corresponding to the incoming preamble identifier is the sub-random access preamble included in the M sub-random access preamble groups.
  • M random access response messages are all located in one PDU, and the header of the PDU includes the identifier of the sub-random access preamble group.
  • the network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the identifier of the sub-random access preamble group.
  • the terminal receives the PDU, it can be based on the corresponding sub- The position of the subheader where the identifier of the random access preamble group is located, and the random access response message corresponding to the terminal included in the PDU is quickly determined.
  • the second format the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the M sub-headers of the header of the PDU include the M sub-random access preamble groups logo.
  • the load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the M sub-headers
  • M random access response messages are all located in one PDU, and the header of the PDU includes the sub-random access preamble identifier.
  • the network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the sub-random access preamble identifier, and the header of the PDU includes the identifier of the sub-random access preamble group.
  • the signaling overhead when the network device sends the PDU to the terminal is less.
  • the third format the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the K sub-headers of the header of the PDU include the identities of the K sub-random access preamble groups ,
  • the K sub-random access preamble groups are sub-random access preamble groups in the M sub-random access preamble groups, K ⁇ M; wherein, the K sub-random access preamble groups include the first sub-random access preamble group A random access preamble group, where the K sub-random access preamble groups have a sub-random access preamble group that is the same as the TA corresponding to any one of the K sub-random access preamble groups.
  • the load part of the PDU includes K random access response messages respectively corresponding to the K sub-random access preamble groups; wherein, the identifier of the first sub-random access preamble group is located in the K sub-headers
  • K random access response messages including indication information are located in the same PDU
  • (MK) random access response messages including uplink resource information are located in the same PDU
  • the head of the PDU is sub-random
  • the ID of the access preamble group is the same, and PDU generation is more convenient.
  • the fourth format The first random access response message is located in the PDU of the MAC layer.
  • the X subheaders of the PDU header include the identifiers of X sub-random access preamble groups, X ⁇ M, X is greater than 1. Integer;
  • the identifier of a sub-random access preamble group is located in a sub-header.
  • X sub-random access preamble groups are M sub-random access preamble groups corresponding to the same sub-random access preamble group, and X sub-random access preamble groups include the first random access preamble group.
  • the load part of the PDU includes X random access response messages corresponding to the X sub-random access preamble groups respectively.
  • the random access response message corresponding to the sub-random access preamble group with the same TA is located in the same PDU, and the header of the PDU is the identifier of the sub-random access preamble group.
  • the PDU of this format can generate a random access response message corresponding to the sub-random access preamble group corresponding to the TA, and send it to the terminal, which improves the network The efficiency of the random access response of the device to the terminal.
  • the first random access response message is located in the PDU of the MAC layer.
  • the header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preambles included in the X sub-random access preamble groups corresponding to the same TA in the M sub-random access preamble groups; the X sub-random access preamble groups include the first random access preamble group.
  • the header of the PDU includes multiple sub-headers, the sub-random access preamble identifier of each sub-random access preamble in the X sub-random access preamble groups is located at the head of the PDU, and one random access preamble identifier is located in a sub-header Ministry.
  • the payload of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups.
  • the first random access preamble group is the xth random access preamble group after the X random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU
  • the xth random access response message, x 1, ⁇ X.
  • the random access response messages corresponding to the sub-random access preamble groups with the same TA are located in the same PDU, and the header of the PDU is the sub-random access preamble identifier.
  • the PDU in this format improves the efficiency of the network device in making random access responses to the terminal, and compared to the PDU corresponding to the fourth format, the network device has less signaling overhead when sending the PDU to the terminal device.
  • the receiving, by the terminal, a first random access response message from the network device includes: receiving from the network device including the first random access Receiving the PDU of the response message; after the terminal receives the PDU including the first random access response message from the network device, the method further includes: according to the identifiers of the S sub-random access preambles, The sub-random access preamble identifier included in the header of the PDU and the preset ordering rule determine the first random access response message included in the load part of the PDU.
  • the receiving, by the terminal, a first random access response message from the network device includes: receiving from the network device including the first random access Receiving the PDU of the response message; after the terminal receives the PDU including the first random access response message from the network device, the method further includes: according to the identifier of the first random access sub-preamble group And determine the first random access response message included in the load part of the PDU.
  • a second aspect provides a communication method, the communication method includes: a network device receives a first random access preamble from a terminal, and the first random access preamble is generated according to S sub-random access preambles included in a random access preamble set
  • the random access preamble set includes N sub-random access preambles, N and S are integers greater than 1, and S ⁇ N;
  • the network device sends a first random access response message to the terminal, and the first
  • the random access response message includes indication information, and the indication information indicates the second random access preamble to the terminal.
  • the indication information includes an identifier of the second random access preamble.
  • the network device receives the random access preamble generated by the S sub-random access preambles from the terminal, so that the probability of multiple terminals sending the same random access preamble when randomly accessing on the same PRACH resource is greatly reduced and improved The probability of successful random access of the terminal.
  • the network device sends the random access response message including the random access preamble indicating the random access preamble to the terminal, which reduces the waste of physical resources caused by false alarms generated by generating the random access preamble based on the S random access preambles, and also improves the random access of the terminal. Probability of success.
  • the method further includes: receiving the second follow-on preamble from the terminal.
  • the network device receives the terminal from the terminal and sends the random access preamble again, so as to increase the probability of the terminal's random access success.
  • the first random access preamble is received on a first PRACH resource
  • the S sub-random access preambles form a first sub-random access preamble group;
  • the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
  • the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
  • the corresponding terminal by sending to each sub-random access preamble group that collides in the M sub-random access preamble groups (the TA corresponding to each sub-random access preamble group that has collided is the same), the corresponding terminal includes indicating random access
  • the random access response message of the preamble indication information on the basis of reducing the waste of resources caused by false alarms, ensures that the random access preamble is actually sent to the network device and the corresponding sub-random access preamble group is not randomly connected to other sub-random access preambles.
  • the random access efficiency of the terminal in which the incoming preamble collides (the M sub-random access preamble group does not have the same sub-random access preamble group corresponding to the sub-random access preamble group corresponding to the terminal).
  • the method for the network device to obtain the M sub-random access preamble groups on the first PRACH resource can be implemented as follows:
  • the random access preamble received on the first PRACH resource, a plurality of preselected random access preamble groups are determined, and the total energy of the sub random access preambles included in the preselected random access preamble group is greater than the first preset energy
  • the plurality of preselected sub-random access preamble groups include a first sub-random access preamble group, and the number of sub-random access preambles included in the preselected sub-random access preamble group is greater than or equal to W and less than or equal to N.
  • the network device obtains the M sub-random access preamble groups according to a plurality of preselected sub-random access preamble groups.
  • the network device determines multiple preselected random access preamble groups according to the random access preamble received on the first PRACH resource, which can be implemented in the following but not limited to the following two implementation manners:
  • the network device detects the sub-random access preamble according to the random access preamble received on the first PRACH resource, and determines the sub-random access preamble with the detected energy greater than the second preset energy Random access preamble for the detected sub;
  • the network device determines a plurality of preselected sub-random access preamble groups according to the first preset energy, the detected sub-random access preamble, the energy of the detected sub-random access preamble, and the corresponding TA.
  • the network device is based on the pre-random access received on the first PRACH resource Guide, determine a plurality of preselected sub-random access preamble groups, including:
  • the network device obtains the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each time window Each position corresponds to one TA; the all sub-random access preambles are all sub-random access preambles after deduplication included in the set of all random access preambles;
  • the network device combines all the sub-random access preambles in all the sub-random access preambles to obtain multiple alternative sub-random access preamble groups;
  • the network device For any first position of any first time window in each time window that needs to be detected, the network device according to the respective energy of all sub-random access preambles corresponding to the first position of the first time window, It is determined that the total energy of the sub-random access preambles included in the plurality of candidate sub-random access preamble groups is greater than the first preset energy as the pre-selected sub-random access preamble corresponding to the first TA Group, where the first TA is the TA corresponding to the first position of the first time window.
  • the network device obtains the M random access preamble groups according to the multiple preselected sub-random access preamble groups, including: for any one of the multiple TAs corresponding to the multiple preselected sub-random access preamble groups, first TA: For the first candidate random access preamble group corresponding to the first TA among the multiple preselected random access preamble groups, the network device obtains the first candidate random access preamble group included in the first candidate random access preamble group The number of occurrences of each sub-random access preamble in the first random access preamble group of candidate sub-random access preambles, and the sub-random access preambles with the same number of occurrences are divided into one group to obtain at least one second candidate-sub random access preamble group ;
  • the network device combines the sub-random access preambles in each second candidate sub-random access preamble group whose number of sub-random access preambles included is less than the preset number to obtain the target sub-random access preamble corresponding to the first TA Random access to the preamble group;
  • the network device removes the repeated sub-random access preamble groups in the target sub-random access preamble groups corresponding to each of the multiple TAs to obtain the M sub-random access preamble groups.
  • This solution provides a specific implementation for the network equipment to obtain M sub-random access preamble groups.
  • the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is S
  • the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
  • the random access preambles of terminals that randomly access the same PRACH resource are all generated by S sub-random access preambles.
  • M sub-random access preambles M sub-random access preambles
  • the number of sub-random access preambles included in the sub-random access preamble group in the preamble group is also S, which reduces the complexity of obtaining the M sub-random access preamble groups by the network device, thereby reducing the network device’s generation of random access response messages. Therefore, the efficiency of random access of the terminal is improved.
  • the first random access response message in the above solution is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format of the PDU in the first aspect.
  • a third aspect provides a communication device, where the communication device includes:
  • a sending module configured to send a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and the random access preamble set includes N Sub-random access preambles, where N and S are integers greater than 1, S ⁇ N; a receiving module, configured to receive a first random access response message from the network device, where the first random access response message includes indication information , The indication information indicates the second random access preamble to the terminal.
  • the indication information includes an identifier of the second random access preamble.
  • the method further includes: a processing module; the processing module is configured to determine the second random access message according to the first random access response message Leading
  • the sending module is further configured to send the second random access preamble to the network device.
  • the sending module is specifically configured to: send the first random access to the network device on a first physical random access channel PRACH resource Incoming preamble;
  • the S sub-random access preambles form a first sub-random access preamble group;
  • the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group Enter a preamble group, and in the M sub-random access preamble groups, there is a sub-random access preamble group with the same timing advance TA corresponding to the first sub-random access preamble group;
  • the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
  • the number of sub-random access preambles of the random access preambles of the terminals in the first terminal set is S
  • the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
  • the first random access response message in the above solution is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format of the PDU in the first aspect.
  • the receiving module is specifically configured to: receive the PDU from the network device; and the processing module is further configured to: The identifier of the random access preamble, the identifier of the sub-random access preamble included in the header of the PDU, and the preset ordering rule are used to determine the first random access response message included in the load part of the PDU.
  • the receiving module is specifically configured to: receive the PDU including the first random access response message from the network device;
  • the processing module is further configured to determine the first random access response message included in the load part of the PDU according to the identifier of the first random access sub-preamble group.
  • a fourth aspect provides a communication device, the communication device includes: a receiving module configured to receive a first random access preamble from a terminal, and the first random access preamble is based on the S sub-random accesses included in the random access preamble set Incoming preamble generation, the random access preamble set includes N sub-random access preambles, N and S are integers greater than 1, S ⁇ N; the sending module is used to send the first random access response message to the terminal, The first random access response message includes indication information, and the indication information indicates a second random access preamble to the terminal.
  • the indication information includes an identifier of the second random access preamble.
  • the receiving module is further configured to receive the second follow-on preamble from the terminal.
  • the first random access preamble is received on a first PRACH resource;
  • the S sub-random access preambles form a first sub-random access preamble group;
  • the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
  • the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
  • a processing module is further included.
  • the processing module is configured to determine a plurality of preselector random accesses according to the random access preamble received on the first PRACH resource Preamble group, the total energy of the sub-random access preambles included in the preselected sub-random access preamble group is greater than the first preset energy, and the first sub-random access preamble group is included in the plurality of pre-selected sub-random access preamble groups, so The number of sub-random access preambles included in the preselected sub-random access preamble group is greater than or equal to W and less than or equal to N. According to the random access preamble group of multiple preselected sub-groups, the M sub-random access preamble groups are obtained.
  • the processing module when used to determine a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically used for:
  • the processing module when used to determine a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically used for:
  • the random access preamble received on the first PRACH resource obtain the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each position of each time window corresponds to one TA; the all sub-random access preambles are all sub-random access preambles included in the set of all random access preambles after deduplication;
  • the random access preamble candidate group of which the total energy of the sub-random access preambles included in the random access preamble group is greater than the first preset energy is a pre-selected sub-random access preamble group corresponding to the first TA, wherein, The first TA is the TA corresponding to the first position of the first time window.
  • the processing module when used to randomly access the preamble group according to a plurality of preselectors to obtain M random access preamble groups, it is specifically used for: random access to multiple TAs corresponding to the preselected subgroups Any one of the first TA:
  • each random access preamble included in the first candidate random access preamble group obtains each random access preamble included in the first candidate random access preamble group
  • the number of occurrences in the random access preamble group of the first candidate sub-random access preamble is divided into a group to obtain at least A second candidate for random access to the preamble group;
  • the number of sub-random access preambles of the random access preambles of the terminals in the first terminal set is S
  • the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
  • the first random access response message in the above solution is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format of the PDU in the first aspect.
  • a fifth aspect provides a communication device, where the communication device is configured to implement the communication method described in the first aspect or any possible implementation manner of the first aspect.
  • a sixth aspect provides a communication device, where the communication device is used to implement the communication method described in the second aspect or any possible implementation manner of the second aspect.
  • a seventh aspect provides a readable storage medium on which a computer program is stored; when the computer program is executed, the communication as described in the first aspect or any possible implementation manner of the first aspect is implemented method.
  • An eighth aspect provides a readable storage medium with a computer program stored on the readable storage medium; when the computer program is executed, the communication as described in the second aspect or any possible implementation manner of the second aspect is implemented method.
  • the probability of multiple terminals sending the same random access preamble during random access on the same PRACH resource is greatly reduced and improved The probability of successful random access of the terminal.
  • the waste of physical resources caused by the false alarm generated by generating the random access preamble based on the S random access preambles is reduced, and the random access of the terminal is also improved. Probability of success. Description of the drawings
  • Figure 1 is a schematic diagram of a communication system provided by an embodiment of the application.
  • Figure 2 is a signaling interaction diagram of a communication method provided by an embodiment of this application.
  • FIG. 3 is a flowchart of a communication method provided by an embodiment of the application.
  • Figure 4 is a schematic diagram of a PDU in the first format provided by an embodiment of the application.
  • Figure 5 is a schematic diagram of a sub-header of the PDU in Figure 4.
  • Fig. 6 is a schematic diagram of another sub-header of the PDU in Fig. 4;
  • Figure 7 is a schematic diagram of the format of a random access response message included in the PDU in Figure 4.
  • FIG. 8 is a schematic diagram of a PDU in the second format provided by an embodiment of the application.
  • Fig. 9 is a schematic diagram of a sub-header of the PDU in Fig. 8.
  • FIG. 10 is a schematic diagram 1 of sub-random access preamble energy provided by an embodiment of this application;
  • Figure 11 is a second schematic diagram of sub-random access preamble energy provided by an embodiment of this application;
  • FIG. 12 is the third schematic diagram of sub-random access preamble energy provided by an embodiment of this application.
  • FIG. 13 is a first structural diagram of a communication device provided by an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of this application.
  • FIG. 15 is a second structural diagram of a communication device provided by an embodiment of the application.
  • FIG. 16 is a third structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 17 is a fourth structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 18 is a fifth structural diagram of a communication device provided by an embodiment of this application. detailed description
  • At least one refers to one or more, and “multiple” refers to two or more.
  • And/or describes the association relationship of the associated objects, which means that there can be three types of relationships, for example, A and/or B can be expressed as / K: A is alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are in an “or” relationship.
  • the following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of single item (a) or plural items (a).
  • At least one item (a) of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
  • the terms "first”, “second”, etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
  • Step 1 The terminal sends a random access preamble (MSG1) to the network device
  • the terminal randomly selects one of the 64-Ncf preambles as the random access preamble, where Ncf is the number of preambles reserved by the network equipment for non-contention-based access.
  • the terminal sends the selected random access preamble to the network device to which the cell belongs to request access to the cell.
  • Step 2 The network device sends a random access response (MSG2) to the terminal
  • the network device sends a random access response (random access response, RAR for short) on the physical downlink shared channel. If multiple terminals cause a conflict because they send the same random access preamble on the same PRACH resource, the multiple terminals will receive the same random access response message.
  • RAR random access response
  • the random access response message carries the identifier of the random access preamble detected by the network device, is used to synchronize the timing advance (Timing Advance, TA) for continuous uplink transmission from the terminal, and is used to transmit the message in the third step.
  • the random access response message can also include a "retransmission delay indicator", and the network device can set the retransmission delay indicator to indicate when the terminal will re-random access next time.
  • Step 3 The terminal sends a Layer2/Layer3 (L2/L3) message (MSG3) to the network device, where the Layer2/Layer3 (L2/L3) message can also be called a scheduling-based transmission message.
  • L2/L3 Layer2/Layer3
  • MSG3 Layer2/Layer3
  • Layer2/Layer3 (L2/L3) messages are exact random access process messages, such as radio resource control (radio resource control, RRC) connection establishment request, tracking area update, or scheduling request.
  • the Layer2/Layer3 (L2/L3) message contains the temporary C-RNTI included in the random access response message in the second step, and the terminal There is already a C-RNTI or terminal identification (temporary mobile user identification or a random number) in the case of RRC connection. If there is a random access preamble conflict in the first step (that is, multiple terminals have sent the same random access preamble), the terminal that sends the same random access preamble will get the same from the received random access response message.
  • Temporary C-RNTI and send a Layer2/Layer3 (L2/L3) message on the same uplink resource (that is, included in the received random access response message).
  • Step 4 The network device sends a contention resolution message (MSG4) to the terminal
  • the contention resolution message carries the C-RNTI or temporary C-RNTI of the terminal with successful random access in the case of an RRC connection. If the contention resolution message carries the temporary C-RNTI, then the contention resolution message It also includes the identification of the terminal with successful random access. If the terminal detects the identity of the terminal in the received contention resolution message or the terminal already has a C-RNTI in the case of an RRC connection, the terminal feeds back the reception success information; other terminals do not include the received contention resolution message When discovering its own identity or its own C-RNTI in the case of having an RRC connection, no feedback information is sent, the current random access process is stopped, and another random access process is started.
  • LTE Long Term Evolution
  • UMTS Terrestrial Radio Access Universal Mobile Telecommunications System
  • UTRAN Universal Mobile Telecommunications System
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data Rate for GSM Evolution
  • GSM EDGE Radio Access Network GERAN
  • the function of the MME is completed by the Serving GPRS Support (SGSN) of the General Packet Radio Service (GPRS), and the function of the SGWVPGW is provided by the Gateway GPRS Support Node (Gateway GPRS Support Node). , GGSN) completed.
  • SGSN Serving GPRS Support
  • GPRS General Packet Radio Service
  • GGSN Gateway GPRS Support Node
  • PLMN Public Land Mobile Network
  • the embodiment of the present application relates to a terminal.
  • the terminal may be a device that includes wireless transceiver functions and can cooperate with network devices to provide users with communication services.
  • the terminal may refer to user equipment (UE), access terminal equipment, subscriber unit, user station, mobile station, mobile station, remote station, remote terminal equipment, mobile equipment, user terminal equipment, terminal equipment, wireless Communication equipment, user agent or user device.
  • the terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (PDA), and wireless communication.
  • the embodiments of the present application also relate to network equipment.
  • the network device may be a device used to communicate with a terminal, for example, it may be a base station (Base Transceiver Station, BTS) in a GSM system or CDMA, a base station (NodeB, NB) in a WCDMA system, or an LTE system.
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • the evolved base station (Evolutional Node B, eNB or eNodeB) in the system, or the network device may be a relay station, an access point, a vehicle-mounted device, a wearable device, and a network-side device in a future 5G network or a network after 5G. Evolution Network equipment in the PLMN network.
  • the network equipment involved in the embodiments of the present application may also be referred to as a radio access network (Radio Access Network, RAN) equipment.
  • the RAN equipment is connected to the terminal equipment and is used to receive data from the terminal equipment and send it to the core network equipment.
  • RAN equipment corresponds to different equipment in different communication systems. For example, in a 2G system, it corresponds to a base station and a base station controller, and in a 3G system, it corresponds to a base station and a radio network controller (Radio Network Controller, RNC).
  • RNC Radio Network Controller
  • an evolved base station (Evolutional Node B, eNB) in a 5G system
  • a 5G system such as an access network device (for example, gNB, CU, DU) in a New Radio Access Technology (NR).
  • NR New Radio Access Technology
  • Fig. 1 is a schematic diagram of a communication system provided by an embodiment of the application. As shown in Fig. 1, the communication system includes a network device, and a terminal.
  • Fig. 2 is a signaling interaction diagram of the communication method provided by an embodiment of the application. See Fig. 2, and the method in this embodiment includes:
  • Step S201 The terminal sends a first random access preamble to the network device.
  • the first random access preamble is generated according to the S sub-random access preambles in the random access preamble set, and the random access preamble set includes N sub-random accesses.
  • the leading, N and S are integers greater than 1, SN.
  • L random access preamble sets may correspond to L identifiers, and each random access preamble set corresponds to one identifier.
  • the name of the sub-random access preamble the name is only to express the possible relationship between it and the random access preamble sent by the terminal to the network device. The generation method and characteristics of the sub-random preamble itself can be compared with those in the prior art.
  • the random access preambles are the same, that is, the sub-random access preamble can be a random access preamble used in the current random access process.
  • L C f 2 ; where Cf represents the total number of combinations that can be obtained by taking N non-repetitive sub-random access preambles from f sub-random access preambles to form a random access preamble set.
  • the terminal when initiating random access, determines the first identifier from the L identifiers, and further determines the first random access preamble set corresponding to the first identifier among the L random access preamble sets.
  • the terminal may add the S sub-random access preambles in the first random access preamble set to obtain the first random access preamble.
  • the terminal may multiply the S sub-random access preamble points in the first random access preamble set to obtain the first random access preamble.
  • the multiplication here is equivalent to the concept of vector multiplication, that is, the multiplication of S sub-random access preambles means that the sequence elements in the S sub-random access preambles are multiplied at corresponding positions respectively.
  • sub-random access preamble B is ⁇ 4,5,6 ⁇
  • the terminal may also obtain the first random access preamble according to the S sub-random access preambles in the first random access preamble set in other ways, which is not limited in the embodiment of the present application.
  • the terminal After generating the first random access preamble, the terminal sends the first random access preamble to the network device.
  • the terminal has a selectable random access preamble set, which is much larger than /. Therefore, the probability that a terminal randomly accessing on the same PRACH resource sends the same random access preamble This greatly reduces, that is, increases the probability of successful random access of the terminal. Reduce the probability of terminal transmission collision during random access.
  • Step S202 The network device sends a first random access response message to the terminal, where the first random access response message includes indication information, and the indication information indicates the second random access preamble to the terminal.
  • the network device after receiving the first random access preamble sent by the terminal, the network device sends a first random access response message to the terminal, where the first random access response message includes indication information, and the indication information indicates the second random access to the terminal Leading.
  • the indication information may include the identifier of the second random access preamble.
  • the second random access preamble may be the preamble in the Nef f preamble used for non-contention random access among the current 64 preambles.
  • the random access preamble generation method described in step S201 greatly reduces the probability of multiple terminals sending the same random access preamble during random access on the same PRACH resource, which improves the probability of successful random access of the terminal. It can support the access of a large number of terminals. However, the random access preamble generation method described in step S201 reduces the probability of multiple terminals sending the same random access preamble on the same PRACH resource, and there is a false alarm (false alarm) problem.
  • the network device Before the network device sends the first random access response message to the terminal, the network device will Multiple random access preambles are received on a PRACH resource (the multiple random access preambles include the first random access preamble), and the network device obtains M sub-random access preamble groups according to the received multiple random access preambles ,
  • the M sub-random access preamble groups include a first random access preamble group, and the first random access preamble group is composed of S sub-random access preambles that generate the first random access preamble.
  • the number of sub-random access preambles included in the M sub-random access preamble groups P satisfies W ⁇ P ⁇ N, and WS SSN, W is an integer greater than 1.
  • W may be the sub-random access required when generating the random access preambles of the terminals in the first terminal set
  • the minimum number of preambles, that is, the minimum value of S is W.
  • the random access sub-random access preambles included in the random access preamble group of the M sub-random access preamble groups The number of preambles is S.
  • the network device For each sub-random access preamble group in the M sub-random access preamble groups, the network device considers that it may receive The random access preamble generated by the sub-random access preamble in the sub-random access preamble group is reached. In other words, the network equipment thinks that there may be a terminal that has sent the sub-random access preamble from the sub-random access preamble group. Random access preamble generated.
  • the network device In the case that the network device obtains M sub-random access preamble groups, the network device thinks that there may be M terminals that have sent random access preambles to the network device on the first PRACH resource, and M terminals and M sub-random access preambles
  • the groups have one-to-one correspondence, and the terminal corresponding to the sub-random access preamble group means that the random access preamble sent by the terminal is generated according to the sub-random access preamble in the corresponding sub-random access preamble group.
  • the sub-random access preamble group corresponding to the terminal that does not send the random access preamble to the network device corresponds to A false alarm.
  • the 2 random access preambles in the preamble set 1 are generated, and the random access preamble set 1 is
  • the random access preamble 2 sent by the user 1 is randomly accessed by the 2 sub-random access preambles in the random access preamble set 2.
  • random access preamble set 2 is ⁇ C, D ⁇ , user 0 sends random access preamble 1 on PRACH resource 1, user 1 sends random access preamble 2 on PRACH resource 1, and the network device receives random access preamble 2 After accessing preamble 1 and random access preamble 2, the random access preamble will be detected to obtain M sub-random access preamble groups.
  • the obtained M sub-random access preamble groups include ⁇ A, BJ, ⁇ A, C
  • the network equipment will think that there may be a terminal sending a random access from the group of ⁇ A,B ⁇ Random access preambles generated by preambles A and B, there may be terminals that have sent random access preambles generated by sub-random access preambles A and C in the ⁇ A,C ⁇ group, and there may be terminals that have sent ⁇ B,C ⁇
  • the random access preambles generated by the sub-random access preambles B and C in the group there may be a terminal that has sent the random access preambles generated by the sub-random access preambles A and D in the ⁇ A,D ⁇ group, there may be The terminal sends the random access preamble generated by the sub-random access preambles B and D in the
  • the TA corresponding to each sub-random access preamble included in one of the M sub-random access preamble groups is the same. If the network device detects multiple sub-random access preambles at the same position in the same time window, the TAs corresponding to the multiple sub-random access preambles are the same. Further, TA is related to the distance between the terminal and the network device. In theory, one TA corresponds to one terminal. However, when the locations of multiple terminals are very close, one TA may correspond to multiple terminals.
  • one terminal In the case of corresponding to one sub-random access preamble group, if one TA corresponds to multiple sub-random access preamble groups, there may be sub-random access preamble groups that are false alarms in the multiple sub-random access preamble groups.
  • the network device After obtaining the M sub-random access preamble groups, the network device will make random access responses to the obtained M sub-random access preamble groups respectively, that is, respectively make random access responses to the M terminals that may have sent the random access preamble.
  • Random access response M random access response messages are generated, M random access response messages correspond to M terminals or M sub-random access preamble groups respectively, and each random access response message generated by the network device
  • the uplink resource information is included, the uplink resource indicated in the random access response message of the terminal corresponding to the false alarm among the M terminals is wasted, because no terminal has sent the sub-random access preamble in the false alarm. Random access preamble generated.
  • the M random access preamble sub-groups include the first random access preamble sub-group. Therefore, after the network device respectively makes random access responses to the M sub-random access preamble groups, the M random access response messages generated include the first random access response message.
  • the first random access response message sent by the network device to the terminal includes indication information indicating the second random access preamble, but does not include uplink resource information, that is, The terminal is not allocated uplink resources, but a random access preamble for re-random access is allocated. Therefore, waste of physical resources is avoided.
  • the network device cannot determine the number of terminals that actually send the random access preamble corresponding to the TA, that is, the network device cannot determine the actual received Random access preamble generated by random access preamble group a, or received the random access preamble generated according to sub-random access preamble group b, or both received the random access preamble generated according to sub-random access preamble group a
  • the random access preamble generated according to the sub-random access preamble group b is also received.
  • the network device considers that the sub-random access preamble group a and the sub-random access preamble group b collide, that is, if M sub-random access preambles If the TAs corresponding to the multiple random access preamble sub-groups in the group are the same, the multiple random access preamble sub-groups collide. Therefore, in the case of sending collisions between sub-random access preamble groups, a random access response message including indication information but not uplink resource information is generated for each sub-random access preamble group that has collided, and the indication information is sent.
  • the random access response message to the terminal corresponding to each sub-random access preamble group that has collided can avoid the problem of physical resource waste.
  • the random access preamble is actually sent to the network device and the corresponding sub-random access preamble group is not connected to other sub-random access preambles.
  • the terminal that collides in the preamble group also needs to re-initiate random access using the random access preamble indicated in the instruction information.
  • the network device in this embodiment can access the sub-random access that meets the following conditions:
  • the terminal corresponding to the preamble group sends a random access response message including indication information:
  • There are M sub-random access preamble groups corresponding to the first sub-random access preamble group The same sub-TA randomly accesses the preamble group. It can be understood that the TA corresponding to the first random access sub-preamble group is the TA corresponding to the random access sub-preamble in the first random access sub-group.
  • the network device may send a random access response message including uplink resource information to the terminal whose corresponding sub-random access preamble group does not collide with other sub-random access preamble groups, that is, in this embodiment, the network device can
  • the terminal corresponding to the sub-random access preamble group under the following conditions sends a random access response message including uplink resource information: There is no sub-random that is the same as the TA corresponding to the sub-random access preamble group in the M sub-random access preamble groups Access the preamble group.
  • the terminal device can use the random access response message that includes the uplink resource information to
  • the scheduling-based transmission information (which may be MSG3 in current contention-based random access, such as an RRC connection establishment request) is sent on the uplink resource indicated by the uplink resource information to complete the random access.
  • Step S203 The terminal determines a second random access preamble according to the first random access response message. Specifically, after receiving the first random access response message sent by the network device, the terminal determines the second random access preamble according to the indication information in the first random access response message.
  • Step S204 The terminal sends a second random access preamble to the network device.
  • the terminal after determining the second random access preamble, the terminal sends the second random access preamble to the network device to re-initiate random access.
  • the method in this embodiment sends the random access preamble generated by S sub-random access preambles to the network device, so that multiple terminals send the same random access preamble when randomly accessing on the same PRACH resource.
  • the probability is greatly reduced, and the probability of successful random access of the terminal is improved.
  • the waste of physical resources caused by the false alarm generated by generating the random access preamble based on the S random access preambles is reduced, and the random access of the terminal is also improved. Probability of success. As described in the embodiment shown in FIG.
  • FIG. 3 is a flowchart of a communication method provided by an embodiment of this application. Referring to FIG. 3, the method in this embodiment includes:
  • Step S301 The network device determines a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource.
  • the total energy of the sub-random access preambles included in the preselected sub-random access preamble group is greater than that of the first PRACH resource.
  • the plurality of preselected sub-random access preamble groups include a first sub-random access preamble group, and the number of sub-random access preambles included in the preselected sub-random access preamble group is greater than or equal to W and less than or equal to N.
  • the random access preamble received by the network device on the first PRACH resource includes the first random access preamble.
  • the first random access preamble in this embodiment is the same as the first random access preamble in the embodiment shown in FIG. 2 the same.
  • the network equipment can obtain multiple preselected sub-random access preamble groups in the following but not limited to the following two ways: In the first way, the network equipment determines the number of random access preambles based on the random access preamble received on the first PRACH resource. The preselectors randomly access the preamble group, including:
  • the network device detects the sub-random access preamble according to the random access preamble received on the first PRACH resource, and determines that the detected sub-random access preamble with energy greater than the second preset energy is the detected sub-random Access preamble.
  • the network device shifts the root sequence to generate the sub-random access preamble, and performs correlation detection with the sub-random access preamble corresponding to the received random access preamble to detect the sub-random access preamble.
  • the method of correlation detection can adopt the existing technology in this field, which will not be repeated here.
  • the first energy obtained by correlation detection is greater than the first energy 2.
  • the sub-random access preamble generated after the root sequence is shifted is the detected sub-random access preamble.
  • the network device will detect each position in each time window that needs to be detected.
  • Sub-random access preamble.
  • Each position of each time window that needs to be detected corresponds to a TA.
  • the network device determines a plurality of preselected sub-random access preamble groups according to the first preset energy, the detected sub-random access preamble, the energy of the detected sub-random access preamble, and the corresponding TA.
  • the number of sub-random preambles included in the random access preamble set in the L random access preamble sets is N
  • the number of sub-random access preambles included in the preselected sub-random access preamble set obtained by the network device needs to be greater than Equal to W and less than or equal to N.
  • the number of random access preambles of the random access preambles of the terminals in the first terminal set is all set to S
  • the number of the random access preambles included in each preselected random access preamble group The numbers are all S.
  • the meaning of the first terminal set here is the same as the first terminal set in the embodiment shown in FIG. 2.
  • the d sub-random access preambles all correspond to the first TA, and W, and N sub-random access preambles are sequentially selected from the d sub-random access preambles.
  • the access preambles are combined to obtain Cf + + Cf sub-random access preamble groups, and the total energy of the sub-random access preambles included in the Cf + + C d # sub-random access preamble groups is greater than the first preset energy group It is determined as the preselector random access preamble group corresponding to the first TA.
  • the above operations are followed for each position of each time window that needs to be detected, and finally a preselected random access preamble group corresponding to multiple TAs is obtained.
  • the same first preselector random access preamble group exists in the preselector random access preamble groups corresponding to each of the at least two TAs
  • at least two preselector random access preamble groups are finally obtained
  • the first preselector randomly accesses the preamble group. That is, in the case that the same preselector random access preamble group exists in the preselector random access preamble groups corresponding to each of at least two TAs, the finally obtained multiple preselector random access preamble groups include the same random access preamble group.
  • the leading group is, in the case that the same preselector random access preamble group exists in the preselector random access preamble groups corresponding to each of at least two TAs, the finally obtained multiple preselector random access preamble groups include the same random access preamble group.
  • the network device determines a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, including:
  • the network device obtains the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each time window Each position corresponds to one TA.
  • all sub-random access preambles in this embodiment refer to all sub-random access preambles after de-duplication included in the set of L random access preambles, and the number of all sub-random access preambles is c.
  • c can be equal to 64-Ncf.
  • the meaning of the L random access preamble sets is the same as that in the embodiment shown in FIG. 2.
  • the network device combines the sub-random access preambles in all the sub-random access preambles to obtain multiple candidate sub-random access preamble groups.
  • the candidate sub-random access preamble groups include the sub-random access preamble groups The number is greater than or equal to W and less than or equal to N.
  • the network device determines the amount of energy according to the respective energy of all sub-random access preambles corresponding to the first position of the first time window.
  • the total energy of the random access preambles included in the random access preamble candidate group is greater than the first preset energy, and the random access preamble group for the random access candidates corresponds to the first TA, and Wherein, the first TA is the TA corresponding to the first position of the first time window.
  • the energy of the sub-random access preamble corresponding to the first position of the first time window is the energy of the sub-random access preamble obtained after the network device performs correlation detection at the first position of the first time window.
  • the network device determines (Cf + + Cf) candidate sub-random access preamble groups that the total energy of the sub-random access preambles is greater than
  • the candidate random access preamble group of the first preset energy is the preselected random access preamble group corresponding to the first TA corresponding to the first position of the first time window.
  • the preselector random access preamble group corresponding to each position of each time window in the time window to be detected is obtained, and finally multiple preselector random access preamble groups are obtained.
  • the same first preselector random access preamble group exists in the preselector random access preamble groups respectively corresponding to at least two TAs
  • at least two preselector random access preamble groups are finally obtained
  • the first preselector randomly accesses the preamble group. That is, when the same preselector random access preamble group exists in the preselector random access preamble groups respectively corresponding to at least two TAs, the finally obtained multiple preselector random access preamble groups include the same sub random access preamble group.
  • Step S302 The network device randomly accesses the preamble group according to the multiple preselected sub-random access preamble groups to obtain M sub-random access preamble groups.
  • the network device acquires each sub-random access preamble included in the first candidate-sub-random access preamble group to access the first candidate sub-random access preamble group. Entering the number of occurrences in the preamble group, dividing sub-random access preambles with the same number of occurrences into one group to obtain at least one second candidate random access preamble group;
  • the network device combines the sub-random access preambles in each second candidate sub-random access preamble group whose number of included sub-random access preambles is less than the preset number to obtain the target sub-random access preamble corresponding to the first TA Access the preamble group.
  • each second candidate sub-random access preamble group is e
  • the e sub-random access preambles are combined with W, ⁇ N sub-random access preambles to obtain (Cf + + Cf) random access preamble subgroups, (Cf + + Cf) random access preamble subgroups are the target random access preamble groups corresponding to the first TA.
  • c2 may specifically be: the number of sub-random access preambles included is smaller than the preset number
  • the sub-random access preambles in each second candidate sub-random access preamble group are combined to obtain at least one group, and the group whose total energy of the sub-random access preambles included in the at least one group is greater than the first preset energy is taken as The target sub-random access preamble group corresponding to the first TA, at this time, the total energy of the sub-random access preamble included in each sub-random access preamble group in the M sub-random access preamble groups is greater than the first preset energy.
  • the preset number may be 5.
  • the network device removes the repeated sub-random access preamble groups in the target sub-random access preamble groups corresponding to each of the multiple TAs to obtain M sub-random access preamble groups.
  • the operations in cl to c3 are performed, and the multiple TAs corresponding to the multiple preselector random access preamble groups can be obtained.
  • the target child corresponding to each TA randomly accesses the preamble group, and the target child corresponding to each TA randomly accesses the preamble group to remove the repeated sub-random After accessing the preamble group, M random access preamble groups are obtained.
  • the number of random access preambles included in the random access preamble set in the L random access preamble sets is 2, and the random access preambles sent by each terminal in the first terminal set are all based on the 2 random access preambles.
  • the number of sub-random access preambles included in the sub-random access preamble group should also be 2.
  • At least the random access preamble sent by terminal 0 on the first PRACH resource is generated by sub-random access preambles A and B in the random access preamble set ⁇ A, B ⁇ , and the random access preamble sent by terminal 1 on the first PRACH resource
  • the access preamble is generated by the sub-random access preambles A and C in the random access preamble set ⁇ A, C ⁇ .
  • the pre-selected sub-random access preambles obtained by the network device may be the following but not limited to the following three types Situation:
  • Fig. 10 is a schematic diagram 1 of sub-random access preamble energy provided by an embodiment of this application
  • Fig. 11 is a schematic diagram 2 of sub-random access preamble energy provided by an embodiment of this application
  • Fig. 12 is a sub-random access preamble provided by an embodiment of this application Leading energy diagram three.
  • the first scenario Take the network device acquiring the three preselected random access preamble groups corresponding to TA1 ⁇ A+BUA+q and
  • the first time window is any time window in the time window that needs to be detected, and the first position is any position in the first time window.
  • the network device in the case of acquiring a plurality of preselected sub-random access preamble groups according to the method in a1 ⁇ a2, the network device according to the received sub-random access preambles sent by terminal 0 and terminal 1, in the first time window It is detected at the first position that the energy of the sub-random access preamble A is greater than the second preset energy and less than the first preset energy, the energy of the sub-random access preamble B is greater than the second preset energy and less than the first preset energy, and the sub-random The energy of the access preamble C is greater than the second preset energy and less than the first preset energy, as shown in FIG. 10. At this time, the network device determines that the sub-random access preambles A, B, and C are detected.
  • the network equipment combines A, B and C in pairs to obtain
  • the sum of the energy of the sub-random access preamble A and the energy of the sub-random access preamble C is greater than the first preset energy
  • the energy of the sub-random access preamble B and the sub-random access preamble C The sum of the energy of is greater than the first preset energy
  • the network device determines that A+B UA+q and B+q are the three preselector random access preamble groups corresponding to TA1.
  • the network device will receive the above c sub-random access preambles according to the received sub-random access preambles sent by terminal 0 and terminal 1.
  • the network device obtains the preselected sub-random access preamble group corresponding to TA1 as an example to illustrate this situation.
  • TA1 corresponds to the TA corresponding to the first position of the first time window
  • the first time window is the time window to be detected
  • the first position is any position in the first time window.
  • the network device according to the received sub-random access preambles sent by terminal 0 and terminal 1, in the first time window It is detected at the first position that the energy of the sub-random access preamble A is greater than the first preset energy, the energy of the sub-random access preamble B is greater than the second preset energy and less than the first preset energy, and the energy of the sub-random access preamble C is The energy is greater than the second preset energy and less than the first preset energy, it is detected that the energy of the sub-random access preamble D is greater than the second preset energy and less than the first preset energy, and the energy of the sub-random access preamble E is greater than the second preset The energy is less than the first preset energy, as shown in Figure 11. At this time, the network device determines that the sub-random access preambles A, B, C
  • the network device combines A, B, C, D and E in pairs to obtain ⁇ A,B ⁇ , ⁇ A,C ⁇ , ⁇ A,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B, D ⁇ , ⁇ B,E ⁇ , ⁇ C,D ⁇ , ⁇ C,E ⁇ and p,E ⁇ these 10 sub-groups are randomly connected to the leading group, and the calculation knows that ⁇ A,B ⁇ , ⁇ A,C ⁇ , ⁇ A ,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B,D ⁇ , ⁇ C,D ⁇ , and p,E ⁇ The energy of the preamble is greater than the first preset energy.
  • the network device will receive the above c sub-random access preambles according to the received sub-random access preambles sent by terminal 0 and terminal 1. Combine them in pairs to obtain Q 2 sub-random access preamble groups, and obtain the respective energy of c sub-random access preambles at the first position of the first time window, where the random access is performed at the first position of the first time window.
  • the energy of the preamble A is greater than the first preset energy, and the remaining c-1 sub-random access preamble energies are all less than the first preset energy.
  • the groups of energy be ⁇ A,B ⁇ , ⁇ A,C ⁇ , ⁇ A,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B,D ⁇ , ⁇ C,D ⁇ , and ⁇ D ,E ⁇ , ⁇ A+XJ ⁇ A+X ; ⁇ , , ⁇ A+X c.5 ⁇ , network equipment determination ⁇ A, B ⁇ , ⁇ A,C ⁇ , ⁇ A,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B,D ⁇ , ⁇ C,D ⁇ , and ⁇ D,E ⁇ , ⁇ A+XG,, ⁇ A+X, ⁇ , ⁇ ⁇ ⁇ , ⁇ A+X c.
  • 5 ⁇ is the preselector corresponding to TA1 to randomly access the preamble group.
  • 1, (c-5), X is the z-th sub-random access preamble of the c sub-random access preambles except A, B,, C, D, E
  • the third situation The following takes the network device to obtain the preselected sub-random access preamble group corresponding to TA1 as an example to illustrate this situation, TA1 corresponds to the TA corresponding to the first position of the first time window, and the first time window is the time window to be detected For any time window in, the first position is any position in the first time window.
  • the network device according to the received sub-random access preambles sent by terminal 0 and terminal 1, in the first time window It is detected at the first position that the energy of the sub-random access preamble A is greater than the first preset energy, the energy of the sub-random access preamble B is greater than the first preset energy, and the energy of the sub-random access preamble C is greater than the first preset Energy, the energy of the sub-random access preamble D is greater than the second preset energy and less than the first preset energy, and the energy of the sub-random access preamble E is greater than the second preset energy and less than the first preset energy, as shown in FIG. 12.
  • the network equipment determines that the sub-random access preamble A,
  • the network equipment combines A, B, C, D and E in pairs to obtain ⁇ A,B ⁇ , ⁇ A,C ⁇ , ⁇ A,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B, D ⁇ , ⁇ B,E ⁇ , ⁇ C,D ⁇ , ⁇ C,E ⁇ and p,E ⁇ these 10 sub-groups are randomly connected to the leading group, and the calculation knows that ⁇ A,B ⁇ , ⁇ A,C ⁇ , ⁇ A ,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B,D ⁇ , ⁇ C,D ⁇ , and p,E ⁇ The energy of the preamble is greater than the first preset energy.
  • Equipment determination ⁇ A,B ⁇ , ⁇ A,C ⁇ , ⁇ A,D ⁇ , ⁇ A,E ⁇ , ⁇ B,C ⁇ , ⁇ B,D ⁇ , ⁇ C,D ⁇ , and p, E ⁇ are all preselectors randomly access the preamble group.
  • the network device will receive the above c sub-random access preambles according to the received sub-random access preambles sent by terminal 0 and terminal 1. Combine them in pairs to obtain Q 2 sub-random access preamble groups, and obtain the respective energy of c sub-random access preambles at the first position of the first time window, where the random access is performed at the first position of the first time window.
  • the energy of the preambles A, B, and C is greater than the first preset energy, and the remaining c-3 sub-random access preamble energies are all less than the first preset energy.
  • Network equipment determination ⁇ A+XG ,, ⁇ A+X, ⁇ A+X c.5 ⁇ , ⁇ B+XG ,, ⁇ B+X ; ⁇ ,..., ⁇ B+X c.5 ⁇ , UC+XJ,, ⁇ C+X, ⁇ , ⁇ ⁇ ⁇ , ⁇ C+X c-5 ⁇ are the preselectors corresponding to TA1 to randomly access the preamble group.
  • z 1, (c-5)
  • X is the z-th sub-random access preamble excluding A, B,, C, D, and E in the c sub-random access preambles.
  • the network equipment For TA1, the network equipment counts the number of occurrences of each sub-random access preamble in the preselected sub-random access preamble group corresponding to TA1:
  • the sub-random access preamble that appears once: Xi,-, X ; ,- ,X C.5 ;
  • the random access preamble group 1 is selected, and the number of random access preambles included in the first random access preamble group 1 to be selected is c-5.
  • the first candidate random access preamble group 2 includes the sub-random access preamble The number is 2.
  • the sub-random access preambles D, E that appear 3 times; D, E form a first candidate random access preamble group 3.
  • the number of sub-random access preambles included in the first candidate random access preamble group 3 Is 2.
  • Sub-random access preambles that occur more than 4 times A; A forms a first candidate random access preamble group 4, and the number of sub-random access preambles included in the first candidate random access preamble group 4 is 1.
  • the number of sub-random access preambles included in the preamble group 4 is less than the preset number.
  • the first candidate sub-random access preamble group 2, the first candidate sub-random access preamble group 3 and the first candidate sub-random access preamble group 4 included in the random access preambles A, B, C, Combine D and E in pairs to get ⁇ A+B ⁇ , ⁇ A+C ⁇ , ⁇ A+D ⁇ , ⁇ A+E ⁇ , ⁇ B+C ⁇ , ⁇ B+D ⁇ , ⁇ B+E ⁇ , ⁇ C+D ⁇ , ⁇ C+E ⁇ , ⁇ D+E ⁇ , then ⁇ A+B ⁇ , ⁇ A+C ⁇ , ⁇ A+D ⁇ , ⁇ A+E ⁇ , ⁇ B+C ⁇ , ⁇ B+D ⁇ , ⁇ B+E ⁇ , ⁇ C+D ⁇ , ⁇ C+E ⁇ , ⁇ D+E ⁇ are the preamble group of random access to the subscript 0 corresponding to TA1.
  • the target random access preamble groups corresponding to other TAs in the multiple TAs corresponding to the multiple preselected random access preamble groups are obtained, and finally M random access preamble groups are obtained.
  • the target sub-random access preamble group corresponding to at least two of the multiple TAs corresponding to the multiple preselector random access preamble groups has the same first target sub-random access preamble group, and wherein There are greater than or equal to 2 target random access preamble groups in the target random access preamble group corresponding to at least one TA, Then the network device makes a random access response to one of the first target sub-random access preamble groups, and generates a random access response message, and the random access response message includes indication information indicating the random access preamble; otherwise, The network device makes a random access response to one of the first target sub-random access preamble groups, and generates a random access response message, and the random access response message includes uplink resource information.
  • the network device in the embodiment shown in FIG. 2 may also send a random access response message including indication information to the terminal corresponding to the sub-random access preamble group that meets the following conditions:
  • Each TA corresponds, and at least one of the at least two TAs corresponds to multiple sub-random access preamble groups. That is, the first random access preamble sub-group corresponding to the terminal that receives the first random access response message in the embodiment shown in FIG. 2 may also satisfy the following conditions:
  • the first random access preamble sub-group is at least two TAs Correspondingly, and at least one of the at least two TAs corresponds to multiple sub-random access preamble groups.
  • the at least two terminals When there are actually at least two terminals that have sent the random access preamble generated by the first target sub-random access preamble group, that is, there are actually two terminals corresponding to the first target sub-random access preamble group, one way Where the at least two terminals both determine a random access preamble according to the indication information in the random access response message corresponding to the first target sub-random access preamble group, and both send the random access preamble to the network device; When the at least two terminals send the random access preamble to the network device on the same PRACH resource, the corresponding subsequent process may be the same as the second step to the fourth step of the contention-based random access process as described above , I won’t repeat it here.
  • the at least two terminals will both send information based on the uplink resource information indicated by the uplink resource information according to the uplink resource information in the random access response message corresponding to the first target sub-random access preamble group.
  • the scheduled transmission information may be MSG3 in the current contention-based random access, such as an RRC connection establishment request, and the corresponding subsequent process at this time may be the same as the fourth step of the current contention-based random access process.
  • the sub-random access preamble groups in the M sub-random access preamble groups ⁇ A, B ⁇ , and the target sub-random access preamble groups corresponding to TAi include The target random access preamble group for TA 2 S includes ⁇ A, B ⁇ , and the random access preamble group for TAi and/or TA 2 S includes other random access preamble groups.
  • the network device generates a random access response message 1 corresponding to ⁇ A, B ⁇ , and the random access response message 1 includes indication information indicating random access preamble 1.
  • terminal 1 and terminal 2 send random access preambles generated by sub-random access preambles A and B in the random access preamble group ⁇ A, B ⁇ , and both terminal 1 and terminal 2 follow the random access response message 1 includes instruction information to determine random access preamble 1, and both send random access preamble 1 to the terminal on PRACH resource 2.
  • step 2 of the current contention-based random access process ⁇ Step 4.
  • the network device generates a random access corresponding to ⁇ A, B ⁇ Access response message 1.
  • the random access response message 1 includes information such as uplink resource information.
  • both terminal 1 and terminal 2 respond according to the random access
  • the message 1 includes information such as uplink resource information.
  • the scheduling-based transmission information 1 is sent on the uplink resource indicated by the uplink resource information.
  • the subsequent process or the subsequent conflict resolution process refer to the fourth step of the current contention-based random access process.
  • This embodiment provides a method for the network device to obtain M sub-random access preambles according to the random access preamble received on the first PRACH resource.
  • the network device before step S202 "the network device sends the first random access response message to the terminal", the network device will obtain M sub-random access preambles, and respond to the M sub-random access preambles. Random The access preamble makes a random access response and generates M random access response messages, and the M random access response messages include the first random access information.
  • the M random access response messages generated by the network device may be located in the same protocol data unit (Protocol Data Unit, PDU) of the medium access control (Medium Access Control, MAC for short) layer.
  • PDU Protocol Data Unit
  • MAC Medium Access Control
  • the first random access response message is located in the PDU of the MAC layer, and the M sub-headers of the header of the PDU include the identifiers of the M sub-random access preamble groups.
  • the identification of a random access preamble group is located in a sub-header.
  • the load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the m-th sub-header of the M sub-headers
  • the first random access response message is the mth random access response message included in the load part of the PDU.
  • the first random access response message in this embodiment is the same as the first random access response message in the embodiment shown in FIG. Incoming response message.
  • M random access response messages are all located in one PDU, and the header of the PDU includes the identifier of the sub-random access preamble group.
  • the network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the identifier of the sub-random access preamble group.
  • the terminal receives the PDU, it can be based on the corresponding sub- The position of the subheader where the identifier of the random access preamble group is located, and the random access response message corresponding to the terminal included in the PDU is quickly determined.
  • FIG. 4 is a schematic diagram of a PDU in the first format provided by an embodiment of this application
  • FIG. 5 is a schematic diagram of a sub-header of the PDU in FIG. 4
  • FIG. 6 is a schematic diagram of another sub-header of the PDU in FIG. 4.
  • Fig. 7 is a schematic diagram of the format of a random access response message included in the PDU in Fig. 4.
  • the PDU of the first format includes two types of subheaders.
  • the first type of subheader of the PDU may be the first subheader 0 in FIG. 4, and there may be only one first subheader.
  • the format of the first type of subheader may be as shown in FIG. 5.
  • the E field in Fig. 5 is an extended field, indicating whether there is a sub-header after the current sub-header;
  • the T field is a type field, indicating whether the T field is the identifier of the BI or the sub-random access preamble group.
  • One R field and the second R field are fixed to 0.
  • BI is used to indicate the time range that the terminal needs to wait for retransmission of the random access preamble (the terminal can select a random value within the waiting time interval specified by 0 ⁇ BI,
  • the full English name of BI is Backoff Indicator).
  • the second type of subheader of the PDU may be subheader 1 to subheader M in FIG. 4, and the format of the second type of subheader may be as shown in FIG. 6.
  • the identifier of the sub-random access preamble group is located in the second type of sub-header, not in the first type of sub-header.
  • M random access response messages are located in the load part of Fig. 4, and the format of the random access response message in the M random access response messages can be as shown in Fig. 7.
  • the R field in FIG. 7 is fixed to 0, and NP is indication information indicating a new random access preamble or information including uplink resource information.
  • 7 is a schematic diagram of the format of the first random access response message, NP is indication information indicating the second random access preamble. It can be understood that when the NP includes uplink resource information, the information included in the NP may be the same as the information included in the current random access response message, including: uplink resource information, TA information, and temporary C-RNTI.
  • the "padding" part in Figure 4 is optional, which means that the PDU may not Include this "padding” part.
  • step S203 in the embodiment shown in FIG. 2 the terminal determines the second random access preamble according to the first random access response message ", including: receiving the PDU including the first access response message from the network device; determining the mth subheader among the M subheaders in the PDU according to the identifier of the first random access preamble group
  • the m-th random access response message included in the load part of the PDU is the first random access response message; and the second random access preamble is determined according to the indication information in the first random access response message.
  • the first random access preamble sent by the terminal to the network device is generated according to A and B in the random access preamble set ⁇ A, B ⁇ , the identifier of A is 1, the identifier of B is 2, ⁇ A , The identifier of B ⁇ is ⁇ 1,2 ⁇ , the terminal reads the information in the header of PDU1 including the first random access response message, and determines that U, 2 ⁇ is located in PDU1 and includes the identifier of each sub-random access preamble group In the first subheader in each subheader, the terminal determines that the first random access response message included in the load part of the PDU1 is the first random access response message corresponding to the terminal. The terminal reads the indication information in the first random access response message included in the load part of the PDU1, and determines the second random access preamble according to the indication information.
  • the first random access response message is located in the PDU of the MAC layer, and the header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preamble included in the M sub-random access preamble group.
  • the header of the PDU includes multiple sub-headers, and the sub-random access preamble identifier corresponding to each sub-random access preamble in the M sub-random access preamble groups is located at the head of the PDU, and one sub-random access preamble identifier Located in a sub-head.
  • the payload of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups.
  • the first random access preamble subgroup is the mth random access preamble subgroup after the M random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU
  • the m-th random access response message, m 1, M.
  • the preset sorting rule may be stipulated by the protocol, or may be sent to the terminal after the network device is set.
  • M random access response messages are all located in one PDU, and the header of the PDU includes the sub-random access preamble identifier.
  • the network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the sub-random access preamble identifier, and the header of the PDU includes the identifier of the sub-random access preamble group.
  • the signaling overhead when the network device sends the PDU to the terminal is less.
  • FIG. 8 is a schematic diagram of a PDU in the second format provided by an embodiment of the application
  • FIG. 9 is a schematic diagram of a sub-header of the PDU in FIG. 8.
  • the PDU includes two types of subheaders.
  • the first type of subheader can be the first subheader 0 in Figure 8, and there can be only one first type of subheader.
  • the format of the first type of sub-header may be as shown in FIG. 5; the second type of sub-header may be sub-header 1 to sub-header n in FIG. 8, and the second type of sub-header
  • the format of the header can be shown in Figure 9; see Figure 9, the meaning of the E field in Figure 9 is the same as that of the E field in Figure 6, the meaning of the T field is the same as that of the T field in Figure 6, and RAP is a sub Random access preamble identifier.
  • n is the number of sub-random access preambles after removing repeated sub-random access preambles included in the M sub-random access preamble groups, and the sub-random access preamble identifier is located in the second type of sub-header. Located in the first type of subheader.
  • M random access response messages are located in the load part in FIG. 8, and M random access responses
  • the format of the random access response message in the message can be as shown in Figure 7.
  • the "padding" part in Figure 8 is optional, that is, the “padding” part may not be included in the PDU.
  • the identifier of C is 3, the identifier of D is 4, the identifier of E is 5, and the sub-random access preamble identifiers 1, 2, 3, 4, and 5 are respectively located in a second type subheader in the PDU.
  • the M random access preamble groups are sorted as
  • the random access response messages corresponding to E ⁇ , ⁇ C,D ⁇ , ⁇ C,E ⁇ P ⁇ D,E ⁇ , ⁇ A, B ⁇ are the first of the 10 random access response messages included in the load part of the PDU 1 random access response message
  • A, CJ is the second random access response message among the 10 random access response messages included in the load part of the PDU
  • the random access response message is the third random access response message among the 10 random access response messages included in the load part of the PDU, and the random access response message corresponding to ⁇ A,E ⁇ is included in the load part of the PDU
  • the fourth random access response message among the 10 random access response messages, and the corresponding random access response message is the fifth random access response message among the 10 random
  • the first random access response message It is the first random access response message among the 10 random access response messages included in the PDU.
  • step S203 in the embodiment shown in FIG. 2 the terminal determines the second random access preamble according to the first random access response message ", including: receiving a PDU including a first access response message from a network device; determining the PDU according to the identifiers of the S sub-random access preambles, the sub-random access preamble identifiers included in the header of the PDU, and a preset ordering rule
  • the m-th random access response message included in the load part of the PDU is the first random access response message; and the second random access preamble is determined according to the indication information in the first random access response message.
  • the first random access preamble sent by the terminal to the network device is generated according to A and B in the random access preamble set ⁇ A, B ⁇ , and the random access preamble in the L random access preamble set
  • the terminal determines that the identifier of A is 1, and the label of B Recognized as 2, the header of the PDU1 including the first random access response message received by the terminal includes identifiers 1, 2, 3, 4, 5, and the terminal follows the random access preamble set in the L random access preamble sets
  • the rules for generating random access preambles are included, and the identifiers 1, 2, 3, 4, and 5 are combined to obtain 10 group identifiers ⁇ 1,2 ⁇ , ⁇
  • ⁇ 1 ,2 ⁇ are the identifiers of the sub-random access preamble groups ⁇ A, B ⁇ and ⁇ 1,2 ⁇ are ranked first, so ⁇ A,B ⁇ corresponds to the first random access response message or the terminal corresponds to the first
  • the random access response message is the first random access response message included in the load part of the PDU1.
  • the terminal reads the indication information in the first random access response message included in the load part of the PDU1, and determines the second random access preamble according to the indication information.
  • the third format the first random access response message is located in the PDU of the MAC layer.
  • the K sub-headers of the PDU header include the identifiers of the K sub-random access preamble groups, and the K sub-random access preamble groups are M
  • any one sub-random access preamble group in the K sub-random access preamble groups there is a sub-random access preamble group that is the same as the TA corresponding to the sub-random access preamble group in the K sub-random access preamble groups.
  • the load part of the PDU includes K random access response messages respectively corresponding to the K sub-random access preamble groups; wherein, the identity of the first sub-random access preamble group is located in the k-th sub-header among the K sub-headers,
  • M random access response messages are located in two PDUs, the K random access response messages corresponding to the K sub-random access preamble groups are located in the same PDU, and the remaining (MK) sub-random access
  • the (MK) random access response messages corresponding to the incoming preamble group are located in the same PDU, and the TAs corresponding to the (MK) sub-random access preamble groups are not the same, and the (MK) random access response messages
  • Each random access response message in includes uplink resource information.
  • K random access response messages including indication information are located in the same PDU
  • MK random access response messages including uplink resource information are located in the same PDU
  • the header of the PDU The part is the identifier of the sub-random access preamble group.
  • the format of the random access response message included in each PDU in this format is the same, and PDU generation is more convenient.
  • step S203 in the embodiment shown in FIG. 2 the terminal determines the second random access preamble according to the first random access response message
  • the terminal determines the second random access preamble according to the first random access response message
  • the first random access response message is located in the PDU of the MAC layer.
  • the X sub-headers of the PDU header include the identifiers of X sub-random access preamble groups, X ⁇ M, X is greater than 1. Integer;
  • the identifier of a sub-random access preamble group is located in a sub-header.
  • X sub-random access preamble groups are M sub-random access preamble groups corresponding to the same sub-random access preamble group, and X sub-random access preamble groups include the first random access preamble group.
  • the load part of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the x-th sub-header among the X sub-headers, First follow
  • each random access response message in the PDU corresponding to the TA includes indication information indicating a random access preamble.
  • the random access response messages corresponding to the sub-random access preamble groups with the same TA are located in the same PDU. And the head of the PDU is the identifier of the sub-random access preamble group.
  • the PDU of this format can generate a random access response message corresponding to the sub-random access preamble group corresponding to the TA, and send it to the terminal, which improves the network The efficiency of the random access response of the device to the terminal.
  • step S203 in the embodiment shown in FIG. 2 the terminal determines the second random access preamble according to the first random access response message
  • the terminal determines the second random access preamble according to the first random access response message
  • the first random access response message is located in the PDU of the MAC layer.
  • the header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preambles included in the X sub-random access preamble groups corresponding to the same TA in the M sub-random access preamble groups; the X sub-random access preamble groups include the first random access preamble group.
  • the header of the PDU includes multiple sub-headers, the sub-random access preamble identifier of each sub-random access preamble in the X sub-random access preamble groups is located at the head of the PDU, and one random access preamble identifier is located in a sub-header Ministry.
  • the payload of the PDU includes X random access response messages respectively corresponding to X sub-random access preamble groups.
  • the first random access preamble group is the xth random access preamble group after the X random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU
  • the xth random access response message, x 1, ⁇ X.
  • the random access response messages corresponding to the sub-random access preamble groups with the same TA are located in the same PDU, and the header of the PDU is the sub-random access preamble identifier.
  • the PDU in this format improves the efficiency of the network device in making random access responses to the terminal, and compared to the PDU corresponding to the fourth format, the network device has less signaling overhead when sending the PDU to the terminal device.
  • step S203 in the embodiment shown in FIG. 2 the terminal determines the second random access preamble according to the first random access response message
  • the terminal determines the second random access preamble according to the first random access response message
  • the communication method in the embodiment of the present application is described above with reference to FIG. 1 to FIG. 12.
  • the communication device of the embodiment of the present application is described below with reference to FIG. 13 to FIG. 18.
  • FIG. 13 is a first structural diagram of a communication device provided by an embodiment of this application.
  • the communication apparatus 500 described in this embodiment may be the network device (or a component that can be used for network equipment) mentioned in the foregoing method embodiment or the terminal mentioned in the foregoing method embodiment (or may be used for Terminal parts).
  • the communication device can be used to implement the method corresponding to the terminal or the network device described in the above method embodiment. For details, see Description in the above method embodiment.
  • the communication device 500 may include one or more processors 501, and the processor 501 may also be referred to as a processing unit, which may implement certain control or processing functions.
  • the processor 501 may be a general-purpose processor or a special-purpose processor. For example, it may be a baseband processor or a central processing unit.
  • the baseband processor can be used to process the communication protocol and communication data
  • the central processor can be used to control the communication device, execute the software program, and process the data of the software program.
  • the processor 501 may also store instructions 503 or data (such as intermediate data). Wherein, the instruction 503 may be executed by the processor, so that the communication apparatus 500 executes the method corresponding to the terminal or the network device described in the foregoing method embodiment.
  • the communication device 500 may include a circuit, and the circuit may implement the sending or receiving or communication functions in the foregoing method embodiments.
  • the communication device 500 may include one or more memories 502, on which instructions 504 may be stored, and the instructions may be executed on the processor, so that the communication device 500 performs the foregoing method implementation The method described in the example.
  • data may also be stored in the memory.
  • the processor and the memory can be provided separately or integrated together.
  • the communication device 500 may further include a transceiver 505 and/or an antenna 506.
  • the processor 501 may be called a processing unit, and controls a communication device (terminal or network device).
  • the transceiver 505 may be called a transceiver unit, transceiver, transceiver circuit, or transceiver, etc., and is used to implement the transceiver function of the communication device.
  • the processor 501 and the transceiver 505 described in this application may be implemented in an integrated circuit (integrated circuit, 1C), analog 1C, radio frequency integrated circuit (RFIC), mixed signal 1C, and application specific integrated circuit (application specific integrated circuit). circuit, ASIC), printed circuit board (printed circuit board, PCB), electronic equipment, etc.
  • integrated circuit integrated circuit, 1C
  • analog 1C analog 1C
  • radio frequency integrated circuit RFIC
  • mixed signal 1C mixed signal 1C
  • application specific integrated circuit application specific integrated circuit
  • circuit ASIC
  • printed circuit board printed circuit board, PCB
  • electronic equipment etc.
  • the processor and transceiver can also be manufactured using various 1C process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal Oxide Semiconductor (Positive Channel Metal Oxide Semiconductor, PMOS), Bipolar Junction Transistor (BJT), Bipolar CMOS (BiCMOS), Silicon Germanium (SiGe), Gallium Arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS nMetal-oxide-semiconductor
  • PMOS P-type Metal Oxide Semiconductor
  • BJT Bipolar Junction Transistor
  • BiCMOS Bipolar CMOS
  • SiGe Silicon Germanium
  • GaAs Gallium Arsenide
  • the communication device 500 is described by taking a terminal or a network device as an example, the scope of the communication device described in this application is not limited to the foregoing terminal or the foregoing network device, and the structure of the communication device may not be Figure 13 limits.
  • the communication device 500 may be a stand-alone device or may be part of a larger device.
  • the device may be:
  • the 1C sets may also include storage components for storing data and/or instructions;
  • ASIC such as a modem (MSM)
  • FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of the application.
  • the terminal device may be applicable to the terminal devices described in the foregoing embodiments of the present application.
  • Figure 14 only shows the main components of the terminal device.
  • the terminal 600 includes a processor, a memory, a control circuit, an antenna, and an input and output device.
  • the processor is mainly used to process the communication protocol and communication data, and to control the entire terminal device, execute the software program, and process the data of the software program.
  • the memory is mainly used to store software programs and data.
  • the radio frequency circuit is mainly used for the conversion of baseband signal and radio frequency signal and the processing of radio frequency signal.
  • the antenna is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users.
  • the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal to the outside in the form of electromagnetic waves through the antenna.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
  • FIG. 14 only shows a memory and a processor. In an actual terminal device, there may be multiple processors and memories.
  • the memory may also be called a storage medium or a storage device, etc., which is not limited in the embodiment of the present application.
  • the processor may include a baseband processor and a central processing unit.
  • the baseband processor is mainly used to process communication protocols and communication data.
  • the central processing unit is mainly used to control the entire terminal device and execute Software program, processing the data of the software program.
  • the processor in FIG. 14 integrates the functions of the baseband processor and the central processing unit.
  • the baseband processor and the central processing unit may also be independent processors, and are interconnected by technologies such as buses.
  • the terminal may include multiple baseband processors to adapt to different network standards, the terminal may include multiple central processors to enhance its processing capabilities, and various components of the terminal may be connected through various buses.
  • the baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip.
  • the central processing unit can also be expressed as a central processing circuit or a central processing chip.
  • the function of processing the communication protocol and communication data can be built in the processor, or can be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
  • the processor mentioned in the embodiment of the present application may be a central processing unit (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits ( Application Specific Integrated Circuit (ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory
  • the volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, E SDRAM enhanced synchronous dynamic random access memory
  • Synchlink DRAM, SLDRAM synchronous connection dynamic random access memory
  • DR RAM Direct Rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component
  • the memory storage module
  • FIG. 15 is a second schematic structural diagram of a communication device provided by an embodiment of the application.
  • the communication device includes: a sending module 1201 and a receiving module 1202
  • the sending module 1201 is configured to send a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and the random access preamble set It includes N sub-random access preambles, where N and S are integers greater than 1, S ⁇ N; a receiving module 1202, configured to receive a first random access response message from the network device, the first random access response message Including indication information, where the indication information indicates a second random access preamble to the terminal.
  • the indication information includes an identifier of the second random access preamble.
  • the sending module 1201 is specifically configured to: send the first random access preamble to the network device on a first physical random access channel PRACH resource;
  • the S sub-random access preambles form a first sub-random access preamble group;
  • the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
  • the number of sub-random access preambles included in the sub-random access preamble group in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, where W is an integer greater than 1, WS SSN.
  • the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is generated as S, and the sub-random access preamble groups in the M sub-random access preamble groups The number of sub-random access preambles included is S; wherein, the first terminal set includes the terminal, and the first terminal set is to send random access to the network device on the first PRACH resource The set of leading terminals.
  • the communication device in this embodiment can be used to execute the technical solution corresponding to the terminal in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a terminal or a component that can be used for a terminal, which is not limited in the embodiment of the present application.
  • FIG. 16 is a third structural schematic diagram of a communication device provided by an embodiment of this application. See FIG. 16, this embodiment further includes: a processing module 1203 on the basis of the communication device shown in FIG.
  • the processing module 1203 is configured to determine the second random access preamble according to the first random access response message;
  • the sending module 1201 is further configured to send the second random access preamble to the network device.
  • the receiving module 1202 is specifically configured to: receive the PDU from the network device; and the processing module 1203 is further configured to, according to the identifiers of the S sub-random access preambles, The sub-random access preamble identifier included in the header of the PDU and the preset ordering rule are used to determine the first random access response message included in the load part of the PDU.
  • the receiving module 1202 is specifically configured to: receive the PDU including the first random access response message from the network device; and the processing module 1203 is further configured to: The identifier of the first random access sub-preamble group determines the first random access response message included in the load part of the PDU.
  • the first random access response message in this embodiment is located in the protocol data unit PDU of the media access control MAC layer, and the PDU may have the following but not limited to the following five formats.
  • the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the header of the PDU includes multiple sub-random access preamble identifiers; wherein, the sub-random access The sub-random access preamble corresponding to the incoming preamble identifier is the sub-random access preamble included in the M sub-random access preamble groups.
  • the load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein, the first sub-random access preamble group is random access to the M sub-random access preamble groups according to a preset ordering rule.
  • the second format the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the M sub-headers of the header of the PDU include the M sub-random access preamble groups logo.
  • the load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the M sub-headers
  • the third format the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the K sub-headers of the header of the PDU include the identities of the K sub-random access preamble groups ,
  • the K sub-random access preamble groups are sub-random access preamble groups in the M sub-random access preamble groups, K ⁇ M; wherein, the K sub-random access preamble groups include the first sub-random access preamble group A random access preamble group, where the K sub-random access preamble groups have a sub-random access preamble group that is the same as the TA corresponding to any one of the K sub-random access preamble groups.
  • the load part of the PDU includes K random access response messages respectively corresponding to the K sub-random access preamble groups; wherein, the identifier of the first sub-random access preamble group is located in the K sub-headers
  • the fourth format The first random access response message is located in the PDU of the MAC layer.
  • the X subheaders of the PDU header include the identifiers of X sub-random access preamble groups, X ⁇ M, X is greater than 1. Integer;
  • the identifier of a sub-random access preamble group is located in a sub-header.
  • X sub-random access preamble groups are M sub-random
  • the sub-random access preamble group corresponding to the same TA in the machine access preamble group, and the first random access preamble group is included in the X sub-random access preamble groups.
  • the load part of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the x-th sub-header among the X sub-headers,
  • the first random access response message is located in the PDU of the MAC layer.
  • the header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preambles included in the X sub-random access preamble groups corresponding to the same TA in the M sub-random access preamble groups; the X sub-random access preamble groups include the first random access preamble group.
  • the header of the PDU includes multiple sub-headers, the sub-random access preamble identifier of each sub-random access preamble in the X sub-random access preamble groups is located at the head of the PDU, and one random access preamble identifier is located in a sub-header Ministry.
  • the payload of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups.
  • the first random access preamble group is the xth random access preamble group after the X random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU
  • the xth random access response message, x 1, ⁇ X.
  • the communication device in this embodiment can be used to execute the technical solution corresponding to the terminal in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a terminal or a component that can be used for a terminal, which is not limited in the embodiment of the present application.
  • FIG. 17 is a fourth structural diagram of a communication device according to an embodiment of the application.
  • the communication device in this embodiment further includes: a receiving module 1401 and a sending module 1402.
  • the receiving module 1401 is configured to receive a first random access preamble from a terminal, where the first random access preamble is generated according to the S sub-random access preambles included in the random access preamble set, and the random access preamble set includes N sub-random access preambles. Random access preamble, where N and S are integers greater than 1, S ⁇ N; the sending module 1402 is configured to send a first random access response message to the terminal, where the first random access response message includes indication information, The indication information indicates the second random access preamble to the terminal.
  • the indication information includes an identifier of the second random access preamble.
  • the receiving module 1401 is further configured to receive the second follow-on preamble from the terminal.
  • the first random access preamble is received on the first PRACH resource
  • the S sub-random access preambles form a first sub-random access preamble group;
  • the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group ,
  • the number of sub-random access preambles included in the sub-random access preamble group in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, where W is an integer greater than 1, WS SSN.
  • the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is generated as S, and the sub-random access preamble groups in the M sub-random access preamble groups
  • the number of sub-random access preambles included is S; wherein, the first terminal set includes the terminal, and the first terminal set They are combined into a set of terminals that send random access preambles to the network device on the first PRACH resource.
  • the communication device in this embodiment can be used to execute the technical solution corresponding to the network device in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a network device or a component that can be used for a network device, which is not limited in the embodiment of the present application.
  • FIG. 18 is a fifth structural schematic diagram of a communication device provided by an embodiment of this application. Referring to FIG. 18, this embodiment further includes: a processing module 1403 based on the device shown in FIG. 17.
  • the processing module 1403 is configured to determine multiple preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, and the sub-random access preambles included in the preselected sub-random access preamble group
  • the total energy of is greater than the first preset energy
  • the plurality of preselected sub-random access preamble groups include the first sub-random access preamble group
  • the number of sub-random access preambles included in the preselected sub-random access preamble group is greater than Equal to W and less than or equal to N, and obtain the M sub-random access preamble groups according to a plurality of preselected sub-random access preamble groups.
  • the processing module when used to determine a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically configured to:
  • processing module 1403 when the processing module 1403 is configured to determine multiple preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically configured to:
  • the random access preamble received on the first PRACH resource obtain the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each position of each time window corresponds to one TA; the all sub-random access preambles are all sub-random access preambles included in the set of all random access preambles after deduplication;
  • the random access preamble candidate group of which the total energy of the sub-random access preambles included in the random access preamble group is greater than the first preset energy is a pre-selected sub-random access preamble group corresponding to the first TA, wherein, The first TA is the TA corresponding to the first position of the first time window.
  • the processing module 1403 when configured to randomly access the preamble group according to a plurality of preselectors to obtain M random access preamble groups, it is specifically configured to: randomly access the multiple preselectors Any one of the multiple TAs corresponding to the preamble group is the first TA:
  • each random access preamble included in the first candidate random access preamble group The number of occurrences in the random access preamble group of the first candidate, dividing the random access preambles with the same number of occurrences into one group to obtain at least one random access preamble group of the second candidate;
  • the first random access response message in this embodiment is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format in the embodiment shown in FIG. 13.
  • the communication device in this embodiment can be used to execute the technical solution corresponding to the network device in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a network device or a component that can be used for a network device, which is not limited in the embodiment of the present application.
  • the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • the functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes .
  • the embodiment of the present application also provides a readable storage medium on which a computer program is stored; when the computer program is executed, the implementation is as described in the first aspect or any possible implementation manner of the first aspect Communication method.
  • the embodiments of the present application also provide a readable storage medium on which a computer program is stored; when the computer program is executed, the implementation is as described in the second aspect or any possible implementation manner of the second aspect Communication method.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • 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 or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state hard disk (SSD)).

Landscapes

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

Abstract

Provided are a communication method and device. The communication method comprises: a terminal sending a first random access preamble to a network device, wherein the first random access preamble is generated according to S random access sub-preambles in a random access preamble set, the random access preamble set comprises N random access sub-preambles, N and S are integers greater than one, and S ≤ N; and the terminal receiving a first random access response message from the network device, wherein the first random access response message comprises indication information, and the indication information indicates a second random access preamble to the terminal. The embodiments of the present application can improve the probability of successful random access of a terminal.

Description

通信方法和装置 Communication method and device
本申请要求于 2019年 2月 28日提交中国专利局、 申请号为 2019101529710、 申 请名称为“通信方法和装置” 的中国专利申请的优先权, 其全部内容通过引用结合在 本申请中。 技术领域 This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on February 28, 2019, the application number is 2019101529710, and the application name is "communication method and device", the entire content of which is incorporated into this application by reference. Technical field
本申请涉及通信技术领域, 尤其涉及一种通信方法和装置。 背景技术 This application relates to the field of communication technologies, and in particular to a communication method and device. Background technique
为了应对移动数据流量增长、 海量移动通信的设备连接、 不断涌现的各类新业务 和应用场景, 可以支持多种业务的第五代 ( the fifth generation, 5G) 通信***应运而 生。 相比于长期演进 ( long term evolution, LTE) 通信***下的随机接入场景, 5G通 信***的随机接入场景要求服务小区的用户数可以达到 LTE通信***下的服务小区的 用户数的 10-100倍, 同时要求随机接入信道 ( random access channel , RACH) 可以支 持更多的功能。 其中, 随机接入信道用于在随机接入过程中终端接入网络设备, 终端 可以在随机接入信道上向基站发送随机接入前导序列 (Preamble) , 随机接入前导序 列还可以称为随机接入前导或者接入前导。 终端接入网络设备后, 便可以向网络设备 发送数据或从网络设备接收数据。 In order to cope with the growth of mobile data traffic, the connection of massive mobile communication devices, and the emerging various new services and application scenarios, the fifth generation (5G) communication system that can support multiple services has emerged. Compared with the random access scenario under the long term evolution (LTE) communication system, the random access scenario of the 5G communication system requires that the number of users in the serving cell can reach 10% of the number of users in the serving cell under the LTE communication system. 100 times, while requiring random access channel (random access channel, RACH) can support more functions. Among them, the random access channel is used for the terminal to access the network equipment during the random access process, the terminal can send a random access preamble sequence (Preamble) to the base station on the random access channel, and the random access preamble sequence can also be called random Access preamble or access preamble. After the terminal is connected to the network device, it can send data to or receive data from the network device.
在基于竞争的随机接入过程中, 若多个终端在同一个物理随机接入信道 (Physical Random Access Channel, 简称 PRACH)资源上向基站发送了相同的随机接入前导, 则 会出现多个终端中的全部或者部分随机接入失败,接入失败的终端需要重新随机接入。 因此, 如何提高终端随机接入成功的概率, 是亟待解决的技术问题。 的问题。 发明内容 In the contention-based random access process, if multiple terminals send the same random access preamble to the base station on the same Physical Random Access Channel (PRACH) resource, multiple terminals will appear All or part of the random access failures in, the terminal that fails to access needs to re-access randomly. Therefore, how to improve the probability of successful random access of the terminal is a technical problem to be solved urgently. The problem. Summary of the invention
本申请实施例提供一种通信方法和装置, 可以提高终端随机接入成功的概率。 第一方面提供一种通信方法, 包括: 终端向网络设备发送第一随机接入前导, 所 述第一随机接入前导是根据随机接入前导集合中的 S个子随机接入前导生成的, 所述 随机接入前导集合包括 N个子随机接入前导, N和 S为大于 1的整数, S^N; 所述终 端从所述网络设备接收第一随机接入响应消息, 所述第一随机接入响应消息包括指示 信息, 所述指示信息向所述终端指示第二随机接入前导。 The embodiments of the present application provide a communication method and device, which can increase the probability of successful random access of a terminal. A first aspect provides a communication method, including: a terminal sends a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and The random access preamble set includes N sub-random access preambles, where N and S are integers greater than 1, and S^N; the terminal receives a first random access response message from the network device, and the first random access The incoming response message includes indication information, and the indication information indicates the second random access preamble to the terminal.
可选地, 所述指示信息包括所述第二随机接入前导的标识。 Optionally, the indication information includes an identifier of the second random access preamble.
本方案中, 通过向网络设备发送由 S个子随机接入前导生成的随机接入前导, 使 得多个终端在在同一 PRACH资源上随机接入时发送相同的随机接入前导的概率大大 降低, 提高了终端随机接入成功的概率。 通过从网络设备接收包括指示随机接入前导 的随机接入响应消息, 降低了根据 S个子随机接入前导生成随机接入前导产生的虚警 造成的物理资源浪费, 同时也提高了终端随机接入成功的概率。 In this solution, by sending random access preambles generated by S sub-random access preambles to the network equipment, the probability of multiple terminals sending the same random access preamble during random access on the same PRACH resource is greatly reduced, and the The probability of successful random access of the terminal. By receiving the random access response message including the random access preamble indicating the random access preamble from the network device, the false alarm generated by generating the random access preamble based on the S sub-random access preambles is reduced The resulting waste of physical resources also increases the probability of successful random access of the terminal.
结合第一方面, 在第一方面的一种可能的实现方式中, 还包括: 所述终端根据所 述第一随机接入响应消息, 确定所述第二随机接入前导; 所述终端向所述网络设备发 送所述第二随机接入前导。 With reference to the first aspect, in a possible implementation of the first aspect, the method further includes: determining, by the terminal, the second random access preamble according to the first random access response message; The network device sends the second random access preamble.
本方案中,终端通过再次向网络设备发送随机接入前导,重新发起随机接入过程, 且该重新发送的随机接入前导是网络设备在随机接入响应消息中指示的, 因此, 提高 了终端随机接入成功的概率。 In this solution, the terminal re-initiates the random access process by sending the random access preamble to the network device again, and the re-sent random access preamble is indicated by the network device in the random access response message, thus improving the terminal The probability of successful random access.
结合第一方面, 在第一方面的一种可能的实现方式中, 所述终端向网络设备发送 第一随机接入前导, 包括: 所述终端在第一物理随机接入信道 PRACH资源上向所述 网络设备发送所述第一随机接入前导; With reference to the first aspect, in a possible implementation of the first aspect, the sending of the first random access preamble by the terminal to the network device includes: the terminal sends the first random access preamble to the network device on the first physical random access channel PRACH resource; Sending the first random access preamble by the network device;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
本方案中, M个子随机接入前导组中发生碰撞的各子随机接入前导组 (发生碰撞 的各子随机接入前导组所对应的 TA相同) 对应的终端才从网络设备接收包括指示随 机接入前导指示信息的随机接入响应消息, 在降低虚警造成的资源浪费的基础上, 保 证了实际向网络设备发送了随机接入前导且所对应的子随机接入前导组未与其它子随 机接入前导发生碰撞 (M个子随机接入前导组不存在与该终端所对应的子随机接入前 导组对应的 TA相同的子随机接入前导组) 的终端随机接入的效率。 In this solution, each sub-random access preamble group that collides in the M sub-random access preamble groups (the TA corresponding to each sub-random access preamble group that has collided is the same) can the corresponding terminal receive from the network equipment including the indication random The random access response message of the access preamble indication information, on the basis of reducing the waste of resources caused by false alarms, ensures that the random access preamble is actually sent to the network device and the corresponding sub-random access preamble group is not connected with other sub-groups. The random access efficiency of the terminal when the random access preamble collides (the M sub-random access preamble group does not have the same sub-random access preamble group corresponding to the sub-random access preamble group corresponding to the terminal).
结合第一方面, 在第一方面的一种可能的实现方式中, 生成第一终端集合中的终 端的随机接入前导的子随机接入前导的数目为 S, 所述 M个子随机接入前导组中的子 随机接入前导组包括的子随机接入前导的数目为 S ; 其中, 所述第一终端集合中包括 所述终端, 所述第一终端集合为在所述第一 PRACH资源上向所述网络设备发送随机 接入前导的终端的集合。 With reference to the first aspect, in a possible implementation of the first aspect, the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is S, and the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
本方案中, 在同一 PRACH资源随机接入的终端的随机接入前导均是由 S个子随 机接入前导生成, 此时, 网络设备在获取 M个子随机接入前导组时, M个子随机接入 前导组中的子随机接入前导组包括的子随机接入前导的数目也为 S, 降低了网络设备 获取 M个子随机接入前导组的复杂度,进而降低了网络设备生成随机接入响应消息的 复杂度, 也就提高了终端随机接入的效率。 In this solution, the random access preambles of terminals that randomly access the same PRACH resource are all generated by S sub-random access preambles. At this time, when the network device obtains M sub-random access preamble groups, M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the preamble group is also S, which reduces the complexity of obtaining the M sub-random access preamble groups by the network device, thereby reducing the network device’s generation of random access response messages. Therefore, the efficiency of random access of the terminal is improved.
上述方案中的笫一随机接入响应消息位于媒体接入控制 MAC层的 I办议数据单元 PDU中, 该 PDU可具有如下但不限于如下五种格式。 The first random access response message in the above solution is located in the PDU, which is a protocol data unit at the MAC layer of the media access control, and the PDU may have the following but not limited to the following five formats.
第一种格式: 所述第一随机接入响应消息位于媒体接入控制 MAC层的协议数据 单元 PDU中, 所述 PDU的头部包括多个子随机接入前导标识; 其中, 所述子随机接 入前导标识所对应的子随机接入前导为所述 M个子随机接入前导组包括的子随机接入 前导。 The first format: The first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the header of the PDU includes multiple sub-random access preamble identifiers; wherein, the sub-random access The sub-random access preamble corresponding to the incoming preamble identifier is the sub-random access preamble included in the M sub-random access preamble groups.
所述 PDU的负荷部包括与所述 M个子随机接入前导组分别对应的 M个随机接入 响应消息; 其中, 所述第一子随机接入前导组为按照预设排序规则对 M个子随机接入 前导组排序后的第 m个子随机接入前导组, 所述第一随机接入响应消息为所述负荷部 包括的第 m个随机接入响应消息; m=l,〜M。 The load part of the PDU includes M random access preamble groups respectively corresponding to the M sub-random access preamble groups Response message; wherein, the first random access preamble subgroup is the mth random access preamble subgroup after the M random access preamble subgroups are sorted according to a preset ordering rule, and the first random access response message Is the mth random access response message included in the load section; m=1,~M.
在该格式中, M个随机接入响应消息均位于一个 PDU中, PDU的头部包括子随 机接入前导组的标识。 该格式下只有一个 PDU, 网络设备向终端发送一个 PDU, 占用 的物理资源少,且 PDU的头部包括的是子随机接入前导组的标识,终端在接收到 PDU 时, 可根据对应的子随机接入前导组的标识所在子头部的位置, 快速确定该 PDU中包 括的对应该终端的随机接入响应消息。 In this format, M random access response messages are all located in one PDU, and the header of the PDU includes the identifier of the sub-random access preamble group. There is only one PDU in this format. The network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the identifier of the sub-random access preamble group. When the terminal receives the PDU, it can be based on the corresponding sub- The position of the subheader where the identifier of the random access preamble group is located, and the random access response message corresponding to the terminal included in the PDU is quickly determined.
第二种格式: 所述第一随机接入响应消息位于媒体接入控制 MAC层的协议数据 单元 PDU中, 所述 PDU的头部的 M个子头部中包括所述 M个子随机接入前导组的 标识。 The second format: the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the M sub-headers of the header of the PDU include the M sub-random access preamble groups Logo.
所述 PDU的负荷部包括与所述 M个子随机接入前导组分别对应的 M个随机接入 响应消息; 其中, 所述第一子随机接入前导组的标识位于所述 M个子头部中的第 m 个子头部,所述第一随机接入响应消息为所述负荷部包括的第 m个随机接入响应消息, m=l, M。 The load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the M sub-headers The first random access response message is the mth random access response message included in the load section, m=1, M.
在该格式中, M个随机接入响应消息均位于一个 PDU中, PDU的头部包括子随 机接入前导标识。 该种格式下只有一个 PDU, 网络设备向终端发送一个 PDU, 占用的 物理资源少, 且 PDU的头部包括子随机接入前导标识, 相对于 PDU的头部包括子随 机接入前导组的标识的方案, 网络设备向终端发送该 PDU时的信令开销较少。 In this format, M random access response messages are all located in one PDU, and the header of the PDU includes the sub-random access preamble identifier. There is only one PDU in this format, the network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the sub-random access preamble identifier, and the header of the PDU includes the identifier of the sub-random access preamble group. In the solution, the signaling overhead when the network device sends the PDU to the terminal is less.
第三种格式: 所述第一随机接入响应消息位于媒体接入控制 MAC层的协议数据 单元 PDU中, 所述 PDU的头部的 K个子头部中包括 K个子随机接入前导组的标识, 所述 K个子随机接入前导组为所述 M个子随机接入前导组中的子随机接入前导组, K ^M; 其中, 所述 K个子随机接入前导组包括所述第一子随机接入前导组, 所述 K个 子随机接入前导组中存在与所述 K个子随机接入前导组中任一个子随机接入前导组对 应的 TA相同的子随机接前导组。 The third format: the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the K sub-headers of the header of the PDU include the identities of the K sub-random access preamble groups , The K sub-random access preamble groups are sub-random access preamble groups in the M sub-random access preamble groups, K^M; wherein, the K sub-random access preamble groups include the first sub-random access preamble group A random access preamble group, where the K sub-random access preamble groups have a sub-random access preamble group that is the same as the TA corresponding to any one of the K sub-random access preamble groups.
所述 PDU的负荷部包括与所述 K个子随机接入前导组分别对应的 K个随机接入 响应消息; 其中, 所述第一子随机接入前导组的标识位于所述 K个子头部中的第 k个 子头部, 所述第一随机接入响应消息为所述负荷部包括的第 k个随机接入响应消息, k=l, K。 The load part of the PDU includes K random access response messages respectively corresponding to the K sub-random access preamble groups; wherein, the identifier of the first sub-random access preamble group is located in the K sub-headers The kth subheader of, the first random access response message is the kth random access response message included in the load part, k=1, K.
在该格式中, 包括指示信息的 K个随机接入响应消息位于同一个 PDU中, 包括 上行资源信息的 (M-K) 个随机接入响应消息位于同一个 PDU中, 且 PDU的头部是 子随机接入前导组的标识。该格式中每个 PDU中包括的随机接入响应消息的格式相同, 生成 PDU较为方便。 In this format, K random access response messages including indication information are located in the same PDU, and (MK) random access response messages including uplink resource information are located in the same PDU, and the head of the PDU is sub-random The ID of the access preamble group. The format of the random access response message included in each PDU in this format is the same, and PDU generation is more convenient.
第四种格式:第一随机接入响应消息位于 MAC层的 PDU中,该 PDU的头部的 X 个子头部中包括 X个子随机接入前导组的标识, X^M, X为大于 1的整数; 一个子 随机接入前导组的标识位于一个子头部中。 其中, X个子随机接入前导组为 M个子随 机接入前导组中对应的 TA相同的子随机接入前导组, X个子随机接入前导组中包括 第一随机接入前导组。 The fourth format: The first random access response message is located in the PDU of the MAC layer. The X subheaders of the PDU header include the identifiers of X sub-random access preamble groups, X^M, X is greater than 1. Integer; The identifier of a sub-random access preamble group is located in a sub-header. Wherein, X sub-random access preamble groups are M sub-random access preamble groups corresponding to the same sub-random access preamble group, and X sub-random access preamble groups include the first random access preamble group.
该 PDU的负荷部包括与 X个子随机接入前导组分别对应的 X个随机接入响应消 息; 其中, 第一子随机接入前导组的标识位于 X个子头部中的第 x个子头部, 第一随 机接入响应消息为该 PDU的负荷部包括的第 x个随机接入响应消息, x=l,〜X。 The load part of the PDU includes X random access response messages corresponding to the X sub-random access preamble groups respectively. Information; where the identity of the first random access preamble group is located in the xth subheader among the X subheaders, and the first random access response message is the xth random access response message included in the load part of the PDU , X=l,~X.
在该格式中, 对应的 TA相同的子随机接入前导组所对应的随机接入响应消息位 于同一个 PDU中, 且 PDU的头部是子随机接入前导组的标识。 该种格式的 PDU可以 在获取到对应某一 TA的子随机接入前导组后, 生成该 TA对应的子随机接入前导组 所对应的随机接入响应消息, 并发送至终端, 提高了网络设备对终端做出随机接入响 应的效率。 In this format, the random access response message corresponding to the sub-random access preamble group with the same TA is located in the same PDU, and the header of the PDU is the identifier of the sub-random access preamble group. After obtaining the sub-random access preamble group corresponding to a certain TA, the PDU of this format can generate a random access response message corresponding to the sub-random access preamble group corresponding to the TA, and send it to the terminal, which improves the network The efficiency of the random access response of the device to the terminal.
第五种格式: 第一随机接入响应消息位于 MAC层的 PDU中, 该 PDU的头部包 括多个子随机接入前导标识, 其中, 子随机接入前导标识所对应的子随机接入前导为 M个子随机接入前导组中对应的 TA相同的 X个子随机接入前导组包括的子随机接入 前导; X个子随机接入前导组中包括第一随机接入前导组。 PDU的头部包括多个子头 部, X个子随机接入前导组中的每个子随机接入前导的子随机接入前导标识均位于该 PDU的头部, 一个随机接入前导标识位于一个子头部中。 The fifth format: The first random access response message is located in the PDU of the MAC layer. The header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preambles included in the X sub-random access preamble groups corresponding to the same TA in the M sub-random access preamble groups; the X sub-random access preamble groups include the first random access preamble group. The header of the PDU includes multiple sub-headers, the sub-random access preamble identifier of each sub-random access preamble in the X sub-random access preamble groups is located at the head of the PDU, and one random access preamble identifier is located in a sub-header Ministry.
该 PDU的负荷部 ( payload ) 包括与 X个子随机接入前导组分别对应的 X个随机 接入响应消息。 其中, 第一子随机接入前导组为根据预设排序规则对 X个子随机接入 前导排序后的第 x个子随机接入前导组,第一随机接入响应消息为该 PDU的负荷部包 括的第 x个随机接入响应消息, x=l,〜X。 The payload of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups. Wherein, the first random access preamble group is the xth random access preamble group after the X random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU The xth random access response message, x=1,~X.
在该格式中, 对应的 TA相同的子随机接入前导组所对应的随机接入响应消息位于 同一个 PDU中, 且 PDU的头部是子随机接入前导标识。 该种格式下的 PDU提高了网 络设备对终端做出随机接入响应的效率, 且相对于第四种格式对应的 PDU, 网络设备 向终端设备发送 PDU时的信令开销较少。 In this format, the random access response messages corresponding to the sub-random access preamble groups with the same TA are located in the same PDU, and the header of the PDU is the sub-random access preamble identifier. The PDU in this format improves the efficiency of the network device in making random access responses to the terminal, and compared to the PDU corresponding to the fourth format, the network device has less signaling overhead when sending the PDU to the terminal device.
结合第一方面, 在第一方面的一种可能的实现方式中, 所述终端从所述网络设备 接收第一随机接入响应消息, 包括: 从所述网络设备接收包括所述第一随机接入响应 消息的所述 PDU; 在所述终端从所述网络设备接收包括所述第一随机接入响应消息的 所述 PDU之后, 还包括: 根据所述 S个子随机接入前导的标识、 所述 PDU的头部包 括的子随机接入前导标识和所述预设排序规则,确定所述 PDU的负荷部包括的所述第 一随机接入响应消息。 With reference to the first aspect, in a possible implementation manner of the first aspect, the receiving, by the terminal, a first random access response message from the network device includes: receiving from the network device including the first random access Receiving the PDU of the response message; after the terminal receives the PDU including the first random access response message from the network device, the method further includes: according to the identifiers of the S sub-random access preambles, The sub-random access preamble identifier included in the header of the PDU and the preset ordering rule determine the first random access response message included in the load part of the PDU.
本方案提供了终端从 PDU中获取对应的随机接入响应消息的一种具体实现。 结合第一方面, 在第一方面的一种可能的实现方式中, 所述终端从所述网络设备 接收第一随机接入响应消息, 包括: 从所述网络设备接收包括所述第一随机接入响应 消息的所述 PDU; 在所述终端从所述网络设备接收包括所述第一随机接入响应消息的 所述 PDU之后, 还包括: 根据所述第一子随机接入前导组的标识, 确定所述 PDU的 负荷部包括的所述笫一随机接入响应消息。 This solution provides a specific implementation for the terminal to obtain the corresponding random access response message from the PDU. With reference to the first aspect, in a possible implementation manner of the first aspect, the receiving, by the terminal, a first random access response message from the network device includes: receiving from the network device including the first random access Receiving the PDU of the response message; after the terminal receives the PDU including the first random access response message from the network device, the method further includes: according to the identifier of the first random access sub-preamble group And determine the first random access response message included in the load part of the PDU.
本方案提供了终端从 PDU中获取对应的随机接入响应消息的另一种具体实现。 第二方面提供一种通信方法, 所述通信方法包括: 网络设备从终端接收第一随机 接入前导, 所述第一随机接入前导根据随机接入前导集合包括的 S个子随机接入前导 生成, 所述随机接入前导集合包括 N个子随机接入前导, N和 S为大于 1的整数, S ^N; 所述网络设备向所述终端发送第一随机接入响应消息, 所述第一随机接入响应 消息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 可选地, 所述指示信息包括所述第二随机接入前导的标识。 This solution provides another specific implementation for the terminal to obtain the corresponding random access response message from the PDU. A second aspect provides a communication method, the communication method includes: a network device receives a first random access preamble from a terminal, and the first random access preamble is generated according to S sub-random access preambles included in a random access preamble set The random access preamble set includes N sub-random access preambles, N and S are integers greater than 1, and S^N; the network device sends a first random access response message to the terminal, and the first The random access response message includes indication information, and the indication information indicates the second random access preamble to the terminal. Optionally, the indication information includes an identifier of the second random access preamble.
本方案中, 网络设备从终端接收由 S个子随机接入前导生成的随机接入前导, 使 得多个终端在在同一 PRACH资源上随机接入时发送相同的随机接入前导的概率大大 降低, 提高了终端随机接入成功的概率。 网络设备向终端发送包括指示随机接入前导 的随机接入响应消息, 降低了根据 S个子随机接入前导生成随机接入前导产生的虚警 造成的物理资源浪费, 同时也提高了终端随机接入成功的概率。 In this solution, the network device receives the random access preamble generated by the S sub-random access preambles from the terminal, so that the probability of multiple terminals sending the same random access preamble when randomly accessing on the same PRACH resource is greatly reduced and improved The probability of successful random access of the terminal. The network device sends the random access response message including the random access preamble indicating the random access preamble to the terminal, which reduces the waste of physical resources caused by false alarms generated by generating the random access preamble based on the S random access preambles, and also improves the random access of the terminal. Probability of success.
结合第二方面, 在第二方面的一种可能的实现方式中, 还包括: 从所述终端接收 所述第二随接入前导。 With reference to the second aspect, in a possible implementation of the second aspect, the method further includes: receiving the second follow-on preamble from the terminal.
本方案中, 网络设备从终端接收终端再次发送随机接入前导, 以提高了终端随机 接入成功的概率。 In this solution, the network device receives the terminal from the terminal and sends the random access preamble again, so as to increase the probability of the terminal's random access success.
结合第二方面, 在第二方面的一种可能的实现方式中, 所述第一随机接入前导是 在第一 PRACH资源上接收到的; With reference to the second aspect, in a possible implementation manner of the second aspect, the first random access preamble is received on a first PRACH resource;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
本方案中, 通过向 M个子随机接入前导组中发生碰撞的各子随机接入前导组(发 生碰撞的各子随机接入前导组所对应的 TA相同) 对应的终端发送包括指示随机接入 前导指示信息的随机接入响应消息, 在降低虚警造成的资源浪费的基础上, 保证了实 际向网络设备发送了随机接入前导且所对应的子随机接入前导组未与其它子随机接入 前导发生碰撞 (M个子随机接入前导组不存在与该终端所对应的子随机接入前导组对 应的 TA相同的子随机接入前导组) 的终端随机接入的效率。 In this solution, by sending to each sub-random access preamble group that collides in the M sub-random access preamble groups (the TA corresponding to each sub-random access preamble group that has collided is the same), the corresponding terminal includes indicating random access The random access response message of the preamble indication information, on the basis of reducing the waste of resources caused by false alarms, ensures that the random access preamble is actually sent to the network device and the corresponding sub-random access preamble group is not randomly connected to other sub-random access preambles. The random access efficiency of the terminal in which the incoming preamble collides (the M sub-random access preamble group does not have the same sub-random access preamble group corresponding to the sub-random access preamble group corresponding to the terminal).
结合第二方面, 在第二方面的一种可能的实现方式中, 网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组的方法, 可通过如下方时实现: 网络设 备根据在第一 PRACH资源上接收到的随机接入前导, 确定多个预选子随机接入前导 组, 所述预选子随机接入前导组包括的子随机接入前导的总能量大于第一预设能量, 多个预选子随机接入前导组中包括第一子随机接入前导组, 所述预选子随机接入前导 组中包括的子随机接入前导的数目大于等于 W且小于等于 N。所述网络设备根据多个 预选子随机接入前导组, 得到所述 M个子随机接入前导组。 With reference to the second aspect, in a possible implementation of the second aspect, the method for the network device to obtain the M sub-random access preamble groups on the first PRACH resource can be implemented as follows: The random access preamble received on the first PRACH resource, a plurality of preselected random access preamble groups are determined, and the total energy of the sub random access preambles included in the preselected random access preamble group is greater than the first preset energy The plurality of preselected sub-random access preamble groups include a first sub-random access preamble group, and the number of sub-random access preambles included in the preselected sub-random access preamble group is greater than or equal to W and less than or equal to N. The network device obtains the M sub-random access preamble groups according to a plurality of preselected sub-random access preamble groups.
其中, 所述网络设备根据在第一 PRACH资源上接收到的随机接入前导, 确定多 个预选子随机接入前导组可通过如下但不限于如下的两种实施方式实现: Wherein, the network device determines multiple preselected random access preamble groups according to the random access preamble received on the first PRACH resource, which can be implemented in the following but not limited to the following two implementation manners:
第一种实施方式: 所述网络设备根据在第一 PRACH资源上接收到的随机接入前 导, 检测子随机接入前导, 并确定检测到的能量大于第二预设能量的子随机接入前导 为检测到的子随机接入前导; First implementation manner: The network device detects the sub-random access preamble according to the random access preamble received on the first PRACH resource, and determines the sub-random access preamble with the detected energy greater than the second preset energy Random access preamble for the detected sub;
所述网络设备根据第一预设能量、 检测到的子随机接入前导以及检测到的子随机 接入前导的能量和对应的 TA, 确定多个预选子随机接入前导组。 The network device determines a plurality of preselected sub-random access preamble groups according to the first preset energy, the detected sub-random access preamble, the energy of the detected sub-random access preamble, and the corresponding TA.
第二种实施方式: 所述网络设备根据在第一 PRACH资源上接收到的随机接入前 导, 确定多个预选子随机接入前导组, 包括: The second implementation manner: The network device is based on the pre-random access received on the first PRACH resource Guide, determine a plurality of preselected sub-random access preamble groups, including:
所述网络设备根据在第一 PRACH资源上接收到的随机接入前导, 获取需要检测 的每个时间窗的每个位置所对应的全部子随机接入前导各自的能量, 每个时间窗的每 个位置对应一个 TA;所述全部子随机接入前导为全部随机接入前导集合中包括的去除 重复后的所有子随机接入前导; According to the random access preamble received on the first PRACH resource, the network device obtains the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each time window Each position corresponds to one TA; the all sub-random access preambles are all sub-random access preambles after deduplication included in the set of all random access preambles;
所述网络设备将全部子随机接入前导中的子随机接入前导进行组合, 得到多个备 选子随机接入前导组; The network device combines all the sub-random access preambles in all the sub-random access preambles to obtain multiple alternative sub-random access preamble groups;
对于需要检测的各时间窗中的任意一个第一时间窗的任意一个第一位置, 所述网 络设备根据所述第一时间窗的第一位置所对应的全部子随机接入前导各自的能量, 确 定多个备选子随机接入前导组中包括的子随机接入前导的总能量大于第一预设能量的 备选子随机接入前导组为与第一 TA对应的预选子随机接入前导组, 其中, 所述第一 TA为与第一时间窗的第一位置对应的 TA。 For any first position of any first time window in each time window that needs to be detected, the network device according to the respective energy of all sub-random access preambles corresponding to the first position of the first time window, It is determined that the total energy of the sub-random access preambles included in the plurality of candidate sub-random access preamble groups is greater than the first preset energy as the pre-selected sub-random access preamble corresponding to the first TA Group, where the first TA is the TA corresponding to the first position of the first time window.
进一步地, 所述网络设备根据多个预选子随机接入前导组, 得到 M个子随机接入 前导组,包括:对于多个预选子随机接入前导组对应的多个 TA中的任意一个第一 TA: 对于多个预选子随机接入前导组中与所述第一 TA对应的第一待选子随机接入前 导组, 所述网络设备获取第一待选子随机接入前导组中包括的各子随机接入前导在第 一待选子随机接入前导组中出现的次数, 将出现次数相同的子随机接入前导划分为一 组, 得到至少一个第二待选子随机接入前导组; Further, the network device obtains the M random access preamble groups according to the multiple preselected sub-random access preamble groups, including: for any one of the multiple TAs corresponding to the multiple preselected sub-random access preamble groups, first TA: For the first candidate random access preamble group corresponding to the first TA among the multiple preselected random access preamble groups, the network device obtains the first candidate random access preamble group included in the first candidate random access preamble group The number of occurrences of each sub-random access preamble in the first random access preamble group of candidate sub-random access preambles, and the sub-random access preambles with the same number of occurrences are divided into one group to obtain at least one second candidate-sub random access preamble group ;
所述网络设备将包括的子随机接入前导的数目小于预设数目的各第二待选子随机 接入前导组中的子随机接入前导进行组合, 得到所述第一 TA对应的目标子随机接入 前导组; The network device combines the sub-random access preambles in each second candidate sub-random access preamble group whose number of sub-random access preambles included is less than the preset number to obtain the target sub-random access preamble corresponding to the first TA Random access to the preamble group;
所述网络设备去除所述多个 TA各自对应的目标子随机接入前导组中重复的子随 机接入前导组, 得到所述 M个子随机接入前导组。 The network device removes the repeated sub-random access preamble groups in the target sub-random access preamble groups corresponding to each of the multiple TAs to obtain the M sub-random access preamble groups.
本方案中提供了网络设备获取 M个子随机接入前导组的具体实现。 This solution provides a specific implementation for the network equipment to obtain M sub-random access preamble groups.
结合第二方面, 在第二方面的一种可能的实现方式中, 生成第一终端集合中的终 端的随机接入前导的子随机接入前导的数目为 S, 所述 M个子随机接入前导组中的子 随机接入前导组包括的子随机接入前导的数目为 S ; 其中, 所述第一终端集合中包括 所述终端, 所述第一终端集合为在所述第一 PRACH资源上向所述网络设备发送随机 接入前导的终端的集合。 With reference to the second aspect, in a possible implementation of the second aspect, the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is S, and the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
本方案中, 在同一 PRACH资源随机接入的终端的随机接入前导均是由 S个子随 机接入前导生成, 此时, 网络设备在获取 M个子随机接入前导组时, M个子随机接入 前导组中的子随机接入前导组包括的子随机接入前导的数目也为 S, 降低了网络设备 获取 M个子随机接入前导组的复杂度,进而降低了网络设备生成随机接入响应消息的 复杂度, 也就提高了终端随机接入的效率。 In this solution, the random access preambles of terminals that randomly access the same PRACH resource are all generated by S sub-random access preambles. At this time, when the network device obtains M sub-random access preamble groups, M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the preamble group is also S, which reduces the complexity of obtaining the M sub-random access preamble groups by the network device, thereby reducing the network device’s generation of random access response messages. Therefore, the efficiency of random access of the terminal is improved.
上述方案中的第一随机接入响应消息位于媒体接入控制 MAC层的协议数据单元 PDU中, 该 PDU的格式与第一方面的 PDU的格式相同。 The first random access response message in the above solution is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format of the PDU in the first aspect.
第三方面提供一种通信装置, 所述通信装置包括: A third aspect provides a communication device, where the communication device includes:
发送模块, 用于向网络设备发送第一随机接入前导, 所述第一随机接入前导是根 据随机接入前导集合中的 S个子随机接入前导生成的, 所述随机接入前导集合包括 N 个子随机接入前导, N和 S为大于 1的整数, S^N; 接收模块, 用于从所述网络设备 接收第一随机接入响应消息, 所述第一随机接入响应消息包括指示信息, 所述指示信 息向所述终端指示第二随机接入前导。 A sending module, configured to send a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and the random access preamble set includes N Sub-random access preambles, where N and S are integers greater than 1, S^N; a receiving module, configured to receive a first random access response message from the network device, where the first random access response message includes indication information , The indication information indicates the second random access preamble to the terminal.
可选地, 所述指示信息包括所述第二随机接入前导的标识。 Optionally, the indication information includes an identifier of the second random access preamble.
结合第三方面, 在第三方面的一种可能的实现方式中, 还包括: 处理模块; 所述处理模块, 用于根据所述第一随机接入响应消息, 确定所述第二随机接入前 导; With reference to the third aspect, in a possible implementation of the third aspect, the method further includes: a processing module; the processing module is configured to determine the second random access message according to the first random access response message Leading
所述发送模块, 还用于向所述网络设备发送所述第二随机接入前导。 The sending module is further configured to send the second random access preamble to the network device.
结合第三方面,在第三方面的一种可能的实现方式中,所述发送模块,具体用于: 在第一物理随机接入信道 PRACH资源上向所述网络设备发送所述第一随机接入前导; 所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; With reference to the third aspect, in a possible implementation of the third aspect, the sending module is specifically configured to: send the first random access to the network device on a first physical random access channel PRACH resource Incoming preamble; The S sub-random access preambles form a first sub-random access preamble group; The M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group Enter a preamble group, and in the M sub-random access preamble groups, there is a sub-random access preamble group with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
结合第三方面, 在第三方面的一种可能的实现方式中, 生成第一终端集合中的终 端的随机接入前导的子随机接入前导的数目为 S, 所述 M个子随机接入前导组中的子 随机接入前导组包括的子随机接入前导的数目为 S ; 其中, 所述第一终端集合中包括 所述终端, 所述第一终端集合为在所述第一 PRACH资源上向所述网络设备发送随机 接入前导的终端的集合。 With reference to the third aspect, in a possible implementation manner of the third aspect, the number of sub-random access preambles of the random access preambles of the terminals in the first terminal set is S, and the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
上述方案中的第一随机接入响应消息位于媒体接入控制 MAC层的协议数据单元 PDU中, 该 PDU的格式与第一方面的 PDU的格式相同。 The first random access response message in the above solution is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format of the PDU in the first aspect.
结合第三方面,在第三方面的一种可能的实现方式中,所述接收模块,具体用于: 从所述网络设备接收所述 PDU; 所述处理模块还用于, 根据所述 S个子随机接入前导 的标识、所述 PDU的头部包括的子随机接入前导标识和所述预设排序规则, 确定所述 P D U的负荷部包括的所述第一随机接入响应消息。 With reference to the third aspect, in a possible implementation of the third aspect, the receiving module is specifically configured to: receive the PDU from the network device; and the processing module is further configured to: The identifier of the random access preamble, the identifier of the sub-random access preamble included in the header of the PDU, and the preset ordering rule are used to determine the first random access response message included in the load part of the PDU.
结合第三方面,在第三方面的一种可能的实现方式中,所述接收模块,具体用于: 从所述网络设备接收包括所述第一随机接入响应消息的所述 PDU; 所述处理模块还用 于, 根据所述第一子随机接入前导组的标识, 确定所述 PDU的负荷部包括的所述第一 随机接入响应消息。 With reference to the third aspect, in a possible implementation of the third aspect, the receiving module is specifically configured to: receive the PDU including the first random access response message from the network device; The processing module is further configured to determine the first random access response message included in the load part of the PDU according to the identifier of the first random access sub-preamble group.
第四方面提供一种通信装置, 所述通信装置包括: 接收模块, 用于从终端接收第 一随机接入前导, 所述笫一随机接入前导根据随机接入前导集合包括的 S个子随机接 入前导生成, 所述随机接入前导集合包括 N个子随机接入前导, N和 S为大于 1的整 数, S^N; 发送模块, 用于向所述终端发送第一随机接入响应消息, 所述第一随机接 入响应消息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 A fourth aspect provides a communication device, the communication device includes: a receiving module configured to receive a first random access preamble from a terminal, and the first random access preamble is based on the S sub-random accesses included in the random access preamble set Incoming preamble generation, the random access preamble set includes N sub-random access preambles, N and S are integers greater than 1, S^N; the sending module is used to send the first random access response message to the terminal, The first random access response message includes indication information, and the indication information indicates a second random access preamble to the terminal.
可选地, 所述指示信息包括所述第二随机接入前导的标识。 Optionally, the indication information includes an identifier of the second random access preamble.
结合第四方面, 在第四方面的一种可能的实现方式中, 所述接收模块还用于从所 述终端接收所述第二随接入前导。 结合第四方面, 在第四方面的一种可能的实现方式中, 所述第一随机接入前导是 在第一 PRACH资源上接收到的; With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, the receiving module is further configured to receive the second follow-on preamble from the terminal. With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, the first random access preamble is received on a first PRACH resource;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
结合第四方面, 在第四方面的一种可能的实现方式中, 还包括处理模块, 处理模 块用于根据在第一 PRACH资源上接收到的随机接入前导, 确定多个预选子随机接入 前导组, 所述预选子随机接入前导组包括的子随机接入前导的总能量大于第一预设能 量, 多个预选子随机接入前导组中包括第一子随机接入前导组, 所述预选子随机接入 前导组中包括的子随机接入前导的数目大于等于 W且小于等于 N。根据多个预选子随 机接入前导组, 得到所述 M个子随机接入前导组。 With reference to the fourth aspect, in a possible implementation of the fourth aspect, a processing module is further included. The processing module is configured to determine a plurality of preselector random accesses according to the random access preamble received on the first PRACH resource Preamble group, the total energy of the sub-random access preambles included in the preselected sub-random access preamble group is greater than the first preset energy, and the first sub-random access preamble group is included in the plurality of pre-selected sub-random access preamble groups, so The number of sub-random access preambles included in the preselected sub-random access preamble group is greater than or equal to W and less than or equal to N. According to the random access preamble group of multiple preselected sub-groups, the M sub-random access preamble groups are obtained.
一种实施方式中, 所述处理模块在用于根据在第一 PRACH资源上接收到的随机 接入前导, 确定多个预选子随机接入前导组时, 具体用于: In an implementation manner, when the processing module is used to determine a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically used for:
根据在第一 PRACH资源上接收到的随机接入前导, 检测子随机接入前导, 并确 定检测到的能量大于第二预设能量的子随机接入前导为检测到的子随机接入前导; 根据第一预设能量、 检测到的子随机接入前导以及检测到的子随机接入前导的能 量和对应的 TA, 确定多个预选子随机接入前导组。 Detecting the sub-random access preamble according to the random access preamble received on the first PRACH resource, and determining that the sub-random access preamble with the detected energy greater than the second preset energy is the detected sub-random access preamble; According to the first preset energy, the detected sub-random access preamble, the energy of the detected sub-random access preamble and the corresponding TA, a plurality of preselected sub-random access preamble groups are determined.
另一种实施方式中, 所述处理模块在用于根据在第一 PRACH资源上接收到的随 机接入前导, 确定多个预选子随机接入前导组时, 具体用于: In another implementation manner, when the processing module is used to determine a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically used for:
根据在第一 PRACH资源上接收到的随机接入前导, 获取需要检测的每个时间窗 的每个位置所对应的全部子随机接入前导各自的能量, 每个时间窗的每个位置对应一 个 TA;所述全部子随机接入前导为全部随机接入前导集合中包括的去除重复后所有子 随机接入前导; According to the random access preamble received on the first PRACH resource, obtain the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each position of each time window corresponds to one TA; the all sub-random access preambles are all sub-random access preambles included in the set of all random access preambles after deduplication;
将全部子随机接入前导中的子随机接入前导进行组合, 得到多个备选子随机接入 前导组; Combining the sub-random access preambles in all the sub-random access preambles to obtain multiple candidate sub-random access preamble groups;
对于需要检测的各时间窗中的任意一个第一时间窗的第一位置, 根据所述第一时 间窗的第一位置所对应的全部子随机接入前导各自的能量, 确定多个备选子随机接入 前导组中包括的子随机接入前导的总能量大于第一预设能量的备选子随机接入前导组 为与第一 TA对应的预选子随机接入前导组, 其中, 所述第一 TA为与第一时间窗的 笫一位置对应的 TA。 For the first position of any one of the first time windows in each time window that needs to be detected, determine multiple candidates according to the respective energies of all sub-random access preambles corresponding to the first position of the first time window The random access preamble candidate group of which the total energy of the sub-random access preambles included in the random access preamble group is greater than the first preset energy is a pre-selected sub-random access preamble group corresponding to the first TA, wherein, The first TA is the TA corresponding to the first position of the first time window.
进一步地, 所述处理模块在用于根据多个预选子随机接入前导组, 得到 M个子随 机接入前导组时, 具体用于: 对于多个预选子随机接入前导组对应的多个 TA中的任 意一个第一 TA: Further, when the processing module is used to randomly access the preamble group according to a plurality of preselectors to obtain M random access preamble groups, it is specifically used for: random access to multiple TAs corresponding to the preselected subgroups Any one of the first TA:
对于多个预选子随机接入前导组中与所述第一 TA对应的第一待选子随机接入前 导组, 获取第一待选子随机接入前导组中包括的各子随机接入前导在第一待选子随机 接入前导组中出现的次数, 将出现次数相同的子随机接入前导划分为一组, 得到至少 一个第二待选子随机接入前导组; For the first candidate random access preamble group corresponding to the first TA among the multiple preselected random access preamble groups, obtain each random access preamble included in the first candidate random access preamble group The number of occurrences in the random access preamble group of the first candidate sub-random access preamble is divided into a group to obtain at least A second candidate for random access to the preamble group;
将包括的子随机接入前导的数目小于预设数目的各第二待选子随机接入前导组中 的子随机接入前导进行组合, 得到所述第一 TA对应的目标子随机接入前导组; Combine the sub-random access preambles in each second candidate sub-random access preamble group whose number of included sub-random access preambles is less than the preset number to obtain the target sub-random access preamble corresponding to the first TA Group
去除所述多个 TA各自对应的目标子随机接入前导组中重复的子随机接入前导组, 得到所述 M个子随机接入前导组。 Remove the repeated sub-random access preamble groups in the target sub-random access preamble groups corresponding to each of the multiple TAs to obtain the M sub-random access preamble groups.
结合第四方面, 在第四方面的一种可能的实现方式中, 生成第一终端集合中的终 端的随机接入前导的子随机接入前导的数目为 S, 所述 M个子随机接入前导组中的子 随机接入前导组包括的子随机接入前导的数目为 S ; 其中, 所述第一终端集合中包括 所述终端, 所述第一终端集合为在所述第一 PRACH资源上向所述网络设备发送随机 接入前导的终端的集合。 With reference to the fourth aspect, in a possible implementation manner of the fourth aspect, the number of sub-random access preambles of the random access preambles of the terminals in the first terminal set is S, and the M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group in the group is S; wherein, the first terminal set includes the terminal, and the first terminal set is on the first PRACH resource A set of terminals that send random access preambles to the network device.
上述方案中的第一随机接入响应消息位于媒体接入控制 MAC层的协议数据单元 PDU中, 该 PDU的格式与第一方面的 PDU的格式相同。 The first random access response message in the above solution is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format of the PDU in the first aspect.
第五方面提供一种通信装置, 所述通信装置用于实现第一方面或第一方面任一可 能的实现方式所述的通信方法。 A fifth aspect provides a communication device, where the communication device is configured to implement the communication method described in the first aspect or any possible implementation manner of the first aspect.
第六方面提供一种通信装置, 所述通信装置用于实现第二方面或第二方面任一可 能的实现方式所述的通信方法。 A sixth aspect provides a communication device, where the communication device is used to implement the communication method described in the second aspect or any possible implementation manner of the second aspect.
第七方面提供一种可读存储介质, 所述可读存储介质上存储有计算机程序; 所述 计算机程序被执行时, 实现如第一方面或第一方面任一可能的实现方式所述的通信方 法。 A seventh aspect provides a readable storage medium on which a computer program is stored; when the computer program is executed, the communication as described in the first aspect or any possible implementation manner of the first aspect is implemented method.
第八方面提供一种可读存储介质, 所述可读存储介质上存储有计算机程序; 所述 计算机程序被执行时, 实现如第二方面或第二方面任一可能的实现方式所述的通信方 法。 An eighth aspect provides a readable storage medium with a computer program stored on the readable storage medium; when the computer program is executed, the communication as described in the second aspect or any possible implementation manner of the second aspect is implemented method.
本申请中, 通过向网络设备发送由 S个子随机接入前导生成的随机接入前导, 使 得多个终端在在同一 PRACH资源上随机接入时发送相同的随机接入前导的概率大大 降低, 提高了终端随机接入成功的概率。 通过从网络设备接收包括指示随机接入前导 的随机接入响应消息, 降低了根据 S个子随机接入前导生成随机接入前导产生的虚警 造成的物理资源浪费, 同时也提高了终端随机接入成功的概率。 附图说明 In this application, by sending the random access preamble generated by the S sub-random access preambles to the network device, the probability of multiple terminals sending the same random access preamble during random access on the same PRACH resource is greatly reduced and improved The probability of successful random access of the terminal. By receiving the random access response message including the random access preamble indicating the random access preamble from the network device, the waste of physical resources caused by the false alarm generated by generating the random access preamble based on the S random access preambles is reduced, and the random access of the terminal is also improved. Probability of success. Description of the drawings
图 1为本申请实施例提供的通信***的示意图; Figure 1 is a schematic diagram of a communication system provided by an embodiment of the application;
图 2为本申请实施例提供的通信方法的信令交互图; Figure 2 is a signaling interaction diagram of a communication method provided by an embodiment of this application;
图 3为本申请实施例提供的通信方法的流程图; FIG. 3 is a flowchart of a communication method provided by an embodiment of the application;
图 4为本申请实施例提供的第一种格式的 PDU示意图; Figure 4 is a schematic diagram of a PDU in the first format provided by an embodiment of the application;
图 5为图 4中的 PDU的一个子头部的示意图; Figure 5 is a schematic diagram of a sub-header of the PDU in Figure 4;
图 6为图 4中的 PDU的另一个子头部的示意图; Fig. 6 is a schematic diagram of another sub-header of the PDU in Fig. 4;
图 7为图 4中的 PDU包括的一个随机接入响应消息的格式示意图; Figure 7 is a schematic diagram of the format of a random access response message included in the PDU in Figure 4;
图 8为本申请实施例提供的第二种格式的 PDU的示意图; FIG. 8 is a schematic diagram of a PDU in the second format provided by an embodiment of the application;
图 9为图 8中的 PDU的一个子头部的示意图; Fig. 9 is a schematic diagram of a sub-header of the PDU in Fig. 8;
图 10为本申请实施例提供的子随机接入前导能量示意图一; 图 1 1为本申请实施例提供的子随机接入前导能量示意图二; 10 is a schematic diagram 1 of sub-random access preamble energy provided by an embodiment of this application; Figure 11 is a second schematic diagram of sub-random access preamble energy provided by an embodiment of this application;
图 12为本申请实施例提供的子随机接入前导能量示意图三; FIG. 12 is the third schematic diagram of sub-random access preamble energy provided by an embodiment of this application;
图 13为本申请一实施例提供的一种通信装置的结构示意图一; FIG. 13 is a first structural diagram of a communication device provided by an embodiment of the application;
图 14为本申请实施例提供的一种终端的结构示意图; FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of this application;
图 15为本申请实施例提供的通信装置的结构示意图二; FIG. 15 is a second structural diagram of a communication device provided by an embodiment of the application;
图 16为本申请实施例提供的通信装置的结构示意图三; FIG. 16 is a third structural diagram of a communication device provided by an embodiment of this application;
图 17为本申请实施例提供的通信装置的结构示意图四; FIG. 17 is a fourth structural diagram of a communication device provided by an embodiment of this application;
图 18为本申请实施例提供的通信装置的结构示意图五。 具体实施方式 FIG. 18 is a fifth structural diagram of a communication device provided by an embodiment of this application. detailed description
本申请中, “至少一个”是指一个或者多个, “多个”是指两个或两个以上。 “和 /或” , 描述关联对象的关联关系, 表示可以存在三种关系, 例如, A和 /或 B, 可以表 /K : 单独存在 A, 同时存在 A和 B, 单独存在 B的情况, 其中 A,B可以是单数或者复 数。 字符“/” 一般表示前后关联对象是一种 “或” 的关系。 “以下至少一项(个)” 或 其类似表达, 是指的这些项中的任意组合, 包括单项 (个) 或复数项 (个) 的任意组 合。 例如, a, b,或 c中的至少一项 (个) , 可以表示: a, b, c, a-b, a-c, b-c, 或 a-b-c, 其 中 a,b,c可以是单个, 也可以是多个。 本申请中术语“第一” 、 “第二”等是用于区别 类似的对象, 而不必用于描述特定的顺序或先后次序。 In this application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or" describes the association relationship of the associated objects, which means that there can be three types of relationships, for example, A and/or B can be expressed as / K: A is alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the associated objects are in an "or" relationship. "The following at least one item (a)" or similar expressions refers to any combination of these items, including any combination of single item (a) or plural items (a). For example, at least one item (a) of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple . The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
在对本申请讲述之前, 先对目前的 LTE协议中的基于竞争的随机接入的过程进行 说明: Before describing this application, the current contention-based random access process in the current LTE protocol will be explained:
“基于竞争” 的接入过程分为以下四步: The "competition-based" access process is divided into the following four steps:
第一步: 终端向网络设备发送随机接入前导 (MSG1) Step 1: The terminal sends a random access preamble (MSG1) to the network device
终端从 64-Ncf个的 preamble中随机选取一个作为随机接入前导,其中 Ncf是网络 设备保留为用于基于非竞争接入的 preamble数目。 终端将所选择的随机接入前导发送 给该小区所属的网络设备以请求接入该小区。 The terminal randomly selects one of the 64-Ncf preambles as the random access preamble, where Ncf is the number of preambles reserved by the network equipment for non-contention-based access. The terminal sends the selected random access preamble to the network device to which the cell belongs to request access to the cell.
第二步: 网络设备向终端发送随机接入响应 (MSG2) Step 2: The network device sends a random access response (MSG2) to the terminal
网络设备在物理下行共享信道上发送随机接入响应( random access response, 简称 RAR) 。 如果多个终端由于在相同的 PRACH资源上发送相同的随机接入前导而导致 冲突, 该多个终端会接收到相同的随机接入响应消息。 The network device sends a random access response (random access response, RAR for short) on the physical downlink shared channel. If multiple terminals cause a conflict because they send the same random access preamble on the same PRACH resource, the multiple terminals will receive the same random access response message.
随机接入响应消息携带了网络设备检测到的随机接入前导的标识、 用于同步来自 终端的连续上行传输的定时提前量 ( Timing Advance, 简称 TA) , 用于传输第三步中 的消息的初始上行资源以及临时 C-RNTI。随机接入响应消息也可以包含一个“重传延 迟指示符” , 网络设备可以通过设定重传延迟指示符来指示终端下次重新随机接入的 时间。 The random access response message carries the identifier of the random access preamble detected by the network device, is used to synchronize the timing advance (Timing Advance, TA) for continuous uplink transmission from the terminal, and is used to transmit the message in the third step. Initial uplink resources and temporary C-RNTI. The random access response message can also include a "retransmission delay indicator", and the network device can set the retransmission delay indicator to indicate when the terminal will re-random access next time.
第三步: 终端向网络设备发送 Layer2/ Layer3 (L2/L3) 消息 (MSG3) , 其中, Layer2 / Lay er3 ( L2/L3) 消息也可称为基于调度的传输消息。 Step 3: The terminal sends a Layer2/Layer3 (L2/L3) message (MSG3) to the network device, where the Layer2/Layer3 (L2/L3) message can also be called a scheduling-based transmission message.
Layer2 / Layer3( L2/L3)消息为确切的随机接入过程消息, 如无线资源控制( radio resource control,简称 RRC)连接建立请求、跟踪区域更新或调度请求等。 Layer2/ Layer3 (L2/L3) 消息包含了第二步中的随机接入响应消息包括的临时 C-RNTI, 以及终端在 己有一个 RRC连接情况下的 C-RNTI或终端的标识 (临时移动用户标识或一随机数)。 假如第一步中存在随机接入前导的冲突 (即多个终端发送了相同的随机接入前导) , 发送相同的随机接入前导的终端会从接收到的随机接入响应消息中获取到相同的临时 C -RNTI,且在相同上行资源 (即接收到的随机接入响应消息中包括的)上的发送 Layer2 / Layer3 ( L2/L3 ) 消息。 Layer2/Layer3 (L2/L3) messages are exact random access process messages, such as radio resource control (radio resource control, RRC) connection establishment request, tracking area update, or scheduling request. The Layer2/Layer3 (L2/L3) message contains the temporary C-RNTI included in the random access response message in the second step, and the terminal There is already a C-RNTI or terminal identification (temporary mobile user identification or a random number) in the case of RRC connection. If there is a random access preamble conflict in the first step (that is, multiple terminals have sent the same random access preamble), the terminal that sends the same random access preamble will get the same from the received random access response message. Temporary C-RNTI, and send a Layer2/Layer3 (L2/L3) message on the same uplink resource (that is, included in the received random access response message).
第四步: 网络设备向终端发送竞争解决消息 (MSG4 ) Step 4: The network device sends a contention resolution message (MSG4) to the terminal
网络设备在竞争解决消息中携带随机接入成功的终端在己有一个 RRC连接情况 下的 C-RNTI或临时 C-RNTI, 若竞争解决消息中携带的是临时 C-RNTI, 则该竞争解 决消息还包括随机接入成功的终端的标识。 若终端在接收到的竞争解决消息中检测到 该终端的标识或该终端己有一个 RRC连接情况下的 C-RNTI, 则该终端反馈接收成功 信息; 其他终端在接收到的竞争解决消息中没有发现自身的标识或该自身在己有一个 RRC连接情况下的 C-RNTI, 不发送反馈信息, 当前随机接入过程停止, 开始另一个 随机接入过程。 The contention resolution message carries the C-RNTI or temporary C-RNTI of the terminal with successful random access in the case of an RRC connection. If the contention resolution message carries the temporary C-RNTI, then the contention resolution message It also includes the identification of the terminal with successful random access. If the terminal detects the identity of the terminal in the received contention resolution message or the terminal already has a C-RNTI in the case of an RRC connection, the terminal feeds back the reception success information; other terminals do not include the received contention resolution message When discovering its own identity or its own C-RNTI in the case of having an RRC connection, no feedback information is sent, the current random access process is stopped, and another random access process is started.
下面将结合附图, 对本申请中的技术方案进行描述。 The technical solution in this application will be described below in conjunction with the drawings.
应理解, 本申请实施例的技术方案可以应用于长期演进 ( Long Term Evolution, LTE) 架构, 还可以应用于通用移动通信*** ( Universal Mobile Telecommunications System, UMTS )陆地无线接入网 ( UMTS Terrestrial Radio Access Network, UTRAN ) 架构, 或者全球移动通信*** ( Global System for Mobile Communication, GSM) /增 强型数据速率 GSM演进 ( Enhanced Data Rate for GSM Evolution, EDGE) ***的无线 接入网 (GSM EDGE Radio Access Network, GERAN)架构。 在 UTRAN架构或 /GERAN 架构中, MME的功能由服务通用分组无线业务 ( General Packet Radio Service, GPRS ) 支持节点 ( Serving GPRS Support, SGSN) 完成, SGWVPGW的功能由网关 GPRS支 持节点 ( Gateway GPRS Support Node, GGSN) 完成。 本申请实施例的技术方案还可 以应用于其他通信***,例如公共陆地移动网络 ( Public Land Mobile Network, PLMN) ***,甚至未来的 5G通信***或 5G之后的通信***等,本申请实施例对此不作限定。 It should be understood that the technical solutions of the embodiments of the present application can be applied to the Long Term Evolution (LTE) architecture, and can also be applied to the Universal Mobile Telecommunications System (UMTS) terrestrial radio access network (UMTS Terrestrial Radio Access). Network, UTRAN) architecture, or Global System for Mobile Communication (GSM)/Enhanced Data Rate for GSM Evolution (Enhanced Data Rate for GSM Evolution, EDGE) system's radio access network (GSM EDGE Radio Access Network, GERAN) architecture. In the UTRAN architecture or /GERAN architecture, the function of the MME is completed by the Serving GPRS Support (SGSN) of the General Packet Radio Service (GPRS), and the function of the SGWVPGW is provided by the Gateway GPRS Support Node (Gateway GPRS Support Node). , GGSN) completed. The technical solutions of the embodiments of this application can also be applied to other communication systems, such as Public Land Mobile Network (PLMN) systems, and even future 5G communication systems or communication systems after 5G. Not limited.
本申请实施例涉及终端。 终端可以为包含无线收发功能、 且可以与网络设备配合 为用户提供通讯服务的设备。 具体地, 终端可以指用户设备 ( User Equipment, UE) 、 接入终端设备、 用户单元、 用户站、 移动站、 移动台、 远方站、 远程终端设备、 移动 设备、 用户终端设备、 终端设备、 无线通信设备、 用户代理或用户装置。 例如, 终端 可以是蜂窝电话、 无绳电话、 会话启动协议 ( Session Initiation Protocol, SIP ) 电话、 无线本地环路 ( Wireless Local Loop, WLL)站、个人数字处理 ( Personal Digital Assistant, PDA) 、 具有无线通信功能的手持设备、 计算设备或连接到无线调制解调器的其它处 理设备、 车载设备、 可穿戴设备, 未来 5G网络或 5G之后的网络中的终端设备等, 本 申请实施例对此不作限定。 The embodiment of the present application relates to a terminal. The terminal may be a device that includes wireless transceiver functions and can cooperate with network devices to provide users with communication services. Specifically, the terminal may refer to user equipment (UE), access terminal equipment, subscriber unit, user station, mobile station, mobile station, remote station, remote terminal equipment, mobile equipment, user terminal equipment, terminal equipment, wireless Communication equipment, user agent or user device. For example, the terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (PDA), and wireless communication. Functional handheld devices, computing devices, or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks or networks after 5G, etc., which are not limited in this embodiment of the application.
本申请实施例还涉及网络设备。 网络设备可以是用于与终端进行通信的设备, 例 如, 可以是 GSM***或 CDMA中的基站 ( Base Transceiver Station, BTS ) , 也可以 是 WCDMA***中的基站 (NodeB, NB ) , 还可以是 LTE***中的演进型基站 ( Evolutional Node B, eNB或 eNodeB ) , 或者该网络设备可以为中继站、 接入点、 车载设备、可穿戴设备以及未来 5G网络或 5G之后的网络中的网络侧设备或未来演进 的 PLMN网络中的网络设备等。 The embodiments of the present application also relate to network equipment. The network device may be a device used to communicate with a terminal, for example, it may be a base station (Base Transceiver Station, BTS) in a GSM system or CDMA, a base station (NodeB, NB) in a WCDMA system, or an LTE system. The evolved base station (Evolutional Node B, eNB or eNodeB) in the system, or the network device may be a relay station, an access point, a vehicle-mounted device, a wearable device, and a network-side device in a future 5G network or a network after 5G. Evolution Network equipment in the PLMN network.
本申请实施例中涉及的网络设备也可称为无线接入网 ( Radio Access Network, RAN) 设备。 RAN设备与终端设备连接, 用于接收终端设备的数据并发送给核心网设 备。 RAN设备在不同通信***中对应不同的设备, 例如, 在 2G***中对应基站与基 站控制器,在 3 G***中对应基站与无线网络控制器 ( Radio Network C ontroll er, RNC ), 在 4G***中对应演进型基站 ( Evolutional Node B, eNB ) , 在 5G***中对应 5G系 统,如新无线接入*** (New Radio Access Technology, NR)中的接入网设备 (例如 gNB, CU, DU) 。 The network equipment involved in the embodiments of the present application may also be referred to as a radio access network (Radio Access Network, RAN) equipment. The RAN equipment is connected to the terminal equipment and is used to receive data from the terminal equipment and send it to the core network equipment. RAN equipment corresponds to different equipment in different communication systems. For example, in a 2G system, it corresponds to a base station and a base station controller, and in a 3G system, it corresponds to a base station and a radio network controller (Radio Network Controller, RNC). Corresponds to an evolved base station (Evolutional Node B, eNB) in a 5G system, and corresponds to a 5G system in a 5G system, such as an access network device (for example, gNB, CU, DU) in a New Radio Access Technology (NR).
在本专利申请中可能出现的对各种消息或信息或设备或网元或***或装置或动作 或操作或流程或概念等各类客体进行了赋名, 但这些具体的名称并不构成对相关客体 的限定, 所赋名称可随着场景, 语境或者使用习惯等因素而变更, 对相关客体的技术 含义的理解, 应主要从其在技术方案中所体现 /执行的功能和技术效果来确定。 Various objects such as various messages or information or equipment or network elements or systems or devices or actions or operations or processes or concepts that may appear in this patent application are given names, but these specific names do not constitute a reference to the relevant The definition of the object, the assigned name can be changed according to the scene, context or usage habits and other factors. The understanding of the technical meaning of the relevant object should be determined mainly from the function and technical effect embodied/implemented in the technical solution .
图 1为本申请实施例提供的通信***的示意图, 如图 1所示, 该通信***包括网 络设备、 和终端。 Fig. 1 is a schematic diagram of a communication system provided by an embodiment of the application. As shown in Fig. 1, the communication system includes a network device, and a terminal.
下面结合具体的实施例对本申请提供的通信方法进行说明。 The communication method provided in this application will be described below in conjunction with specific embodiments.
图 2为本申请实施例提供的通信方法的信令交互图, 参见图 2, 本实施例的方法 包括: Fig. 2 is a signaling interaction diagram of the communication method provided by an embodiment of the application. See Fig. 2, and the method in this embodiment includes:
步骤 S201、 终端向网络设备发送第一随机接入前导, 第一随机接入前导是根据随 机接入前导集合中的 S个子随机接入前导生成的, 随机接入前导集合包括 N个子随机 接入前导, N和 S为大于 1的整数, S N。 Step S201: The terminal sends a first random access preamble to the network device. The first random access preamble is generated according to the S sub-random access preambles in the random access preamble set, and the random access preamble set includes N sub-random accesses. The leading, N and S are integers greater than 1, SN.
具体地, 终端中存储有 L个随机接入前导集合, L个随机接入前导集合中的每个 随机接入前导集合中包括 N个子随机接入前导, L为正整数, N为大于 1的整数; 可 选地, N=2。 其中, 可选地, L个随机接入前导集合可对应 L个标识, 每个随机接入 前导集合对应一个标识。 关于名称子随机接入前导, 这样的取名只是为了表达其与终 端向网络设备发送的随机接入前导之间可能存在的关系,子随机前导本身的生成方式、 特征等可以与现有技术中的随机接入前导相同, 也就是说, 子随机接入前导可为目前 随机接入过程所使用的随机接入前导 ( preamble) 。 Specifically, L random access preamble sets are stored in the terminal, and each random access preamble set in the L random access preamble sets includes N sub-random access preambles, L is a positive integer, and N is greater than 1. Integer; optionally, N=2. Wherein, optionally, L random access preamble sets may correspond to L identifiers, and each random access preamble set corresponds to one identifier. Regarding the name of the sub-random access preamble, the name is only to express the possible relationship between it and the random access preamble sent by the terminal to the network device. The generation method and characteristics of the sub-random preamble itself can be compared with those in the prior art. The random access preambles are the same, that is, the sub-random access preamble can be a random access preamble used in the current random access process.
一种实施方式中, 随机接入前导集合中的子随机接入前导可为目前的 64个 preamble中用于基于竞争的随机接入的 /个 preamble中的 preamble, / =64 - Ncf, Ncf 为网络设备保留的用于非竞争随机接入的 preamble的数目。因此, L= Cf,在 N=2时, In an implementation manner, the sub-random access preamble in the random access preamble set may be the preamble in each preamble used for contention-based random access among the current 64 preambles, /=64-Ncf, where Ncf is The number of preambles reserved by the network device for non-contention random access. Therefore, L=Cf, when N=2,
L= Cf 2 ; 其中, Cf表示为从 f个子随机接入前导中取 N个不重复的子随机接入前导组 成一个随机接入前导集合所能获得的所有组合个数。 L= C f 2 ; where Cf represents the total number of combinations that can be obtained by taking N non-repetitive sub-random access preambles from f sub-random access preambles to form a random access preamble set.
作为一种实现方式, 终端在发起随机接入时, 从 L个标识中确定第一标识, 进一 步确定 L个随机接入前导集合中与第一标识对应的第一随机接入前导集合。 终端可以 进一步根据第一随机接入前导集合中的 S个子随机接入前导确定第一随机接入前导, S 为大于 1的整数, S N; 可选地, S=N。 As an implementation manner, when initiating random access, the terminal determines the first identifier from the L identifiers, and further determines the first random access preamble set corresponding to the first identifier among the L random access preamble sets. The terminal may further determine the first random access preamble according to the S sub-random access preambles in the first random access preamble set, where S is an integer greater than 1, S N; optionally, S=N.
在一种方式中, 终端可将第一随机接入前导集合中的 S个子随机接入前导相加, 得到第一随机接入前导。 这里的相加等价为矢量相加的概念, 也即 S个子随机接入前 导相加为 S个子随机接入前导中的序列元素分别在对应位置上相加。 例如, S=2, 子 随机接入前导 A为{1, 2, 3},子随机接入前导 B为{4, 5, 6},那么 A与 B相加为{1+4,2 +5, 3+6}={5,7,9}。 In one manner, the terminal may add the S sub-random access preambles in the first random access preamble set to obtain the first random access preamble. The addition here is equivalent to the concept of vector addition, that is, the addition of S sub-random access preambles means that the sequence elements in the S sub-random access preambles are added at corresponding positions. For example, S=2, sub The random access preamble A is {1, 2, 3}, and the sub-random access preamble B is {4, 5, 6}, then the sum of A and B is {1+4,2 +5, 3+6}= {5,7,9}.
在另一种方式中,终端可将第一随机接入前导集合中的 S个子随机接入前导点乘, 得到第一随机接入前导。 这里的相乘等价为矢量相乘的概念, 也即 S个子随机接入前 导相乘为 S个子随机接入前导中的序列元素分别在对应位置上点乘。 例如, S=2, 子 随机接入前导 A为{1,2, 3}, 子随机接入前导 B为{4,5,6}, 那么 A与 B点乘为{ 1 X 4,2 X 5 , 3 X 6}={4, 10, 18}。 此外, 终端还可以通过其他的方式根据第一随机接入前导集合 中的 S个子随机接入前导得到第一随机接入前导, 本申请实施例对此不做限定。 In another manner, the terminal may multiply the S sub-random access preamble points in the first random access preamble set to obtain the first random access preamble. The multiplication here is equivalent to the concept of vector multiplication, that is, the multiplication of S sub-random access preambles means that the sequence elements in the S sub-random access preambles are multiplied at corresponding positions respectively. For example, S=2, sub-random access preamble A is {1,2, 3}, sub-random access preamble B is {4,5,6}, then the dot product of A and B is {1 X 4,2 X 5, 3 X 6}={4, 10, 18}. In addition, the terminal may also obtain the first random access preamble according to the S sub-random access preambles in the first random access preamble set in other ways, which is not limited in the embodiment of the present application.
终端在生成第一随机接入前导后, 向网络设备发送第一随机接入前导。 After generating the first random access preamble, the terminal sends the first random access preamble to the network device.
上述生成随机接入前导的方式中, 终端具有 个可供选择的随机接入前导集合, 而 远远大于 /, 因此, 在同一 PRACH资源上随机接入的终端发送相同的随机接入 前导的概率大大降低, 即提高了终端随机接入成功的概率。 降低了随机接入过程中终 端发送冲突的概率。 In the foregoing manner of generating random access preambles, the terminal has a selectable random access preamble set, which is much larger than /. Therefore, the probability that a terminal randomly accessing on the same PRACH resource sends the same random access preamble This greatly reduces, that is, increases the probability of successful random access of the terminal. Reduce the probability of terminal transmission collision during random access.
步骤 S202、 网络设备向终端发送第一随机接入响应消息, 第一随机接入响应消息 包括指示信息, 该指示信息向终端指示第二随机接入前导。 Step S202: The network device sends a first random access response message to the terminal, where the first random access response message includes indication information, and the indication information indicates the second random access preamble to the terminal.
具体地, 网络设备接收终端发送的第一随机接入前导后, 向终端发送第一随机接 入响应消息, 第一随机接入响应消息包括指示信息, 该指示信息向终端指示第二随机 接入前导。 Specifically, after receiving the first random access preamble sent by the terminal, the network device sends a first random access response message to the terminal, where the first random access response message includes indication information, and the indication information indicates the second random access to the terminal Leading.
可选地, 指示信息中可包括第二随机接入前导的标识。 第二随机接入前导可为目 前的 64个 preamble中用于非竞争随机接入的 Nef f preamble中的 preamble。 Optionally, the indication information may include the identifier of the second random access preamble. The second random access preamble may be the preamble in the Nef f preamble used for non-contention random access among the current 64 preambles.
步骤 S201中所阐述的随机接入前导的生成方法, 使得多个终端在在同一 PRACH 资源上随机接入时发送相同的随机接入前导的概率大大降低, 在提高了终端随机接入 成功的概率的基础上可以支持大量终端的接入。但是, 步骤 S201中所阐述的随机接入 前导的生成方法, 在降低多个终端在同一 PRACH资源上发送相同的随机接入前导的 概率的基础上, 存在虚警 (false alarm) 的问题。 The random access preamble generation method described in step S201 greatly reduces the probability of multiple terminals sending the same random access preamble during random access on the same PRACH resource, which improves the probability of successful random access of the terminal. It can support the access of a large number of terminals. However, the random access preamble generation method described in step S201 reduces the probability of multiple terminals sending the same random access preamble on the same PRACH resource, and there is a false alarm (false alarm) problem.
下面对虚警的概念以及虚警的产生进行说明。 The concept of false alarms and the generation of false alarms are explained below.
多个终端 (多个终端包括本实施例中的终端) 在第一 PRACH资源上发送随机接 入前导的情况下, 在网络设备向终端发送第一随机接入响应消息之前, 网络设备会在 第一 PRACH资源上接收到多个随机接入前导 (多个随机接入前导中包括第一随机接 入前导) , 网络设备根据接收到的多个随机接入前导, 获取 M个子随机接入前导组, M个子随机接入前导组中包括第一随机接入前导组, 第一随机接入前导组由生成第一 随机接入前导的 S个子随机接入前导组成。 其中, M个子随机接入前导组中的子随机 接入前导组包括的子随机接入前导的数目 P满足 W<P<N, 且 WS SSN, W为大于 1的整数。假设第一终端集合为在第一 PRACH资源上向网络设备发送随机接入前导的 终端的集合, W可以为在生成第一终端集合中的终端的随机接入前导时所需的子随机 接入前导的最小数目, 即 S的最小取值为 W。 在生成第一终端集合中的终端的随机接 入前导的子随机接入前导的数目均为 S的情况下, M个子随机接入前导组中的子随机 接入前导组包括的子随机接入前导的数目均为 S。 In the case that multiple terminals (including the terminal in this embodiment) send random access preambles on the first PRACH resource, before the network device sends the first random access response message to the terminal, the network device will Multiple random access preambles are received on a PRACH resource (the multiple random access preambles include the first random access preamble), and the network device obtains M sub-random access preamble groups according to the received multiple random access preambles , The M sub-random access preamble groups include a first random access preamble group, and the first random access preamble group is composed of S sub-random access preambles that generate the first random access preamble. Among them, the number of sub-random access preambles included in the M sub-random access preamble groups P satisfies W<P<N, and WS SSN, W is an integer greater than 1. Assuming that the first terminal set is the set of terminals that send random access preambles to the network device on the first PRACH resource, W may be the sub-random access required when generating the random access preambles of the terminals in the first terminal set The minimum number of preambles, that is, the minimum value of S is W. In the case where the number of random access preambles of the random access preambles of the terminals in the first terminal set is all S, the random access sub-random access preambles included in the random access preamble group of the M sub-random access preamble groups The number of preambles is S.
对于 M个子随机接入前导组中的每个子随机接入前导组, 网络设备认为可能接收 到了由该子随机接入前导组中的子随机接入前导生成的随机接入前导, 换句话说, 网 络设备认为可能存在终端发送了由该子随机接入前导组中的子随机接入前导生成的随 机接入前导。 在网络设备获取到 M个子随机接入前导组的情况下, 网络设备认为可能 存在 M个终端在第一 PRACH资源上向网络设备发送了随机接入前导, M个终端与 M 个子随机接入前导组一一对应, 子随机接入前导组所对应的终端即表示该终端所发送 的随机接入前导是根据其所对应的子随机接入前导组中的子随机接入前导生成的。 实 际上, 不是 M个终端均在第一 PRACH资源上向网络设备发送了随机接入前导, M个 终端中, 没有向网络设备发送随机接入前导的终端所对应的子随机接入前导组对应一 个虚警。 For each sub-random access preamble group in the M sub-random access preamble groups, the network device considers that it may receive The random access preamble generated by the sub-random access preamble in the sub-random access preamble group is reached. In other words, the network equipment thinks that there may be a terminal that has sent the sub-random access preamble from the sub-random access preamble group. Random access preamble generated. In the case that the network device obtains M sub-random access preamble groups, the network device thinks that there may be M terminals that have sent random access preambles to the network device on the first PRACH resource, and M terminals and M sub-random access preambles The groups have one-to-one correspondence, and the terminal corresponding to the sub-random access preamble group means that the random access preamble sent by the terminal is generated according to the sub-random access preamble in the corresponding sub-random access preamble group. In fact, not all M terminals send the random access preamble to the network device on the first PRACH resource, and among the M terminals, the sub-random access preamble group corresponding to the terminal that does not send the random access preamble to the network device corresponds to A false alarm.
示例性地, 若随机接入前导集合包括 2个子随机接入前导, 即 N=2, 此时, 可以 得到 W=S=P=N=2, 用户 0发送的随机接入前导 1由随机接入前导集合 1中的 2个子 随机接入前导生成, 随机接入前导集合 1为 |A,B},用户 1发送的随机接入前导 2由随 机接入前导集合 2中的 2个子随机接入前导生成, 随机接入前导集合 2为丨 C,D},用户 0在 PRACH资源 1上发送随机接入前导 1,用户 1 在 PRACH资源 1上发送随机接入 前导 2, 网络设备在接收到随机接入前导 1和随机接入前导 2后, 会进行随机接入前 导的检测,得到 M个子随机接入前导组,在得到的 M个子随机接入前导组包括丨 A,BJ、 {A,C}, {A,D}, {B,C}, {B,D}, 丨 C,D丨的情况下, 网络设备会认为可能存在终端发送 了由{A,B}组的子随机接入前导 A和 B生成的随机接入前导、 可能存在终端发送了由 {A,C}组中的子随机接入前导 A和 C生成的随机接入前导、可能存在终端发送了由{B,C} 组中的子随机接入前导 B和 C生成的随机接入前导、 可能存在终端发送了由{A,D}组 中的子随机接入前导 A和 D生成的随机接入前导、 可能存在终端发送了由{B,D}组中 的子随机接入前导 B和 D生成的随机接入前导和可能存在终端发送了由{C,D}组中的 子随机接入前导 C和 D生成的随机接入前导,实际上并没有终端发送由{A,C}或{A,D} 或{B,C}或{B,D}组中的子随机接入前导生成的随机接入前导, {A,C}, {A,D}、 {B,C} 和丨 B,D丨子随机接入前导组均为虚警。 Exemplarily, if the random access preamble set includes 2 sub-random access preambles, that is, N=2, at this time, it can be obtained that W=S=P=N=2, and the random access preamble 1 sent by user 0 is randomly accessed. The 2 random access preambles in the preamble set 1 are generated, and the random access preamble set 1 is |A, B}. The random access preamble 2 sent by the user 1 is randomly accessed by the 2 sub-random access preambles in the random access preamble set 2. Preamble generation, random access preamble set 2 is 丨C, D}, user 0 sends random access preamble 1 on PRACH resource 1, user 1 sends random access preamble 2 on PRACH resource 1, and the network device receives random access preamble 2 After accessing preamble 1 and random access preamble 2, the random access preamble will be detected to obtain M sub-random access preamble groups. The obtained M sub-random access preamble groups include 丨A, BJ, {A, C In the case of }, {A,D}, {B,C}, {B,D}, 丨C,D丨, the network equipment will think that there may be a terminal sending a random access from the group of {A,B} Random access preambles generated by preambles A and B, there may be terminals that have sent random access preambles generated by sub-random access preambles A and C in the {A,C} group, and there may be terminals that have sent {B,C } The random access preambles generated by the sub-random access preambles B and C in the group, there may be a terminal that has sent the random access preambles generated by the sub-random access preambles A and D in the {A,D} group, there may be The terminal sends the random access preamble generated by the sub-random access preambles B and D in the {B, D} group and there may be the terminal sends the random access preamble generated by the sub-random access preambles C and D in the {C, D} group Random access preamble, actually no terminal sends the random access preamble generated by the sub-random access preamble in the {A,C} or {A,D} or {B,C} or {B,D} group , {A,C}, {A,D}, {B,C} and 丨B,D丨 random access to the preamble group are all false alarms.
作为一种实现方式, M个子随机接入前导组中的一个子随机接入前导组中包括的 各子随机接入前导所对应的 TA相同。 若网络设备在同一时间窗的同一位置检测到了 多个子随机接入前导, 该多个子随机接入前导所对应的 TA相同。 进一步地, TA与终 端和网络设备之间的距离相关, 理论上一个 TA对应一个终端, 但是在多个终端的位 置非常靠近的情况下, 一个 TA可能对应该多个终端, 因此, 在一个终端和一个子随 机接入前导组对应的情况下, 若一个 TA上对应多个子随机接入前导组, 该多个子随 机接入前导组中便可能存在是虚警的子随机接入前导组。 As an implementation manner, the TA corresponding to each sub-random access preamble included in one of the M sub-random access preamble groups is the same. If the network device detects multiple sub-random access preambles at the same position in the same time window, the TAs corresponding to the multiple sub-random access preambles are the same. Further, TA is related to the distance between the terminal and the network device. In theory, one TA corresponds to one terminal. However, when the locations of multiple terminals are very close, one TA may correspond to multiple terminals. Therefore, in one terminal In the case of corresponding to one sub-random access preamble group, if one TA corresponds to multiple sub-random access preamble groups, there may be sub-random access preamble groups that are false alarms in the multiple sub-random access preamble groups.
网络设备在获取到 M个子随机接入前导组后, 会对获取到的 M个子随机接入前 导组分别做出随机接入响应, 即对可能发送了随机接入前导的 M个终端分别做出随机 接入响应, 生成 M个随机接入响应消息, M个随机接入响应消息分别与 M个终端或 者 M个子随机接入前导组对应,在网络设备生成的每个随机接入响应消息中均包括上 行资源信息的情况下, M个终端中与虚警对应的终端的随机接入响应消息中所指示的 上行资源产生浪费, 原因是不存在终端发送了由虚警中的子随机接入前导生成的随机 接入前导。可以理解的是,由于 M个子随机接入前导组中包括第一子随机接入前导组, 因此, 网络设备对 M个子随机接入前导组分别做出随机接入响应后生成 M个随机接 入响应消息中包括第一随机接入响应消息。 After obtaining the M sub-random access preamble groups, the network device will make random access responses to the obtained M sub-random access preamble groups respectively, that is, respectively make random access responses to the M terminals that may have sent the random access preamble. Random access response, M random access response messages are generated, M random access response messages correspond to M terminals or M sub-random access preamble groups respectively, and each random access response message generated by the network device When the uplink resource information is included, the uplink resource indicated in the random access response message of the terminal corresponding to the false alarm among the M terminals is wasted, because no terminal has sent the sub-random access preamble in the false alarm. Random access preamble generated. It is understandable that, since the M random access preamble sub-groups include the first random access preamble sub-group, Therefore, after the network device respectively makes random access responses to the M sub-random access preamble groups, the M random access response messages generated include the first random access response message.
针对上述物理资源浪费的问题, 本实施例提出一种新的方案: 网络设备向终端发 送的第一随机接入响应消息包括指示第二随机接入前导的指示信息, 不包括上行资源 信息, 即不对终端分配上行资源,而是分配重新进行随机接入的随机接入前导, 因此, 避免了对物理资源的浪费。 In view of the above-mentioned physical resource waste problem, this embodiment proposes a new solution: the first random access response message sent by the network device to the terminal includes indication information indicating the second random access preamble, but does not include uplink resource information, that is, The terminal is not allocated uplink resources, but a random access preamble for re-random access is allocated. Therefore, waste of physical resources is avoided.
进一步地, 若 M个子随机接入前导组中的子随机接入前导组 a和子随机接入前导 组 b所对应的 TA相同, 如上所述“理论上一个 TA对应一个终端, 但是在多个终端 的位置非常靠近的情况下, 一个 TA可能对应该多个终端” , 因此, 网络设备无法明 确该 TA对应的实际发送了随机接入前导的终端的数目, 即网络设备无法明确实际接 收到了根据子随机接入前导组 a生成的随机接入前导, 还是接收到了根据子随机接入 前导组 b中生成的随机接入前导, 还是既接收到了根据子随机接入前导组 a生成的随 机接入前导也接收到了根据子随机接入前导组 b生成的随机接入前导, 此时, 网络设 备认为子随机接入前导组 a和子随机接入前导组 b发生了碰撞, 即若 M个子随机接入 前导组中多个子随机接入前导组所对应的 TA相同, 则该多个子随机接入前导组发生 了碰撞。 因此, 在子随机接入前导组之间发送碰撞的情况下, 针对发生碰撞的各子随 机接入前导组生成包括指示信息而不包括上行资源信息的随机接入响应消息, 并发送 包括指示信息的随机接入响应消息至发生碰撞的各子随机接入前导组所对应的终端, 可避免物理资源浪费的问题。 Further, if the TAs corresponding to the sub-random access preamble group a and the sub-random access preamble group b in the M sub-random access preamble groups are the same, as described above, "in theory, one TA corresponds to one terminal, but in multiple terminals In the case of very close locations, a TA may correspond to multiple terminals.” Therefore, the network device cannot determine the number of terminals that actually send the random access preamble corresponding to the TA, that is, the network device cannot determine the actual received Random access preamble generated by random access preamble group a, or received the random access preamble generated according to sub-random access preamble group b, or both received the random access preamble generated according to sub-random access preamble group a The random access preamble generated according to the sub-random access preamble group b is also received. At this time, the network device considers that the sub-random access preamble group a and the sub-random access preamble group b collide, that is, if M sub-random access preambles If the TAs corresponding to the multiple random access preamble sub-groups in the group are the same, the multiple random access preamble sub-groups collide. Therefore, in the case of sending collisions between sub-random access preamble groups, a random access response message including indication information but not uplink resource information is generated for each sub-random access preamble group that has collided, and the indication information is sent. The random access response message to the terminal corresponding to each sub-random access preamble group that has collided can avoid the problem of physical resource waste.
基于此, 若网络设备生成的 M个随机接入响应消息中均包括指示信息, 则会造成 实际向网络设备发送了随机接入前导且所对应的子随机接入前导组未与其它子随机接 入前导组发生碰撞的终端也需要使用指示信息中指示的随机接入前导重新发起随机接 入, 为了进一步提高随机接入的效率, 本实施例中网络设备可向满足如下条件的子随 机接入前导组所对应的终端发送包括指示信息的随机接入响应消息: M个子随机接入 前导组中存在与该子随机接入前导组对应的 TA相同的子随机接入前导组。 即本实施 例中接收到第一随机接入响应消息的终端所对应的第一子随机接入前导组满足如下条 件: M个子随机接入前导组中存在与第一子随机接入前导组对应的 TA相同的子随机 接入前导组。 可以理解的是, 第一子随机接入前导组对应的 TA为第一子随机接入前 导组中的子随机接入前导所对应的 TA。 Based on this, if the M random access response messages generated by the network device all include indication information, the random access preamble is actually sent to the network device and the corresponding sub-random access preamble group is not connected to other sub-random access preambles. The terminal that collides in the preamble group also needs to re-initiate random access using the random access preamble indicated in the instruction information. In order to further improve the efficiency of random access, the network device in this embodiment can access the sub-random access that meets the following conditions: The terminal corresponding to the preamble group sends a random access response message including indication information: There is a sub random access preamble group that is the same as the TA corresponding to the sub random access preamble group in the M sub random access preamble groups. That is, the first random access preamble sub-group corresponding to the terminal receiving the first random access response message in this embodiment satisfies the following conditions: There are M sub-random access preamble groups corresponding to the first sub-random access preamble group The same sub-TA randomly accesses the preamble group. It can be understood that the TA corresponding to the first random access sub-preamble group is the TA corresponding to the random access sub-preamble in the first random access sub-group.
此外, 网络设备可向所对应的子随机接入前导组未与其它子随机接入前导组发生 碰撞的终端发送包括上行资源信息的随机接入响应消息, 即本实施例中网络设备可向 满足如下条件的子随机接入前导组所对应的终端发送包括上行资源信息的随机接入响 应消息: M个子随机接入前导组中不存在与该子随机接入前导组对应的 TA相同的子 随机接入前导组。 可以理解的是, 只有包括上行资源信息的随机接入响应消息才是当 前的随机接入过程中有效的随机接入响应消息, 即终端设备可以根据包括上行资源信 息的随机接入响应消息, 在上行资源信息指示的上行资源上发送基于调度的传输信息 (可为目前的基于竞争的随机接入中的 MSG3, 比如 RRC连接建立请求) , 以完成随 机接入。 In addition, the network device may send a random access response message including uplink resource information to the terminal whose corresponding sub-random access preamble group does not collide with other sub-random access preamble groups, that is, in this embodiment, the network device can The terminal corresponding to the sub-random access preamble group under the following conditions sends a random access response message including uplink resource information: There is no sub-random that is the same as the TA corresponding to the sub-random access preamble group in the M sub-random access preamble groups Access the preamble group. It can be understood that only the random access response message that includes the uplink resource information is the effective random access response message in the current random access process, that is, the terminal device can use the random access response message that includes the uplink resource information to The scheduling-based transmission information (which may be MSG3 in current contention-based random access, such as an RRC connection establishment request) is sent on the uplink resource indicated by the uplink resource information to complete the random access.
步骤 S203、 终端根据第一随机接入响应消息, 确定第二随机接入前导。 具体地, 终端在接收到网络设备发送的第一随机接入响应消息后, 根据第一随机 接入响应消息中的指示信息, 确定第二随机接入前导。 Step S203: The terminal determines a second random access preamble according to the first random access response message. Specifically, after receiving the first random access response message sent by the network device, the terminal determines the second random access preamble according to the indication information in the first random access response message.
步骤 S204、 终端向网络设备发送第二随机接入前导。 Step S204: The terminal sends a second random access preamble to the network device.
具体地,终端在确定了第二随机接入前导后,向网络设备发送第二随机接入前导, 以重新发起随机接入。 Specifically, after determining the second random access preamble, the terminal sends the second random access preamble to the network device to re-initiate random access.
综上所述, 本实施例的方法通过向网络设备发送由 S个子随机接入前导生成的随 机接入前导, 使得多个终端在在同一 PRACH资源上随机接入时发送相同的随机接入 前导的概率大大降低, 提高了终端随机接入成功的概率。 通过从网络设备接收包括指 示随机接入前导的随机接入响应消息, 降低了根据 S个子随机接入前导生成随机接入 前导产生的虚警造成的物理资源浪费, 同时也提高了终端随机接入成功的概率。 如图 2所示的实施例中所述, 在步骤 S202“网络设备在向终端发送第一随机接入 响应消息” 之前, 网络设备会根据在第一 PRACH资源上接收到的多个随机接入前导 获取 M个子随机接入前导, 并对 M个子随机接入前导做出随机接入响应, 生成 M个 随机接入响应消息, M个随机接入响应消息中包括第一随机接入信息。 下面采用具体 的实施例对网络设备根据在第一 PRACH资源上接收到的多个随机接入前导获取 M个 子随机接入前导的过程进行详细说明。图 3为本申请实施例提供的通信方法的流程图, 参见图 3 , 本实施例的方法包括: In summary, the method in this embodiment sends the random access preamble generated by S sub-random access preambles to the network device, so that multiple terminals send the same random access preamble when randomly accessing on the same PRACH resource. The probability is greatly reduced, and the probability of successful random access of the terminal is improved. By receiving the random access response message including the random access preamble indicating the random access preamble from the network device, the waste of physical resources caused by the false alarm generated by generating the random access preamble based on the S random access preambles is reduced, and the random access of the terminal is also improved. Probability of success. As described in the embodiment shown in FIG. 2, before step S202 "the network device sends the first random access response message to the terminal", the network device will perform a response based on the multiple random access messages received on the first PRACH resource. The preamble obtains M sub-random access preambles, makes random access responses to the M sub-random access preambles, and generates M random access response messages, where the M random access response messages include the first random access information. The following uses a specific embodiment to describe in detail the process in which the network device obtains M sub-random access preambles according to the multiple random access preambles received on the first PRACH resource. FIG. 3 is a flowchart of a communication method provided by an embodiment of this application. Referring to FIG. 3, the method in this embodiment includes:
步骤 S301、 网络设备根据在第一 PRACH资源上接收到的随机接入前导, 确定多 个预选子随机接入前导组, 预选子随机接入前导组包括的子随机接入前导的总能量大 于第一预设能量, 多个预选子随机接入前导组包括第一子随机接入前导组, 预选子随 机接入前导组包括的子随机接入前导的数目大于等于 W且小于等于 N。 Step S301: The network device determines a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource. The total energy of the sub-random access preambles included in the preselected sub-random access preamble group is greater than that of the first PRACH resource. For a preset energy, the plurality of preselected sub-random access preamble groups include a first sub-random access preamble group, and the number of sub-random access preambles included in the preselected sub-random access preamble group is greater than or equal to W and less than or equal to N.
具体地, 本实施例中的 W的含义与图 2所示的实施例中的 W的含义相同, 此处 不再赘述。 网络设备在第一 PRACH资源上接收到的随机接入前导包括第一随机接入 前导, 本实施例中的第一随机接入前导与图 2所示的实施例中的第一随机接入前导相 同。 Specifically, the meaning of W in this embodiment is the same as the meaning of W in the embodiment shown in FIG. 2, and will not be repeated here. The random access preamble received by the network device on the first PRACH resource includes the first random access preamble. The first random access preamble in this embodiment is the same as the first random access preamble in the embodiment shown in FIG. 2 the same.
网络设备获取多个预选子随机接入前导组可通过如下但不限于如下两种方式得到: 在第一种方式中, 网络设备根据在第一 PRACH资源上接收到的随机接入前导, 确定多个预选子随机接入前导组, 包括: The network equipment can obtain multiple preselected sub-random access preamble groups in the following but not limited to the following two ways: In the first way, the network equipment determines the number of random access preambles based on the random access preamble received on the first PRACH resource. The preselectors randomly access the preamble group, including:
al、 网络设备根据在第一 PRACH资源上接收到的随机接入前导, 检测子随机接 入前导, 并确定检测到的能量大于第二预设能量的子随机接入前导为检测到的子随机 接入前导。 al. The network device detects the sub-random access preamble according to the random access preamble received on the first PRACH resource, and determines that the detected sub-random access preamble with energy greater than the second preset energy is the detected sub-random Access preamble.
具体地, 网络设备是将根序列进行移位生成子随机接入前导后, 与接收到的随机 接入前导所对应的子随机接入前导进行相关性检测来检测子随机接入前导的。 相关性 检测的方法可以采用本领域的己有技术, 此处不再赘述。 Specifically, the network device shifts the root sequence to generate the sub-random access preamble, and performs correlation detection with the sub-random access preamble corresponding to the received random access preamble to detect the sub-random access preamble. The method of correlation detection can adopt the existing technology in this field, which will not be repeated here.
若根序列进行移位后生成的子随机接入前导与在某个时间窗的某个位置接收到的 随机接入前导所对应的子随机接入前导进行相关性检测得到的第一能量大于第二预设 能量时,则该根序列进行移位后生成的子随机接入前导即为检测到的子随机接入前导。 If the sub-random access preamble generated after the root sequence is shifted and the sub-random access preamble corresponding to the random access preamble received at a certain position in a certain time window, the first energy obtained by correlation detection is greater than the first energy 2. When the energy is preset, the sub-random access preamble generated after the root sequence is shifted is the detected sub-random access preamble.
本领域技术人员应当明白, 网络设备会在每个需要检测的时间窗的每个位置检测 子随机接入前导。 每个需要检测的时间窗的每个位置对应一个 TA。 Those skilled in the art should understand that the network device will detect each position in each time window that needs to be detected. Sub-random access preamble. Each position of each time window that needs to be detected corresponds to a TA.
a2、 网络设备根据第一预设能量、 检测到的子随机接入前导以及检测到的子随机 接入前导的能量和对应的 TA, 确定多个预选子随机接入前导组。 a2. The network device determines a plurality of preselected sub-random access preamble groups according to the first preset energy, the detected sub-random access preamble, the energy of the detected sub-random access preamble, and the corresponding TA.
具体地, 在 L个随机接入前导集合中的随机接入前导集合包括的子随机前导的数 目为 N, 网络设备获取的预选子随机接入前导组包括的子随机接入前导的数目需大于 等于 W且小于等于 N。 Specifically, the number of sub-random preambles included in the random access preamble set in the L random access preamble sets is N, and the number of sub-random access preambles included in the preselected sub-random access preamble set obtained by the network device needs to be greater than Equal to W and less than or equal to N.
其中, 在生成第一终端集合中的终端的随机接入前导的子随机接入前导的数均目 为 S的情况下, 每个预选子随机接入前导组中包括的子随机接入前导的数目均为 S。 此处的第一终端集合的含义同图 2所示的实施例中的第一终端集合。 Wherein, when the number of random access preambles of the random access preambles of the terminals in the first terminal set is all set to S, the number of the random access preambles included in each preselected random access preamble group The numbers are all S. The meaning of the first terminal set here is the same as the first terminal set in the embodiment shown in FIG. 2.
具体地, 若在第一时间窗的第一位置检测到 d个子随机接入前导, 该 d个子随机 接入前导均对应第一 TA, 依次将 d个子随机接入前导中 W, , N个子随机接入前导进 行组合, 得到 Cf + + Cf个子随机接入前导组, 将 Cf + + Cd #个子随机接入前导组中 包括的子随机接入前导的总能量大于第一预设能量的组确定为第一 TA对应的预选子 随机接入前导组。 对于需要进行检测的每个时间窗的每个位置均按照上述操作, 最终 得到多个 TA各自对应的预选子随机接入前导组。 Specifically, if d sub-random access preambles are detected at the first position of the first time window, the d sub-random access preambles all correspond to the first TA, and W,, and N sub-random access preambles are sequentially selected from the d sub-random access preambles. The access preambles are combined to obtain Cf + + Cf sub-random access preamble groups, and the total energy of the sub-random access preambles included in the Cf + + C d # sub-random access preamble groups is greater than the first preset energy group It is determined as the preselector random access preamble group corresponding to the first TA. The above operations are followed for each position of each time window that needs to be detected, and finally a preselected random access preamble group corresponding to multiple TAs is obtained.
进一步地, 若至少两个 TA各自对应的预选子随机接入前导组中存在相同的第一 预选子随机接入前导组, 则最终得到的多个预选子随机接入前导组中存在至少两个第 一预选子随机接入前导组。 即在至少两个 TA各自对应的预选子随机接入前导组中存 在相同的预选子随机接入前导组的情况下, 最终得到的多个预选子随机接入前导组中 包括相同的子随机接入前导组。 Further, if the same first preselector random access preamble group exists in the preselector random access preamble groups corresponding to each of the at least two TAs, at least two preselector random access preamble groups are finally obtained The first preselector randomly accesses the preamble group. That is, in the case that the same preselector random access preamble group exists in the preselector random access preamble groups corresponding to each of at least two TAs, the finally obtained multiple preselector random access preamble groups include the same random access preamble group. Into the leading group.
在第二种方式中, 网络设备根据在第一 PRACH资源上接收到的随机接入前导, 确定多个预选子随机接入前导组, 包括: In the second manner, the network device determines a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, including:
b l、 网络设备根据在第一 PRACH资源上接收到的随机接入前导, 获取需要检测 的每个时间窗的每个位置所对应的全部子随机接入前导各自的能量, 每个时间窗的每 个位置对应一个 TA。 bl. According to the random access preamble received on the first PRACH resource, the network device obtains the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each time window Each position corresponds to one TA.
具体地, 本实施中的全部子随机接入前导是指 L个随机接入前导集合中包括的去 除重复后的所有子随机接入前导, 全部子随机接入前导的数目为 c。 其中, c可等于 64-Ncf。 L个随机接入前导集合的含义同图 2所示的实施例中的含义。 Specifically, all sub-random access preambles in this embodiment refer to all sub-random access preambles after de-duplication included in the set of L random access preambles, and the number of all sub-random access preambles is c. Among them, c can be equal to 64-Ncf. The meaning of the L random access preamble sets is the same as that in the embodiment shown in FIG. 2.
其中,检测子随机接入前导的能量的方法参见 al中的阐述,本实施例中不再赘述。 b2、 网络设备将全部子随机接入前导中的子随机接入前导进行组合, 得到多个备 选子随机接入前导组, 备选子随机接入前导组包括的子随机接入前导组的数目大于等 于 W小于等于 N。 For the method of detecting the energy of the random access preamble, refer to the description in al, which will not be repeated in this embodiment. b2. The network device combines the sub-random access preambles in all the sub-random access preambles to obtain multiple candidate sub-random access preamble groups. The candidate sub-random access preamble groups include the sub-random access preamble groups The number is greater than or equal to W and less than or equal to N.
具体地,将 c个子随机接入前导中的 W, N个子随机接入前导组合后,得到 ( Cf +… + Cf ) 个备选子随机接入前导组。 Specifically, after combining W and N random access preambles in c random access preambles, (Cf +... + Cf) candidate random access preamble groups are obtained.
b3、 对于需要检测的各时间窗中的任意一个第一时间窗的任意一个第一位置, 网 络设备根据第一时间窗的第一位置所对应的全部子随机接入前导各自的能量, 确定多 个备选子随机接入前导组中包括的子随机接入前导的总能量大于第一预设能量的备选 子随机接入前导组为与第一 TA对应的预选子随机接入前导组, 其中, 第一 TA为与 第一时间窗的第一位置对应的 TA。也就是说, 对于需要检测的每个时间窗的每个位置 均需要进行 b3的操作, 得到每个时间窗的每个位置对应的 TA所对应的预选子随机接 入前导组。 b3. For any first position of any first time window in each time window that needs to be detected, the network device determines the amount of energy according to the respective energy of all sub-random access preambles corresponding to the first position of the first time window. The total energy of the random access preambles included in the random access preamble candidate group is greater than the first preset energy, and the random access preamble group for the random access candidates corresponds to the first TA, and Wherein, the first TA is the TA corresponding to the first position of the first time window. In other words, for each position of each time window that needs to be detected Both operations of b3 need to be performed to obtain the preselector random access preamble group corresponding to the TA corresponding to each position of each time window.
具体地, 第一时间窗的第一位置所对应的子随机接入前导能量为网络设备在第一 时间窗的第一位置处进行相关性检测后, 得到的子随机接入前导的能量。 Specifically, the energy of the sub-random access preamble corresponding to the first position of the first time window is the energy of the sub-random access preamble obtained after the network device performs correlation detection at the first position of the first time window.
网络设备根据第一时间窗的第一位置所对应的全部子随机接入前导各自的能量, 确定 ( Cf + + Cf ) 个备选子随机接入前导组中子随机接入前导的总能量大于第一预 设能量的备选子随机接入前导组为第一时间窗的第一位置对应的第一 TA所对应的预 选子随机接入前导组。 按照该方法, 得到需要检测的时间窗中的每个时间窗的每个位 置对应的 TA所对应的预选子随机接入前导组,最终得到多个预选子随机接入前导组。 According to the respective energy of all sub-random access preambles corresponding to the first position of the first time window, the network device determines (Cf + + Cf) candidate sub-random access preamble groups that the total energy of the sub-random access preambles is greater than The candidate random access preamble group of the first preset energy is the preselected random access preamble group corresponding to the first TA corresponding to the first position of the first time window. According to this method, the preselector random access preamble group corresponding to each position of each time window in the time window to be detected is obtained, and finally multiple preselector random access preamble groups are obtained.
同样地, 若至少两个 TA各自对应的预选子随机接入前导组中存在相同的第一预 选子随机接入前导组, 则最终得到的多个预选子随机接入前导组中存在至少两个第一 预选子随机接入前导组。 即在至少两个 TA各自对应的预选子随机接入前导组中存在 相同的预选子随机接入前导组时, 最终得到的多个预选子随机接入前导组中包括相同 的子随机接入前导组。 Similarly, if the same first preselector random access preamble group exists in the preselector random access preamble groups respectively corresponding to at least two TAs, at least two preselector random access preamble groups are finally obtained The first preselector randomly accesses the preamble group. That is, when the same preselector random access preamble group exists in the preselector random access preamble groups respectively corresponding to at least two TAs, the finally obtained multiple preselector random access preamble groups include the same sub random access preamble group.
步骤 S302、 网络设备根据多个预选子随机接入前导组, 得到 M个子随机接入前 导组。 Step S302: The network device randomly accesses the preamble group according to the multiple preselected sub-random access preamble groups to obtain M sub-random access preamble groups.
具体地, 对于多个预选子随机接入前导组对应的多个 TA中的第一 TA: Specifically, for the first TA of the multiple TAs corresponding to the multiple preselector random access preamble groups:
cl、 对于与第一 TA对应的第一待选子随机接入前导组: 网络设备获取第一待选 子随机接入前导组中包括的各子随机接入前导在第一待选子随机接入前导组中出现的 次数, 将出现次数相同的子随机接入前导划分为一组, 得到至少一个第二待选子随机 接入前导组; cl. For the first candidate sub-random access preamble group corresponding to the first TA: the network device acquires each sub-random access preamble included in the first candidate-sub-random access preamble group to access the first candidate sub-random access preamble group. Entering the number of occurrences in the preamble group, dividing sub-random access preambles with the same number of occurrences into one group to obtain at least one second candidate random access preamble group;
c2、 网络设备将包括的子随机接入前导的数目小于预设数目的各第二待选子随机 接入前导组中的子随机接入前导进行组合, 得到与第一 TA对应的目标子随机接入前 导组。 c2. The network device combines the sub-random access preambles in each second candidate sub-random access preamble group whose number of included sub-random access preambles is less than the preset number to obtain the target sub-random access preamble corresponding to the first TA Access the preamble group.
若各第二待选子随机接入前导组中的子随机接入前导的总数目为 e, 则将 e个子 随机接入前导中的 W,〜N个子随机接入前导组合后, 得到 ( Cf + + Cf )个子随机接 入前导组, ( Cf + + Cf ) 个子随机接入前导组即为第一 TA对应的目标子随机接入 前导组。 If the total number of sub-random access preambles in each second candidate sub-random access preamble group is e, then the e sub-random access preambles are combined with W, ~N sub-random access preambles to obtain (Cf + + Cf) random access preamble subgroups, (Cf + + Cf) random access preamble subgroups are the target random access preamble groups corresponding to the first TA.
此外,在包括第一随机接入响应消息的 PDU的头部包括的是子随机接入前导组的 标识时, c2具体还可为: 将包括的子随机接入前导的数目小于预设数目的各第二待选 子随机接入前导组中的子随机接入前导进行组合, 得到至少一个组, 将至少一个组中 包括的子随机接入前导的总能量大于第一预设能量的组作为第一 TA对应的目标子随 机接入前导组, 此时, M个子随机接入前导组中的每个子随机接入前导组包括的子随 机接入前导的总能量均大于第一预设能量。 可选地, 预设数目可为 5。 In addition, when the header of the PDU including the first random access response message includes the identifier of the sub-random access preamble group, c2 may specifically be: the number of sub-random access preambles included is smaller than the preset number The sub-random access preambles in each second candidate sub-random access preamble group are combined to obtain at least one group, and the group whose total energy of the sub-random access preambles included in the at least one group is greater than the first preset energy is taken as The target sub-random access preamble group corresponding to the first TA, at this time, the total energy of the sub-random access preamble included in each sub-random access preamble group in the M sub-random access preamble groups is greater than the first preset energy. Optionally, the preset number may be 5.
c3、 网络设备去除该多个 TA各自对应的目标子随机接入前导组中重复的子随机 接入前导组, 得到 M个子随机接入前导组。 c3. The network device removes the repeated sub-random access preamble groups in the target sub-random access preamble groups corresponding to each of the multiple TAs to obtain M sub-random access preamble groups.
具体地,对于多个预选子随机接入前导组对应的多个 TA中的每个 TA,均进行 cl 至 c3中的操作, 可以得到多个预选子随机接入前导组对应的多个 TA中每个 TA对应 的目标子随机接入前导组, 将各 TA对应的目标子随机接入前导组去除重复的子随机 接入前导组后, 得到 M个子随机接入前导组。 Specifically, for each TA of the multiple TAs corresponding to the multiple preselector random access preamble groups, the operations in cl to c3 are performed, and the multiple TAs corresponding to the multiple preselector random access preamble groups can be obtained The target child corresponding to each TA randomly accesses the preamble group, and the target child corresponding to each TA randomly accesses the preamble group to remove the repeated sub-random After accessing the preamble group, M random access preamble groups are obtained.
下面结合具体的示例说明 M个子随机接入前导组的生成过程。 The following describes the process of generating M sub-random access preamble groups with specific examples.
示例性地, L个随机接入前导集合中的随机接入前导集合包括的子随机接入前导 的数目为 2, 第一终端集合中的各终端发送的随机接入前导均是根据 2个子随机接入 前导生成的, 即 N=S=W=P=2, 那么网络设备在获取 M个子随机接入前导组时, 获取 的预选子随机接入前导组以及最终得到的 M个子随机接入前导组中的子随机接入前导 组包括的子随机接入前导的数目也应为 2。 Exemplarily, the number of random access preambles included in the random access preamble set in the L random access preamble sets is 2, and the random access preambles sent by each terminal in the first terminal set are all based on the 2 random access preambles. The access preamble is generated, that is, N=S=W=P=2, then when the network device obtains M sub-random access preamble groups, the obtained pre-selected sub-random access preamble groups and the finally obtained M sub-random access preambles The number of sub-random access preambles included in the sub-random access preamble group should also be 2.
至少存在终端 0在第一 PRACH资源上发送的随机接入前导由随机接入前导集合 {A,B}中的子随机接入前导 A和 B生成, 终端 1在第一 PRACH资源上发送的随机接 入前导由随机接入前导集合{A,C}中的子随机接入前导 A和 C生成, 此时, 网络设备 获取到的预选子随机接入前导可能为如下但不限于如下的三种情形: At least the random access preamble sent by terminal 0 on the first PRACH resource is generated by sub-random access preambles A and B in the random access preamble set {A, B}, and the random access preamble sent by terminal 1 on the first PRACH resource The access preamble is generated by the sub-random access preambles A and C in the random access preamble set {A, C}. At this time, the pre-selected sub-random access preambles obtained by the network device may be the following but not limited to the following three types Situation:
图 10为本申请实施例提供的子随机接入前导能量示意图一, 图 1 1为本申请实施 例提供的子随机接入前导能量示意图二,图 12为本申请实施例提供的子随机接入前导 能量示意图三。 Fig. 10 is a schematic diagram 1 of sub-random access preamble energy provided by an embodiment of this application, Fig. 11 is a schematic diagram 2 of sub-random access preamble energy provided by an embodiment of this application, and Fig. 12 is a sub-random access preamble provided by an embodiment of this application Leading energy diagram three.
第一种情形: 以网络设备获取 TA1对应的丨 A+BUA+q和 |B+q这 3个预选子随 机接入前导组为例说明该情形, TA1为第一时间窗的第一位置对应的 TA, 第一时间 窗为需要检测的时间窗中的任意一个时间窗, 第一位置为第一时间窗中的任意一个位 置。 The first scenario: Take the network device acquiring the three preselected random access preamble groups corresponding to TA1 丨A+BUA+q and |B+q as an example to illustrate this scenario, TA1 corresponds to the first position of the first time window For TA, the first time window is any time window in the time window that needs to be detected, and the first position is any position in the first time window.
具体地, 在按照 al〜 a2中的方法获取多个预选子随机接入前导组的情况下, 网络 设备根据接收到的终端 0和终端 1发送的子随机接入前导, 在第一时间窗的第一位置 处检测到子随机接入前导 A的能量大于第二预设能量小于第一预设能量, 子随机接入 前导 B的能量大于第二预设能量小于第一预设能量, 子随机接入前导 C的能量大于第 二预设能量小于第一预设能量, 如图 10所示。 此时, 网络设备确定检测到了子随机接 入前导 A、 B和 C。 Specifically, in the case of acquiring a plurality of preselected sub-random access preamble groups according to the method in a1~a2, the network device according to the received sub-random access preambles sent by terminal 0 and terminal 1, in the first time window It is detected at the first position that the energy of the sub-random access preamble A is greater than the second preset energy and less than the first preset energy, the energy of the sub-random access preamble B is greater than the second preset energy and less than the first preset energy, and the sub-random The energy of the access preamble C is greater than the second preset energy and less than the first preset energy, as shown in FIG. 10. At this time, the network device determines that the sub-random access preambles A, B, and C are detected.
网络设备将 A、 B和 C两两组合, 得到 |A+B[彳 A+q和丨 B+Cp个子随机接入前 导组, 计算获知子随机接入前导 A的能量和子随机接入前导 B的能量之和大于第一预 设能量,子随机接入前导 A的能量和子随机接入前导 C的能量之和大于第一预设能量, 子随机接入前导 B的能量和子随机接入前导 C的能量之和大于第一预设能量, 网络设 备确定丨 A+B UA+q和丨 B+q为 TA1对应的 3个预选子随机接入前导组。 The network equipment combines A, B and C in pairs to obtain |A+B [彳A+q and 丨B+Cp sub-random access preamble group, calculate and learn the energy of sub-random access preamble A and sub-random access preamble B The sum of the energy of the sub-random access preamble A and the energy of the sub-random access preamble C is greater than the first preset energy, the energy of the sub-random access preamble B and the sub-random access preamble C The sum of the energy of is greater than the first preset energy, and the network device determines that A+B UA+q and B+q are the three preselector random access preamble groups corresponding to TA1.
在按照 b l〜 b3中的方法获取多个预选子随机接入前导组的情况下, 网络设备根据 接收到的终端 0和终端 1发送的子随机接入前导, 将如上的 c个子随机接入前导两两 组合, 得到 C;2个子随机接入前导组, 获取在第一时间窗的第一位置上 c个子随机接入 前导各自的能量, 根据在笫一时间窗的笫一位置上 c个子随机接入前导各自的能量各 自的能量, 确定 C;2个子随机接入前导组中子随机接入前导的总能量之和大于第一预设 能量的组为{A+B},{A+C}和{B+C}, 网络设备确定{A+B},{A+C}和{B+C}为 TA1对应 的 3个预选子随机接入前导组。 In the case of acquiring a plurality of preselected sub-random access preamble groups according to the method in b1 to b3, the network device will receive the above c sub-random access preambles according to the received sub-random access preambles sent by terminal 0 and terminal 1. Combine two by two to obtain C; 2 sub-random access preamble groups, obtain the respective energy of c sub-random access preambles at the first position of the first time window, according to c random access preambles at the first position of the first time window The energy of the respective energy of the access preambles is determined, and C is determined; the total energy of the two sub-random access preamble groups neutron random access preamble is greater than the first preset energy group is {A+B}, {A+C } And {B+C}, the network equipment determines that {A+B}, {A+C} and {B+C} are the three preselectors corresponding to TA1 to randomly access the preamble group.
第二种情形,以网络设备获取 TA1对应的预选子随机接入前导组为例说明该情形, TA1与第一时间窗的第一位置对应的 TA, 第一时间窗为需要检测的时间窗中的任意 一个时间窗, 第一位置为第一时间窗中的任意一个位置。 具体地, 在按照 al〜 a2中的方法获取的多个预选子随机接入前导组的情况下, 网 络设备根据接收到的终端 0和终端 1发送的子随机接入前导, 在第一时间窗的第一位 置处检测到子随机接入前导 A的能量大于第一预设能量, 子随机接入前导 B的能量大 于第二预设能量小于第一预设能量, 子随机接入前导 C的能量大于第二预设能量小于 第一预设能量, 检测到了子随机接入前导 D的能量大于第二预设能量小于第一预设能 量, 子随机接入前导 E的能量大于第二预设能量小于第一预设能量, 如图 1 1所示。此 时, 网络设备确定检测到了子随机接入前导 A、 B、 C、 D和 E, 其中 D和 E为干扰或 噪声。 In the second case, the network device obtains the preselected sub-random access preamble group corresponding to TA1 as an example to illustrate this situation. TA1 corresponds to the TA corresponding to the first position of the first time window, and the first time window is the time window to be detected For any time window of, the first position is any position in the first time window. Specifically, in the case of a plurality of preselected sub-random access preamble groups acquired according to the method in a1~a2, the network device according to the received sub-random access preambles sent by terminal 0 and terminal 1, in the first time window It is detected at the first position that the energy of the sub-random access preamble A is greater than the first preset energy, the energy of the sub-random access preamble B is greater than the second preset energy and less than the first preset energy, and the energy of the sub-random access preamble C is The energy is greater than the second preset energy and less than the first preset energy, it is detected that the energy of the sub-random access preamble D is greater than the second preset energy and less than the first preset energy, and the energy of the sub-random access preamble E is greater than the second preset The energy is less than the first preset energy, as shown in Figure 11. At this time, the network device determines that the sub-random access preambles A, B, C, D, and E are detected, where D and E are interference or noise.
网络设备将 A、 B、 C、 D和 E两两组合, 得到{A,B}、 {A,C}、 {A,D}、 {A,E}、 {B,C}, {B,D}、 {B,E}, {C,D}、 {C,E}和 p,E}这 10个子随机接入前导组, 计算获知 {A,B}、 {A,C}, {A,D}、 {A,E}, {B,C}, {B,D}, {C,D}、 和 p,E}中的子随机接入前 导的能量大于第一预设能量, 网络设备确定{A,B}、 {A,C}、 {A,D}, {A,E}, {B,C}, {B,D}, {C,D}, 和 p,E丨均为预选子随机接入前导组。 The network device combines A, B, C, D and E in pairs to obtain {A,B}, {A,C}, {A,D}, {A,E}, {B,C}, {B, D}, {B,E}, {C,D}, {C,E} and p,E} these 10 sub-groups are randomly connected to the leading group, and the calculation knows that {A,B}, {A,C}, {A ,D}, {A,E}, {B,C}, {B,D}, {C,D}, and p,E}The energy of the preamble is greater than the first preset energy. Equipment determination {A,B}, {A,C}, {A,D}, {A,E}, {B,C}, }B,D}, {C,D}, and p,E丨all Randomly access the preamble group for the preselector.
在按照 b l〜 b3中的方法获取多个预选子随机接入前导组的情况下, 网络设备根据 接收到的终端 0和终端 1发送的子随机接入前导, 将如上的 c个子随机接入前导两两 组合, 得到 Q2个子随机接入前导组, 获取在第一时间窗的第一位置上 c个子随机接入 前导各自的能量, 其中, 在第一时间窗的第一位置处子随机接入前导 A的能量大于第 一预设能量, 其余的 c-1个子随机接入前导能量均小于第一预设能量。 接着, 根据在 第一时间窗的第一位置上 c个子随机接入前导各自的能量各自的能量, 确定 Q2个子随 机接入前导组中子随机接入前导的总能量之和大于第一预设能量的组为{A,B}、 {A,C}, {A,D}、 {A,E}、 {B,C}、 {B,D}、 {C,D}、 和{D,E}、 {A+XJ { A+X;}, ,{ A+Xc.5}, 网络设备确定{A, B}、 {A,C}、 {A,D}、 {A,E}, {B,C}, {B,D}, {C,D}、 和{D,E}、 {A+XG, ,{A+X,}, · · · ,{A+Xc.5}为 TA1对应的预选子随机接入前导组。其中, 1 , ( c-5 ) , X,为 c个子随机接入前导中除了 A、 B,、 C、 D、 E之外的第 z个子随机接入 前导 In the case of acquiring a plurality of preselected sub-random access preamble groups according to the method in b1 to b3, the network device will receive the above c sub-random access preambles according to the received sub-random access preambles sent by terminal 0 and terminal 1. Combine them in pairs to obtain Q 2 sub-random access preamble groups, and obtain the respective energy of c sub-random access preambles at the first position of the first time window, where the random access is performed at the first position of the first time window The energy of the preamble A is greater than the first preset energy, and the remaining c-1 sub-random access preamble energies are all less than the first preset energy. Then, according to the respective energy of the respective energy of the c sub-random access preambles at the first position of the first time window, it is determined that the sum of the total energy of the sub-random access preambles in the Q 2 sub-random access preamble group is greater than the first preamble. Let the groups of energy be {A,B}, {A,C}, {A,D}, {A,E}, {B,C}, }B,D}, {C,D}, and {D ,E}, {A+XJ {A+X ; }, ,{A+X c.5 }, network equipment determination {A, B}, {A,C}, {A,D}, {A,E }, {B,C}, {B,D}, {C,D}, and {D,E}, {A+XG,, {A+X,}, · · · ,{A+X c. 5 } is the preselector corresponding to TA1 to randomly access the preamble group. Among them, 1, (c-5), X, is the z-th sub-random access preamble of the c sub-random access preambles except A, B,, C, D, E
第三种情形: 下面以网络设备获取 TA1对应的预选子随机接入前导组为例说明该 情形, TA1与第一时间窗的第一位置对应的 TA, 第一时间窗为需要检测的时间窗中 的任意一个时间窗, 第一位置为第一时间窗中的任意一个位置。 The third situation: The following takes the network device to obtain the preselected sub-random access preamble group corresponding to TA1 as an example to illustrate this situation, TA1 corresponds to the TA corresponding to the first position of the first time window, and the first time window is the time window to be detected For any time window in, the first position is any position in the first time window.
具体地, 在按照 al〜 a2中的方法获取的多个预选子随机接入前导组的情况下, 网 络设备根据接收到的终端 0和终端 1发送的子随机接入前导, 在第一时间窗的第一位 置处检测到子随机接入前导 A的能量大于第一预设能量, 子随机接入前导 B的能量大 于第一预设能量, 子随机接入前导 C的能量大于第一预设能量, 子随机接入前导 D的 能量大于笫二预设能量小于笫一预设能量, 子随机接入前导 E的能量大于笫二预设能 量小于第一预设能量,如图 12所示。此时,网络设备确定检测到了子随机接入前导 A、 Specifically, in the case of a plurality of preselected sub-random access preamble groups acquired according to the method in a1~a2, the network device according to the received sub-random access preambles sent by terminal 0 and terminal 1, in the first time window It is detected at the first position that the energy of the sub-random access preamble A is greater than the first preset energy, the energy of the sub-random access preamble B is greater than the first preset energy, and the energy of the sub-random access preamble C is greater than the first preset Energy, the energy of the sub-random access preamble D is greater than the second preset energy and less than the first preset energy, and the energy of the sub-random access preamble E is greater than the second preset energy and less than the first preset energy, as shown in FIG. 12. At this time, the network equipment determines that the sub-random access preamble A,
B、 C、 D和 E, 其中 D和 E为干扰或噪声。 B, C, D and E, where D and E are interference or noise.
网络设备将 A、 B、 C、 D和 E两两组合, 得到{A,B}、 {A,C}、 {A,D}、 {A,E}、 {B,C}, {B,D}、 {B,E}, {C,D}、 {C,E}和 p,E}这 10个子随机接入前导组, 计算获知 {A,B}、 {A,C}, {A,D}、 {A,E}, {B,C}, {B,D}, {C,D}、 和 p,E}中的子随机接入前 导的能量大于第一预设能量, 网络设备确定{A,B}、 {A,C}、 {A,D}, {A,E}, {B,C}, {B,D} , {C,D} , 和 p,E丨均为预选子随机接入前导组。 The network equipment combines A, B, C, D and E in pairs to obtain {A,B}, {A,C}, {A,D}, {A,E}, {B,C}, {B, D}, {B,E}, {C,D}, {C,E} and p,E} these 10 sub-groups are randomly connected to the leading group, and the calculation knows that {A,B}, {A,C}, {A ,D}, {A,E}, {B,C}, {B,D}, {C,D}, and p,E}The energy of the preamble is greater than the first preset energy. Equipment determination {A,B}, {A,C}, {A,D}, {A,E}, {B,C}, {B,D}, {C,D}, and p, E丨 are all preselectors randomly access the preamble group.
在按照 bl〜 b3中的方法获取多个预选子随机接入前导组的情况下, 网络设备根据 接收到的终端 0和终端 1发送的子随机接入前导, 将如上的 c个子随机接入前导两两 组合, 得到 Q2个子随机接入前导组, 获取在第一时间窗的第一位置上 c个子随机接入 前导各自的能量, 其中, 在第一时间窗的第一位置处子随机接入前导 A、 B、 C的能量 大于第一预设能量, 其余的 c-3个子随机接入前导能量均小于第一预设能量。 接着, 根据在第一时间窗的第一位置上 c个子随机接入前导各自的能量各自的能量, 确定 Q2 个子随机接入前导组中子随机接入前导的总能量之和大于第一预设能量的组为 {A,B}、
Figure imgf000023_0001
In the case of acquiring a plurality of preselected sub-random access preamble groups according to the method in b1 to b3, the network device will receive the above c sub-random access preambles according to the received sub-random access preambles sent by terminal 0 and terminal 1. Combine them in pairs to obtain Q 2 sub-random access preamble groups, and obtain the respective energy of c sub-random access preambles at the first position of the first time window, where the random access is performed at the first position of the first time window The energy of the preambles A, B, and C is greater than the first preset energy, and the remaining c-3 sub-random access preamble energies are all less than the first preset energy. Then, according to the respective energy of the respective energy of the c sub-random access preambles at the first position of the first time window, it is determined that the sum of the total energy of the sub-random access preambles in the Q 2 sub-random access preamble group is greater than the first preamble. Let the group of energy be {A,B},
Figure imgf000023_0001
网络设备确定 { {A+XG, , {A+X, {A+Xc.5} } , { {B+XG, , {B+X;},..., {B+Xc.5} } , UC+XJ, , {C+X, },· · ·, {C+Xc-5} }为 TA1对应的预选子随机接入前导组。其中, z=l, ( c-5 ) , X,为 c个子随机接入前导中除了 A、 B,、 C、 D、 E之外的第 z个子随机接入 前导。 Network equipment determination {{A+XG ,, {A+X, {A+X c.5 }}, {{B+XG ,, {B+X ; },..., {B+X c.5 }}, UC+XJ,, {C+X, }, · · · , {C+X c-5 }} are the preselectors corresponding to TA1 to randomly access the preamble group. Where, z=1, (c-5), X, is the z-th sub-random access preamble excluding A, B,, C, D, and E in the c sub-random access preambles.
下面以第二种情形中按照 bl〜 b3中的方法获取 M个子随机接入前导组为例,详细 说明 M个子随机接入前导组的获取过程。 Taking the second case of obtaining M sub-random access preamble groups according to the method in b1 to b3 as an example, the process of obtaining the M sub-random access preamble groups will be described in detail.
对于 TA1, 网络设备统计 TA1对应的预选子随机接入前导组中各子随机接入前导 出现的次数: For TA1, the network equipment counts the number of occurrences of each sub-random access preamble in the preselected sub-random access preamble group corresponding to TA1:
出现 1次的子随机接入前导: Xi, - , X;,- ,XC.5
Figure imgf000023_0002
The sub-random access preamble that appears once: Xi,-, X ; ,- ,X C.5 ;
Figure imgf000023_0002
选子随机接入前导组 1, 第一待选子随机接入前导组 1包括的子随机接入前导的数目 为 c-5。 The random access preamble group 1 is selected, and the number of random access preambles included in the first random access preamble group 1 to be selected is c-5.
出现 4次的子随机接入前导: B, C; B, C组成一个第一待选子随机接入前导组 2, 第一待选子随机接入前导组 2包括的子随机接入前导的数目为 2。 The sub-random access preambles that appear 4 times: B, C; B, C form a first candidate random access preamble group 2. The first candidate random access preamble group 2 includes the sub-random access preamble The number is 2.
出现 3次的子随机接入前导 D, E; D, E组成一个第一待选子随机接入前导组 3, 第一待选子随机接入前导组 3包括的子随机接入前导的数目为 2。 The sub-random access preambles D, E that appear 3 times; D, E form a first candidate random access preamble group 3. The number of sub-random access preambles included in the first candidate random access preamble group 3 Is 2.
出现次数大于 4次的子随机接入前导: A; A组成一个第一待选子随机接入前导 组 4, 第一待选子随机接入前导组 4包括的子随机接入前导的数目为 1。 Sub-random access preambles that occur more than 4 times: A; A forms a first candidate random access preamble group 4, and the number of sub-random access preambles included in the first candidate random access preamble group 4 is 1.
在 2小于预设数目, c-5大于预设数目的情况下, 第一待选子随机接入前导组 2、 第一待选子随机接入前导组 3和第一待选子随机接入前导组 4中包括的子随机接入前 导的数目小于预设数目。 When 2 is less than the preset number, and c-5 is greater than the preset number, the first candidate random accesses the preamble group 2, the first candidate random access preamble group 3, and the first candidate random accesses The number of sub-random access preambles included in the preamble group 4 is less than the preset number.
将第一待选子随机接入前导组 2、 第一待选子随机接入前导组 3和第一待选子随 机接入前导组 4中包括的子随机接入前导 A、B、C、D和 E两两组合,得到 {A+B}, {A+C}, {A+D}, {A+E}, {B+C},{B+D}, {B+E}, {C+D}, {C+E}, {D+E}, 那么, {A+B}, {A+C}, {A+D}, {A+E}, {B+C},{B+D}, {B+E}, {C+D}, {C+E}, {D+E}即为 TA1对应的 0标子 随机接入前导组。 The first candidate sub-random access preamble group 2, the first candidate sub-random access preamble group 3 and the first candidate sub-random access preamble group 4 included in the random access preambles A, B, C, Combine D and E in pairs to get {A+B}, {A+C}, {A+D}, {A+E}, {B+C},{B+D}, {B+E}, {C+D}, {C+E}, {D+E}, then {A+B}, {A+C}, {A+D}, {A+E}, {B+C}, {B+D}, {B+E}, {C+D}, {C+E}, {D+E} are the preamble group of random access to the subscript 0 corresponding to TA1.
按照上述方法, 获取多个预选子随机接入前导组对应的多个 TA中的其它 TA对 应的目标子随机接入前导组, 最终得到 M个子随机接入前导组。 According to the above method, the target random access preamble groups corresponding to other TAs in the multiple TAs corresponding to the multiple preselected random access preamble groups are obtained, and finally M random access preamble groups are obtained.
进一步地, 若多个预选子随机接入前导组对应的多个 TA中的至少两个 TA各自 对应的目标子随机接入前导组中存在相同的第一目标子随机接入前导组, 且其中至少 一个 TA对应的目标子随机接入前导组中存在大于或等于 2个目标子随机接入前导组, 则网络设备对其中一个第一目标子随机接入前导组做出随机接入响应, 生成一个随机 接入响应消息, 且该随机接入响应消息包括的是指示随机接入前导的指示信息; 否则 网络设备对其中一个第一目标子随机接入前导组做出随机接入响应, 生成一个随机接 入响应消息, 且该随机接入响应消息包括的是上行资源信息。 因此, 图 2所示的实施 例中网络设备还可向满足如下条件的子随机接入前导组所对应的终端发送包括指示信 息的随机接入响应消息: 该子随机接入前导组至少与两个 TA相对应, 且该至少两个 TA中至少存在一个 TA对应多个子随机接入前导组。即图 2所示的实施例中接收到第 一随机接入响应消息的终端所对应的第一子随机接入前导组还可满足如下条件: 第一 子随机接入前导组至少与两个 TA相对应,且该至少两个 TA中至少存在一个 TA对应 多个子随机接入前导组。 Further, if the target sub-random access preamble group corresponding to at least two of the multiple TAs corresponding to the multiple preselector random access preamble groups has the same first target sub-random access preamble group, and wherein There are greater than or equal to 2 target random access preamble groups in the target random access preamble group corresponding to at least one TA, Then the network device makes a random access response to one of the first target sub-random access preamble groups, and generates a random access response message, and the random access response message includes indication information indicating the random access preamble; otherwise, The network device makes a random access response to one of the first target sub-random access preamble groups, and generates a random access response message, and the random access response message includes uplink resource information. Therefore, the network device in the embodiment shown in FIG. 2 may also send a random access response message including indication information to the terminal corresponding to the sub-random access preamble group that meets the following conditions: Each TA corresponds, and at least one of the at least two TAs corresponds to multiple sub-random access preamble groups. That is, the first random access preamble sub-group corresponding to the terminal that receives the first random access response message in the embodiment shown in FIG. 2 may also satisfy the following conditions: The first random access preamble sub-group is at least two TAs Correspondingly, and at least one of the at least two TAs corresponds to multiple sub-random access preamble groups.
在实际存在至少两个终端发送了由第一目标子随机接入前导组生成的随机接入前 导, 即实际存在两个终端与第一目标子随机接入前导组对应的情况下, 一种方式中, 该至少两个终端均会根据与第一目标子随机接入前导组对应的随机接入响应消息中的 指示信息确定一个随机接入前导, 并均向网络设备发送该随机接入前导; 在该至少两 个终端在同一 PRACH资源上向网络设备发送该随机接入前导时,所对应的后续流程, 可同如前所述的基于竞争的随机接入流程的第二步〜第四步, 此处不再赘述。在另一种 方式中, 该至少两个终端均会根据与第一目标子随机接入前导组对应的随机接入响应 消息中的上行资源信息等信息在上行资源信息指示的上行资源上发送基于调度的传输 信息 (可为目前的基于竞争的随机接入中的 MSG3, 比如 RRC连接建立请求, 此时所 对应的后续流程, 可同目前基于竞争的随机接入流程的第四步。 When there are actually at least two terminals that have sent the random access preamble generated by the first target sub-random access preamble group, that is, there are actually two terminals corresponding to the first target sub-random access preamble group, one way Where the at least two terminals both determine a random access preamble according to the indication information in the random access response message corresponding to the first target sub-random access preamble group, and both send the random access preamble to the network device; When the at least two terminals send the random access preamble to the network device on the same PRACH resource, the corresponding subsequent process may be the same as the second step to the fourth step of the contention-based random access process as described above , I won’t repeat it here. In another manner, the at least two terminals will both send information based on the uplink resource information indicated by the uplink resource information according to the uplink resource information in the random access response message corresponding to the first target sub-random access preamble group. The scheduled transmission information (may be MSG3 in the current contention-based random access, such as an RRC connection establishment request, and the corresponding subsequent process at this time may be the same as the fourth step of the current contention-based random access process.
示例性地, M个子随机接入前导组中的子随机接入前导组丨 A,B}, TAi对应的目标 子随机接入前导组中包括
Figure imgf000024_0001
TA2 S应的目标子随机接入前导组中包括{A,B}, 在 TAi和 /或 TA2 S应的目标子随机接入前导组中还包括其它的子随机接入前导组的情况 下, 网络设备生成一个与{A,B}对应的随机接入响应消息 1, 随机接入响应消息 1中包 括指示随机接入前导 1的指示信息。 在实际存在终端 1和终端 2发送了由随机接入前 导组{A,B}中的子随机接入前导 A,B生成的随机接入前导, 终端 1和终端 2均根据随 机接入响应消息 1中包括指示信息确定随机接入前导 1,并均在 PRACH资源 2上向终 端发送随机接入前导 1, 后续的流程或者后续解决冲突的流程参照目前基于竞争的随 机接入流程的第 2步〜第 4步。在 TAi和 TA2 S应的目标子随机接入前导组中除了 |A,BJ 外, 不包括其它的子随机接入前导组的情况下, 网络设备生成一个与{A,B}对应的随机 接入响应消息 1, 随机接入响应消息 1中包括上行资源信息等信息。在实际存在终端 1 和终端 2发送了由随机接入前导组丨 A,B}中的子随机接入前导 A,B生成的随机接入前 导时, 终端 1和终端 2均根据随机接入响应消息 1中包括上行资源信息等信息在上行 资源信息指示的上行资源上发送基于调度的传输信息 1, 后续的流程或者后续解决冲 突的流程参照目前基于竞争的随机接入流程的第四步。
Exemplarily, the sub-random access preamble groups in the M sub-random access preamble groups 丨A, B}, and the target sub-random access preamble groups corresponding to TAi include
Figure imgf000024_0001
The target random access preamble group for TA 2 S includes {A, B}, and the random access preamble group for TAi and/or TA 2 S includes other random access preamble groups. Next, the network device generates a random access response message 1 corresponding to {A, B}, and the random access response message 1 includes indication information indicating random access preamble 1. In actual existence, terminal 1 and terminal 2 send random access preambles generated by sub-random access preambles A and B in the random access preamble group {A, B}, and both terminal 1 and terminal 2 follow the random access response message 1 includes instruction information to determine random access preamble 1, and both send random access preamble 1 to the terminal on PRACH resource 2. For the subsequent process or subsequent conflict resolution process, refer to step 2 of the current contention-based random access process ~Step 4. In the case that the target random access preamble group corresponding to TAi and TA 2 S does not include other random access preamble groups except |A, BJ, the network device generates a random access corresponding to {A, B} Access response message 1. The random access response message 1 includes information such as uplink resource information. When terminal 1 and terminal 2 actually send random access preambles generated by sub-random access preambles A and B in the random access preamble group 丨A, B}, both terminal 1 and terminal 2 respond according to the random access The message 1 includes information such as uplink resource information. The scheduling-based transmission information 1 is sent on the uplink resource indicated by the uplink resource information. For the subsequent process or the subsequent conflict resolution process, refer to the fourth step of the current contention-based random access process.
本实施例提供了网络设备根据在第一 PRACH资源上接收到的随机接入前导获取 M 个子随机接入前导的方法。 This embodiment provides a method for the network device to obtain M sub-random access preambles according to the random access preamble received on the first PRACH resource.
同样地, 如图 2所示的实施例中所述, 在步骤 S202“网络设备在向终端发送第一 随机接入响应消息” 之前, 网络设备会获取 M个子随机接入前导, 并对 M个子随机 接入前导做出随机接入响应, 生成 M个随机接入响应消息, M个随机接入响应消息中 包括第一随机接入信息。 其中, 网络设备生成的 M个随机接入响应消息可位于媒体接 入控制(Medium Access Control, 简称 MAC)层的同一个协议数据单元(Protocol Data Unit, 简称 PDU) 中。 下面结合具体的实施例对包括随机接入响应消息的 PDU的几种 可能的格式进行说明。 Similarly, as described in the embodiment shown in FIG. 2, before step S202 "the network device sends the first random access response message to the terminal", the network device will obtain M sub-random access preambles, and respond to the M sub-random access preambles. Random The access preamble makes a random access response and generates M random access response messages, and the M random access response messages include the first random access information. Wherein, the M random access response messages generated by the network device may be located in the same protocol data unit (Protocol Data Unit, PDU) of the medium access control (Medium Access Control, MAC for short) layer. Several possible formats of the PDU including the random access response message will be described below in conjunction with specific embodiments.
第一种格式: 第一随机接入响应消息位于 MAC层的 PDU中, PDU的头部的 M 个子头部中包括 M个子随机接入前导组的标识。一个随机接入前导组的标识位于一个 子头部中。 该 PDU的负荷部包括与 M个子随机接入前导组分别对应的 M个随机接入 响应消息; 其中, 第一子随机接入前导组的标识位于该 M个子头部中的第 m个子头 部, 第一随机接入响应消息为该 PDU的负荷部包括的第 m个随机接入响应消息, 本实施例的第一随机接入响应消息同图 2所示的实施例中的第一随机接入 响应消息。 The first format: The first random access response message is located in the PDU of the MAC layer, and the M sub-headers of the header of the PDU include the identifiers of the M sub-random access preamble groups. The identification of a random access preamble group is located in a sub-header. The load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the m-th sub-header of the M sub-headers The first random access response message is the mth random access response message included in the load part of the PDU. The first random access response message in this embodiment is the same as the first random access response message in the embodiment shown in FIG. Incoming response message.
在该格式中, M个随机接入响应消息均位于一个 PDU中, PDU的头部包括子随 机接入前导组的标识。 该格式下只有一个 PDU, 网络设备向终端发送一个 PDU, 占用 的物理资源少,且 PDU的头部包括的是子随机接入前导组的标识,终端在接收到 PDU 时, 可根据对应的子随机接入前导组的标识所在子头部的位置, 快速确定该 PDU中包 括的对应该终端的随机接入响应消息。 In this format, M random access response messages are all located in one PDU, and the header of the PDU includes the identifier of the sub-random access preamble group. There is only one PDU in this format. The network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the identifier of the sub-random access preamble group. When the terminal receives the PDU, it can be based on the corresponding sub- The position of the subheader where the identifier of the random access preamble group is located, and the random access response message corresponding to the terminal included in the PDU is quickly determined.
该种格式下的 PDU可如图 4至图 7所示。图 4为本申请实施例提供的第一种格式 的 PDU示意图, 图 5为图 4中的 PDU的一个子头部的示意图, 图 6为图 4中的 PDU 的另一个子头部的示意图,图 7为图 4中的 PDU包括的一个随机接入响应消息的格式 示意图。 The PDU in this format can be shown in Figure 4 to Figure 7. 4 is a schematic diagram of a PDU in the first format provided by an embodiment of this application, FIG. 5 is a schematic diagram of a sub-header of the PDU in FIG. 4, and FIG. 6 is a schematic diagram of another sub-header of the PDU in FIG. 4. Fig. 7 is a schematic diagram of the format of a random access response message included in the PDU in Fig. 4.
参见图 4, 第一种格式的 PDU包括两种类型的子头部, 该 PDU的第一种类型的 子头部可为图 4中的第一个子头部 0, 且可只存在一个第一种类型的子头部, 第一种 类型的子头部的格式可如图 5所示。 参见图 5, 图 5中的 E字段为扩展域, 指示当前 子头部后面是否还有子头部; T字段为类型域, 指示 T字段后是 BI还是子随机接入前 导组的标识, 第一个 R字段和第二个 R字段固定为 0。 BI用于指示终端重发随机接入 前导需要等待的时间范围 (终端可在 0~BI指定的等待时间区间内选择一个随机值, Referring to FIG. 4, the PDU of the first format includes two types of subheaders. The first type of subheader of the PDU may be the first subheader 0 in FIG. 4, and there may be only one first subheader. For one type of subheader, the format of the first type of subheader may be as shown in FIG. 5. Referring to Fig. 5, the E field in Fig. 5 is an extended field, indicating whether there is a sub-header after the current sub-header; the T field is a type field, indicating whether the T field is the identifier of the BI or the sub-random access preamble group. One R field and the second R field are fixed to 0. BI is used to indicate the time range that the terminal needs to wait for retransmission of the random access preamble (the terminal can select a random value within the waiting time interval specified by 0~BI,
BI的英文全称为 Backoff Indicator) 。 该 PDU的第二种类型的子头部可为图 4中的子 头部 1〜子头部 M, 第二种类型的子头部的格式可如图 6所示。参见图 6中的 E字段的 含义同图 5中的 E字段的含义, T字段的含义同图 5中的 T字段的含义, RAPP为子 随机接入前导组的标识。其中,子随机接入前导组的标识位于第二种类型的子头部中, 不位于第一种类型的子头部中。 The full English name of BI is Backoff Indicator). The second type of subheader of the PDU may be subheader 1 to subheader M in FIG. 4, and the format of the second type of subheader may be as shown in FIG. 6. Refer to the meaning of the E field in Fig. 6 with the meaning of the E field in Fig. 5, the meaning of the T field is the same as the meaning of the T field in Fig. 5, and RAPP is the identifier of the sub-random access preamble group. Wherein, the identifier of the sub-random access preamble group is located in the second type of sub-header, not in the first type of sub-header.
接着参见图 4, M个随机接入响应消息位于图 4中的负荷部, M个随机接入响应 消息中的随机接入响应消息的格式可如图 7所示。 参见图 7, 图 7中的 R字段固定为 0, NP为指示新的随机接入前导的指示信息或者包括上行资源信息的信息。 在图 7为 第一随机接入响应消息的格式示意图下, NP为指示第二随机接入前导的指示信息。可 以理解的是, 在 NP包括上行资源信息的情况下, NP包括的信息可与目前的随机接入 响应消息中包括的信息相同, 包括: 上行资源信息、 TA信息和临时 C-RNTI。 Next, referring to Fig. 4, M random access response messages are located in the load part of Fig. 4, and the format of the random access response message in the M random access response messages can be as shown in Fig. 7. Referring to FIG. 7, the R field in FIG. 7 is fixed to 0, and NP is indication information indicating a new random access preamble or information including uplink resource information. 7 is a schematic diagram of the format of the first random access response message, NP is indication information indicating the second random access preamble. It can be understood that when the NP includes uplink resource information, the information included in the NP may be the same as the information included in the current random access response message, including: uplink resource information, TA information, and temporary C-RNTI.
对于图 4中的 “填充 (padding) ” 部分是可选的, 也就是说该 PDU中也可以不 包括该 “填充” 部分。 The "padding" part in Figure 4 is optional, which means that the PDU may not Include this "padding" part.
进一步地, 在第一随机接入响应消息所在的 PDU为第一种格式时, 图 2所示的实 施例中的步骤 S203“终端根据第一随机接入响应消息, 确定第二随机接入前导” , 包 括: 从网络设备接收包括第一随接入响应消息的该 PDU; 根据第一子随机接入前导组 的标识在该 PDU中的该 M个子头部中的第 m个子头部,确定该 PDU的负荷部包括的 第 m个随机接入响应消息为第一随机接入响应消息; 根据第一随机接入响应消息中的 指示信息, 确定第二随机接入前导。 Further, when the PDU where the first random access response message is in the first format, step S203 in the embodiment shown in FIG. 2 "the terminal determines the second random access preamble according to the first random access response message ", including: receiving the PDU including the first access response message from the network device; determining the mth subheader among the M subheaders in the PDU according to the identifier of the first random access preamble group The m-th random access response message included in the load part of the PDU is the first random access response message; and the second random access preamble is determined according to the indication information in the first random access response message.
示例性地, 终端向网络设备发送的第一随机接入前导是根据随机接入前导集合 {A,B}中的 A和 B生成的, A的标识为 1、 B的标识为 2, { A,B}的标识为{1,2}, 终 端读取包括第一随机接入响应消息的 PDU1的头部的信息, 确定 U,2}位于 PDU1中包 括各子随机接入前导组的标识的各子头部中的第 1个子头部中, 终端确定 PDU1的负 荷部包括的第 1个随机接入响应消息为终端对应的第一随机接入响应消息。 终端读取 PDU1的负荷部包括的第 1个随机接入响应消息中的指示信息, 根据该指示信息确定 第二随机接入前导。 Exemplarily, the first random access preamble sent by the terminal to the network device is generated according to A and B in the random access preamble set {A, B}, the identifier of A is 1, the identifier of B is 2, {A , The identifier of B} is {1,2}, the terminal reads the information in the header of PDU1 including the first random access response message, and determines that U, 2} is located in PDU1 and includes the identifier of each sub-random access preamble group In the first subheader in each subheader, the terminal determines that the first random access response message included in the load part of the PDU1 is the first random access response message corresponding to the terminal. The terminal reads the indication information in the first random access response message included in the load part of the PDU1, and determines the second random access preamble according to the indication information.
第二种格式: 第一随机接入响应消息位于 MAC层的 PDU中, 该 PDU的头部包 括多个子随机接入前导标识, 其中, 子随机接入前导标识所对应的子随机接入前导为 M个子随机接入前导组包括的子随机接入前导。 PDU的头部包括多个子头部, 且 M 个子随机接入前导组中的每个子随机接入前导所对应的子随机接入前导标识均位于该 PDU的头部,一个子随机接入前导标识位于一个子头部中。该 PDU的负荷部 ( payload) 包括与 M个子随机接入前导组分别对应的 M个随机接入响应消息。 其中, 第一子随 机接入前导组为根据预设排序规则对 M个子随机接入前导排序后的第 m个子随机接 入前导组, 第一随机接入响应消息为该 PDU的负荷部包括的第 m个随机接入响应消 息, m=l, M。 其中, 该预设排序规则可以是协议规定好的, 也可以是网络设备设置 好后发送至终端的。 The second format: The first random access response message is located in the PDU of the MAC layer, and the header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preamble included in the M sub-random access preamble group. The header of the PDU includes multiple sub-headers, and the sub-random access preamble identifier corresponding to each sub-random access preamble in the M sub-random access preamble groups is located at the head of the PDU, and one sub-random access preamble identifier Located in a sub-head. The payload of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups. Wherein, the first random access preamble subgroup is the mth random access preamble subgroup after the M random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU The m-th random access response message, m=1, M. Wherein, the preset sorting rule may be stipulated by the protocol, or may be sent to the terminal after the network device is set.
在该格式中, M个随机接入响应消息均位于一个 PDU中, PDU的头部包括子随 机接入前导标识。 该种格式下只有一个 PDU, 网络设备向终端发送一个 PDU, 占用的 物理资源少, 且 PDU的头部包括子随机接入前导标识, 相对于 PDU的头部包括子随 机接入前导组的标识的方案, 网络设备向终端发送该 PDU时的信令开销较少。 In this format, M random access response messages are all located in one PDU, and the header of the PDU includes the sub-random access preamble identifier. There is only one PDU in this format, the network device sends one PDU to the terminal, which occupies less physical resources, and the header of the PDU includes the sub-random access preamble identifier, and the header of the PDU includes the identifier of the sub-random access preamble group. In the solution, the signaling overhead when the network device sends the PDU to the terminal is less.
该格式下的 PDU的格式可如图 8至图 9所示。图 8为本申请实施例提供的第二种 格式的 PDU的示意图, 图 9为图 8中的 PDU的一个子头部的示意图。 The format of the PDU in this format can be shown in Figure 8 to Figure 9. FIG. 8 is a schematic diagram of a PDU in the second format provided by an embodiment of the application, and FIG. 9 is a schematic diagram of a sub-header of the PDU in FIG. 8.
参见图 8至图 9, PDU包括两种类型的子头部, 第一种类型的子头部可为图 8中 的第一个子头部 0, 且可只存在一个第一种类型的子头部, 第一种类型的子头部的格 式可如图 5所示; 笫二种类型的子头部可为图 8中的子头部 1〜子头部 n, 笫二种类型 的子头部的格式可如图 9所示; 参见图 9, 图 9中的 E字段的含义同图 6中的 E字段 的含义, T字段的含义同图 6中的 T字段的含义, RAP为子随机接入前导标识。其中, n为去除 M个子随机接入前导组中包括的重复的子随机接入前导后的子随机接入前导 的数目, 子随机接入前导标识位于第二种类型的子头部中, 不位于第一种类型的子头 部中。 Referring to Figures 8 to 9, the PDU includes two types of subheaders. The first type of subheader can be the first subheader 0 in Figure 8, and there can be only one first type of subheader. The format of the first type of sub-header may be as shown in FIG. 5; the second type of sub-header may be sub-header 1 to sub-header n in FIG. 8, and the second type of sub-header The format of the header can be shown in Figure 9; see Figure 9, the meaning of the E field in Figure 9 is the same as that of the E field in Figure 6, the meaning of the T field is the same as that of the T field in Figure 6, and RAP is a sub Random access preamble identifier. Wherein, n is the number of sub-random access preambles after removing repeated sub-random access preambles included in the M sub-random access preamble groups, and the sub-random access preamble identifier is located in the second type of sub-header. Located in the first type of subheader.
接着参见图 8, M个随机接入响应消息位于图 8中的负荷部, M个随机接入响应 消息中的随机接入响应消息的格式可如图 7所示。 在随机接入前导集合包括 2个子随 机接入前导, 即 W=S=P=N=2的情况下, 以及在生成第一终端集合中的终端的随机接 入前导的子随机接入前导的数目均为 S且 S=2的情况下, M= C„2Next, referring to FIG. 8, M random access response messages are located in the load part in FIG. 8, and M random access responses The format of the random access response message in the message can be as shown in Figure 7. In the case that the random access preamble set includes 2 sub-random access preambles, that is, W=S=P=N=2, and the sub-random access preamble of the random access preamble of the terminals in the first terminal set is generated When the numbers are all S and S=2, M=C... 2 .
同样地, 对于图 8中的 “填充 (padding) ” 部分是可选的, 也就是说该 PDU中 也可以不包括该 “填充” 部分。 Similarly, the "padding" part in Figure 8 is optional, that is, the "padding" part may not be included in the PDU.
示例性地, 随机接入前导集合包括 2个子随机接入前导, 即 N=2 , 此时, 可以得 到 W=S= P=N=2, M个子随机接入前导组为{A, B}、 {A,C}、 {A,D}、 {A,E}、 {B,C}, {B,D}, {B,E}, {C,D}, {C,E^P p,E}, M个子随机接入前导组中包括的子随机接入 前导去除重复后包括子随机接入前导 A、 B、 C、 D、 E, A的标识为 1, B的标识为 2, Exemplarily, the random access preamble set includes 2 sub-random access preambles, that is, N=2, at this time, W=S=P=N=2, and the M sub-random access preamble groups are {A, B} , {A,C}, }A,D}, {A,E}, {B,C}, {B,D}, }B,E}, {C,D}, {C,E^P p ,E}, the sub-random access preambles included in the M sub-random access preamble groups include sub-random access preambles A, B, C, D, and E after removing duplication, the identifier of A is 1, and the identifier of B is 2,
C的标识为 3, D的标识为 4, E的标识为 5, 子随机接入前导标识 1、 2、 3、 4、 5分 别位于 PDU中的一个第二种类型的子头部中。 PDU的负荷部包括 M=10个随机接入 响应消息。按照预设排序规则对 M个子随机接入前导组排序后为 |A,B}、丨 A,CMA,DJ、 {A,E}、 {B,C}, {B,D}、 {B,E}, {C,D}、 {C,E^P{D,E}, {A, B}对应的随机接入响应消 息为 PDU的负荷部包括的 10个随机接入响应消息中的第 1个随机接入响应消息, |A,CJ 对应的随机接入响应消息为 PDU的负荷部包括的 10个随机接入响应消息中的第 2个 随机接入响应消息, 丨 A,D丨对应的随机接入响应消息为 PDU的负荷部包括的 10个随 机接入响应消息中的第 3个随机接入响应消息,{A,E}对应的随机接入响应消息为 PDU 的负荷部包括的 10个随机接入响应消息中的第 4个随机接入响应消息, 对应的 随机接入响应消息为 PDU的负荷部包括的 10个随机接入响应消息中的第 5个随机接 入响应消息,{B,D}对应的随机接入响应消息为 PDU的负荷部包括的 10个随机接入响 应消息中的第 6个随机接入响应消息, {B,E丨对应的随机接入响应消息为 PDU的负荷 部包括的 10个随机接入响应消息中的第 7个随机接入响应消息, {C,D丨对应的随机接 入响应消息为 PDU的负荷部包括的 10个随机接入响应消息中的第 8个随机接入响应 消息,{C,E}对应的随机接入响应消息为 PDU的负荷部包括的 10个随机接入响应消息 中的第 9个随机接入响应消息, {D,E丨对应的随机接入响应消息为 PDU的负荷部包括 的 10个随机接入响应消息中的第 10个随机接入响应消息。因此,在{A,B}为第一随机 接入前导组时, {A,B}为 M个子随机接入前导组中的第 1个子随机接入前导组, 则第 一随机接入响应消息为 PDU包括的 10个随机接入响应消息中的第 1个随机接入响应 消息。 The identifier of C is 3, the identifier of D is 4, the identifier of E is 5, and the sub-random access preamble identifiers 1, 2, 3, 4, and 5 are respectively located in a second type subheader in the PDU. The load part of the PDU includes M=10 random access response messages. According to the preset sorting rules, the M random access preamble groups are sorted as |A,B}, 丨A,CMA,DJ, {A,E}, {B,C}, {B,D}, {B, The random access response messages corresponding to E}, {C,D}, {C,E^P{D,E}, {A, B} are the first of the 10 random access response messages included in the load part of the PDU 1 random access response message, the random access response message corresponding to |A, CJ is the second random access response message among the 10 random access response messages included in the load part of the PDU, 丨A, D丨 correspond The random access response message is the third random access response message among the 10 random access response messages included in the load part of the PDU, and the random access response message corresponding to {A,E} is included in the load part of the PDU The fourth random access response message among the 10 random access response messages, and the corresponding random access response message is the fifth random access response message among the 10 random access response messages included in the load part of the PDU, The random access response message corresponding to {B, D} is the sixth random access response message among the 10 random access response messages included in the load part of the PDU, and the random access response message corresponding to {B, E丨 is The 7th random access response message in the 10 random access response messages included in the load part of the PDU, {C,D丨corresponding random access response messages are the 10 random access response messages included in the load part of the PDU The eighth random access response message in {C,E} is the ninth random access response message among the 10 random access response messages included in the load part of the PDU, {C,E}, {D , The random access response message corresponding to E1 is the tenth random access response message among the 10 random access response messages included in the load part of the PDU. Therefore, when {A, B} is the first random access preamble group, {A, B} is the first random access preamble group in the M sub random access preamble groups, then the first random access response message It is the first random access response message among the 10 random access response messages included in the PDU.
进一步地, 在第一随机接入响应消息所在的 PDU为第二种格式时, 图 2所示的实 施例中的步骤 S203“终端根据第一随机接入响应消息, 确定第二随机接入前导” , 包 括: 从网络设备接收包括第一随接入响应消息的 PDU; 根据 S个子随机接入前导的标 识、 该 PDU的头部包括的子随机接入前导标识和预设排序规则, 确定该 PDU的负荷 部包括的第 m个随机接入响应消息为第一随机接入响应消息; 根据第一随机接入响应 消息中的指示信息, 确定第二随机接入前导。 Further, when the PDU where the first random access response message is in the second format, step S203 in the embodiment shown in FIG. 2 "the terminal determines the second random access preamble according to the first random access response message ", including: receiving a PDU including a first access response message from a network device; determining the PDU according to the identifiers of the S sub-random access preambles, the sub-random access preamble identifiers included in the header of the PDU, and a preset ordering rule The m-th random access response message included in the load part of the PDU is the first random access response message; and the second random access preamble is determined according to the indication information in the first random access response message.
示例性地, 终端向网络设备发送的第一随机接入前导是根据随机接入前导集合 {A,B}中的 A和 B生成的, 且 L个随机接入前导集合中的随机接入前导集合均包括 2 个子随机接入前导, 在第一 PRACH资源上随机接入的各终端发送的随机接入前导均 是根据 2个子随机接入前导生成的, 即 S=W=N=P=2; 终端确定 A的标识为 1、 B的标 识为 2, 终端接收到的包括第一随机接入响应消息的 PDU1的头部包括标识 1、 2、 3、 4、 5 , 终端按照在 L个随机接入前导集合中的随机接入前导集合中包括 2个子随机接 入前导的情况下生成随机接入前导的规则, 对标识 1、 2、 3、 4、 5进行组合, 得到 10 个组标识{1,2}、 {1 ,3}、 {1,4}、 {1,5}、 {2,3}、 {2,4}、 {2,5}、 {3,4}、 {3, 5}和{4,5}, 按 照预设排序规则对 10个组标识排序后, 10个组标识的顺序为 | 1,2}、U,3 M 1,4M 1,5 L {2,3}、 {2,4}, 0,5}、 {3,4}、 {3, 5}和{4,5}。 {1 ,2}为子随机接入前导组{A, B}的标识且 {1,2}排序第一, 因此{A,B}对应的第一随机接入响应消息或者终端对应的第一随机接 入响应消息为该 PDU1的负荷部包括的第 1个随机接入响应消息。 终端读取该 PDU1 的负荷部包括的第 1个随机接入响应消息中的指示信息, 根据该指示信息确定第二随 机接入前导。 Exemplarily, the first random access preamble sent by the terminal to the network device is generated according to A and B in the random access preamble set {A, B}, and the random access preamble in the L random access preamble set The set includes 2 sub-random access preambles, and the random access preambles sent by each terminal randomly accessing on the first PRACH resource are all generated based on the 2 sub-random access preambles, that is, S=W=N=P=2 ; The terminal determines that the identifier of A is 1, and the label of B Recognized as 2, the header of the PDU1 including the first random access response message received by the terminal includes identifiers 1, 2, 3, 4, 5, and the terminal follows the random access preamble set in the L random access preamble sets In the case of including 2 sub-random access preambles, the rules for generating random access preambles are included, and the identifiers 1, 2, 3, 4, and 5 are combined to obtain 10 group identifiers {1,2}, {1 ,3}, {1,4}, {1,5}, {2,3}, {2,4}, {2,5}, {3,4}, {3, 5} and {4,5}, according to the schedule Suppose the sorting rule sorts the 10 group IDs, the order of the 10 group IDs is | 1,2}, U,3 M 1,4M 1,5 L {2,3}, {2,4}, 0,5 }, {3,4}, {3, 5} and {4,5}. {1 ,2} are the identifiers of the sub-random access preamble groups {A, B} and {1,2} are ranked first, so {A,B} corresponds to the first random access response message or the terminal corresponds to the first The random access response message is the first random access response message included in the load part of the PDU1. The terminal reads the indication information in the first random access response message included in the load part of the PDU1, and determines the second random access preamble according to the indication information.
第三种格式:第一随机接入响应消息位于 MAC层的 PDU中,该 PDU的头部的 K 个子头部中包括 K个子随机接入前导组的标识, K个子随机接入前导组为 M个子随机 接入前导组中的子随机接入前导组, K^M; 一个子随机接入前导组的标识位于一个子 头部中。 其中, 对于 K个子随机接入前导组中的任意一个子随机接入前导组, 在 K个 子随机接入前导组中存在与该子随机接入前导组对应 TA相同的子随机接入前导组。 The third format: the first random access response message is located in the PDU of the MAC layer. The K sub-headers of the PDU header include the identifiers of the K sub-random access preamble groups, and the K sub-random access preamble groups are M The sub-random access preamble group in each sub-random access preamble group, K^M; the identifier of a sub-random access preamble group is located in a sub-header. Wherein, for any one sub-random access preamble group in the K sub-random access preamble groups, there is a sub-random access preamble group that is the same as the TA corresponding to the sub-random access preamble group in the K sub-random access preamble groups.
该 PDU的负荷部包括与 K个子随机接入前导组分别对应的 K个随机接入响应消 息; 其中, 第一子随机接入前导组的标识位于 K个子头部中的第 k个子头部, 第一随 机接入响应消息为该 PDU的负荷部包括的第 k个随机接入响应消息, k=l, K。 可以 理解的是, 该 K个随机接入响应消息中的每个随机接入响应消息中均包括指示随机接 入前导的指示信息。 The load part of the PDU includes K random access response messages respectively corresponding to the K sub-random access preamble groups; wherein, the identity of the first sub-random access preamble group is located in the k-th sub-header among the K sub-headers, The first random access response message is the kth random access response message included in the load part of the PDU, k=1, K. It can be understood that each random access response message in the K random access response messages includes indication information indicating a random access preamble.
在该格式中, M个随机接入响应消息位于两个 PDU中, 上述 K个子随机接入前 导组分别对应的 K个随机接入响应消息位于同一个 PDU中, 剩余的(M-K)个子随机 接入前导组分别对应的 (M-K) 个随机接入响应消息位于同一个 PDU中, 该 (M-K) 个子随机接入前导组各自对应的 TA均不相同, 且该 (M-K) 个随机接入响应消息中 的每个随机接入响应消息中均包括上行资源信息。 也就是说, 在该格式中, 包括指示 信息的 K个随机接入响应消息位于同一个 PDU中, 包括上行资源信息的(M-K)个随 机接入响应消息位于同一个 PDU中, 且 PDU的头部是子随机接入前导组的标识。 该 格式中每个 PDU中包括的随机接入响应消息的格式相同, 生成 PDU较为方便。 In this format, M random access response messages are located in two PDUs, the K random access response messages corresponding to the K sub-random access preamble groups are located in the same PDU, and the remaining (MK) sub-random access The (MK) random access response messages corresponding to the incoming preamble group are located in the same PDU, and the TAs corresponding to the (MK) sub-random access preamble groups are not the same, and the (MK) random access response messages Each random access response message in includes uplink resource information. That is, in this format, K random access response messages including indication information are located in the same PDU, and (MK) random access response messages including uplink resource information are located in the same PDU, and the header of the PDU The part is the identifier of the sub-random access preamble group. The format of the random access response message included in each PDU in this format is the same, and PDU generation is more convenient.
进一步地, 在第一随机接入响应消息所在的 PDU为第三种格式时, 图 2所示的实 施例中的步骤 S203“终端根据第一随机接入响应消息, 确定第二随机接入前导” 的具 体实现参照第一随机接入响应消息所在的 PDU为第一种格式时的具体实现,此处不再 赘述。 Further, when the PDU where the first random access response message is in the third format, step S203 in the embodiment shown in FIG. 2 "the terminal determines the second random access preamble according to the first random access response message For the specific implementation of ", refer to the specific implementation when the PDU where the first random access response message is in the first format, and will not be repeated here.
笫四种格式:笫一随机接入响应消息位于 MAC层的 PDU中,该 PDU的头部的 X 个子头部中包括 X个子随机接入前导组的标识, X^M, X为大于 1的整数; 一个子 随机接入前导组的标识位于一个子头部中。 其中, X个子随机接入前导组为 M个子随 机接入前导组中对应的 TA相同的子随机接入前导组, X个子随机接入前导组中包括 第一随机接入前导组。 Four formats: The first random access response message is located in the PDU of the MAC layer. The X sub-headers of the PDU header include the identifiers of X sub-random access preamble groups, X^M, X is greater than 1. Integer; The identifier of a sub-random access preamble group is located in a sub-header. Wherein, X sub-random access preamble groups are M sub-random access preamble groups corresponding to the same sub-random access preamble group, and X sub-random access preamble groups include the first random access preamble group.
该 PDU的负荷部包括与 X个子随机接入前导组分别对应的 X个随机接入响应消 息; 其中, 第一子随机接入前导组的标识位于 X个子头部中的第 x个子头部, 第一随 机接入响应消息为该 PDU的负荷部包括的第 x个随机接入响应消息, x=l,〜X。 可以理解的是,在 TA对应的子随机接入前导组的数目为 1时,该 TA对应的 PDU 中的随机接入响应消息中包括上行资源指示信息, 在 TA对应的子随机接入前导组的 数目大于 1时, 与该 TA对应的 PDU中的每个随机接入响应消息中均包括指示随机接 入前导的指示信息。 The load part of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the x-th sub-header among the X sub-headers, First follow The machine access response message is the xth random access response message included in the load part of the PDU, x=1,~X. It can be understood that when the number of sub-random access preamble groups corresponding to the TA is 1, the random access response message in the PDU corresponding to the TA includes uplink resource indication information, and the sub-random access preamble group corresponding to the TA When the number of is greater than 1, each random access response message in the PDU corresponding to the TA includes indication information indicating a random access preamble.
在该格式中, 对应的 TA相同的子随机接入前导组所对应的随机接入响应消息位 于同一个 PDU中。 且 PDU的头部是子随机接入前导组的标识。 该种格式的 PDU可以 在获取到对应某一 TA的子随机接入前导组后, 生成该 TA对应的子随机接入前导组 所对应的随机接入响应消息, 并发送至终端, 提高了网络设备对终端做出随机接入响 应的效率。 In this format, the random access response messages corresponding to the sub-random access preamble groups with the same TA are located in the same PDU. And the head of the PDU is the identifier of the sub-random access preamble group. After obtaining the sub-random access preamble group corresponding to a certain TA, the PDU of this format can generate a random access response message corresponding to the sub-random access preamble group corresponding to the TA, and send it to the terminal, which improves the network The efficiency of the random access response of the device to the terminal.
进一步地, 在第一随机接入响应消息所在的 PDU为第四种格式时, 图 2所示的实 施例中的步骤 S203“终端根据第一随机接入响应消息, 确定第二随机接入前导” 的具 体实现参照第一随机接入响应消息所在的 PDU为第一种格式时的具体实现,此处不再 赘述。 Further, when the PDU where the first random access response message is in the fourth format, step S203 in the embodiment shown in FIG. 2 "the terminal determines the second random access preamble according to the first random access response message For the specific implementation of ", refer to the specific implementation when the PDU where the first random access response message is in the first format, and will not be repeated here.
第五种格式: 第一随机接入响应消息位于 MAC层的 PDU中, 该 PDU的头部包 括多个子随机接入前导标识, 其中, 子随机接入前导标识所对应的子随机接入前导为 M个子随机接入前导组中对应的 TA相同的 X个子随机接入前导组包括的子随机接入 前导; X个子随机接入前导组中包括第一随机接入前导组。 PDU的头部包括多个子头 部, X个子随机接入前导组中的每个子随机接入前导的子随机接入前导标识均位于该 PDU的头部, 一个随机接入前导标识位于一个子头部中。 The fifth format: The first random access response message is located in the PDU of the MAC layer. The header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preambles included in the X sub-random access preamble groups corresponding to the same TA in the M sub-random access preamble groups; the X sub-random access preamble groups include the first random access preamble group. The header of the PDU includes multiple sub-headers, the sub-random access preamble identifier of each sub-random access preamble in the X sub-random access preamble groups is located at the head of the PDU, and one random access preamble identifier is located in a sub-header Ministry.
该 PDU的负荷部 (payload) 包括与 X个子随机接入前导组分别对应的 X个随机 接入响应消息。 其中, 第一子随机接入前导组为根据预设排序规则对 X个子随机接入 前导排序后的第 x个子随机接入前导组,第一随机接入响应消息为该 PDU的负荷部包 括的第 x个随机接入响应消息, x=l,〜X。 The payload of the PDU includes X random access response messages respectively corresponding to X sub-random access preamble groups. Wherein, the first random access preamble group is the xth random access preamble group after the X random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU The xth random access response message, x=1,~X.
在该格式中, 对应的 TA相同的子随机接入前导组所对应的随机接入响应消息位于 同一个 PDU中, 且 PDU的头部是子随机接入前导标识。 该种格式下的 PDU提高了网 络设备对终端做出随机接入响应的效率, 且相对于第四种格式对应的 PDU, 网络设备 向终端设备发送 PDU时的信令开销较少。 In this format, the random access response messages corresponding to the sub-random access preamble groups with the same TA are located in the same PDU, and the header of the PDU is the sub-random access preamble identifier. The PDU in this format improves the efficiency of the network device in making random access responses to the terminal, and compared to the PDU corresponding to the fourth format, the network device has less signaling overhead when sending the PDU to the terminal device.
进一步地, 在第一随机接入响应消息所在的 PDU为第五种格式时, 图 2所示的实 施例中的步骤 S203“终端根据第一随机接入响应消息, 确定第二随机接入前导” 的具 体实现参照第一随机接入响应消息所在的 PDU为第二种格式时的具体实现,此处不再 赘述。 Further, when the PDU where the first random access response message is in the fifth format, step S203 in the embodiment shown in FIG. 2 "the terminal determines the second random access preamble according to the first random access response message For the specific implementation of ", refer to the specific implementation when the PDU where the first random access response message is in the second format, and will not be repeated here.
本实施例中提供了包括随机接入响应消息的 PDU的几种可能的格式。 In this embodiment, several possible formats of the PDU including the random access response message are provided.
以上结合图 1至图 12对本申请实施例中的通信方法进行了说明, 下面结合图 13〜图 18对本申请实施例的通信装置进行说明。 The communication method in the embodiment of the present application is described above with reference to FIG. 1 to FIG. 12. The communication device of the embodiment of the present application is described below with reference to FIG. 13 to FIG. 18.
图 13为本申请一实施例提供的一种通信装置的结构示意图一。 如图 13所示, 本 实施例所述的通信装置 500可以是前述方法实施例中提到的网络设备 (或者可用于网 络设备的部件) 或者前述方法实施例中提到的终端 (或者可用于终端的部件) 。 通信 装置可用于实现上述方法实施例中描述的对应于终端或者网络设备的方法, 具体参见 上述方法实施例中的说明。 FIG. 13 is a first structural diagram of a communication device provided by an embodiment of this application. As shown in FIG. 13, the communication apparatus 500 described in this embodiment may be the network device (or a component that can be used for network equipment) mentioned in the foregoing method embodiment or the terminal mentioned in the foregoing method embodiment (or may be used for Terminal parts). The communication device can be used to implement the method corresponding to the terminal or the network device described in the above method embodiment. For details, see Description in the above method embodiment.
所述通信装置 500可以包括一个或多个处理器 501, 所述处理器 501也可以称为 处理单元, 可以实现一定的控制或者处理功能。 所述处理器 501可以是通用处理器或 者专用处理器等。 例如可以是基带处理器、 或中央处理器。 基带处理器可以用于对通 信协议以及通信数据进行处理, 中央处理器可以用于对通信装置进行控制, 执行软件 程序, 处理软件程序的数据。 The communication device 500 may include one or more processors 501, and the processor 501 may also be referred to as a processing unit, which may implement certain control or processing functions. The processor 501 may be a general-purpose processor or a special-purpose processor. For example, it may be a baseband processor or a central processing unit. The baseband processor can be used to process the communication protocol and communication data, and the central processor can be used to control the communication device, execute the software program, and process the data of the software program.
在一种可选的设计中,处理器 501也可以存有指令 503或者数据 (例如中间数据)。 其中, 所述指令 503可以被所述处理器运行, 使得所述通信装置 500执行上述方法实 施例中描述的对应于终端或者网络设备的方法。 In an alternative design, the processor 501 may also store instructions 503 or data (such as intermediate data). Wherein, the instruction 503 may be executed by the processor, so that the communication apparatus 500 executes the method corresponding to the terminal or the network device described in the foregoing method embodiment.
在又一种可能的设计中, 通信装置 500可以包括电路, 所述电路可以实现前述方 法实施例中发送或接收或者通信的功能。 In another possible design, the communication device 500 may include a circuit, and the circuit may implement the sending or receiving or communication functions in the foregoing method embodiments.
可选的, 所述通信装置 500中可以包括一个或多个存储器 502, 其上可以存有指 令 504, 所述指令可在所述处理器上被运行, 使得所述通信装置 500执行上述方法实 施例中描述的方法。 Optionally, the communication device 500 may include one or more memories 502, on which instructions 504 may be stored, and the instructions may be executed on the processor, so that the communication device 500 performs the foregoing method implementation The method described in the example.
可选的,所述存储器中也可以是存储有数据。所述处理器和存储器可以单独设置, 也可以集成在一起。 Optionally, data may also be stored in the memory. The processor and the memory can be provided separately or integrated together.
可选的,所述通信装置 500还可以包括收发器 505和 /或天线 506。所述处理器 501 可以称为处理单元, 对通信装置 (终端或者网络设备) 进行控制。 所述收发器 505可 以称为收发单元、收发机、收发电路、或者收发器等, 用于实现通信装置的收发功能。 Optionally, the communication device 500 may further include a transceiver 505 and/or an antenna 506. The processor 501 may be called a processing unit, and controls a communication device (terminal or network device). The transceiver 505 may be called a transceiver unit, transceiver, transceiver circuit, or transceiver, etc., and is used to implement the transceiver function of the communication device.
上述收发器 505与处理器 501的具体实现过程可以参见上述各实施例的相关描述, 此处不再赘述。 For the specific implementation process of the foregoing transceiver 505 and the processor 501, reference may be made to the related descriptions of the foregoing embodiments, and details are not described herein again.
本申请中描述的处理器 501和收发器 505可实现在集成电路 (integrated circuit, 1C)、 模拟 1C、 射频集成电路 ( radio frequency integrated circuit, RFIC ) 、 混合信号 1C、 专 用集成电路 ( application specific integrated circuit, ASIC )、 印刷电路板 ( printed circuit board , PCB)、 电子设备等上。该处理器和收发器也可以用各种 1C工艺技术来制造, 例如互补金属氧化物半导体 ( complementary metal oxide semiconductor, CMOS ) 、 N 型金属氧化物半导体 ( nMetal-oxide-semiconductor, NMOS ) 、 P 型金属氧化物半导体 ( positive channel metal oxide semiconductor, PMOS )、双极结型晶体管 ( Bipolar Junction Transistor, BJT)、 双极 CMOS(BiCMOS)、 硅锗 ( SiGe)、 砷化镓 ( GaAs)等。 The processor 501 and the transceiver 505 described in this application may be implemented in an integrated circuit (integrated circuit, 1C), analog 1C, radio frequency integrated circuit (RFIC), mixed signal 1C, and application specific integrated circuit (application specific integrated circuit). circuit, ASIC), printed circuit board (printed circuit board, PCB), electronic equipment, etc. The processor and transceiver can also be manufactured using various 1C process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal Oxide Semiconductor (Positive Channel Metal Oxide Semiconductor, PMOS), Bipolar Junction Transistor (BJT), Bipolar CMOS (BiCMOS), Silicon Germanium (SiGe), Gallium Arsenide (GaAs), etc.
虽然在以上的实施例描述中, 通信装置 500以终端或者网络设备为例来描述, 但 本申请中描述的通信装置的范围并不限于上述终端或上述网络设备, 而且通信装置的 结构可以不受图 13的限制。通信装置 500可以是独立的设备或者可以是较大设备的一 部分。 例如所述设备可以是: Although in the above description of the embodiments, the communication device 500 is described by taking a terminal or a network device as an example, the scope of the communication device described in this application is not limited to the foregoing terminal or the foregoing network device, and the structure of the communication device may not be Figure 13 limits. The communication device 500 may be a stand-alone device or may be part of a larger device. For example, the device may be:
( 1 ) 独立的集成电路 1C, 或芯片, 或, 芯片***或子***; (1) Independent integrated circuit 1C, or chip, or, chip system or subsystem;
( 2 )具有一个或多个 1C的集合, 可选的, 该 1C集合也可以包括用于存储数据和 /或指令的存储部件; (2) There are one or more 1C sets. Optionally, the 1C sets may also include storage components for storing data and/or instructions;
( 3 ) ASIC, 例如调制解调器 ( MSM); (3) ASIC, such as a modem (MSM);
( 4 ) 可嵌入在其他设备内的模块; (4) Modules that can be embedded in other equipment;
( 5 ) 接收机、 终端设备、 蜂窝电话、 无线设备、 手持机、 移动单元, 网络设备等 等; (5) Receivers, terminal equipment, cellular phones, wireless equipment, handhelds, mobile units, network equipment, etc. Wait;
( 6 ) 其他等等。 (6) Others, etc.
图 14为本申请实施例提供的一种终端的结构示意图。该终端设备可适用于本申请 上述各实施例中所述的终端设备。为了便于说明,图 14仅示出了终端设备的主要部件。 如图 14所示, 终端 600包括处理器、 存储器、 控制电路、 天线以及输入输出装置。 处 理器主要用于对通信协议以及通信数据进行处理, 以及对整个终端设备进行控制, 执 行软件程序, 处理软件程序的数据。 存储器主要用于存储软件程序和数据。 射频电路 主要用于基带信号与射频信号的转换以及对射频信号的处理。 天线主要用于收发电磁 波形式的射频信号。 输入输出装置, 例如触摸屏、 显示屏, 键盘等主要用于接收用户 输入的数据以及对用户输出数据。 FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of the application. The terminal device may be applicable to the terminal devices described in the foregoing embodiments of the present application. For ease of description, Figure 14 only shows the main components of the terminal device. As shown in FIG. 14, the terminal 600 includes a processor, a memory, a control circuit, an antenna, and an input and output device. The processor is mainly used to process the communication protocol and communication data, and to control the entire terminal device, execute the software program, and process the data of the software program. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used for the conversion of baseband signal and radio frequency signal and the processing of radio frequency signal. The antenna is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users.
当终端设备开机后, 处理器可以读取存储单元中的软件程序, 解释并执行软件程 序的指令, 处理软件程序的数据。 当需要通过无线发送数据时, 处理器对待发送的数 据进行基带处理后, 输出基带信号至射频电路, 射频电路将基带信号进行射频处理后 将射频信号通过天线以电磁波的形式向外发送。 当有数据发送到终端设备时, 射频电 路通过天线接收到射频信号, 将射频信号转换为基带信号, 并将基带信号输出至处理 器, 处理器将基带信号转换为数据并对该数据进行处理。 When the terminal device is turned on, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal to the outside in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
本领域技术人员可以理解, 为了便于说明, 图 14仅示出了一个存储器和处理器。 在实际的终端设备中, 可以存在多个处理器和存储器。 存储器也可以称为存储介质或 者存储设备等, 本申请实施例对此不做限制。 Those skilled in the art can understand that, for ease of description, FIG. 14 only shows a memory and a processor. In an actual terminal device, there may be multiple processors and memories. The memory may also be called a storage medium or a storage device, etc., which is not limited in the embodiment of the present application.
作为一种可选的实现方式, 处理器可以包括基带处理器和中央处理器, 基带处理 器主要用于对通信协议以及通信数据进行处理, 中央处理器主要用于对整个终端设备 进行控制, 执行软件程序, 处理软件程序的数据。 图 14中的处理器集成了基带处理器 和中央处理器的功能, 本领域技术人员可以理解, 基带处理器和中央处理器也可以是 各自独立的处理器, 通过总线等技术互联。 本领域技术人员可以理解, 终端可以包括 多个基带处理器以适应不同的网络制式, 终端可以包括多个中央处理器以增强其处理 能力, 终端的各个部件可以通过各种总线连接。 所述基带处理器也可以表述为基带处 理电路或者基带处理芯片。 所述中央处理器也可以表述为中央处理电路或者中央处理 芯片。 对通信协议以及通信数据进行处理的功能可以内置在处理器中, 也可以以软件 程序的形式存储在存储单元中, 由处理器执行软件程序以实现基带处理功能。 As an optional implementation, the processor may include a baseband processor and a central processing unit. The baseband processor is mainly used to process communication protocols and communication data. The central processing unit is mainly used to control the entire terminal device and execute Software program, processing the data of the software program. The processor in FIG. 14 integrates the functions of the baseband processor and the central processing unit. Those skilled in the art can understand that the baseband processor and the central processing unit may also be independent processors, and are interconnected by technologies such as buses. Those skilled in the art can understand that the terminal may include multiple baseband processors to adapt to different network standards, the terminal may include multiple central processors to enhance its processing capabilities, and various components of the terminal may be connected through various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and communication data can be built in the processor, or can be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
应理解, 本申请实施例中提及的处理器可以是中央处理单元 ( Central Processing Unit, CPU) , 还可以是其他通用处理器、 数字信号处理器 ( Digital Signal Processor, DSP) 、 专用集成电路 ( Application Specific Integrated Circuit, ASIC ) 、 现成可编程 门阵列 ( Field Programmable Gate Array, FPGA) 或者其他可编程逻辑器件、 分立门或 者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理器也可 以是任何常规的处理器等。 It should be understood that the processor mentioned in the embodiment of the present application may be a central processing unit (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits ( Application Specific Integrated Circuit (ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器, 或可包括易失性和非易失性存储器两者。 其中, 非易失性存储器可以是只读存储器 It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory
( 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, E SDRAM ) 、 同步连接动态随机存取存储器 ( Synchlink DRAM, SLDRAM) 和直接内存总线随机存 取存储器 ( Direct Rambus RAM, DR RAM) 。 (Read-Only Memory, ROM), Programmable ROM (Programmable ROM, PROM), Erasable PROM (Erasable PROM, EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache. By way of exemplary but not restrictive description, 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, E SDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct Rambus RAM (DR RAM).
需要说明的是, 当处理器为通用处理器、 DSP、 ASIC, FPGA或者其他可编程逻 辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件时, 存储器 (存储模块) 集成在 处理器中。 It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。 图 15为本申请实施例提供的通信装置的结构示意图二, 所述通信装置包括: 发送 模块 1201和接收模块 1202 It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories. FIG. 15 is a second schematic structural diagram of a communication device provided by an embodiment of the application. The communication device includes: a sending module 1201 and a receiving module 1202
发送模块 1201, 用于向网络设备发送第一随机接入前导, 所述第一随机接入前导 是根据随机接入前导集合中的 S个子随机接入前导生成的, 所述随机接入前导集合包 括 N个子随机接入前导, N和 S为大于 1的整数, S^N; 接收模块 1202, 用于从所 述网络设备接收第一随机接入响应消息, 所述第一随机接入响应消息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 The sending module 1201 is configured to send a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and the random access preamble set It includes N sub-random access preambles, where N and S are integers greater than 1, S^N; a receiving module 1202, configured to receive a first random access response message from the network device, the first random access response message Including indication information, where the indication information indicates a second random access preamble to the terminal.
可选地, 所述指示信息包括所述第二随机接入前导的标识。 Optionally, the indication information includes an identifier of the second random access preamble.
可选地, 作为一个实施例, 所述发送模块 1201, 具体用于: 在第一物理随机接入 信道 PRACH资源上向所述网络设备发送所述第一随机接入前导; Optionally, as an embodiment, the sending module 1201 is specifically configured to: send the first random access preamble to the network device on a first physical random access channel PRACH resource;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为大于 1的整数, WS SSN。 Wherein, the number of sub-random access preambles included in the sub-random access preamble group in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, where W is an integer greater than 1, WS SSN.
可选地, 作为一个实施例, 生成第一终端集合中的终端的随机接入前导的子随机 接入前导的数目为 S, 所述 M个子随机接入前导组中的子随机接入前导组包括的子随 机接入前导的数目为 S; 其中, 所述第一终端集合中包括所述终端, 所述第一终端集 合为在所述第一 PRACH资源上向所述网络设备发送随机接入前导的终端的集合。 Optionally, as an embodiment, the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is generated as S, and the sub-random access preamble groups in the M sub-random access preamble groups The number of sub-random access preambles included is S; wherein, the first terminal set includes the terminal, and the first terminal set is to send random access to the network device on the first PRACH resource The set of leading terminals.
本实施例的通信装置, 可以用于执行上述方法实施例中终端对应的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。 可以理解的是, 本实施例中的通信装置, 可以为终端, 也可以为可用于终端的部件, 本申请实施例对此不做限定。 The communication device in this embodiment can be used to execute the technical solution corresponding to the terminal in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a terminal or a component that can be used for a terminal, which is not limited in the embodiment of the present application.
图 16为本申请实施例提供的通信装置的结构示意图三, 参见图 16, 本实施例在 图 15的所示的通信装置基础上还包括: 处理模块 1203。 FIG. 16 is a third structural schematic diagram of a communication device provided by an embodiment of this application. See FIG. 16, this embodiment further includes: a processing module 1203 on the basis of the communication device shown in FIG.
所述处理模块 1203 , 用于根据所述第一随机接入响应消息, 确定所述第二随机接 入前导; 所述发送模块 1201, 还用于向所述网络设备发送所述第二随机接入前导。 The processing module 1203 is configured to determine the second random access preamble according to the first random access response message; The sending module 1201 is further configured to send the second random access preamble to the network device.
可选地, 作为一个实施例, 所述接收模块 1202, 具体用于: 从所述网络设备接收 所述 PDU; 所述处理模块 1203还用于, 根据所述 S个子随机接入前导的标识、 所述 PDU的头部包括的子随机接入前导标识和所述预设排序规则, 确定所述 PDU的负荷 部包括的所述第一随机接入响应消息。 Optionally, as an embodiment, the receiving module 1202 is specifically configured to: receive the PDU from the network device; and the processing module 1203 is further configured to, according to the identifiers of the S sub-random access preambles, The sub-random access preamble identifier included in the header of the PDU and the preset ordering rule are used to determine the first random access response message included in the load part of the PDU.
可选地, 作为一个实施例, 所述接收模块 1202, 具体用于: 从所述网络设备接收 包括所述第一随机接入响应消息的所述 PDU; 所述处理模块 1203还用于, 根据所述 第一子随机接入前导组的标识,确定所述 PDU的负荷部包括的所述第一随机接入响应 消息。 Optionally, as an embodiment, the receiving module 1202 is specifically configured to: receive the PDU including the first random access response message from the network device; and the processing module 1203 is further configured to: The identifier of the first random access sub-preamble group determines the first random access response message included in the load part of the PDU.
本实施例中的第一随机接入响应消息位于媒体接入控制 MAC层的协议数据单元 PDU中, 该 PDU可具有如下但不限于如下五种格式。 The first random access response message in this embodiment is located in the protocol data unit PDU of the media access control MAC layer, and the PDU may have the following but not limited to the following five formats.
第一种格式: 所述第一随机接入响应消息位于媒体接入控制 MAC层的协议数据 单元 PDU中, 所述 PDU的头部包括多个子随机接入前导标识; 其中, 所述子随机接 入前导标识所对应的子随机接入前导为所述 M个子随机接入前导组包括的子随机接入 前导。 The first format: The first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the header of the PDU includes multiple sub-random access preamble identifiers; wherein, the sub-random access The sub-random access preamble corresponding to the incoming preamble identifier is the sub-random access preamble included in the M sub-random access preamble groups.
所述 PDU的负荷部包括与所述 M个子随机接入前导组分别对应的 M个随机接入 响应消息; 其中, 所述第一子随机接入前导组为按照预设排序规则对 M个子随机接入 前导组排序后的第 m个子随机接入前导组, 所述第一随机接入响应消息为所述负荷部 包括的第 m个随机接入响应消息; m=l,〜M。 The load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein, the first sub-random access preamble group is random access to the M sub-random access preamble groups according to a preset ordering rule. The m-th random access preamble group after the access preamble group is sorted, and the first random access response message is the m-th random access response message included in the load part; m=1,~M.
第二种格式: 所述第一随机接入响应消息位于媒体接入控制 MAC层的协议数据 单元 PDU中, 所述 PDU的头部的 M个子头部中包括所述 M个子随机接入前导组的 标识。 The second format: the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the M sub-headers of the header of the PDU include the M sub-random access preamble groups Logo.
所述 PDU的负荷部包括与所述 M个子随机接入前导组分别对应的 M个随机接入 响应消息; 其中, 所述第一子随机接入前导组的标识位于所述 M个子头部中的第 m 个子头部,所述第一随机接入响应消息为所述负荷部包括的第 m个随机接入响应消息, m=l, Mo The load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the M sub-headers The m-th subheader of, the first random access response message is the m-th random access response message included in the load part, m=1, M o
第三种格式: 所述第一随机接入响应消息位于媒体接入控制 MAC层的协议数据 单元 PDU中, 所述 PDU的头部的 K个子头部中包括 K个子随机接入前导组的标识, 所述 K个子随机接入前导组为所述 M个子随机接入前导组中的子随机接入前导组, K ^M; 其中, 所述 K个子随机接入前导组包括所述第一子随机接入前导组, 所述 K个 子随机接入前导组中存在与所述 K个子随机接入前导组中任一个子随机接入前导组对 应的 TA相同的子随机接前导组。 The third format: the first random access response message is located in the protocol data unit PDU of the media access control MAC layer, and the K sub-headers of the header of the PDU include the identities of the K sub-random access preamble groups , The K sub-random access preamble groups are sub-random access preamble groups in the M sub-random access preamble groups, K^M; wherein, the K sub-random access preamble groups include the first sub-random access preamble group A random access preamble group, where the K sub-random access preamble groups have a sub-random access preamble group that is the same as the TA corresponding to any one of the K sub-random access preamble groups.
所述 PDU的负荷部包括与所述 K个子随机接入前导组分别对应的 K个随机接入 响应消息; 其中, 所述第一子随机接入前导组的标识位于所述 K个子头部中的第 k个 子头部, 所述第一随机接入响应消息为所述负荷部包括的第 k个随机接入响应消息, k=l, K。 The load part of the PDU includes K random access response messages respectively corresponding to the K sub-random access preamble groups; wherein, the identifier of the first sub-random access preamble group is located in the K sub-headers The kth subheader of, the first random access response message is the kth random access response message included in the load part, k=1, K.
第四种格式:第一随机接入响应消息位于 MAC层的 PDU中,该 PDU的头部的 X 个子头部中包括 X个子随机接入前导组的标识, X^M, X为大于 1的整数; 一个子 随机接入前导组的标识位于一个子头部中。 其中, X个子随机接入前导组为 M个子随 机接入前导组中对应的 TA相同的子随机接入前导组, X个子随机接入前导组中包括 第一随机接入前导组。 The fourth format: The first random access response message is located in the PDU of the MAC layer. The X subheaders of the PDU header include the identifiers of X sub-random access preamble groups, X^M, X is greater than 1. Integer; The identifier of a sub-random access preamble group is located in a sub-header. Among them, X sub-random access preamble groups are M sub-random The sub-random access preamble group corresponding to the same TA in the machine access preamble group, and the first random access preamble group is included in the X sub-random access preamble groups.
该 PDU的负荷部包括与 X个子随机接入前导组分别对应的 X个随机接入响应消 息; 其中, 第一子随机接入前导组的标识位于 X个子头部中的第 x个子头部, 第一随 机接入响应消息为该 PDU的负荷部包括的第 x个随机接入响应消息, x=l,〜X。 The load part of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups; wherein the identifier of the first sub-random access preamble group is located in the x-th sub-header among the X sub-headers, The first random access response message is the xth random access response message included in the load part of the PDU, where x=1,~X.
第五种格式: 第一随机接入响应消息位于 MAC层的 PDU中, 该 PDU的头部包 括多个子随机接入前导标识, 其中, 子随机接入前导标识所对应的子随机接入前导为 M个子随机接入前导组中对应的 TA相同的 X个子随机接入前导组包括的子随机接入 前导; X个子随机接入前导组中包括第一随机接入前导组。 PDU的头部包括多个子头 部, X个子随机接入前导组中的每个子随机接入前导的子随机接入前导标识均位于该 PDU的头部, 一个随机接入前导标识位于一个子头部中。 The fifth format: The first random access response message is located in the PDU of the MAC layer. The header of the PDU includes multiple sub-random access preamble identifiers, where the sub-random access preamble corresponding to the sub-random access preamble identifier is The sub-random access preambles included in the X sub-random access preamble groups corresponding to the same TA in the M sub-random access preamble groups; the X sub-random access preamble groups include the first random access preamble group. The header of the PDU includes multiple sub-headers, the sub-random access preamble identifier of each sub-random access preamble in the X sub-random access preamble groups is located at the head of the PDU, and one random access preamble identifier is located in a sub-header Ministry.
该 PDU的负荷部 ( payload ) 包括与 X个子随机接入前导组分别对应的 X个随机 接入响应消息。 其中, 第一子随机接入前导组为根据预设排序规则对 X个子随机接入 前导排序后的第 x个子随机接入前导组,第一随机接入响应消息为该 PDU的负荷部包 括的第 x个随机接入响应消息, x=l,〜X。 The payload of the PDU includes X random access response messages respectively corresponding to the X sub-random access preamble groups. Wherein, the first random access preamble group is the xth random access preamble group after the X random access preambles are sorted according to a preset ordering rule, and the first random access response message is included in the load part of the PDU The xth random access response message, x=1,~X.
本实施例的通信装置, 可以用于执行上述方法实施例中终端对应的技术方案, 其 实现原理和技术效果类似, 此处不再赘述。 可以理解的是, 本实施例中的通信装置, 可以为终端, 也可以为可用于终端的部件, 本申请实施例对此不做限定。 The communication device in this embodiment can be used to execute the technical solution corresponding to the terminal in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a terminal or a component that can be used for a terminal, which is not limited in the embodiment of the present application.
图 17为本申请实施例提供的通信装置的结构示意图四, 参见图 17, 本实施例的 通信装置还包括: 接收模块 1401和发送模块 1402。 FIG. 17 is a fourth structural diagram of a communication device according to an embodiment of the application. Referring to FIG. 17, the communication device in this embodiment further includes: a receiving module 1401 and a sending module 1402.
接收模块 1401, 用于从终端接收第一随机接入前导, 所述第一随机接入前导根据 随机接入前导集合包括的 S个子随机接入前导生成, 所述随机接入前导集合包括 N个 子随机接入前导, N和 S为大于 1的整数, S^N; 发送模块 1402, 用于向所述终端发 送第一随机接入响应消息, 所述第一随机接入响应消息包括指示信息, 所述指示信息 向所述终端指示第二随机接入前导。 The receiving module 1401 is configured to receive a first random access preamble from a terminal, where the first random access preamble is generated according to the S sub-random access preambles included in the random access preamble set, and the random access preamble set includes N sub-random access preambles. Random access preamble, where N and S are integers greater than 1, S^N; the sending module 1402 is configured to send a first random access response message to the terminal, where the first random access response message includes indication information, The indication information indicates the second random access preamble to the terminal.
可选地, 所述指示信息包括所述第二随机接入前导的标识。 Optionally, the indication information includes an identifier of the second random access preamble.
可选地, 作为一个实施例, 所述接收模块 1401还用于从所述终端接收所述第二随 接入前导。 Optionally, as an embodiment, the receiving module 1401 is further configured to receive the second follow-on preamble from the terminal.
可选地, 作为一个实施例, 所述第一随机接入前导是在第一 PRACH资源上接收 到的; Optionally, as an embodiment, the first random access preamble is received on the first PRACH resource;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述笫一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And in the M sub-random access preamble groups, there is a sub-random access preamble group with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为大于 1的整数, WS SSN。 Wherein, the number of sub-random access preambles included in the sub-random access preamble group in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, where W is an integer greater than 1, WS SSN.
可选地, 作为一个实施例, 生成第一终端集合中的终端的随机接入前导的子随机 接入前导的数目为 S, 所述 M个子随机接入前导组中的子随机接入前导组包括的子随 机接入前导的数目为 S ; 其中, 所述第一终端集合中包括所述终端, 所述第一终端集 合为在所述第一 PRACH资源上向所述网络设备发送随机接入前导的终端的集合。 Optionally, as an embodiment, the number of sub-random access preambles of the random access preamble of the terminals in the first terminal set is generated as S, and the sub-random access preamble groups in the M sub-random access preamble groups The number of sub-random access preambles included is S; wherein, the first terminal set includes the terminal, and the first terminal set They are combined into a set of terminals that send random access preambles to the network device on the first PRACH resource.
本实施例的通信装置,可以用于执行上述方法实施例中网络设备对应的技术方案, 其实现原理和技术效果类似,此处不再赘述。可以理解的是,本实施例中的通信装置, 可以为网络设备, 也可以为可用于网络设备的部件, 本申请实施例对此不做限定。 The communication device in this embodiment can be used to execute the technical solution corresponding to the network device in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a network device or a component that can be used for a network device, which is not limited in the embodiment of the present application.
图 18为本申请实施例提供的通信装置的结构示意图五, 参见图 18 , 本实施例在 图 17所示的装置的基础上, 还包括: 处理模块 1403。 FIG. 18 is a fifth structural schematic diagram of a communication device provided by an embodiment of this application. Referring to FIG. 18, this embodiment further includes: a processing module 1403 based on the device shown in FIG. 17.
所述处理模块 1403 , 用于根据在第一 PRACH资源上接收到的随机接入前导, 确 定多个预选子随机接入前导组, 所述预选子随机接入前导组包括的子随机接入前导的 总能量大于第一预设能量,多个预选子随机接入前导组中包括第一子随机接入前导组, 所述预选子随机接入前导组中包括的子随机接入前导的数目大于等于 W且小于等于 N, 以及根据多个预选子随机接入前导组, 得到所述 M个子随机接入前导组。 The processing module 1403 is configured to determine multiple preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, and the sub-random access preambles included in the preselected sub-random access preamble group The total energy of is greater than the first preset energy, the plurality of preselected sub-random access preamble groups include the first sub-random access preamble group, and the number of sub-random access preambles included in the preselected sub-random access preamble group is greater than Equal to W and less than or equal to N, and obtain the M sub-random access preamble groups according to a plurality of preselected sub-random access preamble groups.
可选地, 作为一个实施例, 所述处理模块在用于根据在第一 PRACH资源上接收 到的随机接入前导, 确定多个预选子随机接入前导组时, 具体用于: Optionally, as an embodiment, when the processing module is used to determine a plurality of preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically configured to:
根据在第一 PRACH资源上接收到的随机接入前导, 检测子随机接入前导, 并确 定检测到的能量大于第二预设能量的子随机接入前导为检测到的子随机接入前导; 根据第一预设能量、 检测到的子随机接入前导以及检测到的子随机接入前导的能 量和对应的 TA, 确定多个预选子随机接入前导组。 Detecting the sub-random access preamble according to the random access preamble received on the first PRACH resource, and determining that the sub-random access preamble with the detected energy greater than the second preset energy is the detected sub-random access preamble; According to the first preset energy, the detected sub-random access preamble, the energy of the detected sub-random access preamble and the corresponding TA, a plurality of preselected sub-random access preamble groups are determined.
可选地, 作为一个实施例, 所述处理模块 1403在用于根据在第一 PRACH资源上 接收到的随机接入前导, 确定多个预选子随机接入前导组时, 具体用于: Optionally, as an embodiment, when the processing module 1403 is configured to determine multiple preselected sub-random access preamble groups according to the random access preamble received on the first PRACH resource, it is specifically configured to:
根据在第一 PRACH资源上接收到的随机接入前导, 获取需要检测的每个时间窗 的每个位置所对应的全部子随机接入前导各自的能量, 每个时间窗的每个位置对应一 个 TA;所述全部子随机接入前导为全部随机接入前导集合中包括的去除重复后所有子 随机接入前导; According to the random access preamble received on the first PRACH resource, obtain the respective energy of all sub-random access preambles corresponding to each position of each time window to be detected, and each position of each time window corresponds to one TA; the all sub-random access preambles are all sub-random access preambles included in the set of all random access preambles after deduplication;
将全部子随机接入前导中的子随机接入前导进行组合, 得到多个备选子随机接入 前导组; Combining the sub-random access preambles in all the sub-random access preambles to obtain multiple candidate sub-random access preamble groups;
对于需要检测的各时间窗中的任意一个第一时间窗的第一位置, 根据所述第一时 间窗的第一位置所对应的全部子随机接入前导各自的能量, 确定多个备选子随机接入 前导组中包括的子随机接入前导的总能量大于第一预设能量的备选子随机接入前导组 为与第一 TA对应的预选子随机接入前导组, 其中, 所述第一 TA为与第一时间窗的 第一位置对应的 TA。 For the first position of any one of the first time windows in each time window that needs to be detected, determine multiple candidates according to the respective energies of all sub-random access preambles corresponding to the first position of the first time window The random access preamble candidate group of which the total energy of the sub-random access preambles included in the random access preamble group is greater than the first preset energy is a pre-selected sub-random access preamble group corresponding to the first TA, wherein, The first TA is the TA corresponding to the first position of the first time window.
可选地, 作为一个实施例, 所述处理模块 1403在用于根据多个预选子随机接入前 导组, 得到 M个子随机接入前导组时, 具体用于: 对于多个预选子随机接入前导组对 应的多个 TA中的任意一个笫一 TA: Optionally, as an embodiment, when the processing module 1403 is configured to randomly access the preamble group according to a plurality of preselectors to obtain M random access preamble groups, it is specifically configured to: randomly access the multiple preselectors Any one of the multiple TAs corresponding to the preamble group is the first TA:
对于多个预选子随机接入前导组中与所述第一 TA对应的第一待选子随机接入前 导组, 获取第一待选子随机接入前导组中包括的各子随机接入前导在第一待选子随机 接入前导组中出现的次数, 将出现次数相同的子随机接入前导划分为一组, 得到至少 一个第二待选子随机接入前导组; For the first candidate random access preamble group corresponding to the first TA among the multiple preselected random access preamble groups, obtain each random access preamble included in the first candidate random access preamble group The number of occurrences in the random access preamble group of the first candidate, dividing the random access preambles with the same number of occurrences into one group to obtain at least one random access preamble group of the second candidate;
将包括的子随机接入前导的数目小于预设数目的各第二待选子随机接入前导组中 的子随机接入前导进行组合, 得到所述第一 TA对应的目标子随机接入前导组; 去除所述多个 TA各自对应的目标子随机接入前导组中重复的子随机接入前导组, 得到所述 M个子随机接入前导组。 Combine the sub-random access preambles in each second candidate sub-random access preamble group whose number of included sub-random access preambles is less than the preset number to obtain the target sub-random access preamble corresponding to the first TA group; Remove the repeated sub-random access preamble groups in the target sub-random access preamble groups corresponding to each of the multiple TAs to obtain the M sub-random access preamble groups.
本实施例中的第一随机接入响应消息位于媒体接入控制 MAC层的协议数据单元 PDU中, 该 PDU的格式与图 13所示的实施例中的格式相同。 The first random access response message in this embodiment is located in the protocol data unit PDU of the media access control MAC layer, and the format of the PDU is the same as the format in the embodiment shown in FIG. 13.
本实施例的通信装置,可以用于执行上述方法实施例中网络设备对应的技术方案, 其实现原理和技术效果类似,此处不再赘述。可以理解的是,本实施例中的通信装置, 可以为网络设备, 也可以为可用于网络设备的部件, 本申请实施例对此不做限定。 The communication device in this embodiment can be used to execute the technical solution corresponding to the network device in the foregoing method embodiment, and its implementation principles and technical effects are similar, and will not be repeated here. It can be understood that the communication device in this embodiment may be a network device or a component that can be used for a network device, which is not limited in the embodiment of the present application.
需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式。 在本申请的实施例中的各功能模块可以集成在一个处 理模块中, 也可以是各个模块单独物理存在, 也可以两个或两个以上模块集成在一个模块 中。 上述集成的模块既可以采用硬件的形式实现, 也可以采用软件功能模块的形式实现。 所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本申请的技术方案本质 上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的 形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)或处理器(processor) 执行本申请各个实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory, RAM) 、 磁碟或者光盘等各种可以存储程序代码的介质。 It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation. The functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. , Including several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes .
本申请实施例还提供一种可读存储介质, 所述可读存储介质上存储有计算机程序; 所述计算机程序被执行时, 实现如第一方面或第一方面任一可能的实现方式所述的通 信方法。 The embodiment of the present application also provides a readable storage medium on which a computer program is stored; when the computer program is executed, the implementation is as described in the first aspect or any possible implementation manner of the first aspect Communication method.
本申请实施例还提供一种可读存储介质, 所述可读存储介质上存储有计算机程序; 所述计算机程序被执行时, 实现如第二方面或第二方面任一可能的实现方式所述的通 信方法。 The embodiments of the present application also provide a readable storage medium on which a computer program is stored; when the computer program is executed, the implementation is as described in the second aspect or any possible implementation manner of the second aspect Communication method.
在上述实施例中, 可以全部或部分地通过软件、 硬件、 固件或者其任意组合来实 现。 当使用软件实现时, 可以全部或部分地以计算机程序产品的形式实现。 所述计算 机程序产品包括一个或多个计算机指令。 在计算机上加载和执行所述计算机程序指令 时, 全部或部分地产生按照本申请实施例所述的流程或功能。 所述计算机可以是通用 计算机、 专用计算机、 计算机网络、 或者其他可编程装置。 所述计算机指令可以存储 在计算机可读存储介质中, 或者从一个计算机可读存储介质向另一个计算机可读存储 介质传输, 例如, 所述计算机指令可以从一个网站站点、 计算机、 服务器或数据中心 通过有线 (例如同轴电缆、 光纤、 数字用户线 (DSL) ) 或无线 (例如红外、 无线、 微波等) 方式向另一个网站站点、 计算机、 服务器或数据中心进行传输。 所述计算机 可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质 集成的服务器、 数据中心等数据存储设备。 所述可用介质可以是磁性介质, (例如, 软 盘、硬盘、磁带)、光介质(例如, DVD)、或者半导体介质(例如固态硬盘 Solid State Disk (SSD)) 等。 In the foregoing embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). 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 or data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state hard disk (SSD)).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任 何熟悉本技术领域的技术人员在本发明掲露的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权利要求的保 护范围为准。 The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention, and they should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

权 利 要 求 书 Claims
1、 一种通信方法, 其特征在于, 包括: 1. A communication method, characterized in that it includes:
终端向网络设备发送第一随机接入前导, 所述第一随机接入前导是根据随机接入 前导集合中的 S个子随机接入前导生成的, 所述随机接入前导集合包括 N个子随机接 入前导, N和 S为大于 1的整数, S^N; The terminal sends a first random access preamble to the network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and the random access preamble set includes N sub-random access preambles. Into the preamble, N and S are integers greater than 1, S^N;
所述终端从所述网络设备接收第一随机接入响应消息, 所述第一随机接入响应消 息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 The terminal receives a first random access response message from the network device, where the first random access response message includes indication information, and the indication information indicates a second random access preamble to the terminal.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括: 2. The method according to claim 1, further comprising:
所述终端根据所述第一随机接入响应消息, 确定所述第二随机接入前导; 所述终端向所述网络设备发送所述第二随机接入前导。 The terminal determines the second random access preamble according to the first random access response message; the terminal sends the second random access preamble to the network device.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述终端向网络设备发送第一 随机接入前导, 包括: 所述终端在第一物理随机接入信道 PRACH资源上向所述网络 设备发送所述第一随机接入前导; 3. The method according to claim 1 or 2, wherein the sending of the first random access preamble by the terminal to the network device comprises: the terminal on the first physical random access channel PRACH resource to the The network device sends the first random access preamble;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
4、 根据权利要求 3所述的方法, 其特征在于, 所述第一随机接入响应消息位于媒 体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部包括多个子随机接入 前导标识; 4. The method according to claim 3, wherein the first random access response message is located in a protocol data unit PDU of a media access control MAC layer, and the header of the PDU includes multiple sub-random access Leading mark
其中,所述子随机接入前导标识所对应的子随机接入前导为所述 M个子随机接入 前导组包括的子随机接入前导。 Wherein, the sub-random access preamble corresponding to the sub-random access preamble identifier is the sub-random access preamble included in the M sub-random access preamble group.
5、 根据权利要求 4所述的方法, 其特征在于, 所述 PDU的负荷部包括与所述 M 个子随机接入前导组分别对应的 M个随机接入响应消息; 5. The method according to claim 4, wherein the load part of the PDU includes M random access response messages respectively corresponding to the M sub-random access preamble groups;
其中,所述第一子随机接入前导组为按照预设排序规则对 M个子随机接入前导组 排序后的第 m个子随机接入前导组, 所述第一随机接入响应消息为所述负荷部包括的 第 m个随机接入响应消息; m=l/"M。 Wherein, the first random access preamble subgroup is the mth random access preamble subgroup after the M random access preamble groups are sorted according to a preset sorting rule, and the first random access response message is the The mth random access response message included in the load section; m=1/"M.
6、 根据权利要求 3所述的方法, 其特征在于, 所述第一随机接入响应消息位于媒 体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部的 M个子头部中包括 所述 M个子随机接入前导组的标识。 6. The method according to claim 3, wherein the first random access response message is located in a protocol data unit PDU of a media access control MAC layer, and in M subheaders of the header of the PDU Including the identifiers of the M sub-random access preamble groups.
7、 根据权利要求 6所述的方法, 其特征在于, 所述 PDU的负荷部包括与所述 M 个子随机接入前导组分别对应的 M个随机接入响应消息; 7. The method according to claim 6, wherein the load part of the PDU comprises M random access response messages respectively corresponding to the M sub-random access preamble groups;
其中, 所述第一子随机接入前导组的标识位于所述 M个子头部中的第 m个子头 部,所述第一随机接入响应消息为所述负荷部包括的第 m个随机接入响应消息, m=l , Wherein, the identifier of the first sub-random access preamble group is located in the m-th sub-header among the M sub-headers, and the first random access response message is the m-th random access message included in the load unit. Incoming response message, m=l,
M o M o
8、 根据权利要求 3所述的方法, 其特征在于, 所述第一随机接入响应消息位于媒 体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部的 K个子头部中包括 K个子随机接入前导组的标识,所述 K个子随机接入前导组为所述 M个子随机接入前 导组中的子随机接入前导组, K^M; 8. The method according to claim 3, wherein the first random access response message is located in a medium In the protocol data unit PDU of the physical access control MAC layer, the K sub-headers of the header of the PDU include the identifiers of the K sub-random access preamble groups, and the K sub-random access preamble groups are the M sub-headers. The sub-random access preamble group in the random access preamble group, K^M;
其中, 所述 K个子随机接入前导组包括所述第一子随机接入前导组, 所述 K个子 随机接入前导组中存在与所述 K个子随机接入前导组中任一个子随机接入前导组对应 的 TA相同的子随机接前导组。 Wherein, the K sub-random access preamble groups include the first sub-random access preamble group, and the K sub-random access preamble groups have random access to any one of the K sub-random access preamble groups. The children with the same TA corresponding to the leading group are randomly connected to the leading group.
9、 根据权利要求 8所述的方法, 其特征在于, 所述 PDU的负荷部包括与所述 K 个子随机接入前导组分别对应的 K个随机接入响应消息; 9. The method according to claim 8, wherein the load part of the PDU comprises K random access response messages respectively corresponding to the K sub-random access preamble groups;
其中,所述第一子随机接入前导组的标识位于所述 K个子头部中的第 k个子头部, 所述第一随机接入响应消息为所述负荷部包括的第 k个随机接入响应消息, k=l, -Ko Wherein, the identifier of the first random access preamble group is located in the k-th sub-header among the K sub-headers, and the first random access response message is the k-th random access included in the load unit. Incoming response message, k=l, -K o
10、 根据权利要求 1〜 9任一项所述的方法, 其特征在于, 所述指示信息包括所述 第二随机接入前导的标识。 10. The method according to any one of claims 1-9, wherein the indication information includes an identifier of the second random access preamble.
1 1、 一种通信方法, 其特征在于, 包括: 11. A communication method, characterized in that it includes:
网络设备从终端接收第一随机接入前导, 所述第一随机接入前导根据随机接入前 导集合包括的 S个子随机接入前导生成, 所述随机接入前导集合包括 N个子随机接入 前导, N和 S为大于 1的整数, S^N; The network device receives a first random access preamble from the terminal, where the first random access preamble is generated according to the S sub-random access preambles included in the random access preamble set, and the random access preamble set includes N sub-random access preambles , N and S are integers greater than 1, S^N;
所述网络设备向所述终端发送第一随机接入响应消息, 所述第一随机接入响应消 息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 The network device sends a first random access response message to the terminal, where the first random access response message includes indication information, and the indication information indicates a second random access preamble to the terminal.
12、 根据权利要求 1 1所述的方法, 其特征在于, 所述第一随机接入前导是在第一 PRACH资源上接收到的; 12. The method according to claim 11, wherein the first random access preamble is received on a first PRACH resource;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
13、 根据权利要求 12所述的方法, 其特征在于, 生成第一终端集合中的终端的随 机接入前导的子随机接入前导的数目为 S, 所述 M个子随机接入前导组中的子随机接 入前导组包括的子随机接入前导的数目为 S ; 13. The method according to claim 12, wherein the number of sub-random access preambles of the random access preambles of the terminals in the first terminal set is S, and the number of sub-random access preambles in the M sub-random access preamble groups The number of sub-random access preambles included in the sub-random access preamble group is S;
其中, 所述第一终端集合中包括所述终端, 所述第一终端集合为在所述第一 P R A C H资源上向所述网络设备发送随机接入前导的终端的集合。 Wherein, the first terminal set includes the terminal, and the first terminal set is a set of terminals that send a random access preamble to the network device on the first PR A CH resource.
14、 根据权利要求 12所述的方法, 其特征在于, 所述第一随机接入响应消息位于 媒体接入控制 MAC层的 I办议数据单元 PDU中, 所述 PDU的头部包括多个子随机接 入前导标识; 14. The method according to claim 12, wherein the first random access response message is located in a media access control (MAC) layer of a protocol data unit PDU, and the header of the PDU includes multiple sub-randoms. Access preamble identifier;
其中,所述子随机接入前导标识所对应的子随机接入前导为所述 M个子随机接入 前导组包括的子随机接入前导。 Wherein, the sub-random access preamble corresponding to the sub-random access preamble identifier is the sub-random access preamble included in the M sub-random access preamble group.
15、 根据权利要求 12所述的方法, 其特征在于, 所述第一随机接入响应消息位于 媒体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部的 M个子头部中包 括所述 M个子随机接入前导组的标识。 15. The method according to claim 12, wherein the first random access response message is located in a protocol data unit PDU of a media access control MAC layer, and in M subheaders of the header of the PDU Including the identifiers of the M sub-random access preamble groups.
16、 根据权利要求 12所述的方法, 其特征在于, 所述第一随机接入响应消息位于 媒体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部的 K个子头部中包 括 K个子随机接入前导组的标识, 所述 K个子随机接入前导组为所述 M个子随机接 入前导组中的子随机接入前导组, K^M; 16. The method according to claim 12, wherein the first random access response message is located in a media access control MAC layer protocol data unit PDU, and K subheaders in the header of the PDU Includes identifiers of K sub-random access preamble groups, where the K sub-random access preamble groups are sub-random access preamble groups in the M sub-random access preamble groups, K^M;
其中, 所述 K个子随机接入前导组包括所述第一子随机接入前导组, 所述 K个子 随机接入前导组中存在与所述 K个子随机接入前导组中任一个子随机接入前导组对应 的 TA相同的子随机接前导组。 Wherein, the K sub-random access preamble groups include the first sub-random access preamble group, and the K sub-random access preamble groups have random access to any one of the K sub-random access preamble groups. The children with the same TA corresponding to the leading group are randomly connected to the leading group.
17、 根据权利要求 1 1〜 16任一项所述的方法, 其特征在于, 所述指示信息包括所 述第二随机接入前导的标识。 17. The method according to any one of claims 11-16, wherein the indication information includes an identifier of the second random access preamble.
18、 一种通信装置, 其特征在于, 包括: 18. A communication device, characterized in that it comprises:
发送模块, 用于向网络设备发送第一随机接入前导, 所述第一随机接入前导是根 据随机接入前导集合中的 S个子随机接入前导生成的, 所述随机接入前导集合包括 N 个子随机接入前导, N和 S为大于 1的整数, S^N; A sending module, configured to send a first random access preamble to a network device, where the first random access preamble is generated according to S sub-random access preambles in a random access preamble set, and the random access preamble set includes N sub-random access preambles, N and S are integers greater than 1, S^N;
接收模块, 用于从所述网络设备接收第一随机接入响应消息, 所述第一随机接入 响应消息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 The receiving module is configured to receive a first random access response message from the network device, where the first random access response message includes indication information, and the indication information indicates a second random access preamble to the terminal.
19、 根据权利要求 18所述的装置, 其特征在于, 还包括: 处理模块; 19. The device according to claim 18, further comprising: a processing module;
所述处理模块, 用于根据所述第一随机接入响应消息, 确定所述第二随机接入前 导; The processing module is configured to determine the second random access preamble according to the first random access response message;
所述发送模块, 还用于向所述网络设备发送所述第二随机接入前导。 The sending module is further configured to send the second random access preamble to the network device.
20、根据权利要求 18或 19所述的装置, 其特征在于, 所述发送模块, 具体用于: 在第一物理随机接入信道 PRACH资源上向所述网络设备发送所述第一随机接入前导; 所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; 20. The apparatus according to claim 18 or 19, wherein the sending module is specifically configured to: send the first random access to the network device on a first physical random access channel PRACH resource Preamble; the S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access A preamble group, and in the M sub-random access preamble groups there is a sub-random access preamble group with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
21、 根据权利要求 20所述的装置, 其特征在于, 所述第一随机接入响应消息位于 媒体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部包括多个子随机接 入前导标识; 21. The apparatus according to claim 20, wherein the first random access response message is located in a protocol data unit PDU of a media access control MAC layer, and the header of the PDU includes multiple sub-random access Leading mark
其中,所述子随机接入前导标识所对应的子随机接入前导为所述 M个子随机接入 前导组包括的子随机接入前导。 Wherein, the sub-random access preamble corresponding to the sub-random access preamble identifier is the sub-random access preamble included in the M sub-random access preamble group.
22、 根据权利要求 21所述的装置, 其特征在于, 所述 PDU的负荷部包括与所述 M个子随机接入前导组分别对应的 M个随机接入响应消息; 22. The apparatus according to claim 21, wherein the load part of the PDU comprises M random access response messages respectively corresponding to the M sub-random access preamble groups;
其中,所述第一子随机接入前导组为按照预设排序规则对 M个子随机接入前导组 排序后的第 m个子随机接入前导组, 所述第一随机接入响应消息为所述负荷部包括的 第 m个随机接入响应消息; m=l/"M。 Wherein, the first random access preamble subgroup is the mth random access preamble subgroup after the M random access preamble groups are sorted according to a preset sorting rule, and the first random access response message is the The mth random access response message included in the load section; m=1/"M.
23、 根据权利要求 20所述的装置, 其特征在于, 所述第一随机接入响应消息位于 媒体接入控制 MAC层的协议数据单元 PDU中, 所述 PDU的头部的 M个子头部中包 括所述 M个子随机接入前导组的标识。 23. The apparatus according to claim 20, wherein the first random access response message is located in a protocol data unit PDU of a media access control MAC layer, and the header of the PDU is in M subheaders Bag Including the identifiers of the M sub-random access preamble groups.
24、 根据权利要求 23所述的装置, 其特征在于, 所述 PDU的负荷部包括与所述 M个子随机接入前导组分别对应的 M个随机接入响应消息; 24. The apparatus according to claim 23, wherein the load part of the PDU comprises M random access response messages respectively corresponding to the M sub-random access preamble groups;
其中, 所述第一子随机接入前导组的标识位于所述 M个子头部中的第 m个子头 部,所述第一随机接入响应消息为所述负荷部包括的第 m个随机接入响应消息, m=l , Wherein, the identifier of the first sub-random access preamble group is located in the m-th sub-header among the M sub-headers, and the first random access response message is the m-th random access message included in the load unit. Incoming response message, m=l,
M o M o
25、 根据权利要求 18〜 24任一项所述的装置, 其特征在于, 所述指示信息包括所 述第二随机接入前导的标识。 25. The apparatus according to any one of claims 18-24, wherein the indication information includes an identifier of the second random access preamble.
26、 一种通信装置, 其特征在于, 包括: 26. A communication device, characterized in that it comprises:
接收模块, 用于从终端接收第一随机接入前导, 所述第一随机接入前导根据随机 接入前导集合包括的 S个子随机接入前导生成, 所述随机接入前导集合包括 N个子随 机接入前导, N和 S为大于 1的整数, S N; The receiving module is configured to receive a first random access preamble from the terminal, the first random access preamble being generated according to the S sub-random access preambles included in the random access preamble set, the random access preamble set including N sub-randoms Access preamble, N and S are integers greater than 1, SN;
发送模块, 用于向所述终端发送第一随机接入响应消息, 所述第一随机接入响应 消息包括指示信息, 所述指示信息向所述终端指示第二随机接入前导。 The sending module is configured to send a first random access response message to the terminal, where the first random access response message includes indication information, and the indication information indicates a second random access preamble to the terminal.
27、 根据权利要求 26所述的装置, 其特征在于, 所述第一随机接入前导是在第一 PRACH资源上接收到的; 27. The apparatus according to claim 26, wherein the first random access preamble is received on a first PRACH resource;
所述 S个子随机接入前导组成第一子随机接入前导组; 所述网络设备在所述第一 PRACH资源上得到的 M个子随机接入前导组包括所述第一子随机接入前导组, 且所 述 M个子随机接入前导组中存在与所述第一子随机接入前导组对应的定时提前量 TA 相同的子随机接入前导组; The S sub-random access preambles form a first sub-random access preamble group; the M sub-random access preamble groups obtained by the network device on the first PRACH resource include the first sub-random access preamble group , And among the M sub-random access preamble groups, there are sub-random access preamble groups with the same timing advance TA corresponding to the first sub-random access preamble group;
其中,所述 M个子随机接入前导组中的子随机接入前导组包括的子随机接入前导 的数目大于等于 W且小于等于 N, W为 1的整数。 Wherein, the number of sub-random access preambles included in the sub-random access preamble groups in the M sub-random access preamble groups is greater than or equal to W and less than or equal to N, and W is an integer of 1.
28、 根据权利要求 27所述的装置, 其特征在于, 生成第一终端集合中的终端的随 机接入前导的子随机接入前导的数目为 S, 所述 M个子随机接入前导组中的子随机接 入前导组包括的子随机接入前导的数目为 S ; 28. The apparatus according to claim 27, wherein the number of random access preambles of the random access preambles of the terminals in the first terminal set is S, and the number of random access preambles in the M random access preamble groups The number of sub-random access preambles included in the sub-random access preamble group is S;
其中, 所述第一终端集合中包括所述终端, 所述第一终端集合为在所述第一 P R A C H资源上向所述网络设备发送随机接入前导的终端的集合。 Wherein, the first terminal set includes the terminal, and the first terminal set is a set of terminals that send a random access preamble to the network device on the first PR A CH resource.
29、 一种通信装置, 其特征在于, 用于实现如权利要求 1-10任一项或者 1 1 -17任 一项所述的通信方法。 29. A communication device, characterized in that it is used to implement the communication method according to any one of claims 1-10 or any one of 11-17.
30、 一种可读存储介质, 其特征在于, 所述可读存储介质上存储有计算机程序; 所述计算机程序被执行时,实现如权利要求 1-10任一项或者 1 1 -17任一项所述的方法。 30. A readable storage medium, characterized in that a computer program is stored on the readable storage medium; when the computer program is executed, the implementation of any one of claims 1-10 or any one of 1 1 -17 The method described in the item.
PCT/CN2020/076465 2019-02-28 2020-02-24 Communication method and device WO2020173411A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910152971.0 2019-02-28
CN201910152971.0A CN111629446B (en) 2019-02-28 2019-02-28 Communication method, device and readable storage medium

Publications (1)

Publication Number Publication Date
WO2020173411A1 true WO2020173411A1 (en) 2020-09-03

Family

ID=72238816

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/076465 WO2020173411A1 (en) 2019-02-28 2020-02-24 Communication method and device

Country Status (2)

Country Link
CN (1) CN111629446B (en)
WO (1) WO2020173411A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117397351A (en) * 2023-07-21 2024-01-12 上海移远通信技术股份有限公司 Method and apparatus in a node for wireless communication
CN117596705B (en) * 2024-01-19 2024-04-30 北京小米移动软件有限公司 Communication method, terminal, network device, communication system, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9374839B2 (en) * 2013-03-28 2016-06-21 Tejas Networks Limited Method and system for preventing collisions in contention based networks
CN107113261A (en) * 2014-12-29 2017-08-29 瑞典爱立信有限公司 Method and apparatus for generating and detecting random access guiding
CN108322282A (en) * 2017-01-16 2018-07-24 北京三星通信技术研究有限公司 Generation method, indicating means and the device of random access leader sequence
CN108811119A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Accidental access method, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9374839B2 (en) * 2013-03-28 2016-06-21 Tejas Networks Limited Method and system for preventing collisions in contention based networks
CN107113261A (en) * 2014-12-29 2017-08-29 瑞典爱立信有限公司 Method and apparatus for generating and detecting random access guiding
CN108322282A (en) * 2017-01-16 2018-07-24 北京三星通信技术研究有限公司 Generation method, indicating means and the device of random access leader sequence
CN108811119A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Accidental access method, equipment and system

Also Published As

Publication number Publication date
CN111629446B (en) 2021-12-21
CN111629446A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
US10791575B2 (en) Data transmission method, device and system
JP7045986B2 (en) Communication device and random access control method
WO2019154272A1 (en) Beam failure recovery method and user terminal
WO2019184956A1 (en) Random access method and apparatus
WO2019029498A1 (en) Communication method and device
WO2020025023A1 (en) Random access method, terminal device and network device
CN110324910B (en) Communication method and communication device
US11770823B2 (en) Uplink transmission method and user equipment
WO2020038338A1 (en) Communication method and device
WO2020173411A1 (en) Communication method and device
WO2019014904A1 (en) Random access method and terminal device
JP2021533605A (en) Random access method, terminal device, network device and storage medium
WO2018133128A1 (en) Method for random access, and terminal device and network device
WO2018058917A1 (en) Initial access method and apparatus
CN109792785B (en) Method, network equipment and terminal equipment for competitive random access
CN114071773B (en) Random access method, device, terminal, network equipment and storage medium
WO2016095193A1 (en) Method for triggering backoff, base station device, user device and system thereof
WO2018103050A1 (en) Random access method and device
KR101853698B1 (en) A Dual Preamble Random Access Protocol for Reducing Access Congestion in Disaster Situations
US20210212110A1 (en) Random access method, terminal device, and network device
US20210051725A1 (en) Random access method, network device and terminal device
WO2021098756A1 (en) Idle state terminal device detection method and related device
EP3619991B1 (en) A communications device, method and copmputer program for transmission of a message in response to a random access response comprising multiple grants
US20130294233A1 (en) Base station control method for connection of terminal with higher priority and base station supporting the same
WO2020192482A1 (en) Random access 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: 20762612

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20762612

Country of ref document: EP

Kind code of ref document: A1