WO2023273867A1 - Random access method and related apparatus - Google Patents

Random access method and related apparatus Download PDF

Info

Publication number
WO2023273867A1
WO2023273867A1 PCT/CN2022/098654 CN2022098654W WO2023273867A1 WO 2023273867 A1 WO2023273867 A1 WO 2023273867A1 CN 2022098654 W CN2022098654 W CN 2022098654W WO 2023273867 A1 WO2023273867 A1 WO 2023273867A1
Authority
WO
WIPO (PCT)
Prior art keywords
random access
configuration information
network device
preamble
request message
Prior art date
Application number
PCT/CN2022/098654
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 WO2023273867A1 publication Critical patent/WO2023273867A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/002Transmission of channel access control information
    • H04W74/006Transmission of channel access control information in the downlink, i.e. towards the terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure

Definitions

  • the present application relates to the field of communication technologies, and in particular to a random access method and related devices.
  • the terminal device when the terminal device moves from outdoor to indoor, the terminal device needs to switch from the outdoor macro base station to the indoor small base station or access point (Access Point, AP). If the indoor small base station is connected to the Internet through a cable, there is no Xn interface between the outdoor macro base station and the indoor small base station. As a result, when a terminal device switches from an outdoor macro base station to an indoor small base station, the terminal device needs to disconnect from the outdoor macro base station first, and then initiate random access to the indoor small base station again to access the indoor small base station. Therefore, how to enable the terminal device to access the network more quickly while reducing the consumption of random access resources as much as possible has become a problem to be solved.
  • AP access point
  • the embodiments of the present application provide a random access method and a related device, which are beneficial to reduce the consumption of random access resources, and at the same time enable terminal devices to access the network more quickly.
  • an embodiment of the present application provides a random access method, the method including: sending a first random access request message to an access network device, where the first random access request message includes a first random access preamble , the first random access request message is sent on the first random access resource, where the first random access request message is used to request second random access configuration information;
  • first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles, and/or one or more first A random access resource, where the first random access resource refers to a time-frequency domain resource where the first random access preamble is located.
  • the first random access configuration information is broadcast by an access network device, or
  • the first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
  • the first random access configuration information is specified by a protocol.
  • the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
  • one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
  • One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  • the second random access preamble is sent to the access network device, and the second random access preamble is sent on the second random access resource; the second random access preamble is in selected from one or more dedicated random access preambles, the second random access preamble being used for random access;
  • Receive the second random access response message from the access network device includes one or more of the following: timing adjustment instruction, preamble index, uplink permission UL Grant resource, temporary cell wireless network temporary identifier .
  • the terminal device requests the second random access configuration information by sending the first random access request message, and then the terminal device uses the random access preamble and random access resource in the second random access configuration information to access the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and the random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
  • an embodiment of the present application provides a random access method, the method including: receiving a first random access request message from a terminal device, where the first random access request message includes a first random access preamble , the first random access request message is used to request second random access configuration information;
  • the first random access preamble is determined according to the first random access configuration information, where,
  • the first random access configuration information is broadcast by the access network device, or
  • the first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
  • the first random access configuration information is specified by a protocol.
  • the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
  • one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
  • One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  • a second random access preamble from a terminal device is received, and the second random access preamble is sent on a second random access resource; the second random access preamble is selected among one or more dedicated random access preambles, the second random access preamble being used for random access;
  • the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier.
  • the access network device determines the second random access configuration information by receiving the first random access request message, and then sends the second random access configuration information to the terminal device, so that the terminal device uses the second random access configuration information.
  • Access configuration information to access the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
  • the embodiment of the present application provides a random access method, the method includes: sending a second random access request message to an access network device, and the second random access request message includes a third random access preamble code, the second random access request message is sent on the third random access resource, and the second random access request message is used to request access to the access network device;
  • the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by an access network device, or
  • the fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or
  • the fourth random access configuration information is specified by the protocol.
  • the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
  • the terminal device can quickly access the network by sending a dedicated third random access preamble to perform non-contention random access.
  • the embodiment of the present application provides a random access method, the method includes: receiving a second random access request message from a terminal device, where the second random access request message includes a third random access preamble , the second random access request message is used to request access to the access network device;
  • the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by a protocol.
  • the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
  • the terminal device performs non-contention random access by sending a dedicated third random access preamble, and can quickly access the network.
  • the embodiment of the present application provides a random access device, and the random access device includes:
  • a sending unit configured to send a first random access request message to an access network device, where the first random access request message includes a first random access preamble, and the first random access request message is on the first random access resource Sending, the first random access request message is used to request the second random access configuration information;
  • the receiving unit is configured to receive a first random access response message broadcast by the access network device, where the first random access response message includes second random access configuration information.
  • the terminal device requests the second random access configuration information by sending the first random access request message, and then the terminal device uses the random access preamble and random access resource in the second random access configuration information to access the network . Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
  • the embodiment of the present application provides a random access device, and the random access device includes:
  • a receiving unit configured to receive a first random access request message from a terminal device, where the first random access request message includes a first random access preamble, and the first random access request message is used to request a second random access configuration information;
  • a sending unit configured to broadcast a first random access response message, where the first random access response message includes second random access configuration information.
  • the access network device determines the second random access configuration information by receiving the first random access request message, and then sends the second random access configuration information to the terminal device, so that the terminal device accesses the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and the random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
  • the embodiment of the present application provides a random access device, and the random access device includes:
  • a sending unit configured to send a second random access request message to the access network device, where the second random access request message includes a third random access preamble, and the second random access request message is in the third random access resource and the second random access request message is used to request access to the access network device;
  • the receiving unit is configured to receive a third random access response message from the access network device, where the third random access response message instructs the terminal device to access the access network device through the third random access preamble.
  • the terminal device can quickly access the network by sending the dedicated third random access preamble to perform non-contention random access.
  • the embodiment of the present application provides a random access device, and the random access device includes:
  • a receiving unit configured to receive a second random access request message from the terminal device, where the second random access request message includes a third random access preamble, and the second random access request message is used to request access to the access network equipment;
  • a sending unit configured to send a third random access response message to the terminal device, where the third random access response message instructs the terminal device to access the access network device through the third random access preamble.
  • the terminal device performs non-contention random access through the dedicated third random access preamble, and can quickly access the network.
  • the embodiment of the present application provides a terminal device, the terminal device includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer
  • the program includes program instructions, and the processor is configured to invoke the program instructions to execute the method described in the first aspect, or to execute the method described in the third aspect.
  • the embodiment of the present application provides an access network device, the access network device includes a processor and a memory, and the processor and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions,
  • the processor is configured to invoke program instructions to execute the method described in the second aspect, or to execute the method described in the fourth aspect.
  • the embodiment of the present application provides a chip, the chip includes a processor and a data interface, and the processor reads the instructions stored in the memory through the data interface to execute the method as described in the first aspect, or execute The method described in the second aspect, or execute the method described in the third aspect, or execute the method described in the fourth aspect.
  • the embodiment of the present application provides a chip module, the chip module includes the chip as described in the eleventh aspect.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by the processor, the processor performs the following steps: The method described in one aspect, or execute the method described in the second aspect, or execute the method described in the third aspect, or execute the method described in the fourth aspect.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a random access method provided in an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a random access method provided by an embodiment of the present application applied to a scenario where a terminal device is disconnected from a source access network device and then accesses a target access network device;
  • FIG. 4 is a schematic flowchart of another random access method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a random access device provided in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of an access network device provided by an embodiment of the present application.
  • connection refers to various connection methods such as direct connection or indirect connection to realize communication between devices, which is not limited in this embodiment of the present application.
  • the one-way communication link from the access network device to the terminal device is defined as the downlink, the data transmitted on the downlink is the downlink data, and the transmission direction of the downlink data is called the downlink direction; and the terminal device
  • the one-way communication link to the access network device is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is called the uplink direction.
  • the technical solution of the present application can be applicable to the third generation mobile communication (3th generation, 3G) system, the fourth generation mobile communication (45th generation, 4G) system, and can also be applicable to the fifth generation mobile communication (5th generation, 5G) system , which can also be called a new air interface (New Radio, NR) system, or a sixth generation mobile communication (6th generation, 6G) system or other communication systems in the future.
  • the technical solutions of the present application are also applicable to different network architectures, including but not limited to relay network architectures, dual-link architectures, and vehicle-to-everything communication architectures.
  • terminal equipment may refer to various forms of user equipment (User Equipment, UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station (Mobile Station, MS), remote station, remote terminal , mobile device, user terminal, wireless communication device, user agent, or user device.
  • UE User Equipment
  • access terminal subscriber unit, subscriber station, mobile station, mobile station (Mobile Station, MS), remote station, remote terminal , mobile device, user terminal, wireless communication device, user agent, or user device.
  • the terminal equipment can also be a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or in the future evolution of Public Land Mobile Networks (PLMN)
  • PLMN Public Land Mobile Networks
  • the access network device may be a base station (Base Station, BS), also referred to as a base station device, which is a device deployed in a radio access network (Radio Access Network, RAN) to provide wireless communication functions device.
  • BS Base Station
  • RAN Radio Access Network
  • the equipment providing base station function in 2G network includes Base Transceiver Station (BTS), the equipment providing base station function in 3G network includes Node B (NodeB), and the equipment providing base station function in 4G network includes evolved Node B (evolved NodeB, eNB), in the wireless local area network (Wireless Local Area Networks, WLAN), the device that provides the function of the base station is the access point (Access Point, AP), the device that provides the function of the base station in 5G gNB, and Continued evolution of Node B (ng-eNB), in which NR technology is used for communication between gNB and terminals, and Evolved Universal Terrestrial Radio Access (E-UTRA) is used between ng-eNB and terminals technology to communicate, both gNB and ng-eNB can be connected to the 5G core network.
  • the access network equipment in this embodiment of the present application also includes equipment that provides base station functions in future new communication systems.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • the communication system may include, but not limited to, one or more access network devices and one or more terminal devices, as shown in Figure 1, an access network device 101, an access network device 102, and a terminal device 103 are taken as examples, wherein , the terminal device 103 may establish a wireless link with the access network device 101 for communication, and the terminal device 103 may also establish a wireless link with the access network device 102 for communication.
  • the communication system shown in FIG. 1 includes but is not limited to access network equipment and terminal equipment, and may also include other communication equipment. The number and form of equipment shown in FIG. 1 are for example and do not constitute a limitation to this embodiment of the application.
  • the access network device in FIG. 1 is an example of a base station
  • the terminal device is an example of a mobile phone.
  • the terminal device moves from outdoor to indoor .
  • the terminal device needs to switch from the access network device 101 to the access network device 102 . If the indoor small base station accesses the Internet in a wired manner, there is no Xn interface between the access network device 101 and the access network device 102 .
  • the terminal device 103 when the terminal device 103 switches from the access network device 101 to the access network device 102, the terminal device 103 needs to disconnect from the access network device 101 first, and then re-initiate random access to the access network device 102 to access Access network device 102 .
  • the service interruption time will be relatively long, and the competitive random access method needs to reserve more resources for random access, including the random access preamble (preamble ) codes and random access resources, affecting user experience.
  • the present application provides a random access method, which can be applied to the communication system shown in FIG. 1 .
  • the terminal device switches from the access network device 101 to the access network device 102, the terminal device sends a first random access request message to the access network device 102, and the access network device 102 sends the first random access request message after receiving the first random access request message
  • the second random access configuration information is sent to the terminal device.
  • the terminal device uses the dedicated random access preamble and/or random access resource in the second random access configuration information to access the access network device 102 . It is beneficial to reduce the consumption of random access resources, and at the same time enable the terminal equipment to quickly access the network.
  • the present application also provides a random access method, which can also be applied to the communication system shown in FIG. 1 .
  • the terminal device switches from the access network device 101 to the access network device 102, the terminal device sends a dedicated third random access preamble and/or third random access resources to the access network device 102, thereby accessing the network, The terminal equipment can be quickly connected to the network.
  • FIG. 2 is a schematic flowchart of a random access method provided by an embodiment of the present application.
  • the random access method can be applied to the communication system shown in FIG. 1, and the interaction between the access network device and the terminal device point of view is explained.
  • the random access method includes the following steps:
  • the terminal device sends a first random access request message to the access network device; correspondingly, the access network device receives the first random access request message from the terminal device.
  • the first random access request message includes a first random access preamble.
  • the first random access preamble is sent on the first random access resource, and the specific first random access resource may be a physical random access channel (Physical Random Access Channel, PRACH) resource, and the specific PRACH resource includes a time-frequency domain
  • PRACH Physical Random Access Channel
  • the resource for example, the time domain resource refers to a random access opportunity (Random Access Channel occasion, RACH occasion) where the random access preamble is located.
  • the first random access request message is sent on the first random access resource, and the first random access request message is used to request second random access configuration information.
  • the second random access configuration information includes one or more dedicated random access preambles, or the second random access configuration information includes one or more second random access resources, or the second random access configuration information includes One or more dedicated random access preambles and one or more second random access resources.
  • the second random access configuration information includes one or more dedicated random access preambles and one or more second random access resources.
  • the terminal device may use the dedicated random access preamble and the second random access resource in the second random access configuration information to perform random access. That is to say, before the terminal device formally initiates a random access request to the access network device, the terminal device first sends a first random access request message to the access network device, which is used to request the preamble code and /or PRACH resources.
  • first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles.
  • the first random access configuration information includes one or more first random access resources.
  • the first random access configuration information includes one or more first random access preambles and one or more first random access resources.
  • the first random access configuration information is broadcast by the access network device, or the first random access configuration information is received by the access network device when receiving the first random access configuration information sent by the terminal device.
  • the request message is configured in advance, that is, pre-configured, or the first random access configuration information is specified by the protocol. It can be seen from this that the first random access preamble and/or the first random access resource in the first random access configuration information is stipulated in the protocol, broadcast by the access network device, or predefined. Therefore, the access network device After receiving the random access request carrying the first random access preamble, it can be identified that the random access request is used to request the second random access configuration information.
  • the access network device may identify that the random access request is the first random access request through the random access preamble, and may also identify that the random access request is the first random access request through the first random access resource. Access request.
  • the first random access preamble and the first random access resources in the first random access configuration information may be only a small amount, so that random access resources can be saved.
  • the first random access configuration information includes one or two first random access preambles and one or two first random access resources.
  • the first random access configuration information is used when the terminal device disconnects from the source access network device and accesses the target access network device to perform random access. Specifically, after the terminal device detects that it is disconnected from the source access network device, and after detecting that there is a new access network device that meets the cell selection/cell reselection criteria, it will use the first random access network device allocated by the target access network device. Configure the random access preamble and PRACH resources in the information, and send the first random access request message to the target access network device.
  • the dedicated random access preamble and the second random access resource in the second random access configuration information are allocated by the access network device according to the first random access request message, and are specially used for A scenario where a terminal device connects to a target access network device for random access after being disconnected from the source access network device.
  • the second random access resource may be a PRACH resource, and a dedicated random access preamble may be carried on the second random access resource for transmission.
  • the terminal device Because the dedicated random access preamble and the second random access resource are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it is used when connecting to the target access network device for random access, Since the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, the terminal device can quickly access the network when using a dedicated random access preamble to access the network.
  • the access network device determines the second random access configuration information according to the first random access preamble in the first random access request message. For example, the access network device receives the first random access request message, and the access network device identifies the random access resource according to the random access preamble in the first random access request message The random access request is used to request second random access configuration information. Therefore, the access network device determines that the second random access configuration information includes one or more dedicated random access preambles, or the access network device determines that the second random access configuration information includes one or more second random access preambles. access resources, or the access network device determines that the second random access configuration information includes one or more dedicated random access preambles and one or more second random access resources.
  • the access network device determines to send a corresponding number of dedicated random access preambles and/or a corresponding number of first random access request messages.
  • Two random access resources For example, the access network device receives two first random access request messages, and the access network device determines to send two dedicated random access preambles and two second random access resources.
  • the number of dedicated random access preambles and random access resources to be sent is determined by the first random access request message. Compared with directly sending multiple random access preambles and random access resources, random access can be saved. Resources.
  • one or more first random access preambles in the first random access configuration information are different from random access preambles in the third random access configuration information.
  • one or more first random access preambles configured in advance by the access network device in this embodiment of the present application are included in the first random access request message, and are used to request the second random access configuration information.
  • the third random access configuration information is existing random access configuration information, which may be configuration information of contention random access, or configuration information of non-contention random access. That is to say, the one or more first random access preambles configured in advance by the access network device in this embodiment are different from the random access preambles used for random access in the prior art.
  • the one or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information.
  • one or more dedicated random access preambles in the second random access configuration information may be determined according to the first random access request message, while the third random access configuration information is the existing
  • the random access configuration information may be configuration information of contention random access, or configuration information of non-contention random access. Then, the dedicated random access preamble in the embodiment of the present application is different from the random access preamble in the prior art.
  • one or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information.
  • the one or more PRACH resources configured in advance by the access network device in this embodiment of the present application include one or more first random access resources, and the first random access preamble is sent on the first random access resources, Used to request second random access configuration information.
  • the third random access configuration information is existing random access configuration information, which may be configuration information of contention random access, or configuration information of non-contention random access. Then, the one or more PRACH resources configured in advance by the access network device in this embodiment are different from the random access resources used for random access in the prior art.
  • the one or more dedicated random access resources in the second random access configuration information are different from the random access resources in the third random access configuration information.
  • one or more second random access resources in the second random access configuration information in this embodiment of the present application may be determined according to the first random access request message.
  • the third random access configuration information is the existing random access configuration information, which can be the configuration information of the contention random access, or the configuration information of the non-competition random access.
  • the second random access The one or more second random access resources in the configuration information are different from the random access resources used for random access in the prior art.
  • the access network device broadcasts a first random access response message; correspondingly, the terminal device receives the first random access response message broadcast from the access network device.
  • the terminal device determines resources used for random access according to the second random access configuration information in the first random access response message. For example, the terminal device determines the second random access preamble according to the second random access configuration information in the first random access response message.
  • the second random access preamble is selected from dedicated random access preambles, and is used for random access. That is to say, when the first random access response message broadcast by the access network device contains multiple dedicated random access preambles, the terminal device can select one random access preamble among the multiple dedicated random access preambles. preamble for random access.
  • the terminal device requests the second random access configuration information by sending the first random access request message, and then the terminal device uses the random access preamble and random access resource in the second random access configuration information to access the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and the random access resource in the second random access configuration information are determined according to the first random access request message. Therefore, the access network device can send the second random access configuration information according to the situation, so that the consumption of random access resources can be reduced.
  • the random access method described in FIG. 2 may be applicable to a scenario where a terminal device accesses an indoor access network device from an outdoor access network device, and the terminal device works in a dual card single communication scenario.
  • a terminal device accesses an indoor access network device from an outdoor access network device
  • the terminal device works in a dual card single communication scenario.
  • the terminal device can maintain connection with the outdoor access network device and the indoor access network device at the same time.
  • the terminal device is exchanging data with the outdoor access network device, it can perform random access and access to the indoor access network device.
  • the terminal device successfully connects to the indoor access network device, it disconnects from the outdoor Data interaction between access network devices. Therefore, the end device maintains dual connectivity for a while.
  • FIG. 3 is a schematic flow diagram of a random access method provided by an embodiment of the present application applied to a scenario where a terminal device is disconnected from a source access network device and then accesses a target access network device.
  • the random access method described in FIG. 2 is applied to the above scenario as an example, the following steps are included:
  • the terminal device sends a first random access request message to the access network device, where the first random access request message includes a first random access preamble; correspondingly, the access network device receives the first random access request message from the terminal device. Random Access Request message.
  • the access network device broadcasts a first random access response message, where the first random access response message includes: one or more dedicated random access preambles and/or one or more second random access resources; correspondingly, the terminal device receives the first random access response message broadcast from the access network device.
  • the terminal device sends the second random access preamble to the access network device; correspondingly, the access network device receives the second random access preamble from the terminal device.
  • the second random access preamble may be sent on the second random access resource.
  • the terminal device sends the second random access preamble to the access network device to perform non-contention random access.
  • the access network device sends a second random access response message to the terminal device; correspondingly, the terminal device receives the second random access response message from the access network device.
  • the access network device determines the second random access response message.
  • the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant (Uplink Grant, UL Grant) resource, temporary cell radio network temporary identifier (Temporary-Cell Radio Network Temporary Identifier, T-CRNTI).
  • the timing adjustment instruction is used to ensure that the uplink signals of different terminal devices arrive at the access network device at the same time.
  • the preamble index is the index number of the random access preamble detected by the access network device.
  • the uplink grant UL Grant resource is the initial uplink resource allocation and is mainly used to send message 3 (Message3, MSG3).
  • the temporary radio network temporary identity of the temporary cell is used to complete the contention resolution process.
  • the medium access control layer (Medium Access Control, MAC) layer of the access network device generates the second random access response message, and sends it on the downlink shared channel (Downlink Shared Channel, DL-SCH).
  • MAC Medium Access Control
  • the terminal device uses a timing adjustment instruction and starts a corresponding contention resolution process. If the terminal device correctly receives the second random access response message, the random access process ends, and the terminal device successfully accesses the network. If the terminal device does not correctly receive the second random access response message, the terminal device will re-perform step S303, that is, re-send the second random access preamble, and re-perform non-contention random access.
  • the method further includes steps S305-S306.
  • the terminal device sends message 3 to the access network device; correspondingly, the access network device receives message 3 from the terminal device.
  • MSG3 carries a User Equipment Identity Document (UE-ID).
  • UE-ID User Equipment Identity Document
  • the radio resource control (Radio Resource Control, RRC) layer of the terminal device generates an RRC connection request (RRC Connection Request), and the terminal device maps the RRC Connection Request to the common control channel ( Common Control Channel, CCCH).
  • RRC Radio Resource Control
  • the access network device sends message 4 to the terminal device; correspondingly, the terminal device receives message 4 from the access network device.
  • Message 4 (Message4, MSG4) carries RRC Contention Resolution (RRC Contention Resolution).
  • RRC Contention Resolution is generated by the RRC layer of the access network device and mapped to CCCH or Dedicated Control Channel (Dedicated Control Channel, DCCH) on DL-SCH ), the terminal device correctly receives MSG4 to complete the contention resolution.
  • FIG. 4 is a schematic flowchart of another random access method provided by an embodiment of the present application.
  • the random access method can be applied to the communication system shown in FIG. 1 , and the interaction between an access network device and a terminal device is used for illustration.
  • the random access method includes:
  • the terminal device sends a second random access request message to the access network device; correspondingly, the access network device receives the second random access request message from the terminal device.
  • the second random access request message includes a third random access preamble
  • the third random access preamble may be used during non-contention random access, and may be sent on a non-contention third random access resource .
  • the second random access request message is used to request access to the access network device.
  • the third random access preamble and the third non-contention random access resources can be understood as resources dedicated to performing non-contention random access by accessing from the indoor target access network device after being disconnected from the outdoor source access network device .
  • the third random access preamble may be selected from multiple non-contention third random access preambles in the fourth random access configuration information.
  • the fourth random access configuration information includes multiple non-contention third random access preambles and/or multiple non-contention third random access resources, and the non-contention third random access resources may be PRACH resources.
  • the non-contention third random access preamble and the non-contention third random access resources configured in the fourth random access configuration information are connected to the indoor target access network device after being disconnected from the outdoor source access network device, Dedicated resources for non-contention random access. For example, when a terminal device needs to perform random access, it may select one of the multiple non-contention third random access preambles in the fourth random access configuration information as the third random access preamble, and then use the first Three random access preambles for random access. Using the third random access preamble to perform non-contention random access can enable the terminal device to quickly access the network.
  • the fourth random access configuration information may be broadcast by the access network device, or the fourth random access configuration information is received by the access network device when receiving the third random access configuration information sent by the terminal device. It is configured in advance before entering the preamble, that is, pre-configured, or the fourth random access configuration information is specified by the protocol. That is to say, the multiple non-contention third random access preambles and the multiple non-contention third random access resources in the fourth random access configuration information are dedicated.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information.
  • the multiple non-contention third random access preambles in the fourth random access configuration information in the embodiment of the present application are pre-configured random access preambles for non-contention random access, and the third The random access configuration information is existing random access configuration information, and may be configuration information of contention random access, or configuration information of non-contention random access. Then, the multiple non-contention third random access preambles in the fourth random access configuration information in the embodiment of the present application are different from the random access preambles used for random access in the prior art.
  • the multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the multiple non-contention third random access resources in the embodiment of the present application are random access resources configured in advance for non-contention random access, and the third random access configuration information is the existing random access resources
  • the access configuration information may be configuration information of contention random access, or configuration information of non-contention random access. Then, the multiple non-competition third random access resources in the fourth random access configuration information in the embodiment of the present application are different from the random access resources used for random access in the prior art.
  • the access network device sends a third random access response message to the terminal device; correspondingly, the terminal device receives the third random access response message from the access network device.
  • the access network device determines a third random access response message according to the second random access request message, and the third random access response message indicates whether the terminal device successfully accesses the access network device.
  • the third random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink permission UL Grant resource, temporary cell wireless network temporary identifier.
  • the MAC layer of the access network device generates the third random access response message and sends it on the DL-SCH.
  • the terminal device uses a timing adjustment instruction and starts a corresponding contention resolution process. If the terminal device correctly receives the third random access response message, the random access process ends, and the terminal device successfully accesses the network. If the terminal device does not correctly receive the third random access response message, then the terminal device will perform step S401 again, that is, resend the third random access preamble, and perform non-contention random access again.
  • the terminal device performs non-contention random access by sending a dedicated third random access preamble, so that the terminal device can quickly access the network.
  • FIG. 5 is a schematic structural diagram of a random access apparatus provided by an embodiment of the present application.
  • the random access apparatus 500 includes: a sending unit 501 and a receiving unit 502 .
  • the sending unit 501 is configured to send a first random access request message to an access network device, where the first random access request message includes a first random access preamble, and the first random access request message is stored in the first random access resource The first random access request message is used to request the second random access configuration information.
  • the receiving unit 502 is configured to receive a first random access response message broadcast by an access network device, where the first random access response message includes second random access configuration information.
  • first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles, and/or one or more first A random access resource, where the first random access resource refers to a time-frequency domain resource where the first random access preamble is located.
  • the first random access configuration information is broadcast by the access network device, or the first random access configuration information is broadcast by the access network device after receiving the first random access request message
  • the configuration information previously configured in advance, that is, pre-configured, or the first random access configuration information is specified by the protocol.
  • the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
  • one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
  • One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  • the sending unit 501 is further configured to send a second random access preamble to the access network device, where the second random access preamble is sent on the second random access resource; the second The random access preamble is selected from one or more dedicated random access preambles, and the second random access preamble is used for random access; the receiving unit 502 is also used to receive The second random access response message of the device, the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier.
  • the receiving unit 502 is configured to receive a first random access request message from a terminal device, where the first random access request message includes a first random access request message Entering the preamble, the first random access request message is used to request the second random access configuration information.
  • the sending unit 501 is configured to broadcast a first random access response message, where the first random access response message includes second random access configuration information.
  • the first random access preamble is determined according to first random access configuration information, where the first random access configuration information is broadcast by an access network device, or the first The random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or the first random access configuration information is specified by the protocol.
  • the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
  • one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
  • One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  • the receiving unit 502 is further configured to receive a second random access preamble from the terminal device, where the second random access preamble is sent on the second random access resource; the second The random access preamble is selected from one or more dedicated random access preambles, and the second random access preamble is used for random access; the sending unit 501 is also used to send the second A random access response message, the second random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the sending unit 501 is configured to send a second random access request message to the access network device, and the second random access request message includes the third random access request message.
  • the preamble is inserted, and the second random access request message is sent on the third random access resource, and the second random access request message is used to request access to the access network device.
  • the receiving unit 502 is configured to receive a third random access response message from the access network device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
  • the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or the fourth The random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by the protocol.
  • the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
  • the receiving unit 502 is configured to receive a second random access request message from a terminal device, and the second random access request message includes a third random access request message.
  • the sending unit 501 is configured to send a third random access response message to the terminal device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
  • the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by a protocol.
  • the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
  • FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 600 includes: a processor 601 and a memory 602, and the processor 601 and the memory 602 are connected through one or more communication buses.
  • the above-mentioned processor 601 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory described above may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
  • the volatile memory can be Random Access Memory (RAM), which acts as external cache memory.
  • RAM Random Access Memory
  • SRAM Static RAM
  • DRAM Dynamic Random Access Memory
  • DRAM Synchronous Dynamic Random Access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • ESDRAM enhanced synchronous dynamic random access memory
  • Synchlink DRAM SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the processor 601 is configured to support the terminal device to perform corresponding functions of the terminal device in the method described in FIG. 2 .
  • the above-mentioned memory 602 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 601 .
  • a portion of memory 602 may also include non-volatile random access memory.
  • the random access request message is used to request second random access configuration information;
  • first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles, and/or one or more first A random access resource, where the first random access resource refers to a time-frequency domain resource where the first random access preamble is located.
  • the first random access configuration information is broadcast by an access network device, or
  • the first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
  • the first random access configuration information is specified by a protocol.
  • the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
  • one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
  • One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  • the second random access preamble is sent to the access network device, and the second random access preamble is sent on the second random access resource; the second random access preamble is in selected from one or more dedicated random access preambles, the second random access preamble being used for random access;
  • Receive the second random access response message from the access network device includes one or more of the following: timing adjustment instruction, preamble index, uplink permission UL Grant resource, temporary cell wireless network temporary identifier .
  • the processor 601 is configured to support the terminal device to perform corresponding functions of the terminal device in the method described in FIG. 4 .
  • the above-mentioned memory 602 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 601 .
  • a portion of memory 602 may also include non-volatile random access memory.
  • the second random access request message includes a third random access preamble, where the second random access request message is sent on a third random access resource, and the second The random access request message is used to request access to the access network device;
  • the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or the fourth The random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by the protocol.
  • the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
  • FIG. 7 is a schematic structural diagram of an access network device provided by an embodiment of the present application.
  • the access network device 700 includes: a processor 701 and a memory 702, and the processor 701 and the memory 702 are connected through one or more communication buses.
  • the above-mentioned processor 701 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory described above may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
  • the volatile memory can be Random Access Memory (RAM), which acts as external cache memory.
  • RAM Random Access Memory
  • SRAM Static RAM
  • DRAM Dynamic Random Access Memory
  • DRAM Synchronous Dynamic Random Access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • ESDRAM enhanced synchronous dynamic random access memory
  • Synchlink DRAM SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the processor 701 is configured to support the access network device to perform the corresponding function of the access network device in the method described in FIG. 2 .
  • the above-mentioned memory 702 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 701 .
  • a portion of memory 702 may also include non-volatile random access memory.
  • the first random access preamble is determined according to the first random access configuration information, where,
  • the first random access configuration information is broadcast by the access network device, or
  • the first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
  • the first random access configuration information is specified by a protocol.
  • the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
  • one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
  • One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
  • One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  • a second random access preamble from a terminal device is received, and the second random access preamble is sent on a second random access resource; the second random access preamble is selected among one or more dedicated random access preambles, the second random access preamble being used for random access;
  • the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier.
  • the processor 701 is configured to support the access network device to perform the corresponding function of the access network device in the method described in FIG. 4 .
  • the above-mentioned memory 702 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 701 .
  • a portion of memory 702 may also include non-volatile random access memory.
  • the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
  • the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by a protocol.
  • the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
  • the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information.
  • the fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
  • An embodiment of the present application provides a chip.
  • the chip includes: processor and memory.
  • the number of processors may be one or more, and the number of memories may be one or more.
  • the processor can execute the aforementioned random access method as shown in FIG. 2 or FIG. 4 , and the steps executed in related implementations.
  • the embodiment of the present application also provides a chip module, the chip module includes the above-mentioned chip, and can execute the above random access method as shown in FIG. 2 or FIG. 4 , and the steps executed in related implementations.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, and the computer program includes program instructions.
  • the program instructions are executed by a processor, the random access method shown in FIG. 2 or FIG. 4 above can be executed, and related implementation methods steps performed.
  • the computer-readable storage medium may be an internal storage unit of the terminal device or access network device described in any of the foregoing embodiments, such as a hard disk or a memory of the device.
  • the computer-readable storage medium may also be an external storage device of the terminal device or access network device, such as a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), a secure digital ( Secure Digital (SD) card, flash memory card (Flash Card), etc.
  • the computer-readable storage medium may also include both an internal storage unit of the terminal device or the access network device and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the terminal device or access network device.
  • the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
  • 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 a data center that includes one or more sets of available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media.
  • the semiconductor medium may be a solid state drive.
  • the above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations.
  • the above-described embodiments may be implemented in whole or in part in the form of computer program products.
  • the computer program product comprises one or more computer instructions or computer programs.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in 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 Wired or wireless transmission to another website site, computer, server or data center.
  • sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed methods, devices and systems can be implemented in other ways.
  • the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium.
  • the above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the methods described in various embodiments of the present invention.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

Abstract

Disclosed in the embodiments of the present application are a random access method and a related apparatus. In the method, by means of sending a first random access request message, a terminal device requests second random access configuration information, and uses the random access preamble and the random access resources in the second random access configuration information to access an access network device. The present method is conducive to reducing the resource consumption of random access, and allows the terminal device to quickly access the network.

Description

随机接入方法及相关装置Random access method and related device 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种随机接入方法及相关装置。The present application relates to the field of communication technologies, and in particular to a random access method and related devices.
背景技术Background technique
在室内增强场景下,当终端设备从室外移动到室内时,终端设备需要从室外宏基站切换到室内小基站或接入点(Access Point,AP)。如果室内小基站通过有线方式接入互联网,那么室外宏基站和室内小基站之间没有Xn接口。这就导致终端设备从室外宏基站切换到室内小基站时,终端设备需要先和室外宏基站断开连接,再重新向室内小基站发起随机接入来接入室内小基站。因此,如何在尽可能减少随机接入资源消耗的同时,使得终端设备能够更加快速地接入网络成为待解决的问题。In the indoor enhancement scenario, when the terminal device moves from outdoor to indoor, the terminal device needs to switch from the outdoor macro base station to the indoor small base station or access point (Access Point, AP). If the indoor small base station is connected to the Internet through a cable, there is no Xn interface between the outdoor macro base station and the indoor small base station. As a result, when a terminal device switches from an outdoor macro base station to an indoor small base station, the terminal device needs to disconnect from the outdoor macro base station first, and then initiate random access to the indoor small base station again to access the indoor small base station. Therefore, how to enable the terminal device to access the network more quickly while reducing the consumption of random access resources as much as possible has become a problem to be solved.
发明内容Contents of the invention
本申请实施例提供一种随机接入方法及相关装置,有利于减少随机接入资源的消耗,同时使得终端设备更加快速接入网络。The embodiments of the present application provide a random access method and a related device, which are beneficial to reduce the consumption of random access resources, and at the same time enable terminal devices to access the network more quickly.
第一方面,本申请实施例提供了一种随机接入方法,该方法包括:向接入网设备发送第一随机接入请求消息,第一随机接入请求消息包括第一随机接入前导码,第一随机接入请求消息在第一随机接入资源上发送,该第一随机接入请求消息用于请求第二随机接入配置信息;In a first aspect, an embodiment of the present application provides a random access method, the method including: sending a first random access request message to an access network device, where the first random access request message includes a first random access preamble , the first random access request message is sent on the first random access resource, where the first random access request message is used to request second random access configuration information;
接收接入网设备广播的第一随机接入响应消息,该第一随机接入响应消息包括第二随机接入配置信息。Receive a first random access response message broadcast by the access network device, where the first random access response message includes second random access configuration information.
在一种可选的实施方式中,获取第一随机接入配置信息,该第一随机接入配置信息包括一个或多个第一随机接入前导码,和/或,一个或多个第一随机接入资源,该第一随机接入资源是指第一随机接入前导码所在的时频域资源。In an optional implementation manner, first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles, and/or one or more first A random access resource, where the first random access resource refers to a time-frequency domain resource where the first random access preamble is located.
在一种可选的实施方式中,第一随机接入配置信息是由接入网设备广播的,或者In an optional implementation manner, the first random access configuration information is broadcast by an access network device, or
第一随机接入配置信息是由接入网设备在接收到第一随机接入请求消息之前提前配置的,即预配置的,或者The first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
第一随机接入配置信息是由协议规定的。The first random access configuration information is specified by a protocol.
在一种可选的实施方式中,第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。In an optional implementation manner, the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
在一种可选的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,In an optional implementation manner, one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个第二随机接入资源与第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
在一种可选的实施方式中,向接入网设备发送第二随机接入前导码,第二随机接入前导码在第二随机接入资源上发送;第二随机接入前导码是在一个或多个专用的随机接入前导码中选择的,该第二随机接入前导码是用于随机接入的;In an optional implementation manner, the second random access preamble is sent to the access network device, and the second random access preamble is sent on the second random access resource; the second random access preamble is in selected from one or more dedicated random access preambles, the second random access preamble being used for random access;
接收来自接入网设备的第二随机接入响应消息,第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。Receive the second random access response message from the access network device, the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink permission UL Grant resource, temporary cell wireless network temporary identifier .
可见,该方法中,终端设备通过发送第一随机接入请求消息来请求第二随机接入配置信息,然后终端设备利用第二随机接入配置信息中的随机接入前导码和随机接入资源来接入网络。由于第二随机接入配置信息中的随机接入前导码和随机接入资源是广播给终端设备,在终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用的,由于不同用户同时从源接入网设备断开并接入到相同的目标接入网设备的概率非常小,因此,可以使得终端设备快速接入网络。并且第二随机接入配置信息中的随机接入前导码和随机接入资源是根据第一随机接入请求消息来确定的,因此和现有技术相比,可以减少随机接入资源的消耗。It can be seen that in this method, the terminal device requests the second random access configuration information by sending the first random access request message, and then the terminal device uses the random access preamble and random access resource in the second random access configuration information to access the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and the random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
第二方面,本申请实施例提供了一种随机接入方法,该方法包括:接收来自终端设备的第一随机接入请求消息,该第一随机接入请求消息包括第一随机接入前导码,该第一随机接入请求消息用于请求第二随机接入配置信息;In a second aspect, an embodiment of the present application provides a random access method, the method including: receiving a first random access request message from a terminal device, where the first random access request message includes a first random access preamble , the first random access request message is used to request second random access configuration information;
广播第一随机接入响应消息,该第一随机接入响应消息包括第二随机接入配置信息。Broadcast a first random access response message, where the first random access response message includes second random access configuration information.
在一种可选的实施方式中,第一随机接入前导码是根据第一随机接入配置信息确定的,其中,In an optional implementation manner, the first random access preamble is determined according to the first random access configuration information, where,
第一随机接入配置信息是由接入网设备广播的,或者The first random access configuration information is broadcast by the access network device, or
第一随机接入配置信息是由接入网设备在接收到第一随机接入请求消息之前提前配置的,即预配置的,或者The first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
第一随机接入配置信息是由协议规定的。The first random access configuration information is specified by a protocol.
在一种可选的实施方式中,第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。In an optional implementation manner, the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
在一种可选的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,In an optional implementation manner, one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个第二随机接入资源与第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
在一种可选的实施方式中,接收来自终端设备的第二随机接入前导码,该第二随机接入前导码在第二随机接入资源上发送;该第二随机接入前导码是在一个或多个专用的随机接入前导码中选择的,该第二随机接入前导码是用于随机接入的;In an optional implementation manner, a second random access preamble from a terminal device is received, and the second random access preamble is sent on a second random access resource; the second random access preamble is selected among one or more dedicated random access preambles, the second random access preamble being used for random access;
向终端设备发送第二随机接入响应消息,该第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。Sending a second random access response message to the terminal device, where the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier.
可见,该方法中,接入网设备通过接收第一随机接入请求消息来确定第二随机接入配置信息,然后发送第二随机接入配置信息给终端设备,以使终端设备使用第二随机接入配置信息接入网络。由于第二随机接入配置信息中的随机接入前导码和随机接入资源是广播给终端设备,在终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用的,由于不同用户同时从源接入网设备断开并接入到相同的目标接入网设备的概率非常小,因此,可以使得终端设备快速接入网络。并且第二随机接入配置信息中的随机接入前导码和随机接入资源是根据第一随机接入请求消息来确定的,因此和现有技术相比可以 减少随机接入资源的消耗。It can be seen that in this method, the access network device determines the second random access configuration information by receiving the first random access request message, and then sends the second random access configuration information to the terminal device, so that the terminal device uses the second random access configuration information. Access configuration information to access the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
第三方面,本申请实施例提供了一种随机接入方法,该方法包括:向接入网设备发送第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息在第三随机接入资源上发送,第二随机接入请求消息用于请求接入接入网设备;In a third aspect, the embodiment of the present application provides a random access method, the method includes: sending a second random access request message to an access network device, and the second random access request message includes a third random access preamble code, the second random access request message is sent on the third random access resource, and the second random access request message is used to request access to the access network device;
接收来自接入网设备的第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。Receive a third random access response message from the access network device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
在一种可选的实施方式中,第三随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
在一种可选的实施方式中,第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由接入网设备广播的,或者In an optional implementation manner, the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by an access network device, or
第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or
第四随机接入配置信息是由协议规定的。The fourth random access configuration information is specified by the protocol.
在一种可选的实施方式中,第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。In an optional implementation manner, the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
在一种可选的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同。第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。In an optional implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. The fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
可见,该方法中,终端设备通过发送专用的第三随机接入前导码进行非竞争随机接入,能够快速接入网络。It can be seen that in this method, the terminal device can quickly access the network by sending a dedicated third random access preamble to perform non-contention random access.
第四方面,本申请实施例提供了一种随机接入方法,该方法包括:接收来自终端设备的第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,该第二随机接入请求消息用于请求接入接入网设备;In a fourth aspect, the embodiment of the present application provides a random access method, the method includes: receiving a second random access request message from a terminal device, where the second random access request message includes a third random access preamble , the second random access request message is used to request access to the access network device;
向终端设备发送第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。Sending a third random access response message to the terminal device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
在一种可选的实施方式中,第三随机接入响应消息中包括以下一种或多种:定时调整 指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
在一种可选的实施方式中,第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由所述接入网设备广播的,或者第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者第四随机接入配置信息是由协议规定的。In an optional implementation manner, the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by a protocol.
在一种可选的实施方式中,第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。In an optional implementation manner, the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
在一种可选的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同。第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。In an optional implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. The fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
可见,该方法中,终端设备通过发送专用的第三随机接入前导码来进行非竞争随机接入,能够快速接入网络。It can be seen that in this method, the terminal device performs non-contention random access by sending a dedicated third random access preamble, and can quickly access the network.
第五方面,本申请实施例提供了一种随机接入装置,所述随机接入装置包括:In a fifth aspect, the embodiment of the present application provides a random access device, and the random access device includes:
发送单元,用于向接入网设备发送第一随机接入请求消息,第一随机接入请求消息包括第一随机接入前导码,第一随机接入请求消息在第一随机接入资源上发送,第一随机接入请求消息用于请求第二随机接入配置信息;A sending unit, configured to send a first random access request message to an access network device, where the first random access request message includes a first random access preamble, and the first random access request message is on the first random access resource Sending, the first random access request message is used to request the second random access configuration information;
接收单元,用于接收接入网设备广播的第一随机接入响应消息,第一随机接入响应消息包括第二随机接入配置信息。The receiving unit is configured to receive a first random access response message broadcast by the access network device, where the first random access response message includes second random access configuration information.
另外,该方面中,随机接入装置其他可选的实施方式可参见上述第一方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the random access device, reference may be made to the relevant content of the first aspect above, which will not be described in detail here.
可见,终端设备通过发送第一随机接入请求消息来请求第二随机接入配置信息,然后终端设备利用第二随机接入配置信息中的随机接入前导码和随机接入资源来接入网络。由于第二随机接入配置信息中的随机接入前导码和随机接入资源是广播给终端设备,在终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用的,由于不同用户同时从源接入网设备断开并接入到相同的目标接入网设备的概率非常小,因此,可以使得终端设备快速接入网络。并且第二随机接入配置信息中的随机接入前导码和随机接入资 源是根据第一随机接入请求消息来确定的,因此和现有技术相比可以减少随机接入资源的消耗。It can be seen that the terminal device requests the second random access configuration information by sending the first random access request message, and then the terminal device uses the random access preamble and random access resource in the second random access configuration information to access the network . Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
第六方面,本申请实施例提供了一种随机接入装置,所述随机接入装置包括:In a sixth aspect, the embodiment of the present application provides a random access device, and the random access device includes:
接收单元,用于接收来自终端设备的第一随机接入请求消息,第一随机接入请求消息包括第一随机接入前导码,第一随机接入请求消息用于请求第二随机接入配置信息;A receiving unit, configured to receive a first random access request message from a terminal device, where the first random access request message includes a first random access preamble, and the first random access request message is used to request a second random access configuration information;
发送单元,用于广播第一随机接入响应消息,第一随机接入响应消息包括第二随机接入配置信息。A sending unit, configured to broadcast a first random access response message, where the first random access response message includes second random access configuration information.
另外,该方面中,随机接入装置其他可选的实施方式可参见上述第二方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the random access device, reference may be made to the relevant content of the above-mentioned second aspect, which will not be described in detail here.
可见,接入网设备通过接收第一随机接入请求消息来确定第二随机接入配置信息,然后发送第二随机接入配置信息给终端设备,以使终端设备接入网络。由于第二随机接入配置信息中的随机接入前导码和随机接入资源是广播给终端设备,在终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用的,由于不同用户同时从源接入网设备断开并接入到相同的目标接入网设备的概率非常小,因此,可以使得终端设备快速接入网络。并且第二随机接入配置信息中的随机接入前导码和随机接入资源是根据第一随机接入请求消息来确定的,因此和现有技术相比可以减少随机接入资源的消耗。It can be seen that the access network device determines the second random access configuration information by receiving the first random access request message, and then sends the second random access configuration information to the terminal device, so that the terminal device accesses the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and the random access resources in the second random access configuration information are determined according to the first random access request message, so compared with the prior art, the consumption of random access resources can be reduced.
第七方面,本申请实施例提供了一种随机接入装置,随机接入装置包括:In the seventh aspect, the embodiment of the present application provides a random access device, and the random access device includes:
发送单元,用于向接入网设备发送第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息在第三随机接入资源上发送,第二随机接入请求消息用于请求接入接入网设备;A sending unit, configured to send a second random access request message to the access network device, where the second random access request message includes a third random access preamble, and the second random access request message is in the third random access resource and the second random access request message is used to request access to the access network device;
接收单元,用于接收来自接入网设备的第三随机接入响应消息,第三随机接入响应消息指示终端设备通过第三随机接入前导接入接入网设备。The receiving unit is configured to receive a third random access response message from the access network device, where the third random access response message instructs the terminal device to access the access network device through the third random access preamble.
另外,该方面中,随机接入装置其他可选的实施方式可参见上述第三方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the random access device, reference may be made to the relevant content of the above third aspect, which will not be described in detail here.
可见,终端设备通过发送专用的第三随机接入前导码进行非竞争随机接入,能够快速接入网络。It can be seen that the terminal device can quickly access the network by sending the dedicated third random access preamble to perform non-contention random access.
第八方面,本申请实施例提供了一种随机接入装置,该随机接入装置包括:In an eighth aspect, the embodiment of the present application provides a random access device, and the random access device includes:
接收单元,用于接收来自终端设备的第二随机接入请求消息,第二随机接入请求消息 中包括第三随机接入前导码,第二随机接入请求消息用于请求接入接入网设备;A receiving unit, configured to receive a second random access request message from the terminal device, where the second random access request message includes a third random access preamble, and the second random access request message is used to request access to the access network equipment;
发送单元,用于向终端设备发送第三随机接入响应消息,第三随机接入响应消息指示终端设备通过第三随机接入前导码接入接入网设备。A sending unit, configured to send a third random access response message to the terminal device, where the third random access response message instructs the terminal device to access the access network device through the third random access preamble.
另外,该方面中,随机接入装置其他可选的实施方式可参见上述第四方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the random access device, refer to the relevant content of the fourth aspect above, and details are not described here again.
可见,终端设备通过专用的第三随机接入前导码来进行非竞争随机接入,能够快速接入网络。It can be seen that the terminal device performs non-contention random access through the dedicated third random access preamble, and can quickly access the network.
第九方面,本申请实施例提供了一种终端设备,所述终端设备包括处理器和存储器,所述处理器和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行第一方面所述的方法,或者,执行第三方面所述的方法。In the ninth aspect, the embodiment of the present application provides a terminal device, the terminal device includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer The program includes program instructions, and the processor is configured to invoke the program instructions to execute the method described in the first aspect, or to execute the method described in the third aspect.
第十方面,本申请实施例提供了一种接入网设备,该接入网设备包括处理器和存储器,处理器和存储器相互连接,其中,存储器用于存储计算机程序,计算机程序包括程序指令,处理器被配置用于调用程序指令,执行第二方面所述的方法,或者,执行第四方面所述的方法。In a tenth aspect, the embodiment of the present application provides an access network device, the access network device includes a processor and a memory, and the processor and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, The processor is configured to invoke program instructions to execute the method described in the second aspect, or to execute the method described in the fourth aspect.
第十一方面,本申请实施例提供一种芯片,该芯片包括处理器与数据接口,处理器通过数据接口读取存储器上存储的指令,以执行如第一方面所述的方法,或者,执行如第二方面所述的方法,或者,执行如第三方面所述的方法,或者,执行如第四方面所述的方法。In the eleventh aspect, the embodiment of the present application provides a chip, the chip includes a processor and a data interface, and the processor reads the instructions stored in the memory through the data interface to execute the method as described in the first aspect, or execute The method described in the second aspect, or execute the method described in the third aspect, or execute the method described in the fourth aspect.
第十二方面,本申请实施例提供一种芯片模组,该芯片模组包括如第十一方面所述的芯片。In a twelfth aspect, the embodiment of the present application provides a chip module, the chip module includes the chip as described in the eleventh aspect.
第十三方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被处理器执行时使处理器执行如第一方面所述的方法,或者,执行如第二方面所述的方法,或者,执行如第三方面所述的方法,或者,执行如第四方面所述的方法。In a thirteenth aspect, the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by the processor, the processor performs the following steps: The method described in one aspect, or execute the method described in the second aspect, or execute the method described in the third aspect, or execute the method described in the fourth aspect.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本申请实施例提供的一种通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种随机接入方法的流程示意图;FIG. 2 is a schematic flowchart of a random access method provided in an embodiment of the present application;
图3是本申请实施例提供的随机接入方法应用于终端设备从源接入网设备断开后,接入到目标接入网设备的场景时的流程示意图;FIG. 3 is a schematic flowchart of a random access method provided by an embodiment of the present application applied to a scenario where a terminal device is disconnected from a source access network device and then accesses a target access network device;
图4是本申请实施例提供的另一种随机接入方法的流程示意图;FIG. 4 is a schematic flowchart of another random access method provided by an embodiment of the present application;
图5是本申请实施例提供的一种随机接入装置的结构示意图;FIG. 5 is a schematic structural diagram of a random access device provided in an embodiment of the present application;
图6是本申请实施例提供的一种终端设备的结构示意图;FIG. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
图7是本申请实施例提供的一种接入网设备的结构示意图。Fig. 7 is a schematic structural diagram of an access network device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行阐述。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element. In addition, different implementations of the present application Components, features, and elements with the same name in the example may have the same meaning, or may have different meanings, and the specific meaning shall be determined based on the explanation in the specific embodiment or further combined with the context in the specific embodiment.
应当理解,在本文中,术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,表示前后关联对象是一种“或”的关系。It should be understood that, in this article, the term "and/or" is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and/or B may mean: A exists alone, and A exists at the same time and B, there are three cases of B alone. In addition, the character "/" in this article indicates that the contextual objects are an "or" relationship.
应当理解,在本文中,出现的“多个”是指两个或两个以上。It should be understood that in this article, "plurality" refers to two or more than two.
应当理解,在本文中,出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。It should be understood that in this article, the first, second, and other descriptions appearing are only for the purpose of illustrating and distinguishing the description objects, and there is no order, nor does it represent a special limitation on the number of devices in this embodiment of the application, and cannot constitute Any limitations on the examples of this application.
应当理解,在本文中,出现的“连接”是指直接连接或者间接连接等各种连接方式,以 实现设备间的通信,本申请实施例对此不做任何限定。It should be understood that in this article, "connection" refers to various connection methods such as direct connection or indirect connection to realize communication between devices, which is not limited in this embodiment of the present application.
应当理解,本文中,定义接入网设备到终端设备的单向通信链路为下行链路,在下行链路上传输的数据为下行数据,下行数据的传输方向称为下行方向;而终端设备到接入网设备的单向通信链路为上行链路,在上行链路上传输的数据为上行数据,上行数据的传输方向称为上行方向。It should be understood that in this paper, the one-way communication link from the access network device to the terminal device is defined as the downlink, the data transmitted on the downlink is the downlink data, and the transmission direction of the downlink data is called the downlink direction; and the terminal device The one-way communication link to the access network device is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is called the uplink direction.
本申请的技术方案可以适用于第三代移动通信(3th generation,3G)系统、第四代移动通信(45th generation,4G)系统,还可以适用于第五代移动通信(5th generation,5G)系统,也可以称为新空口(New Radio,NR)系统,或者第六代移动通信(6th generation,6G)系统或未来的其他通信系统。The technical solution of the present application can be applicable to the third generation mobile communication (3th generation, 3G) system, the fourth generation mobile communication (45th generation, 4G) system, and can also be applicable to the fifth generation mobile communication (5th generation, 5G) system , which can also be called a new air interface (New Radio, NR) system, or a sixth generation mobile communication (6th generation, 6G) system or other communication systems in the future.
本申请的技术方案也适用于不同的网络架构,包括但不限于中继网络架构、双链接架构、车辆到任何物体的通信(Vehicle-to-Everything)架构。The technical solutions of the present application are also applicable to different network architectures, including but not limited to relay network architectures, dual-link architectures, and vehicle-to-everything communication architectures.
本申请实施例中,终端设备可以指各种形式的用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台(Mobile Station,MS)、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,简称PLMN)中的终端设备等,本申请实施例对此不做限定。In the embodiment of the present application, terminal equipment may refer to various forms of user equipment (User Equipment, UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station (Mobile Station, MS), remote station, remote terminal , mobile device, user terminal, wireless communication device, user agent, or user device. The terminal equipment can also be a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or in the future evolution of Public Land Mobile Networks (PLMN) The terminal device and the like are not limited in this embodiment of the present application.
本申请实施例中,接入网设备可为基站(Base Station,BS),也可称为基站设备,是一种部署在无线接入网(Radio Access Network,RAN)用以提供无线通信功能的装置。例如在2G网络中提供基站功能的设备包括基地无线收发站(Base Transceiver Station,BTS),3G网络中提供基站功能的设备包括节点B(NodeB),在4G网络中提供基站功能的设备包括演进的节点B(evolved NodeB,eNB),在无线局域网络(Wireless Local Area Networks,WLAN)中,提供基站功能的设备为接入点(Access Point,AP),5G中的提供基站功能的设备gNB,以及继续演进的节点B(ng-eNB),其中gNB和终端之间采用NR技术进行通信,ng-eNB和终端之间采用演进的通用陆面无线接入(Evolved Universal Terrestrial Radio Access,E-UTRA)技术进行通信,gNB和ng-eNB均可连接到5G核心网。本申请 实施例中的接入网设备还包含在未来新的通信系统中提供基站功能的设备等。In the embodiment of the present application, the access network device may be a base station (Base Station, BS), also referred to as a base station device, which is a device deployed in a radio access network (Radio Access Network, RAN) to provide wireless communication functions device. For example, the equipment providing base station function in 2G network includes Base Transceiver Station (BTS), the equipment providing base station function in 3G network includes Node B (NodeB), and the equipment providing base station function in 4G network includes evolved Node B (evolved NodeB, eNB), in the wireless local area network (Wireless Local Area Networks, WLAN), the device that provides the function of the base station is the access point (Access Point, AP), the device that provides the function of the base station in 5G gNB, and Continued evolution of Node B (ng-eNB), in which NR technology is used for communication between gNB and terminals, and Evolved Universal Terrestrial Radio Access (E-UTRA) is used between ng-eNB and terminals technology to communicate, both gNB and ng-eNB can be connected to the 5G core network. The access network equipment in this embodiment of the present application also includes equipment that provides base station functions in future new communication systems.
请参阅图1,图1是本申请实施例提供的一种通信系统的结构示意图。该通信系统可以包括但不限于一个或多个接入网设备、一个或多个终端设备,如图1以一个接入网设备101、一个接入网设备102和一个终端设备103为例,其中,终端设备103可以和接入网设备101建立无线链路进行通信,终端设备103还可以和接入网设备102建立无线链路进行通信。图1所示的通信系统包括但不限于接入网设备和终端设备,还可以包括其他的通信设备,图1所示的设备数量和形态用于举例并不构成对本申请实施例的限定。其中,图1中的接入网设备以基站为例,终端设备以手机为例。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application. The communication system may include, but not limited to, one or more access network devices and one or more terminal devices, as shown in Figure 1, an access network device 101, an access network device 102, and a terminal device 103 are taken as examples, wherein , the terminal device 103 may establish a wireless link with the access network device 101 for communication, and the terminal device 103 may also establish a wireless link with the access network device 102 for communication. The communication system shown in FIG. 1 includes but is not limited to access network equipment and terminal equipment, and may also include other communication equipment. The number and form of equipment shown in FIG. 1 are for example and do not constitute a limitation to this embodiment of the application. Wherein, the access network device in FIG. 1 is an example of a base station, and the terminal device is an example of a mobile phone.
在如图1所示的通信系统中,当接入网设备101为室外宏基站,接入网设备102为室内小基站或接入点(Access Point,AP)时,终端设备从室外移动到室内。为保证终端设备的服务质量,终端设备需要从接入网设备101切换到接入网设备102。如果室内小基站通过有线方式接入互联网,那么接入网设备101和接入网设备102之间没有Xn接口。这就导致终端设备103从接入网设备101切换到接入网设备102时,终端设备103需要先和接入网设备101断开,再重新向接入网设备102发起随机接入来接入接入网设备102。此时需要通过竞争的随机接入方式来接入接入网设备,因此业务中断时间会比较长,而且竞争随机接入方式需要预留较多随机接入的资源,包括随机接入前导(preamble)码和随机接入资源,影响用户体验。In the communication system shown in Figure 1, when the access network device 101 is an outdoor macro base station, and the access network device 102 is an indoor small base station or access point (Access Point, AP), the terminal device moves from outdoor to indoor . In order to ensure the quality of service of the terminal device, the terminal device needs to switch from the access network device 101 to the access network device 102 . If the indoor small base station accesses the Internet in a wired manner, there is no Xn interface between the access network device 101 and the access network device 102 . As a result, when the terminal device 103 switches from the access network device 101 to the access network device 102, the terminal device 103 needs to disconnect from the access network device 101 first, and then re-initiate random access to the access network device 102 to access Access network device 102 . At this time, it is necessary to access the access network equipment through a competitive random access method, so the service interruption time will be relatively long, and the competitive random access method needs to reserve more resources for random access, including the random access preamble (preamble ) codes and random access resources, affecting user experience.
本申请提供一种随机接入方法,可以应用于如图1所示的通信系统中。终端设备从接入网设备101切换到接入网设备102时,终端设备发送第一随机接入请求消息给接入网设备102,接入网设备102接收到第一随机接入请求消息后发送第二随机接入配置信息给终端设备。终端设备利用第二随机接入配置信息中专用的随机接入前导码和/或随机接入资源来接入接入网设备102。有利于减少随机接入资源的消耗,同时使得终端设备快速接入网络。The present application provides a random access method, which can be applied to the communication system shown in FIG. 1 . When the terminal device switches from the access network device 101 to the access network device 102, the terminal device sends a first random access request message to the access network device 102, and the access network device 102 sends the first random access request message after receiving the first random access request message The second random access configuration information is sent to the terminal device. The terminal device uses the dedicated random access preamble and/or random access resource in the second random access configuration information to access the access network device 102 . It is beneficial to reduce the consumption of random access resources, and at the same time enable the terminal equipment to quickly access the network.
本申请还提供一种随机接入方法,也可以应用于如图1所示的通信系统中。终端设备从接入网设备101切换到接入网设备102时,终端设备发送专用的第三随机接入前导码和/或第三随机接入资源给接入网设备102,从而接入网络,能够使得终端设备快速接入网络。The present application also provides a random access method, which can also be applied to the communication system shown in FIG. 1 . When the terminal device switches from the access network device 101 to the access network device 102, the terminal device sends a dedicated third random access preamble and/or third random access resources to the access network device 102, thereby accessing the network, The terminal equipment can be quickly connected to the network.
请参见图2,图2是本申请实施例提供的一种随机接入方法的流程示意图,该随机接入方法可应用于如图1所示的通信系统,从接入网设备和终端设备交互的角度进行阐述。 该随机接入方法包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a random access method provided by an embodiment of the present application. The random access method can be applied to the communication system shown in FIG. 1, and the interaction between the access network device and the terminal device point of view is explained. The random access method includes the following steps:
S201,终端设备向接入网设备发送第一随机接入请求消息;对应的,接入网设备接收来自终端设备的第一随机接入请求消息。S201. The terminal device sends a first random access request message to the access network device; correspondingly, the access network device receives the first random access request message from the terminal device.
其中,第一随机接入请求消息包括第一随机接入前导码。第一随机接入前导码在第一随机接入资源上发送,具体的第一随机接入资源可以是物理随机接入信道(Physical Random Access Channel,PRACH)资源,具体的PRACH资源包括时频域资源,例如,时域资源是指随机接入前导码所在的随机接入时机(Random Access Channeloccasion,RACH occasion)。第一随机接入请求消息是在第一随机接入资源上发送的,第一随机接入请求消息用于请求第二随机接入配置信息。第二随机接入配置信息包括一个或多个专用的随机接入前导码,或者,第二随机接入配置信息包括一个或多个第二随机接入资源,或者第二随机接入配置信息包括一个或多个专用的随机接入前导码和一个或多个第二随机接入资源。例如,第二随机接入配置信息包括一个或多个专用的随机接入前导码和一个或多个第二随机接入资源。此时,终端设备可以利用第二随机接入配置信息中专用的随机接入前导码和第二随机接入资源来进行随机接入。也就是说,终端设备向接入网设备正式发起随机接入请求之前,终端设备先向接入网设备发送第一随机接入请求消息,用于请求进行后续随机接入用到的preamble码和/或PRACH资源。Wherein, the first random access request message includes a first random access preamble. The first random access preamble is sent on the first random access resource, and the specific first random access resource may be a physical random access channel (Physical Random Access Channel, PRACH) resource, and the specific PRACH resource includes a time-frequency domain The resource, for example, the time domain resource refers to a random access opportunity (Random Access Channel occasion, RACH occasion) where the random access preamble is located. The first random access request message is sent on the first random access resource, and the first random access request message is used to request second random access configuration information. The second random access configuration information includes one or more dedicated random access preambles, or the second random access configuration information includes one or more second random access resources, or the second random access configuration information includes One or more dedicated random access preambles and one or more second random access resources. For example, the second random access configuration information includes one or more dedicated random access preambles and one or more second random access resources. At this time, the terminal device may use the dedicated random access preamble and the second random access resource in the second random access configuration information to perform random access. That is to say, before the terminal device formally initiates a random access request to the access network device, the terminal device first sends a first random access request message to the access network device, which is used to request the preamble code and /or PRACH resources.
在一种可能的实施方式中,获取第一随机接入配置信息,该第一随机接入配置信息包括一个或多个第一随机接入前导码。In a possible implementation manner, first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles.
在另一种可能的实施方式中,第一随机接入配置信息中包括一个或多个第一随机接入资源。In another possible implementation manner, the first random access configuration information includes one or more first random access resources.
在另一种可能的实施方式中,第一随机接入配置信息中包括一个或多个第一随机接入前导码和一个或多个第一随机接入资源。In another possible implementation manner, the first random access configuration information includes one or more first random access preambles and one or more first random access resources.
在一种可能的实施方式中,第一随机接入配置信息是由接入网设备广播的,或者第一随机接入配置信息是由接入网设备在接收终端设备发送的第一随机接入请求消息之前提前配置的,即预配置的,或者第一随机接入配置信息是由协议规定的。由此可知,第一随机接入配置信息中的第一随机接入前导码和/或第一随机接入资源是协议规定、接入网设备广播的或者预定义的,因此,接入网设备在接收到携带了第一随机接入前导码的随机接入请求之后就能识别该随机接入请求是用来请求第二随机接入配置信息的。可选的,接入网 设备可以通过随机接入前导码来识别该随机接入请求是第一随机接入请求,也可以通过第一随机接入资源来识别该随机接入请求是第一随机接入请求。可选的,第一随机接入配置信息中的第一随机接入前导码和第一随机接入资源可以只是少量的,这样便可节约随机接入的资源。例如,第一随机接入配置信息中包括一个或两个第一随机接入前导码和一个或两个第一随机接入资源。In a possible implementation manner, the first random access configuration information is broadcast by the access network device, or the first random access configuration information is received by the access network device when receiving the first random access configuration information sent by the terminal device. The request message is configured in advance, that is, pre-configured, or the first random access configuration information is specified by the protocol. It can be seen from this that the first random access preamble and/or the first random access resource in the first random access configuration information is stipulated in the protocol, broadcast by the access network device, or predefined. Therefore, the access network device After receiving the random access request carrying the first random access preamble, it can be identified that the random access request is used to request the second random access configuration information. Optionally, the access network device may identify that the random access request is the first random access request through the random access preamble, and may also identify that the random access request is the first random access request through the first random access resource. Access request. Optionally, the first random access preamble and the first random access resources in the first random access configuration information may be only a small amount, so that random access resources can be saved. For example, the first random access configuration information includes one or two first random access preambles and one or two first random access resources.
在一种可能的实施方式中,第一随机接入配置信息用于终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用。具体的,终端设备监测到从源接入网设备断开后,检测到有新的接入网设备符合小区选择/小区重选标准后,将使用目标接入网设备分配的第一随机接入配置信息中的随机接入前导码和PRACH资源,向目标接入网设备发送第一随机接入请求消息。In a possible implementation manner, the first random access configuration information is used when the terminal device disconnects from the source access network device and accesses the target access network device to perform random access. Specifically, after the terminal device detects that it is disconnected from the source access network device, and after detecting that there is a new access network device that meets the cell selection/cell reselection criteria, it will use the first random access network device allocated by the target access network device. Configure the random access preamble and PRACH resources in the information, and send the first random access request message to the target access network device.
在一种可能的实施方式中,第二随机接入配置信息中专用的随机接入前导码和第二随机接入资源是接入网设备根据第一随机接入请求消息分配的,专门用于终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时的场景。第二随机接入资源可以是PRACH资源,专用的随机接入前导码可以承载于第二随机接入资源上进行发送。因为专用的随机接入前导码和第二随机接入资源是广播给终端设备,在终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用的,由于不同用户同时从源接入网设备断开并接入到相同的目标接入网设备的概率非常小,因此终端设备利用专用的随机接入前导码接入网络时,能够快速接入网络。In a possible implementation manner, the dedicated random access preamble and the second random access resource in the second random access configuration information are allocated by the access network device according to the first random access request message, and are specially used for A scenario where a terminal device connects to a target access network device for random access after being disconnected from the source access network device. The second random access resource may be a PRACH resource, and a dedicated random access preamble may be carried on the second random access resource for transmission. Because the dedicated random access preamble and the second random access resource are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it is used when connecting to the target access network device for random access, Since the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, the terminal device can quickly access the network when using a dedicated random access preamble to access the network.
在一种可能的实施方式中,接入网设备根据第一随机接入请求消息中的第一随机接入前导码确定第二随机接入配置信息。例如,接入网设备接收到第一随机接入请求消息,接入网设备根据第一随机接入请求消息中的随机接入前导码或者第一随机接入请求消息所在的随机接入资源识别到该随机接入请求是用来请求第二随机接入配置信息。从而,接入网设备确定第二随机接入配置信息中包括一个或多个专用的随机接入前导码,或者接入网设备确定第二随机接入配置信息中包括一个或多个第二随机接入资源,或者接入网设备确定第二随机接入配置信息中包括一个或多个专用的随机接入前导码和一个或多个第二随机接入资源。In a possible implementation manner, the access network device determines the second random access configuration information according to the first random access preamble in the first random access request message. For example, the access network device receives the first random access request message, and the access network device identifies the random access resource according to the random access preamble in the first random access request message The random access request is used to request second random access configuration information. Therefore, the access network device determines that the second random access configuration information includes one or more dedicated random access preambles, or the access network device determines that the second random access configuration information includes one or more second random access preambles. access resources, or the access network device determines that the second random access configuration information includes one or more dedicated random access preambles and one or more second random access resources.
在一种可能的实施方式中,当接入网设备接收到多个第一随机接入请求消息时,接入网设备确定发送对应数量的专用的随机接入前导码和/或对应数量的第二随机接入资源。例 如,接入网设备接收到两条第一随机接入请求消息,接入网设备确定发送两个专用的随机接入前导码和两个第二随机接入资源。通过第一随机接入请求消息确定发送的专用的随机接入前导码和随机接入资源的数量,相对于直接发送多个随机接入前导码和随机接入资源来说,能够节约随机接入的资源。In a possible implementation manner, when the access network device receives multiple first random access request messages, the access network device determines to send a corresponding number of dedicated random access preambles and/or a corresponding number of first random access request messages. Two random access resources. For example, the access network device receives two first random access request messages, and the access network device determines to send two dedicated random access preambles and two second random access resources. The number of dedicated random access preambles and random access resources to be sent is determined by the first random access request message. Compared with directly sending multiple random access preambles and random access resources, random access can be saved. Resources.
在一种可能的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同。例如,本申请实施例中的接入网设备提前配置的一个或多个第一随机接入前导码包含在第一随机接入请求消息中,用于请求第二随机接入配置信息。而第三随机接入配置信息为现有的随机接入配置信息,可以是竞争随机接入的配置信息,也可以是非竞争随机接入的配置信息。也就是说,本实施例中的接入网设备提前配置的一个或多个第一随机接入前导码与现有技术中进行随机接入时使用的随机接入前导码不同。In a possible implementation manner, one or more first random access preambles in the first random access configuration information are different from random access preambles in the third random access configuration information. For example, one or more first random access preambles configured in advance by the access network device in this embodiment of the present application are included in the first random access request message, and are used to request the second random access configuration information. The third random access configuration information is existing random access configuration information, which may be configuration information of contention random access, or configuration information of non-contention random access. That is to say, the one or more first random access preambles configured in advance by the access network device in this embodiment are different from the random access preambles used for random access in the prior art.
在另一种可能的实施方式中,第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置信息中的随机接入前导码不同。例如,本申请实施例中第二随机接入配置信息中的一个或多个专用的随机接入前导码可以根据第一随机接入请求消息确定,而第三随机接入配置信息为现有的随机接入配置信息,可以是竞争随机接入的配置信息,也可以是非竞争随机接入的配置信息。则本申请实施例中专用的随机接入前导码与现有技术中的随机接入前导码不同。In another possible implementation manner, the one or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information. For example, in the embodiment of the present application, one or more dedicated random access preambles in the second random access configuration information may be determined according to the first random access request message, while the third random access configuration information is the existing The random access configuration information may be configuration information of contention random access, or configuration information of non-contention random access. Then, the dedicated random access preamble in the embodiment of the present application is different from the random access preamble in the prior art.
在另一种可能的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同。例如,本申请实施例中的接入网设备提前配置的一个或多个PRACH资源包括一个或多个第一随机接入资源,在第一随机接入资源上发送第一随机接入前导码,用来请求第二随机接入配置信息。而第三随机接入配置信息为现有的随机接入配置信息,可以是竞争随机接入的配置信息,也可以是非竞争随机接入的配置信息。则本实施例中的接入网设备提前配置的一个或多个PRACH资源与现有技术中进行随机接入时使用的随机接入资源不同。In another possible implementation manner, one or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information. For example, the one or more PRACH resources configured in advance by the access network device in this embodiment of the present application include one or more first random access resources, and the first random access preamble is sent on the first random access resources, Used to request second random access configuration information. The third random access configuration information is existing random access configuration information, which may be configuration information of contention random access, or configuration information of non-contention random access. Then, the one or more PRACH resources configured in advance by the access network device in this embodiment are different from the random access resources used for random access in the prior art.
在另一种可能的实施方式中,第二随机接入配置信息中的一个或多个专用随机接入资源与第三随机接入配置信息中的随机接入资源不同。例如,本申请实施例中第二随机接入配置信息中的一个或多个第二随机接入资源可以根据第一随机接入请求消息确定。而第三随机接入配置信息为现有的随机接入配置信息,可以是竞争随机接入的配置信息,也可以 是非竞争随机接入的配置信息,则本申请实施例中第二随机接入配置信息中的一个或多个第二随机接入资源与现有技术中进行随机接入时使用的随机接入资源不同。In another possible implementation manner, the one or more dedicated random access resources in the second random access configuration information are different from the random access resources in the third random access configuration information. For example, one or more second random access resources in the second random access configuration information in this embodiment of the present application may be determined according to the first random access request message. The third random access configuration information is the existing random access configuration information, which can be the configuration information of the contention random access, or the configuration information of the non-competition random access. In the embodiment of the present application, the second random access The one or more second random access resources in the configuration information are different from the random access resources used for random access in the prior art.
S202,接入网设备广播第一随机接入响应消息;对应的,终端设备接收来自接入网设备广播的第一随机接入响应消息。S202. The access network device broadcasts a first random access response message; correspondingly, the terminal device receives the first random access response message broadcast from the access network device.
在一种可能的实施方式中,终端设备根据第一随机接入响应消息中的第二随机接入配置信息确定进行随机接入时用到的资源。例如,终端设备根据第一随机接入响应消息中的第二随机接入配置信息确定第二随机接入前导码。该第二随机接入前导码是从专用的随机接入前导码中进行选择得到,用于进行随机接入。也就是说,当接入网设备广播的第一随机接入响应消息中包含多个专用的随机接入前导码时,终端设备可以在多个专用的随机接入前导码中选择一个随机接入前导码来进行随机接入。In a possible implementation manner, the terminal device determines resources used for random access according to the second random access configuration information in the first random access response message. For example, the terminal device determines the second random access preamble according to the second random access configuration information in the first random access response message. The second random access preamble is selected from dedicated random access preambles, and is used for random access. That is to say, when the first random access response message broadcast by the access network device contains multiple dedicated random access preambles, the terminal device can select one random access preamble among the multiple dedicated random access preambles. preamble for random access.
本申请实施例中,终端设备通过发送第一随机接入请求消息来请求第二随机接入配置信息,然后终端设备利用第二随机接入配置信息中的随机接入前导码和随机接入资源来接入网络。由于第二随机接入配置信息中的随机接入前导码和随机接入资源是广播给终端设备,在终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时使用的,由于不同用户同时从源接入网设备断开并接入到相同的目标接入网设备的概率非常小,因此,可以使得终端设备快速接入网络。并且第二随机接入配置信息中的随机接入前导码和随机接入资源是根据第一随机接入请求消息来确定的。因此接入网设备可以根据情况发送第二随机接入配置信息,从而可以减少随机接入资源的消耗。In this embodiment of the application, the terminal device requests the second random access configuration information by sending the first random access request message, and then the terminal device uses the random access preamble and random access resource in the second random access configuration information to access the network. Since the random access preamble and random access resources in the second random access configuration information are broadcast to the terminal device, after the terminal device is disconnected from the source access network device, it connects to the target access network device for random access. When used when entering, because the probability that different users are disconnected from the source access network device and connected to the same target access network device at the same time is very small, therefore, the terminal device can quickly access the network. And the random access preamble and the random access resource in the second random access configuration information are determined according to the first random access request message. Therefore, the access network device can send the second random access configuration information according to the situation, so that the consumption of random access resources can be reduced.
例如,图2所述的随机接入方法可以适用于终端设备从室外的接入网设备接入室内的接入网设备,并且终端设备工作在双卡单通的场景。在这种场景下,室外的接入网设备和室内的接入网设备之间不存在Xn接口。终端设备工作在双卡单通时,终端设备和室外的接入网设备和室内的接入网设备可以同时保持连接。终端设备正在和室外的接入网设备进行数据交互的时候,可以进行随机接入,接入到室内的接入网设备中,当终端设备成功接入室内的接入网设备后断开和室外的接入网设备的数据交互。因此,终端设备有一段时间保持着双连接。For example, the random access method described in FIG. 2 may be applicable to a scenario where a terminal device accesses an indoor access network device from an outdoor access network device, and the terminal device works in a dual card single communication scenario. In this scenario, there is no Xn interface between the outdoor access network device and the indoor access network device. When the terminal device works in dual-card single-pass mode, the terminal device can maintain connection with the outdoor access network device and the indoor access network device at the same time. When the terminal device is exchanging data with the outdoor access network device, it can perform random access and access to the indoor access network device. When the terminal device successfully connects to the indoor access network device, it disconnects from the outdoor Data interaction between access network devices. Therefore, the end device maintains dual connectivity for a while.
如图3所示,图3是本申请实施例提供的一种随机接入方法应用于终端设备从源接入网设备断开后,接入到目标接入网设备的场景时的流程示意图,在该实施例中,以图2所 述的随机接入方法应用于上述场景时为例进行说明,包括以下步骤:As shown in FIG. 3, FIG. 3 is a schematic flow diagram of a random access method provided by an embodiment of the present application applied to a scenario where a terminal device is disconnected from a source access network device and then accesses a target access network device. In this embodiment, when the random access method described in FIG. 2 is applied to the above scenario as an example, the following steps are included:
S301,终端设备向接入网设备发送第一随机接入请求消息,其中,第一随机接入请求消息包括第一随机接入前导码;对应的,接入网设备接收来自终端设备的第一随机接入请求消息。S301. The terminal device sends a first random access request message to the access network device, where the first random access request message includes a first random access preamble; correspondingly, the access network device receives the first random access request message from the terminal device. Random Access Request message.
S302,接入网设备广播第一随机接入响应消息,其中,第一随机接入响应消息中包括:一个或多个专用的随机接入前导码和/或一个或多个第二随机接入资源;对应的,终端设备接收来自接入网设备广播的第一随机接入响应消息。S302. The access network device broadcasts a first random access response message, where the first random access response message includes: one or more dedicated random access preambles and/or one or more second random access resources; correspondingly, the terminal device receives the first random access response message broadcast from the access network device.
其中,S301和S302具体的实现方式参考图2所示的实施例中的S201和S202,在此不再赘述。Wherein, for specific implementation manners of S301 and S302, refer to S201 and S202 in the embodiment shown in FIG. 2 , which will not be repeated here.
S303,终端设备向接入网设备发送第二随机接入前导码;对应的,接入网设备接收来自终端设备的第二随机接入前导码。S303. The terminal device sends the second random access preamble to the access network device; correspondingly, the access network device receives the second random access preamble from the terminal device.
其中,第二随机接入前导码可以在第二随机接入资源上发送。终端设备发送第二随机接入前导码给接入网设备,进行非竞争随机接入。Wherein, the second random access preamble may be sent on the second random access resource. The terminal device sends the second random access preamble to the access network device to perform non-contention random access.
S304,接入网设备向终端设备发送第二随机接入响应消息;对应的,终端设备接收来自接入网设备的第二随机接入响应消息。S304. The access network device sends a second random access response message to the terminal device; correspondingly, the terminal device receives the second random access response message from the access network device.
在一种可能的实施方式中,接入网设备接收到第二随机接入前导码后,接入网设备确定第二随机接入响应消息。其中,第二随机接入响应消息包括以下一种或多种:定时调整指令,前导索引,上行许可(Uplink Grant,UL Grant)资源,临时小区无线网络临时标识(Temporary-Cell Radio Network Temporary Identifier,T-CRNTI)。其中,定时调整指令用于保证不同终端设备的上行信号到达接入网设备的时间一致。前导索引为接入网设备检测到的随机接入前导码的索引号。上行许可UL Grant资源为初始的上行资源分配,主要用于发送消息3(Message3,MSG3)。临时小区无线网络临时标识用于完成竞争解决过程。接入网设备的媒介访问控制层(Medium Access Control,MAC)层产生第二随机接入响应消息,并在下行共享信道(Downlink Shared Channel,DL-SCH)上发送。In a possible implementation manner, after the access network device receives the second random access preamble, the access network device determines the second random access response message. Wherein, the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant (Uplink Grant, UL Grant) resource, temporary cell radio network temporary identifier (Temporary-Cell Radio Network Temporary Identifier, T-CRNTI). Wherein, the timing adjustment instruction is used to ensure that the uplink signals of different terminal devices arrive at the access network device at the same time. The preamble index is the index number of the random access preamble detected by the access network device. The uplink grant UL Grant resource is the initial uplink resource allocation and is mainly used to send message 3 (Message3, MSG3). The temporary radio network temporary identity of the temporary cell is used to complete the contention resolution process. The medium access control layer (Medium Access Control, MAC) layer of the access network device generates the second random access response message, and sends it on the downlink shared channel (Downlink Shared Channel, DL-SCH).
如果终端设备接收到的第二随机接入响应消息中的前导索引与自己发送的第二随机接入前导码相对应,终端设备就采用定时调整指令,并启动相应的竞争解决过程。如果终端设备正确接收第二随机接入响应消息,那么随机接入过程结束,终端设备成功接入到网络。如果终端设备没有正确接收到第二随机接入响应消息,那么终端设备会重新进行步骤 S303,即重新发送第二随机接入前导码,重新进行非竞争随机接入。If the preamble index in the second random access response message received by the terminal device corresponds to the second random access preamble sent by itself, the terminal device uses a timing adjustment instruction and starts a corresponding contention resolution process. If the terminal device correctly receives the second random access response message, the random access process ends, and the terminal device successfully accesses the network. If the terminal device does not correctly receive the second random access response message, the terminal device will re-perform step S303, that is, re-send the second random access preamble, and re-perform non-contention random access.
可选的,当存在多个终端设备需要从室外接入网设备移动到室内的接入网设备时,所述方法还包括步骤S305-S306。Optionally, when there are multiple terminal devices that need to move from outdoor access network devices to indoor access network devices, the method further includes steps S305-S306.
S305,终端设备向接入网设备发送消息3;对应的,接入网设备接收来自终端设备的消息3。S305, the terminal device sends message 3 to the access network device; correspondingly, the access network device receives message 3 from the terminal device.
MSG3中携带了用户设备身份标识(User Equipment Identity Document,UE-ID)。终端设备的无线资源控制(Radio Resource Control,RRC)层产生RRC连接请求(RRC Connection Request),终端设备将RRC Connection Request映射到上行共享信道(Uplink Shared Channel,UL-SCH)上的公共控制信道(Common Control Channel,CCCH)上发送。MSG3 carries a User Equipment Identity Document (UE-ID). The radio resource control (Radio Resource Control, RRC) layer of the terminal device generates an RRC connection request (RRC Connection Request), and the terminal device maps the RRC Connection Request to the common control channel ( Common Control Channel, CCCH).
S306,接入网设备向终端设备发送消息4;对应的,终端设备接收来自接入网设备的消息4。S306, the access network device sends message 4 to the terminal device; correspondingly, the terminal device receives message 4 from the access network device.
消息4(Message4,MSG4)中携带RRC竞争解决(RRC Contention Resolution),RRC Contention Resolution由接入网设备的RRC层产生,并映射到DL-SCH上的CCCH或者专用控制信道(Dedicated Control Channel,DCCH)上发送,终端设备正确接收MSG4完成竞争解决。Message 4 (Message4, MSG4) carries RRC Contention Resolution (RRC Contention Resolution). RRC Contention Resolution is generated by the RRC layer of the access network device and mapped to CCCH or Dedicated Control Channel (Dedicated Control Channel, DCCH) on DL-SCH ), the terminal device correctly receives MSG4 to complete the contention resolution.
请参见图4,图4是本申请实施例提供的另一种随机接入方法的流程示意图。该随机接入方法可应用于图1所示的通信系统,以接入网设备与终端设备之间的交互进行阐述。该随机接入方法包括:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of another random access method provided by an embodiment of the present application. The random access method can be applied to the communication system shown in FIG. 1 , and the interaction between an access network device and a terminal device is used for illustration. The random access method includes:
S401,终端设备向接入网设备发送第二随机接入请求消息;对应的,接入网设备接收来自终端设备的第二随机接入请求消息。S401. The terminal device sends a second random access request message to the access network device; correspondingly, the access network device receives the second random access request message from the terminal device.
其中,第二随机接入请求消息中包括第三随机接入前导码,第三随机接入前导码可以是进行非竞争随机接入时使用的,可以在非竞争第三随机接入资源上发送。第二随机接入请求消息用于请求接入接入网设备。第三随机接入前导码和非竞争第三随机接入资源可以理解为专用于从室外源接入网设备断开后,从室内目标接入网设备接入,进行非竞争随机接入的资源。第三随机接入前导码可以为从第四随机接入配置信息中的多个非竞争第三随机接入前导码中进行选择的。其中,第四随机接入配置信息包括多个非竞争第三随机接入前导码和/或多个非竞争第三随机接入资源,非竞争第三随机接入资源可以是PRACH资源。 第四随机接入配置信息中配置的非竞争第三随机接入前导码和非竞争第三随机接入资源是从室外源接入网设备断开后,向室内目标接入网设备接入,进行非竞争随机接入的专用的资源。例如,终端设备在需要进行随机接入的时候,可以从第四随机接配置信息中的多个非竞争第三随机接入前导码中选择一个作为第三随机接入前导码,然后利用该第三随机接入前导码进行随机接入。使用第三随机接入前导码进行非竞争随机接入能够使得终端设备快速接入网路。Wherein, the second random access request message includes a third random access preamble, and the third random access preamble may be used during non-contention random access, and may be sent on a non-contention third random access resource . The second random access request message is used to request access to the access network device. The third random access preamble and the third non-contention random access resources can be understood as resources dedicated to performing non-contention random access by accessing from the indoor target access network device after being disconnected from the outdoor source access network device . The third random access preamble may be selected from multiple non-contention third random access preambles in the fourth random access configuration information. Wherein, the fourth random access configuration information includes multiple non-contention third random access preambles and/or multiple non-contention third random access resources, and the non-contention third random access resources may be PRACH resources. The non-contention third random access preamble and the non-contention third random access resources configured in the fourth random access configuration information are connected to the indoor target access network device after being disconnected from the outdoor source access network device, Dedicated resources for non-contention random access. For example, when a terminal device needs to perform random access, it may select one of the multiple non-contention third random access preambles in the fourth random access configuration information as the third random access preamble, and then use the first Three random access preambles for random access. Using the third random access preamble to perform non-contention random access can enable the terminal device to quickly access the network.
在一种可能的实施方式中,第四随机接入配置信息可以是由接入网设备广播的,或者第四随机接入配置信息是由接入网设备在接收终端设备发送的第三随机接入前导码之前提前配置的,即预配置的,或者第四随机接入配置信息是由协议规定的。也就是说,第四随机接入配置信息中的多个非竞争第三随机接入前导码和多个非竞争第三随机接入资源是专用的。In a possible implementation manner, the fourth random access configuration information may be broadcast by the access network device, or the fourth random access configuration information is received by the access network device when receiving the third random access configuration information sent by the terminal device. It is configured in advance before entering the preamble, that is, pre-configured, or the fourth random access configuration information is specified by the protocol. That is to say, the multiple non-contention third random access preambles and the multiple non-contention third random access resources in the fourth random access configuration information are dedicated.
在一种可能的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同。例如,本申请实施例中第四随机接入配置信息中的多个非竞争第三随机接入前导码为提前配置的随机接入前导码,用于进行非竞争的随机接入,而第三随机接入配置信息为现有的随机接入配置信息,可以是竞争随机接入的配置信息,也可以是非竞争随机接入的配置信息。则本申请实施例中第四随机接入配置信息中的多个非竞争第三随机接入前导码与现有技术中进行随机接入时使用的随机接入前导码不同。In a possible implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information. For example, the multiple non-contention third random access preambles in the fourth random access configuration information in the embodiment of the present application are pre-configured random access preambles for non-contention random access, and the third The random access configuration information is existing random access configuration information, and may be configuration information of contention random access, or configuration information of non-contention random access. Then, the multiple non-contention third random access preambles in the fourth random access configuration information in the embodiment of the present application are different from the random access preambles used for random access in the prior art.
在另一种可能的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入资源与第三随机接入配置信息中的随机接入资源不同。例如,本申请实施例中的多个非竞争第三随机接入资源为提前配置的随机接入资源,用于进行非竞争的随机接入,而第三随机接入配置信息为现有的随机接入配置信息,可以是竞争随机接入的配置信息,也可以是非竞争随机接入的配置信息。则本申请实施例中第四随机接入配置信息中的多个非竞争第三随机接入资源与现有技术中进行随机接入时使用的随机接入资源不同。In another possible implementation manner, the multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. For example, the multiple non-contention third random access resources in the embodiment of the present application are random access resources configured in advance for non-contention random access, and the third random access configuration information is the existing random access resources The access configuration information may be configuration information of contention random access, or configuration information of non-contention random access. Then, the multiple non-competition third random access resources in the fourth random access configuration information in the embodiment of the present application are different from the random access resources used for random access in the prior art.
S402,接入网设备向终端设备发送第三随机接入响应消息;对应的,终端设备接收来自接入网设备的第三随机接入响应消息。S402. The access network device sends a third random access response message to the terminal device; correspondingly, the terminal device receives the third random access response message from the access network device.
在一种可能的实施方式中,接入网设备根据第二随机接入请求消息确定第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。其中,第三随 机接入响应消息包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。接入网设备的MAC层产生第三随机接入响应消息,并在DL-SCH上发送。In a possible implementation manner, the access network device determines a third random access response message according to the second random access request message, and the third random access response message indicates whether the terminal device successfully accesses the access network device. Wherein, the third random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink permission UL Grant resource, temporary cell wireless network temporary identifier. The MAC layer of the access network device generates the third random access response message and sends it on the DL-SCH.
如果终端设备接收到的第三随机接入响应消息中的前导索引与自己发送的第三随机接入前导码相对应,终端设备就采用定时调整指令,并启动相应的竞争解决过程。如果终端设备正确接收第三随机接入响应消息,那么随机接入过程结束,终端设备成功接入到网络。如果终端设备没有正确接收到第三随机接入响应消息,那么终端设备会重新进行步骤S401,即重新发送第三随机接入前导码,重新进行非竞争随机接入。If the preamble index in the third random access response message received by the terminal device corresponds to the third random access preamble sent by itself, the terminal device uses a timing adjustment instruction and starts a corresponding contention resolution process. If the terminal device correctly receives the third random access response message, the random access process ends, and the terminal device successfully accesses the network. If the terminal device does not correctly receive the third random access response message, then the terminal device will perform step S401 again, that is, resend the third random access preamble, and perform non-contention random access again.
本申请实施例中,终端设备通过发送专用的第三随机接入前导码进行非竞争随机接入,能够使得终端设备快速接入网络。In the embodiment of the present application, the terminal device performs non-contention random access by sending a dedicated third random access preamble, so that the terminal device can quickly access the network.
请参见图5,图5是本申请实施例提供的一种随机接入装置的结构示意图。该随机接入装置500包括:发送单元501和接收单元502。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a random access apparatus provided by an embodiment of the present application. The random access apparatus 500 includes: a sending unit 501 and a receiving unit 502 .
发送单元501,用于向接入网设备发送第一随机接入请求消息,第一随机接入请求消息包括第一随机接入前导码,第一随机接入请求消息在第一随机接入资源上发送,第一随机接入请求消息用于请求第二随机接入配置信息。The sending unit 501 is configured to send a first random access request message to an access network device, where the first random access request message includes a first random access preamble, and the first random access request message is stored in the first random access resource The first random access request message is used to request the second random access configuration information.
接收单元502,用于接收接入网设备广播的第一随机接入响应消息,第一随机接入响应消息包括第二随机接入配置信息。The receiving unit 502 is configured to receive a first random access response message broadcast by an access network device, where the first random access response message includes second random access configuration information.
在一种可选的实施方式中,获取第一随机接入配置信息,该第一随机接入配置信息包括一个或多个第一随机接入前导码,和/或,一个或多个第一随机接入资源,该第一随机接入资源是指第一随机接入前导码所在的时频域资源。In an optional implementation manner, first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles, and/or one or more first A random access resource, where the first random access resource refers to a time-frequency domain resource where the first random access preamble is located.
在一种可选的实施方式中,第一随机接入配置信息是由接入网设备广播的,或者第一随机接入配置信息是由接入网设备在接收到第一随机接入请求消息之前提前配置的,即预配置的,或者第一随机接入配置信息是由协议规定的。In an optional implementation manner, the first random access configuration information is broadcast by the access network device, or the first random access configuration information is broadcast by the access network device after receiving the first random access request message The configuration information previously configured in advance, that is, pre-configured, or the first random access configuration information is specified by the protocol.
在一种可选的实施方式中,第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。In an optional implementation manner, the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
在一种可选的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,In an optional implementation manner, one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个第二随机接入资源与第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
在一种可选的实施方式中,发送单元501,还用于向接入网设备发送第二随机接入前导码,第二随机接入前导码在第二随机接入资源上发送;第二随机接入前导码是在一个或多个专用的随机接入前导码中选择的,该第二随机接入前导码是用于随机接入的;接收单元502,还用于接收来自接入网设备的第二随机接入响应消息,第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the sending unit 501 is further configured to send a second random access preamble to the access network device, where the second random access preamble is sent on the second random access resource; the second The random access preamble is selected from one or more dedicated random access preambles, and the second random access preamble is used for random access; the receiving unit 502 is also used to receive The second random access response message of the device, the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
另一实施例中,图5所示的随机接入装置500中,接收单元502,用于接收来自终端设备的第一随机接入请求消息,该第一随机接入请求消息包括第一随机接入前导码,该第一随机接入请求消息用于请求第二随机接入配置信息。In another embodiment, in the random access apparatus 500 shown in FIG. 5 , the receiving unit 502 is configured to receive a first random access request message from a terminal device, where the first random access request message includes a first random access request message Entering the preamble, the first random access request message is used to request the second random access configuration information.
发送单元501,用于广播第一随机接入响应消息,该第一随机接入响应消息包括第二随机接入配置信息。The sending unit 501 is configured to broadcast a first random access response message, where the first random access response message includes second random access configuration information.
在一种可选的实施方式中,第一随机接入前导码是根据第一随机接入配置信息确定的,其中,第一随机接入配置信息是由接入网设备广播的,或者第一随机接入配置信息是由接入网设备在接收到第一随机接入请求消息之前提前配置的,即预配置的,或者第一随机接入配置信息是由协议规定的。In an optional implementation manner, the first random access preamble is determined according to first random access configuration information, where the first random access configuration information is broadcast by an access network device, or the first The random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or the first random access configuration information is specified by the protocol.
在一种可选的实施方式中,第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。In an optional implementation manner, the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
在一种可选的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,In an optional implementation manner, one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置 信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个第二随机接入资源与第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
在一种可选的实施方式中,接收单元502还用于接收来自终端设备的第二随机接入前导码,该第二随机接入前导码在第二随机接入资源上发送;该第二随机接入前导码是在一个或多个专用的随机接入前导码中选择的,该第二随机接入前导码是用于随机接入的;发送单元501还用于向终端设备发送第二随机接入响应消息,该第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the receiving unit 502 is further configured to receive a second random access preamble from the terminal device, where the second random access preamble is sent on the second random access resource; the second The random access preamble is selected from one or more dedicated random access preambles, and the second random access preamble is used for random access; the sending unit 501 is also used to send the second A random access response message, the second random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
另一实施例中,图5所示的随机接入装置500中,发送单元501用于向接入网设备发送第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息在第三随机接入资源上发送,第二随机接入请求消息用于请求接入接入网设备。In another embodiment, in the random access apparatus 500 shown in FIG. 5 , the sending unit 501 is configured to send a second random access request message to the access network device, and the second random access request message includes the third random access request message. The preamble is inserted, and the second random access request message is sent on the third random access resource, and the second random access request message is used to request access to the access network device.
接收单元502,用于接收来自接入网设备的第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。The receiving unit 502 is configured to receive a third random access response message from the access network device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
在一种可选的实施方式中,该第三随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
在一种可选的实施方式中,第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由接入网设备广播的,或者第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者第四随机接入配置信息是由协议规定的。In an optional implementation manner, the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or the fourth The random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by the protocol.
在一种可选的实施方式中,第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。In an optional implementation manner, the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
在一种可选的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导 码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同。第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。In an optional implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. The fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
另一实施例中,图5所示的随机接入装置500中,接收单元502,用于接收来自终端设备的第二随机接入请求消息,该第二随机接入请求消息中包括第三随机接入前导码,该第二随机接入请求消息用于请求接入接入网设备。In another embodiment, in the random access apparatus 500 shown in FIG. 5 , the receiving unit 502 is configured to receive a second random access request message from a terminal device, and the second random access request message includes a third random access request message. An access preamble, where the second random access request message is used to request access to the access network device.
发送单元501,用于向终端设备发送第三随机接入响应消息,第三随机接入响应消息指示终终端设备是否成功接入接入网设备。The sending unit 501 is configured to send a third random access response message to the terminal device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
在一种可选的实施方式中,第三随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
在一种可选的实施方式中,第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由所述接入网设备广播的,或者第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者第四随机接入配置信息是由协议规定的。In an optional implementation manner, the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by a protocol.
在一种可选的实施方式中,第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。In an optional implementation manner, the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
在一种可选的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同。第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。In an optional implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. The fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
请参见图6,图6是本申请实施例提供的一种终端设备的结构示意图。该终端设备600包括:处理器601、存储器602,处理器601和存储器602通过一条或多条通信总线连接。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. The terminal device 600 includes: a processor 601 and a memory 602, and the processor 601 and the memory 602 are connected through one or more communication buses.
上述处理器601可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The above-mentioned processor 601 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
上述存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(Random Access Memory,RAM)可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。The memory described above may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of Random Access Memory (RAM) are available such as Static RAM (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory Access memory (Synchlink DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM).
处理器601被配置为支持终端设备执行图2所述方法中终端设备相应的功能。上述存储器602可以包括只读存储器和随机存取存储器,并向处理器601提供计算机程序和数据。存储器602的一部分还可以包括非易失性随机存取存储器。其中,所述处理器601调用所述计算机程序时用于执行:The processor 601 is configured to support the terminal device to perform corresponding functions of the terminal device in the method described in FIG. 2 . The above-mentioned memory 602 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 601 . A portion of memory 602 may also include non-volatile random access memory. Wherein, when the processor 601 invokes the computer program, it is used to execute:
向接入网设备发送第一随机接入请求消息,第一随机接入请求消息包括第一随机接入前导码,第一随机接入请求消息在第一随机接入资源上发送,该第一随机接入请求消息用于请求第二随机接入配置信息;Sending a first random access request message to an access network device, where the first random access request message includes a first random access preamble, where the first random access request message is sent on a first random access resource, and the first random access request message is sent on a first random access resource. The random access request message is used to request second random access configuration information;
接收接入网设备广播的第一随机接入响应消息,该第一随机接入响应消息包括第二随机接入配置信息。Receive a first random access response message broadcast by the access network device, where the first random access response message includes second random access configuration information.
在一种可选的实施方式中,获取第一随机接入配置信息,该第一随机接入配置信息包括一个或多个第一随机接入前导码,和/或,一个或多个第一随机接入资源,该第一随机接入资源是指第一随机接入前导码所在的时频域资源。In an optional implementation manner, first random access configuration information is acquired, where the first random access configuration information includes one or more first random access preambles, and/or one or more first A random access resource, where the first random access resource refers to a time-frequency domain resource where the first random access preamble is located.
在一种可选的实施方式中,第一随机接入配置信息是由接入网设备广播的,或者In an optional implementation manner, the first random access configuration information is broadcast by an access network device, or
第一随机接入配置信息是由接入网设备在接收到第一随机接入请求消息之前提前配置的,即预配置的,或者The first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
第一随机接入配置信息是由协议规定的。The first random access configuration information is specified by a protocol.
在一种可选的实施方式中,第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。In an optional implementation manner, the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
在一种可选的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,In an optional implementation manner, one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个第二随机接入资源与第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
在一种可选的实施方式中,向接入网设备发送第二随机接入前导码,第二随机接入前导码在第二随机接入资源上发送;第二随机接入前导码是在一个或多个专用的随机接入前导码中选择的,该第二随机接入前导码是用于随机接入的;In an optional implementation manner, the second random access preamble is sent to the access network device, and the second random access preamble is sent on the second random access resource; the second random access preamble is in selected from one or more dedicated random access preambles, the second random access preamble being used for random access;
接收来自接入网设备的第二随机接入响应消息,第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。Receive the second random access response message from the access network device, the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink permission UL Grant resource, temporary cell wireless network temporary identifier .
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
另一实施例中,处理器601被配置为支持终端设备执行图4所述方法中终端设备相应的功能。上述存储器602可以包括只读存储器和随机存取存储器,并向处理器601提供计算机程序和数据。存储器602的一部分还可以包括非易失性随机存取存储器。其中,所述处理器601调用所述计算机程序时用于执行:In another embodiment, the processor 601 is configured to support the terminal device to perform corresponding functions of the terminal device in the method described in FIG. 4 . The above-mentioned memory 602 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 601 . A portion of memory 602 may also include non-volatile random access memory. Wherein, when the processor 601 invokes the computer program, it is used to execute:
向接入网设备发送第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息在第三随机接入资源上发送,第二随机接入请求消息用 于请求接入接入网设备;sending a second random access request message to the access network device, where the second random access request message includes a third random access preamble, where the second random access request message is sent on a third random access resource, and the second The random access request message is used to request access to the access network device;
接收来自接入网设备的第三随机接入响应消息,第三随机接入响应消息指示终端设备通过第三随机接入前导码接入接入网设备。Receive a third random access response message from the access network device, where the third random access response message instructs the terminal device to access the access network device through the third random access preamble.
在一种可选的实施方式中,该第三随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
在一种可选的实施方式中,第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由接入网设备广播的,或者第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者第四随机接入配置信息是由协议规定的。In an optional implementation manner, the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or the fourth The random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by the protocol.
在一种可选的实施方式中,第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。In an optional implementation manner, the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
在一种可选的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同。第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。In an optional implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. The fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
请参见图7,图7是本申请实施例提供的一种接入网设备的结构示意图。该接入网设备700包括:处理器701、存储器702,处理器701和存储器702通过一条或多条通信总线连接。Please refer to FIG. 7, which is a schematic structural diagram of an access network device provided by an embodiment of the present application. The access network device 700 includes: a processor 701 and a memory 702, and the processor 701 and the memory 702 are connected through one or more communication buses.
上述处理器701可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The above-mentioned processor 701 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
上述存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程 只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(Random Access Memory,RAM)可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)The memory described above may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of Random Access Memory (RAM) are available such as Static RAM (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory Access memory (Synchlink DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM)
处理器701被配置为支持接入网设备执行图2所述方法中接入网设备相应的功能。上述存储器702可以包括只读存储器和随机存取存储器,并向处理器701提供计算机程序和数据。存储器702的一部分还可以包括非易失性随机存取存储器。其中,所述处理器701调用所述计算机程序时用于执行:The processor 701 is configured to support the access network device to perform the corresponding function of the access network device in the method described in FIG. 2 . The above-mentioned memory 702 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 701 . A portion of memory 702 may also include non-volatile random access memory. Wherein, when the processor 701 invokes the computer program, it is used to execute:
接收来自终端设备的第一随机接入请求消息,该第一随机接入请求消息包括第一随机接入前导码,该第一随机接入请求消息用于请求第二随机接入配置信息;Receive a first random access request message from a terminal device, where the first random access request message includes a first random access preamble, where the first random access request message is used to request second random access configuration information;
广播第一随机接入响应消息,该第一随机接入响应消息包括第二随机接入配置信息。Broadcast a first random access response message, where the first random access response message includes second random access configuration information.
在一种可选的实施方式中,第一随机接入前导码是根据第一随机接入配置信息确定的,其中,In an optional implementation manner, the first random access preamble is determined according to the first random access configuration information, where,
第一随机接入配置信息是由接入网设备广播的,或者The first random access configuration information is broadcast by the access network device, or
第一随机接入配置信息是由接入网设备在接收到第一随机接入请求消息之前提前配置的,即预配置的,或者The first random access configuration information is configured in advance by the access network device before receiving the first random access request message, that is, pre-configured, or
第一随机接入配置信息是由协议规定的。The first random access configuration information is specified by a protocol.
在一种可选的实施方式中,第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。In an optional implementation manner, the second random access configuration information includes: one or more dedicated random access preambles, and/or, one or more second random access resources.
在一种可选的实施方式中,第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,In an optional implementation manner, one or more first random access preambles in the first random access configuration information are different from the random access preambles in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个专用的随机接入前导码与第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
第一随机接入配置信息中的一个或多个第一随机接入资源,与第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
第二随机接入配置信息中的一个或多个第二随机接入资源与第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
在一种可选的实施方式中,接收来自终端设备的第二随机接入前导码,该第二随机接入前导码在第二随机接入资源上发送;该第二随机接入前导码是在一个或多个专用的随机接入前导码中选择的,该第二随机接入前导码是用于随机接入的;In an optional implementation manner, a second random access preamble from a terminal device is received, and the second random access preamble is sent on a second random access resource; the second random access preamble is selected among one or more dedicated random access preambles, the second random access preamble being used for random access;
向终端设备发送第二随机接入响应消息,该第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。Sending a second random access response message to the terminal device, where the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
另一实施例中,处理器701被配置为支持接入网设备执行图4所述方法中接入网设备相应的功能。上述存储器702可以包括只读存储器和随机存取存储器,并向处理器701提供计算机程序和数据。存储器702的一部分还可以包括非易失性随机存取存储器。其中,所述处理器701调用所述计算机程序时用于执行:In another embodiment, the processor 701 is configured to support the access network device to perform the corresponding function of the access network device in the method described in FIG. 4 . The above-mentioned memory 702 may include a read-only memory and a random-access memory, and provides computer programs and data to the processor 701 . A portion of memory 702 may also include non-volatile random access memory. Wherein, when the processor 701 invokes the computer program, it is used to execute:
接收来自终端设备的第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息用于请求接入接入网设备。Receive a second random access request message from the terminal device, where the second random access request message includes a third random access preamble, and the second random access request message is used to request access to the access network device.
向终端设备发送第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。Sending a third random access response message to the terminal device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
在一种可选的实施方式中,该第三随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。In an optional implementation manner, the third random access response message includes one or more of the following: a timing adjustment instruction, a preamble index, an uplink grant UL Grant resource, and a temporary cell wireless network temporary identifier.
在一种可选的实施方式中,第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由所述接入网设备广播的,或者第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者第四随机接入配置信息是由协议规定的。In an optional implementation manner, the third random access preamble is determined according to fourth random access configuration information, where the fourth random access configuration information is broadcast by the access network device, or The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or the fourth random access configuration information is specified by a protocol.
在一种可选的实施方式中,第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。In an optional implementation manner, the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or, multiple non-contention third random access resources.
在一种可选的实施方式中,第四随机接入配置信息中的多个非竞争第三随机接入前导 码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同。第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。In an optional implementation manner, the multiple non-contention third random access preambles in the fourth random access configuration information are different from the random access preambles in the third random access configuration information; or, The multiple non-contention third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information. The fourth random access configuration information is specially configured by the access network device for when the terminal device disconnects from the source access network device and then connects to the target access network device for random access.
其中,该实施方式的相关内容可参见上述方法实施例的相关内容。此处不再详述。For the relevant content of this implementation manner, refer to the relevant content of the foregoing method embodiments. No more details here.
本申请实施例提供一种芯片。该芯片包括:处理器和存储器。其中,处理器的数量可以是一个或多个,存储器的数量可以是一个或多个。处理器通过读取存储器上存储的指令和数据,可执行上述如图2或图4所示的随机接入方法,以及相关实施方式所执行的步骤。An embodiment of the present application provides a chip. The chip includes: processor and memory. Wherein, the number of processors may be one or more, and the number of memories may be one or more. By reading the instructions and data stored in the memory, the processor can execute the aforementioned random access method as shown in FIG. 2 or FIG. 4 , and the steps executed in related implementations.
本申请实施例还提供一种芯片模组,所述芯片模组包括上述芯片,可执行上述如图2或图4所示的随机接入方法,以及相关实施方式所执行的步骤。The embodiment of the present application also provides a chip module, the chip module includes the above-mentioned chip, and can execute the above random access method as shown in FIG. 2 or FIG. 4 , and the steps executed in related implementations.
本申请实施例中还提供一种计算机可读存储介质。所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器执行时,可执行上述图2或图4所示的随机接入方法,以及相关实施方式所执行的步骤。The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the random access method shown in FIG. 2 or FIG. 4 above can be executed, and related implementation methods steps performed.
所述计算机可读存储介质可以是前述任一实施例所述的终端设备或接入网设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述终端设备或接入网设备的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述终端设备或接入网设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端设备或接入网设备所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The computer-readable storage medium may be an internal storage unit of the terminal device or access network device described in any of the foregoing embodiments, such as a hard disk or a memory of the device. The computer-readable storage medium may also be an external storage device of the terminal device or access network device, such as a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), a secure digital ( Secure Digital (SD) card, flash memory card (Flash Card), etc. Further, the computer-readable storage medium may also include both an internal storage unit of the terminal device or the access network device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the terminal device or access network device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output. 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 a data center that includes one or more sets of available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media. The semiconductor medium may be a solid state drive.
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机 可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。The above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations. When implemented using software, the above-described embodiments may be implemented in whole or in part in the form of computer program products. The computer program product comprises one or more computer instructions or computer programs. When the computer instruction or computer program is loaded or executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in 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 Wired or wireless transmission to another website site, computer, server or data center.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和系统,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的;例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式;例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the methods described in various embodiments of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本申请一种较佳实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于申请所涵盖的范围。What is disclosed above is only a preferred embodiment of the application, and of course it cannot limit the scope of rights of the application. Those of ordinary skill in the art can understand the whole or part of the process of realizing the above embodiments, and according to the rights of the application The equivalent changes required are still within the scope of the application.

Claims (24)

  1. 一种随机接入方法,其特征在于,所述方法包括:A random access method, characterized in that the method comprises:
    向接入网设备发送第一随机接入请求消息,所述第一随机接入请求消息包括第一随机接入前导码,所述第一随机接入请求消息在第一随机接入资源上发送,所述第一随机接入请求消息用于请求第二随机接入配置信息;sending a first random access request message to an access network device, where the first random access request message includes a first random access preamble, and where the first random access request message is sent on a first random access resource , the first random access request message is used to request second random access configuration information;
    接收所述接入网设备广播的第一随机接入响应消息,所述第一随机接入响应消息包括所述第二随机接入配置信息。Receive a first random access response message broadcast by the access network device, where the first random access response message includes the second random access configuration information.
  2. 根据权利要求1所述的方法,其特征在于,向接入网设备发送第一随机接入请求消息之前,所述方法还包括:The method according to claim 1, wherein before sending the first random access request message to the access network device, the method further comprises:
    获取第一随机接入配置信息,所述第一随机接入配置信息包括一个或多个第一随机接入前导码,和/或,一个或多个第一随机接入资源,所述第一随机接入资源是指所述第一随机接入前导码所在的时频域资源。Acquire first random access configuration information, where the first random access configuration information includes one or more first random access preambles, and/or, one or more first random access resources, where the first The random access resource refers to the time-frequency domain resource where the first random access preamble is located.
  3. 根据权利要求2所述的方法,其特征在于,所述第一随机接入配置信息是由所述接入网设备广播的,或者The method according to claim 2, wherein the first random access configuration information is broadcast by the access network device, or
    所述第一随机接入配置信息是由所述接入网设备在接收到第一随机接入请求消息之前提前配置的,或者The first random access configuration information is configured in advance by the access network device before receiving the first random access request message, or
    所述第一随机接入配置信息是由协议规定的。The first random access configuration information is specified by a protocol.
  4. 根据权利要求1所述的方法,其特征在于,所述第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。The method according to claim 1, wherein the second random access configuration information includes: one or more dedicated random access preambles, and/or one or more second random access resources .
  5. 根据权利要求2或3所述的方法,其特征在于,所述第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,The method according to claim 2 or 3, wherein the one or more first random access preambles in the first random access configuration information and the random access preamble in the third random access configuration information different input preambles; or,
    所述第二随机接入配置信息中的一个或多个专用的随机接入前导码与所述第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
    所述第一随机接入配置信息中的一个或多个第一随机接入资源,与所述第三随机接入 配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
    所述第二随机接入配置信息中的一个或多个第二随机接入资源与所述第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:
    向接入网设备发送第二随机接入前导码,所述第二随机接入前导码在所述第二随机接入资源上发送;所述第二随机接入前导码是在所述一个或多个专用的随机接入前导码中选择的,所述第二随机接入前导码是用于随机接入的;Sending a second random access preamble to an access network device, where the second random access preamble is sent on the second random access resource; the second random access preamble is sent on the one or selected from a plurality of dedicated random access preambles, the second random access preamble is used for random access;
    接收来自接入网设备的第二随机接入响应消息,所述第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。Receive a second random access response message from the access network device, where the second random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network Temporary ID.
  7. 一种随机接入方法,其特征在于,所述方法包括:A random access method, characterized in that the method comprises:
    接收来自终端设备的第一随机接入请求消息,所述第一随机接入请求消息包括第一随机接入前导码,所述第一随机接入请求消息用于请求第二随机接入配置信息;Receive a first random access request message from a terminal device, where the first random access request message includes a first random access preamble, where the first random access request message is used to request second random access configuration information ;
    广播第一随机接入响应消息,所述第一随机接入响应消息包括所述第二随机接入配置信息。broadcasting a first random access response message, where the first random access response message includes the second random access configuration information.
  8. 根据权利要求7所述的方法,其特征在于,所述第一随机接入前导码是根据第一随机接入配置信息确定的,其中,The method according to claim 7, wherein the first random access preamble is determined according to first random access configuration information, wherein,
    所述第一随机接入配置信息是由所述接入网设备广播的,或者The first random access configuration information is broadcast by the access network device, or
    所述第一随机接入配置信息是由所述接入网设备在接收到第一随机接入请求消息之前提前配置的,或者The first random access configuration information is configured in advance by the access network device before receiving the first random access request message, or
    所述第一随机接入配置信息是由协议规定的。The first random access configuration information is specified by a protocol.
  9. 根据权利要求7或8所述的方法,其特征在于,所述第二随机接入配置信息包括:一个或多个专用的随机接入前导码,和/或,一个或多个第二随机接入资源。The method according to claim 7 or 8, wherein the second random access configuration information includes: one or more dedicated random access preambles, and/or one or more second random access into resources.
  10. 根据权利要求9所述的方法,其特征在于,所述第一随机接入配置信息中的一个或多个第一随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,The method according to claim 9, wherein the one or more first random access preambles in the first random access configuration information and the random access preamble in the third random access configuration information different code; or,
    所述第二随机接入配置信息中的一个或多个专用的随机接入前导码与所述第三随机接入配置信息中的随机接入前导码不同;或者,One or more dedicated random access preambles in the second random access configuration information are different from the random access preambles in the third random access configuration information; or,
    所述第一随机接入配置信息中的一个或多个第一随机接入资源,与所述第三随机接入配置信息中的随机接入资源不同;或者,One or more first random access resources in the first random access configuration information are different from random access resources in the third random access configuration information; or,
    所述第二随机接入配置信息中的一个或多个第二随机接入资源与所述第三随机接入配置信息中的随机接入资源不同。One or more second random access resources in the second random access configuration information are different from random access resources in the third random access configuration information.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:
    接收来自所述终端设备的第二随机接入前导码,所述第二随机接入前导码在所述第二随机接入资源上发送;所述第二随机接入前导码是在所述一个或多个专用的随机接入前导码中选择的,所述第二随机接入前导码是用于随机接入的;receiving a second random access preamble from the terminal device, where the second random access preamble is sent on the second random access resource; the second random access preamble is sent on the one or a plurality of dedicated random access preambles, the second random access preamble is used for random access;
    向所述终端设备发送第二随机接入响应消息,所述第二随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。Sending a second random access response message to the terminal device, the second random access response message including one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary logo.
  12. 一种随机接入方法,其特征在于,所述方法包括:A random access method, characterized in that the method comprises:
    向接入网设备发送第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息在第三随机接入资源上发送,第二随机接入请求消息用于请求接入接入网设备;sending a second random access request message to the access network device, where the second random access request message includes a third random access preamble, where the second random access request message is sent on a third random access resource, and the second The random access request message is used to request access to the access network device;
    接收来自接入网设备的第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。Receive a third random access response message from the access network device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
  13. 根据权利要求12所述的方法,其特征在于,所述第三随机接入响应消息中包括以下一种或多种:定时调整指令,前导索引,上行许可UL Grant资源,临时小区无线网络临时标识。The method according to claim 12, wherein the third random access response message includes one or more of the following: timing adjustment instruction, preamble index, uplink grant UL Grant resource, temporary cell wireless network temporary identifier .
  14. 根据权利要求12所述的方法,其特征在于,所述第三随机接入前导码是根据第四随机接入配置信息确定的,其中,第四随机接入配置信息是由接入网设备广播的,或者The method according to claim 12, wherein the third random access preamble is determined according to fourth random access configuration information, wherein the fourth random access configuration information is broadcast by an access network device of, or
    第四随机接入配置信息是由接入网设备在接收到第三随机接入前导码之前提前配置的,即预配置的,或者The fourth random access configuration information is configured in advance by the access network device before receiving the third random access preamble, that is, pre-configured, or
    第四随机接入配置信息是由协议规定的。The fourth random access configuration information is specified by the protocol.
  15. 根据权利要求14所述的方法,其特征在于,所述第四随机接入配置信息包括:多个非竞争第三随机接入前导码,和/或,多个非竞争第三随机接入资源。The method according to claim 14, wherein the fourth random access configuration information includes: multiple non-contention third random access preambles, and/or multiple non-contention third random access resources .
  16. 根据权利要求15所述的方法,其特征在于,所述第四随机接入配置信息中的多个非竞争第三随机接入前导码,与第三随机接入配置信息中的随机接入前导码不同;或者,第四随机接入配置信息中的多个非竞争第三随机接入资源,与第三随机接入配置信息中的随机接入资源不同,第四随机接入配置信息是接入网设备专门为终端设备从源接入网设备断开后,接入到目标接入网设备进行随机接入时配置的。The method according to claim 15, characterized in that the multiple non-contention third random access preambles in the fourth random access configuration information and the random access preamble in the third random access configuration information codes are different; or, the multiple non-competing third random access resources in the fourth random access configuration information are different from the random access resources in the third random access configuration information, and the fourth random access configuration information is an access The network access device is specially configured for the terminal device to connect to the target access network device for random access after disconnecting from the source access network device.
  17. 一种随机接入装置,其特征在于,所述随机接入装置包括:A random access device, characterized in that the random access device includes:
    发送单元,用于向接入网设备发送第一随机接入请求消息,所述第一随机接入请求消息包括第一随机接入前导码,所述第一随机接入请求消息在第一随机接入资源上发送,所述第一随机接入请求消息用于请求第二随机接入配置信息;a sending unit, configured to send a first random access request message to an access network device, where the first random access request message includes a first random access preamble, and where the first random access request message is Sending on access resources, the first random access request message is used to request second random access configuration information;
    接收单元,用于接收所述接入网设备广播的第一随机接入响应消息,所述第一随机接入响应消息包括所述第二随机接入配置信息。A receiving unit, configured to receive a first random access response message broadcast by the access network device, where the first random access response message includes the second random access configuration information.
  18. 一种随机接入装置,其特征在于,所述随机接入装置包括:A random access device, characterized in that the random access device includes:
    接收单元,用于接收来自终端设备的第一随机接入请求消息,所述第一随机接入请求消息包括第一随机接入前导码,所述第一随机接入请求消息用于请求第二随机接入配置信息;A receiving unit, configured to receive a first random access request message from a terminal device, where the first random access request message includes a first random access preamble, and where the first random access request message is used to request a second random access configuration information;
    发送单元,用于广播第一随机接入响应消息,所述第一随机接入响应消息包括所述第二随机接入配置信息。A sending unit, configured to broadcast a first random access response message, where the first random access response message includes the second random access configuration information.
  19. 一种随机接入装置,其特征在于,所述随机接入装置包括:A random access device, characterized in that the random access device includes:
    发送单元,用于向接入网设备发送第二随机接入请求消息,第二随机接入请求消息中包括第三随机接入前导码,第二随机接入请求消息在第三随机接入资源上发送,第二随机接入请求消息用于请求接入接入网设备;A sending unit, configured to send a second random access request message to the access network device, where the second random access request message includes a third random access preamble, and the second random access request message is in the third random access resource and the second random access request message is used to request access to the access network device;
    接收单元,用于接收来自接入网设备的第三随机接入响应消息,第三随机接入响应消息指示终端设备是否成功接入接入网设备。The receiving unit is configured to receive a third random access response message from the access network device, where the third random access response message indicates whether the terminal device successfully accesses the access network device.
  20. 一种终端设备,其特征在于,所述终端设备包括处理器和存储器,所述处理器和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1至6或12至16任一项所述的方法。A terminal device, characterized in that the terminal device includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes program instructions, and the The processor is configured to call the program instructions to execute the method according to any one of claims 1-6 or 12-16.
  21. 一种接入网设备,其特征在于,所述接入网设备包括处理器和存储器,所述处理器和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求7至11任一项所述的方法。An access network device, characterized in that the access network device includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer program includes program instructions, the processor is configured to call the program instructions to execute the method according to any one of claims 7 to 11.
  22. 一种芯片,其特征在于,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,以执行如权利要求1至6任一项所述的方法,或者执行如权利要求7至11任一项所述的方法,或者执行如权利要求12至16任一项所述的方法。A chip, characterized in that the chip includes a processor and a data interface, and the processor reads instructions stored on the memory through the data interface to execute the method according to any one of claims 1 to 6 , or perform the method as described in any one of claims 7 to 11, or perform the method as described in any one of claims 12 to 16.
  23. 一种芯片模组,其特征在于,该芯片模组包括如权利要求22所述的芯片。A chip module, characterized in that the chip module includes the chip as claimed in claim 22.
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1至6任一项所述的方法,或者执行如权利要求7至11任一项所述的方法,或者执行如权利要求12至16任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor performs the following steps: The method according to any one of claims 1 to 6, or performing the method according to any one of claims 7 to 11, or performing the method according to any one of claims 12 to 16.
PCT/CN2022/098654 2021-06-30 2022-06-14 Random access method and related apparatus WO2023273867A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110745566.7A CN115551108A (en) 2021-06-30 2021-06-30 Random access method and related device
CN202110745566.7 2021-06-30

Publications (1)

Publication Number Publication Date
WO2023273867A1 true WO2023273867A1 (en) 2023-01-05

Family

ID=84690017

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098654 WO2023273867A1 (en) 2021-06-30 2022-06-14 Random access method and related apparatus

Country Status (2)

Country Link
CN (1) CN115551108A (en)
WO (1) WO2023273867A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519590A (en) * 2013-09-27 2015-04-15 中兴通讯股份有限公司 Method and system for random access on small cell under dual connectivity
CN105873227A (en) * 2013-09-27 2016-08-17 电信科学技术研究院 Uplink scheduling request method and uplink scheduling method and equipment thereof
CN106341899A (en) * 2015-07-14 2017-01-18 中兴通讯股份有限公司 Method and device for performing random access based on unauthorized carrier
CN112219439A (en) * 2019-05-10 2021-01-12 Oppo广东移动通信有限公司 Method and device for random access
WO2021062831A1 (en) * 2019-09-30 2021-04-08 华为技术有限公司 Preamble-based positioning method and device
CN112806063A (en) * 2019-04-30 2021-05-14 Oppo广东移动通信有限公司 Method and device for cell switching

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519590A (en) * 2013-09-27 2015-04-15 中兴通讯股份有限公司 Method and system for random access on small cell under dual connectivity
CN105873227A (en) * 2013-09-27 2016-08-17 电信科学技术研究院 Uplink scheduling request method and uplink scheduling method and equipment thereof
CN106341899A (en) * 2015-07-14 2017-01-18 中兴通讯股份有限公司 Method and device for performing random access based on unauthorized carrier
CN112806063A (en) * 2019-04-30 2021-05-14 Oppo广东移动通信有限公司 Method and device for cell switching
CN112219439A (en) * 2019-05-10 2021-01-12 Oppo广东移动通信有限公司 Method and device for random access
CN112672433A (en) * 2019-05-10 2021-04-16 Oppo广东移动通信有限公司 Method and device for random access
WO2021062831A1 (en) * 2019-09-30 2021-04-08 华为技术有限公司 Preamble-based positioning method and device

Also Published As

Publication number Publication date
CN115551108A (en) 2022-12-30

Similar Documents

Publication Publication Date Title
JP2018525904A (en) Wireless communication system, apparatus and method on base station side and user equipment side
WO2018228315A1 (en) System information transmission method, terminal, and network device
WO2019242452A1 (en) Channel access method and apparatus for physical random access channel transmission, and program
TW202010334A (en) Data transmission method and apparatus, and terminal
JP2022532291A (en) Methods for 2-step random access, terminal devices and network devices
WO2020020332A1 (en) Random access method, terminal device, and storage medium
JP7197648B2 (en) Access control methods and related products
WO2020019762A1 (en) Random access method, terminal device, network device, and storage medium
WO2020191599A1 (en) Communication method, terminal device, and network device
WO2020024616A1 (en) Random access method and related device
WO2021063153A1 (en) Information processing method, network element device, terminal, and storage medium
EP3955686A1 (en) Resource allocation method, base station and terminal
EP3930368B1 (en) Transmitting prach configuration information from a central unit (cu) of an access network device to a distributed unit (du) connected to the central unit (cu) by means of an f1 interface
WO2023273867A1 (en) Random access method and related apparatus
WO2020206643A1 (en) Random access method, device, and storage medium
US20220030640A1 (en) User equipment and method for a random access channel procedure of same
JP7023977B2 (en) How terminals access the network, terminals and network devices
WO2021098756A1 (en) Idle state terminal device detection method and related device
JP7297867B2 (en) Random access method, apparatus and computer storage medium
WO2020082394A1 (en) Random access method, terminal device and network device
CN112584544A (en) Random access procedure
WO2020019182A1 (en) Signal transmission method and apparatus, terminal device, and network device
WO2023169362A1 (en) Paging method and apparatus thereof
CN112806068B (en) Resource management method, equipment and storage medium
US11968709B2 (en) Channel access method and apparatus for physical random access channel transmission, and program

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: 22831686

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE