[go: up one dir, main page]

CN110650486B - A random access method, user equipment and device with storage function - Google Patents

A random access method, user equipment and device with storage function Download PDF

Info

Publication number
CN110650486B
CN110650486B CN201810682298.7A CN201810682298A CN110650486B CN 110650486 B CN110650486 B CN 110650486B CN 201810682298 A CN201810682298 A CN 201810682298A CN 110650486 B CN110650486 B CN 110650486B
Authority
CN
China
Prior art keywords
timer
message
base station
user equipment
random access
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810682298.7A
Other languages
Chinese (zh)
Other versions
CN110650486A (en
Inventor
康凯
钱骅
贾建鑫
裴旭明
朱正航
唐振宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201810682298.7A priority Critical patent/CN110650486B/en
Priority to PCT/CN2018/111048 priority patent/WO2020000792A1/en
Publication of CN110650486A publication Critical patent/CN110650486A/en
Application granted granted Critical
Publication of CN110650486B publication Critical patent/CN110650486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]

Landscapes

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

Abstract

The invention discloses a random access method, user equipment and a device with a storage function. The random access method comprises the following steps: in the random access process, the user equipment sends a request message to a base station; starting a first timer and a second timer to start timing; carrying out idle channel assessment on the current channel, if the current channel is available, continuing timing by the second timer, if the current channel is unavailable, pausing timing by the second timer, and meanwhile, keeping the timing state by the first timer no matter whether the current channel is available or not; if the timing of the first timer and/or the second timer reaches the preset time threshold, the user equipment does not receive a response message sent by the base station, and then the random access is judged to fail. Through the mode, the random access efficiency can be improved.

Description

一种随机接入方法、用户设备和具有存储功能的装置A random access method, user equipment and device with storage function

技术领域technical field

本发明涉及通信领域,特别是涉及随机接入方法、用户设备和具有存储功能的装置。The present invention relates to the field of communications, and in particular, to a random access method, user equipment and a device with a storage function.

背景技术Background technique

在当前无线通信技术中,频段短缺问题日益严重,可以采用非授权频段下的通信的方法来增加可用的频段以解决该问题。在基于LTE(Long Term Evolution,长期演进)网络的移动通信系统中,采用LAA(License Assisted Access,授权频谱辅助接入)技术,以在授权频段的辅助下使用非授权频段。In the current wireless communication technology, the problem of frequency band shortage is becoming more and more serious, and the method of communication in the unlicensed frequency band can be used to increase the available frequency band to solve this problem. In a mobile communication system based on an LTE (Long Term Evolution, Long Term Evolution) network, LAA (License Assisted Access, Licensed Spectrum Assisted Access) technology is adopted to use an unlicensed frequency band with the assistance of a licensed frequency band.

随着5G NR(New Radio,新空口)网络的普及需要在5G NR系统中增强非授权频段接入的场景。在新的5G NR的应用场景中,用户设备需要完成非授权频段的随机接入。为了确保和Wi-Fi、蓝牙、LTE-U等节点之间的公平通信,在使用非授权频段时,引入LBT(Listenbefore Talk,先听后讲)机制。由于LBT不能确定传输的时隙,将会影响随机接入的效率。With the popularization of 5G NR (New Radio, new air interface) network, it is necessary to enhance the scenario of unlicensed frequency band access in the 5G NR system. In the new 5G NR application scenario, user equipment needs to complete random access to unlicensed frequency bands. In order to ensure fair communication with Wi-Fi, Bluetooth, LTE-U and other nodes, LBT (Listen before Talk) mechanism is introduced when using unlicensed frequency bands. Since LBT cannot determine the time slot for transmission, the efficiency of random access will be affected.

发明内容SUMMARY OF THE INVENTION

本发明主要解决的技术问题是提供一种随机接入得到、用户设备和具有存储功能的装置,能够提升随机接入的效率。The technical problem mainly solved by the present invention is to provide a random access acquisition, user equipment and a device with a storage function, which can improve the efficiency of random access.

为解决上述技术问题,本发明采用的一个技术方案是:提供一种随机接入方法,包括:用户设备将请求消息发送给基站;启动第一计时器和第二计时器开始计时;对当前信道进行空闲信道评估,如果所述当前信道可用,则所述第二计时器继续计时,如果所述当前信道不可用,则所述第二计时器暂停计时,同时无论所述当前信道是否可用,所述第一计时器保持计时状态;若所述第一计时器和/或述第二计时器达到其预设时间门限达到预设时间门限时,所述用户设备没有接收到所述基站发送的回应消息,则判定本次随机接入失败。In order to solve the above technical problem, a technical solution adopted by the present invention is to provide a random access method, including: the user equipment sends a request message to the base station; starts the first timer and the second timer to start timing; Perform an idle channel evaluation, if the current channel is available, the second timer continues to count, if the current channel is unavailable, the second timer is suspended, and regardless of whether the current channel is available, all the first timer keeps the timing state; if the first timer and/or the second timer reaches its preset time threshold and reaches the preset time threshold, the user equipment does not receive the response sent by the base station message, it is determined that this random access fails.

为解决上述技术问题,本发明采用的另一个技术方案是:提供一种用户设备,包括:处理器、通信电路和存储器,所述处理器耦接所述通信电路和所述存储器,所述存储器中存储有程式指令,所述处理器执行所述程式指令,通过所述通信电路实现如上所述的方法。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a user equipment, including: a processor, a communication circuit and a memory, the processor is coupled to the communication circuit and the memory, and the memory Program instructions are stored in the processor, the processor executes the program instructions, and the method as described above is implemented through the communication circuit.

为解决上述技术问题,本发明采用的另一个技术方案是:提供一种具有存储功能的装置,其特征在于,存储有数据指令,所述数据指令用于被执行以实现如上所述的方法。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a device with a storage function, which is characterized in that data instructions are stored, and the data instructions are used to be executed to implement the above method.

本发明的有益效果是:区别于现有技术的情况,本发明在将请求消息发送给基站后,设置两个计时器用于计时,基于当前信道的通信质量调整用户设备等待时间,可以快速的判定随机接入失败的发生,减少用户设备的等待时间,从而提升随机接入的效率。The beneficial effects of the present invention are: different from the situation in the prior art, the present invention sets two timers for timing after sending the request message to the base station, adjusts the waiting time of the user equipment based on the communication quality of the current channel, and can quickly determine The occurrence of random access failure reduces the waiting time of the user equipment, thereby improving the efficiency of random access.

附图说明Description of drawings

图1是本发明提供的随机接入方法的第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a random access method provided by the present invention;

图2是本发明提供的随机接入方法的第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a random access method provided by the present invention;

图3是本发明提供的随机接入方法的第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a random access method provided by the present invention;

图4是本发明提供的随机接入方法的第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of a random access method provided by the present invention;

图5是本发明提供的用户设备的一实施例的结构示意图;5 is a schematic structural diagram of an embodiment of a user equipment provided by the present invention;

图6是本发明提供的具有存储功能的装置的结构示意图。FIG. 6 is a schematic structural diagram of a device with a storage function provided by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,均属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

请参阅图1,图1是本发明提供的随机接入方法的第一实施例的流程示意图,如图1所示,本发明的随机接入方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of the first embodiment of the random access method provided by the present invention. As shown in FIG. 1, the random access method of the present invention includes:

S101:用户设备将请求消息发送给基站。S101: The user equipment sends a request message to the base station.

随机接入过程是指用户设备发现下行信号,与基站同步,解码基站的广播信息,并完成第一次上行传输的过程。在一个具体的实施场景中,依靠授权频段已无法满足当前的通信需求,用户设备需要在基于NR非授权频段完成随机接入过程。用户设备将请求消息发送给基站,以指示基站该随机接入请求的存在,并允许基站估计基站与用户设备之间的延时。The random access process refers to the process in which the user equipment discovers the downlink signal, synchronizes with the base station, decodes the broadcast information of the base station, and completes the first uplink transmission. In a specific implementation scenario, the current communication requirements cannot be met by relying on the licensed frequency band, and the user equipment needs to complete the random access process based on the NR unlicensed frequency band. The user equipment sends a request message to the base station to indicate the existence of the random access request to the base station and allow the base station to estimate the delay between the base station and the user equipment.

在本实施场景中,用户终端发送的消息需要以确定的传输功率和传输格式在选定的时机发送给基站。在本实施场景中,传输格式可以基于广播系统信息来确定,传输功率是根据下行链路参考信号或控制信号中的下行链路路径损耗估算出的,传输的时机是随机选择的。在本实施场景中,请求消息包括第一消息和第三消息,第一消息包括从竞争前导码中选择的一组前导码序列,第三消息包括无线资源控制连接请求和计划请求中的至少一项以及小区无线网络临时标识。该前导码序列的解码难度较低,可以使得基站在接收到该前导码后快速解码,获取其中包含的信息。In this implementation scenario, the message sent by the user terminal needs to be sent to the base station at the selected timing with the determined transmission power and transmission format. In this implementation scenario, the transmission format can be determined based on the broadcast system information, the transmission power is estimated according to the downlink path loss in the downlink reference signal or the control signal, and the transmission timing is randomly selected. In this implementation scenario, the request message includes a first message and a third message, the first message includes a group of preamble sequences selected from contention preambles, and the third message includes at least one of a radio resource control connection request and a plan request item and the temporary identity of the cell wireless network. The decoding difficulty of the preamble sequence is relatively low, so that the base station can quickly decode the preamble after receiving the preamble to obtain the information contained therein.

在其他实施场景中,请求消息可以仅包括第一消息或仅包括第三消息。In other implementation scenarios, the request message may include only the first message or only the third message.

在本实施场景中所指的基于NR的非授权频段的接入的场景包括:The NR-based unlicensed frequency band access scenarios referred to in this implementation scenario include:

授权频段的NR小区(主小区)和非授权频段的NR小区(辅小区)之间的载波聚合,其中非授权频段的NR小区(辅小区)可以同时包括上行链路和下行链路,或者仅包括下行链路;Carrier aggregation between NR cells (primary cells) in licensed bands and NR cells (secondary cells) in unlicensed bands, where NR cells (secondary cells) in unlicensed bands can include both uplink and downlink, or only including downlink;

授权频段的LTE小区(主小区)和非授权频段的NR小区(辅小区)之间的双连通;Dual connectivity between the LTE cell (primary cell) in the licensed band and the NR cell (secondary cell) in the unlicensed band;

独立的非授权频段的NR小区;NR cells in independent unlicensed bands;

具有处于非授权频段的下行链路和处于授权频段的上行链路的NR小区;NR cells with downlink in unlicensed band and uplink in licensed band;

授权频段的NR小区(主小区)和非授权频段的NR小区(辅小区)之间的双连通等场景。Scenarios such as dual connectivity between an NR cell (primary cell) in a licensed band and an NR cell (secondary cell) in an unlicensed band.

在本实施场景中,用户设备和基站均工作在非授权频段,在其他实施场景中,用户设备和基站可以仅有一个工作在非授权频段,另一个工作在授权频段,或者两者均工作在授权频段。In this implementation scenario, both the user equipment and the base station work in the unlicensed frequency band. In other implementation scenarios, only one of the user equipment and the base station may work in the unlicensed frequency band, the other in the licensed frequency band, or both work in the unlicensed frequency band. Licensed frequency bands.

S102:启动第一计时器和第二计时器开始计时。S102: Start the first timer and the second timer to start timing.

在本实施场景中,用户设备在将随机接入请求发送出去后,立刻同时启动第一计时器和第二计时器。在非授权频段中,基于LTE的非授权频段接入的数据包的帧长度高达10ms,而IEEE802.11a/g/n/ac数据包的帧长度接近6ms。则在基于NR的非授权频段接入中计时器一的计时时长必须设置为大于10ms的时间。在本实施场景中,第一计时器计时时长大于10ms,第二计时器时长小于1ms。In this implementation scenario, the user equipment starts the first timer and the second timer at the same time immediately after sending the random access request. In the unlicensed frequency band, the frame length of the LTE-based unlicensed frequency band access data packet is as high as 10ms, while the frame length of the IEEE802.11a/g/n/ac data packet is close to 6ms. Then, in the NR-based unlicensed frequency band access, the timing duration of timer 1 must be set to a time greater than 10 ms. In this implementation scenario, the time duration of the first timer is greater than 10ms, and the duration of the second timer is less than 1ms.

S103:对当前信道进行空闲信道评估,如果所述当前信道可用,则所述第二计时器继续计时,如果所述当前信道不可用,则所述第二计时器暂停计时,同时无论所述当前信道是否可用,所述第一计时器保持计时状态。S103: Perform idle channel evaluation on the current channel, if the current channel is available, the second timer continues to count, and if the current channel is unavailable, the second timer suspends time, and regardless of the current channel Whether the channel is available, the first timer keeps timing.

在一个具体的实施场景中,用户设备对当前信道进行CAA(Clear ChannelAssessment,空闲信道评估)。空闲信道评估的原理与能量检测相似,其目的是估计目标信道是否空闲。空闲信道评估的方法主要有检测能量是否超过所设定的阈值(至少超过接收机灵敏度10dB),或检测信道是否存在遵循IEEE 802.11、IEEE 802.15.4、蓝牙、LTE-U的信号,如果检测能量超过所设定的阈值的信号,或符合IEEE 802.11、IEEE 802.15.4、蓝牙、LTE-U等标准的信号,就认为该信道繁忙,则该信道当前不可用。由于空闲信道评估方法为现有技术,因此此处不再进行详细描述,避免累赘。In a specific implementation scenario, the user equipment performs CAA (Clear ChannelAssessment, idle channel assessment) on the current channel. The principle of clear channel assessment is similar to energy detection, and its purpose is to estimate whether the target channel is free. The methods of free channel evaluation mainly include detecting whether the energy exceeds the set threshold (at least 10dB above the receiver sensitivity), or detecting whether there is a signal in the channel that follows IEEE 802.11, IEEE 802.15.4, Bluetooth, and LTE-U. Signals exceeding the set threshold, or signals conforming to standards such as IEEE 802.11, IEEE 802.15.4, Bluetooth, LTE-U, etc., are considered to be busy, and the channel is currently unavailable. Since the idle channel evaluation method is in the prior art, it will not be described in detail here to avoid redundancy.

基站在接收到用户设备发送的请求消息后,如果解码该请求消息成功,则会发送回应消息给用户设备,以通知用户设备可以建立随机接入连接。如果用户设备没有接受到该回应消息,可能的原因包括基站无法通过LBT获得信道,将回应消息发送给用户设备和基站没有成功接收请求消息。在本实施场景中,用户设备进行空闲信道检测,判断当前信道是否可用,第二计时器用于限制当前信道可用时,用户设备的等待时间。因为如果当前信道不可用,则即使基站成功接收请求消息也无法发送回应消息给用户设备,因此第二计时器暂停。如果当前信道可用,则基站可以发送回应消息给用户设备,因此第二计时器继续计时。After receiving the request message sent by the user equipment, if decoding the request message is successful, the base station will send a response message to the user equipment to notify the user equipment that a random access connection can be established. If the user equipment does not receive the response message, the possible reasons include that the base station cannot obtain a channel through LBT, sends the response message to the user equipment and the base station fails to receive the request message successfully. In this implementation scenario, the user equipment performs idle channel detection to determine whether the current channel is available, and the second timer is used to limit the waiting time of the user equipment when the current channel is available. Because if the current channel is unavailable, even if the base station successfully receives the request message, it cannot send the response message to the user equipment, so the second timer is suspended. If the current channel is available, the base station can send a response message to the user equipment, so the second timer continues to count.

同时,无论当前信道是否可用,第一计时器一直保持计时状态。第一计时器用于控制用户设备等待的总时间。Meanwhile, regardless of whether the current channel is available or not, the first timer keeps timing. The first timer is used to control the total waiting time of the user equipment.

S104:若所述第一计时器和/或述第二计时器计时达到其预设时间门限时,所述用户设备没有接收到所述基站发送的回应消息,则判定本次随机接入失败。S104: If the first timer and/or the second timer reaches its preset time threshold and the user equipment does not receive the response message sent by the base station, determine that the random access fails this time.

在本实施场景中,若第一计时器和第二计时器中的任一个计时达到其预设时间门限时,用户设备没有接收到基站发送的回应消息,则判定本次随机接入失败。In this implementation scenario, if the user equipment does not receive the response message sent by the base station when either the first timer or the second timer reaches its preset time threshold, it is determined that the random access fails this time.

若第一计时器计时达到其预设时间门限时,则表示第二计时器长期处于暂停的状态,因此可以推断出随机接入失败的原因包括:基站无法通过LBT,获取可用的信道向用户设备传随机接入回应信息;若第二计时器计时达到其预设时间门限时,则表示当前信道处于可用状态,因此可以推断随机接入失败的原因包括:传输功率不足、与其他用户设备在随机接入频段发生冲突、与使用同一频段的其他无线传输方式发生冲突、基站发送的随机接入回应信息与其他终端发生冲突中的至少一种。If the first timer reaches its preset time threshold, it means that the second timer has been suspended for a long time. Therefore, it can be inferred that the reasons for the random access failure include: the base station cannot obtain an available channel through the LBT to the user equipment. The random access response information is transmitted; if the second timer reaches its preset time threshold, it means that the current channel is available, so it can be inferred that the reasons for the random access failure include: insufficient transmission power, and random access with other user equipment. At least one of the access frequency band conflict, the conflict with other wireless transmission modes using the same frequency band, the random access response information sent by the base station and the conflict with other terminals.

在本实施场景中,当用户设备判断本次随机接入失败后,重复执行步骤S101-S103,直至第一计时器和第二计时器计时达到其预设时间门限前,接收到基站发送的回应消息。In this implementation scenario, after the user equipment determines that the random access fails this time, steps S101-S103 are repeatedly performed until the first timer and the second timer reach their preset time thresholds, and a response sent by the base station is received. information.

为了提高随机接入的效率,避免出现用户设备反复向基站发送请求消息的情况,每次执行步骤S101的时候,将请求消息发送次数加一,当请求消息发送次数达到预设阈值(例如5次、10次等)时,停止该随机接入方法。In order to improve the efficiency of random access and avoid the situation in which the user equipment repeatedly sends request messages to the base station, each time step S101 is performed, the number of request message sending times is increased by one, and when the number of request message sending times reaches a preset threshold (for example, 5 times) , 10 times, etc.), stop the random access method.

在本实施场景中,回应消息包括第二消息和第四消息,第二消息包括:时间调整信息、C-RNTI(Cell Radio Network Temporary Identifier,小区无线网络临时标识)和上行链路分配资源(例如,上行链路授权)中的至少一种。第四消息包括:竞争解决方案。In this implementation scenario, the response message includes a second message and a fourth message, and the second message includes: time adjustment information, C-RNTI (Cell Radio Network Temporary Identifier, Cell Radio Network Temporary Identifier) and uplink allocation resources (for example, , at least one of the uplink grants). The fourth message includes: Competitive Solutions.

在其他实施场景中,回应消息也可以仅仅包括第二消息或仅仅包括第四消息,当用户设备发送的请求消息包括仅仅第一消息,回应消息仅仅包括第二消息,当用户设备发送的请求消息仅仅包括第三消息时,回应消息仅仅包括第四消息。In other implementation scenarios, the response message may also include only the second message or only the fourth message. When the request message sent by the user equipment includes only the first message, the response message only includes the second message, and when the request message sent by the user equipment includes only the second message When only the third message is included, the response message includes only the fourth message.

通过上述描述可知,本实施例通过在用户设备向基站发出请求消息后,启动第一计时器和第二计时器,可以通过监视信道通信状态灵活控制用户设备等待基站发送的回应消息的时间,迅速判断随机接入失败,可以有效缩短该等待的时间,从而提升随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。As can be seen from the above description, in this embodiment, by starting the first timer and the second timer after the user equipment sends a request message to the base station, it is possible to flexibly control the time for the user equipment to wait for the response message sent by the base station by monitoring the channel communication state, and quickly Determining that random access fails can effectively shorten the waiting time, thereby improving the efficiency of random access. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

请参阅图2,图2是本发明提供的随机接入方法的第二实施例的流程示意图,如图2所示,本发明的随机接入方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a second embodiment of the random access method provided by the present invention. As shown in FIG. 2, the random access method of the present invention includes:

S201:用户设备将第一消息发送给基站。S201: The user equipment sends the first message to the base station.

S202:启动第一计时器和第二计时器开始计时。S202: Start the first timer and the second timer to start timing.

S203:对当前信道进行空闲信道评估,如果所述当前信道可用,则所述第二计时器继续计时,如果所述当前信道不可用,则所述第二计时器暂停计时,同时无论所述当前信道是否可用,所述第一计时器保持计时状态。S203: Perform an idle channel evaluation on the current channel, if the current channel is available, the second timer continues to count, and if the current channel is unavailable, the second timer suspends time, and regardless of the current Whether the channel is available, the first timer keeps timing.

步骤S201-S203与本发明提供的随机接入方法的第一实施例的步骤S101-S103基本一致,相当于步骤S101-S103中的请求消息仅包括第一消息,回应消息仅包括第三消息,因此此处不再进行赘述。Steps S201-S203 are basically the same as steps S101-S103 of the first embodiment of the random access method provided by the present invention, which is equivalent to that the request message in steps S101-S103 only includes the first message, and the response message only includes the third message, Therefore, no further description is given here.

S204:若在所述第一计时器和/或述第二计时器计时达到其预设门限时失效之前,所述用户设备接收到所述基站发送的第二消息,所述第一计时器和所述第二计时器停止计时。S204: If the user equipment receives the second message sent by the base station before the first timer and/or the second timer expires when the timing reaches its preset threshold, the first timer and/or the second timer expires. The second timer stops timing.

在一个具体的实施场景中,在第一计时器和第二计时器计时达到其预设门限之前,用户设备接收到基站发送的第二消息,则表示可以向该基站请求非授权频段接入。为了后续随机接入方法能顺利进行,第一计时器和第二计时器停止计时。在本实施场景中,第二消息包括:时间调整信息、C-RNTI(Cell Radio Network Temporary Identifier,小区无线网络临时标识)和上行链路分配资源中的至少一种。In a specific implementation scenario, before the first timer and the second timer reach their preset thresholds, the user equipment receives the second message sent by the base station, indicating that it can request the base station for unlicensed frequency band access. In order for the subsequent random access method to proceed smoothly, the first timer and the second timer stop timing. In this implementation scenario, the second message includes at least one of time adjustment information, C-RNTI (Cell Radio Network Temporary Identifier, cell radio network temporary identifier) and uplink allocation resources.

S205:所述用户设备使用所述上行链路分配资源向所述基站发送第三消息。S205: The user equipment sends a third message to the base station by using the uplink allocation resource.

在本实施场景中,用户设备使用在步骤S204中接收到的上行链路分配资源向基站发送第三消息。在本实施场景中,第三消息包括无线资源控制连接请求和计划请求中的至少一项以及在步骤S204中接收到的临时分配给该用户设备的小区无线网络临时标识。In this implementation scenario, the user equipment sends the third message to the base station using the uplink allocated resources received in step S204. In this implementation scenario, the third message includes at least one of a radio resource control connection request and a plan request and the cell radio network temporary identifier temporarily allocated to the user equipment received in step S204.

S206:将所述第一计时器和所述第二计时器清零,启动所述第一计时器和所述第二计时器开始计时。S206: Clear the first timer and the second timer to zero, and start the first timer and the second timer to start timing.

在本实施场景中,步骤S204中,由于用户设备接收到了基站发送的回应消息,而暂停第一计时器和第二计时器的计时,此时用户设备将第一计时器和第二计时器清零,重新开始计时。在其他实施场景中,可以在步骤204中,直接将第一计时器和第二计时器清零,而在本步骤中直接启动第一计时器和第二计时器。In this implementation scenario, in step S204, the user equipment suspends the timing of the first timer and the second timer because the user equipment receives the response message sent by the base station. At this time, the user equipment clears the first timer and the second timer. zero, restart the timer. In other implementation scenarios, in step 204, the first timer and the second timer may be directly cleared, and in this step, the first timer and the second timer may be directly started.

S207:对所述当前信道进行空闲信道评估,如果所述当前信道可用,则所述第二计时器继续计时,如果所述当前信道不可用,则所述第二计时器计时暂停,同时无论所述当前信道是否可用,所述第一计时器保持计时状态。S207: Perform idle channel evaluation on the current channel, if the current channel is available, the second timer continues to count, and if the current channel is unavailable, the second timer is suspended, and no matter what Whether the current channel is available, the first timer keeps a timing state.

因为非授权频段的随机接入的通信质量不十分稳定,因此在向基站发送第三消息后,再次对当前信道的通信状态进行评估。本步骤与步骤S203基本相似,此处不再赘述。Because the communication quality of the random access in the unlicensed frequency band is not very stable, after the third message is sent to the base station, the communication state of the current channel is evaluated again. This step is basically similar to step S203, and will not be repeated here.

S208:当所述第一计时器和/或述第二计时器计时达到其预设时间门限时,如果所述用户设备没有接收到所述基站发送的第四消息,则判断本次随机接入失败。S208: When the first timer and/or the second timer reaches its preset time threshold, if the user equipment does not receive the fourth message sent by the base station, determine this random access fail.

在本实施场景中,基站可能会同时接收到多个具有相同的前导码序列的用户设备发送的第二消息,基站会从这多个用户设备中选择一个用户设备,并向其发送第四消息,以通知该用户设备可以在非授权频段进行通信。在本实施场景中,第四消息包括竞争解决方案,例如选择的用户设备的标识或者竞争解决方法的标识等。用户设备可以根据该竞争解决方案了解到可以在非授权频段进行随机接入通信。In this implementation scenario, the base station may simultaneously receive second messages sent by multiple user equipments with the same preamble sequence, and the base station will select one user equipment from the multiple user equipments and send the fourth message to it , to notify the user equipment that it can communicate in the unlicensed frequency band. In this implementation scenario, the fourth message includes a contention resolution solution, such as an identifier of the selected user equipment or an identifier of a contention resolution method. The user equipment can learn that random access communication can be performed in the unlicensed frequency band according to the contention solution.

在本实施场景中,在第一计时器和第二计时器的其中任一个计时达到其预设门限时,即可判定本次随机接入失败。若第一计时器计时达到其预设门限时,则表示第二计时器长期处于暂停的状态,因此可以推断出随机接入失败的原因包括:基站无法获取可用的信道向用户设备传第四信息;若第二计时器计时达到其预设门限时,则表示当前信道处于可用状态,因此可以推断随机接入失败的原因包括:传输功率不足、与其他用户设备在随机接入频段发生冲突、与使用同一频段的其他无线传输方式发生冲突、基站发送的随机接入回应信息与其他终端发生冲突中的至少一种。In this implementation scenario, when any one of the first timer and the second timer reaches its preset threshold, it can be determined that the random access fails this time. If the timing of the first timer reaches its preset threshold, it means that the second timer has been in a suspended state for a long time. Therefore, it can be inferred that the reasons for the random access failure include: the base station cannot obtain an available channel to transmit the fourth information to the user equipment ; If the timing of the second timer reaches its preset threshold, it means that the current channel is available, so it can be inferred that the reasons for the random access failure include: insufficient transmission power, conflict with other user equipment in the random access frequency band, and At least one of the conflict between other wireless transmission modes using the same frequency band and the conflict between the random access response information sent by the base station and other terminals.

在本实施场景中,当用户设备判断本次随机接入失败后,重复执行步骤S201-S207,直至第一计时器和第二计时器计时达到其预设门限前,接收到基站发送的第四消息。In this implementation scenario, after the user equipment determines that the random access fails this time, steps S201-S207 are repeatedly performed, until the first timer and the second timer reach their preset thresholds, and the fourth timer sent by the base station is received. information.

为了提高随机接入的效率,避免出现用户设备反复向基站发送第一消息的情况,每次执行步骤S201的时候,将第一消息发送次数加一,当第一消息发送次数达到预设阈值时(例如,5次、10次等),停止该随机接入过程。In order to improve the efficiency of random access and avoid the situation that the user equipment repeatedly sends the first message to the base station, each time step S201 is performed, the number of times of sending the first message is increased by one, and when the number of times of sending the first message reaches the preset threshold (eg, 5 times, 10 times, etc.), stop the random access procedure.

在另一个实施场景中,在第一计时器和第二计时器中任一个计时达到其预设时间门限之前,用户设备接收到基站发送的第四消息,则判定本次随机接入成功。In another implementation scenario, before either the first timer or the second timer reaches its preset time threshold, the user equipment determines that the random access is successful this time after receiving the fourth message sent by the base station.

通过上述描述可知,本实施例中在用户设备向基站发送第一消息和第三消息后,均启动第一计时器和第二计时器,第一计时器用于控制用户设备等待基站基于接收到的消息而发送的回应消息的总时间,第二计时器用于控制在信道状态良好的状态下的用户设备的等待该回应消息的时间,可以灵活调整该等待时间,迅速判断出随机接入失败,减少在等待时间上的浪费,从而提升随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。It can be seen from the above description that in this embodiment, after the user equipment sends the first message and the third message to the base station, both the first timer and the second timer are started, and the first timer is used to control the user equipment to wait for the base station to wait for the base station based on the received The total time of the response message sent by the message, the second timer is used to control the time of the user equipment waiting for the response message when the channel state is good, the waiting time can be flexibly adjusted, and the random access failure can be quickly judged. Waste in waiting time, thereby improving the efficiency of random access. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

请参阅图3,图3是本发明提供的随机接入方法的第三实施例的流程示意图,如图3所示,本发明的随机接入方法包括:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a third embodiment of the random access method provided by the present invention. As shown in FIG. 3, the random access method of the present invention includes:

S301:用户设备向基站发送第一消息。S301: The user equipment sends a first message to the base station.

在一个具体的实施场景中,依靠授权频段已无法满足当前的通信需求,用户设备需要在基于NR非授权频段完成随机接入流程。用户设备将第一消息发送给基站,以指示基站该随机接入请求的存在,并允许基站估计基站与用户设备之间的延时。In a specific implementation scenario, the current communication requirements cannot be met by relying on the licensed frequency band, and the user equipment needs to complete the random access procedure based on the NR unlicensed frequency band. The user equipment sends the first message to the base station to indicate the existence of the random access request to the base station and allow the base station to estimate the delay between the base station and the user equipment.

在本实施场景中,第一消息包括从竞争前导码中选择的一组前导码序列。可以基于广播系统信息来确定传输格式,根据下行链路参考信号或控制信号中的下行链路路径损耗估算出传输功率,随机选择传输的时机。在本实施场景中,第一消息需要以确定的传输功率和传输格式在选定的时机发送给基站。In this implementation scenario, the first message includes a group of preamble sequences selected from the contention preambles. The transmission format may be determined based on the broadcast system information, the transmission power may be estimated according to the downlink path loss in the downlink reference signal or the control signal, and the transmission timing may be randomly selected. In this implementation scenario, the first message needs to be sent to the base station at the selected timing with the determined transmission power and transmission format.

S302:启动第一计时器和第二计时器开始计时。S302: Start the first timer and the second timer to start timing.

在本实施场景中,对当前信道进行空闲信道评估,如果当前信道可用,则第二计时器继续计时,如果当前信道不可用,则第二计时器暂停计时,同时无论当前信道是否可用,第一计时器保持计时状态。In this implementation scenario, an idle channel evaluation is performed on the current channel. If the current channel is available, the second timer continues to count, and if the current channel is unavailable, the second timer is suspended. At the same time, regardless of whether the current channel is available, the first timer The timer keeps timing.

在本实施场景中,第一计时器计时时长大于10ms,第二计时器时长小于1ms。In this implementation scenario, the time duration of the first timer is greater than 10ms, and the duration of the second timer is less than 1ms.

S303:基站向用户设备发送第二消息。S303: The base station sends the second message to the user equipment.

在本实施场景中,基站基于在某一时机中检测到的前导码序列向用户设备发送第二消息,第二消息包括:时间调整信息、C-RNTI(Cell Radio Network TemporaryIdentifier,小区无线网络临时标识)和上行链路分配资源(例如,上行链路授权)中的至少一种。In this implementation scenario, the base station sends a second message to the user equipment based on the preamble sequence detected at a certain opportunity, where the second message includes: time adjustment information, C-RNTI (Cell Radio Network Temporary Identifier, cell radio network temporary identifier, cell radio network temporary identifier) ) and at least one of uplink allocation resources (eg, uplink grants).

若在第一计时器和/或述第二计时器计时达到其预设门限之前,用户设备接收到基站发送的第二消息,第一计时器和第二计时器停止计时。If the user equipment receives the second message sent by the base station before the timing of the first timer and/or the second timer reaches its preset threshold, the first timer and the second timer stop timing.

若第一计时器和/或述第二计时器计时达到其预设门限时,用户设备没有接收到基站发送的第二消息,则判定本次随机接入失败。在本实施场景中,当用户设备判断本次随机接入失败后,重复执行步骤S301-S302,直至第一计时器和第二计时器计时达到其预设时间门限前,接收到基站发送的第二消息。If the user equipment does not receive the second message sent by the base station when the first timer and/or the second timer reaches its preset threshold, it is determined that this random access fails. In this implementation scenario, after the user equipment determines that the random access fails this time, steps S301-S302 are repeatedly performed until the first timer and the second timer reach their preset time thresholds, and the user equipment receives the first sent by the base station. Two news.

S304:用户设备向基站发送第三消息。S304: The user equipment sends a third message to the base station.

在本实施场景中,用户设备使用所述上行链路分配资源向所述基站发送第三消息。第三消息包括无线资源控制连接请求和计划请求中的至少一项以及在接收到的第二消息中的临时分配给该用户设备的小区无线网络临时标识。In this implementation scenario, the user equipment sends a third message to the base station by using the uplink allocation resource. The third message includes at least one of a radio resource control connection request and a plan request and a cell radio network temporary identity temporarily allocated to the user equipment in the received second message.

S305:将第一计时器和第二计时器清零,启动第一计时器和第二计时器开始计时。S305: Clear the first timer and the second timer to zero, and start the first timer and the second timer to start timing.

在本实施场景中,将第一计时器和第二计时器清零,启动第一计时器和第二计时器开始计时。对当前信道进行空闲信道评估,如果当前信道可用,则第二计时器继续计时,如果当前信道不可用,则第二计时器暂停计时,同时无论当前信道是否可用,第一计时器保持计时状态。In this implementation scenario, the first timer and the second timer are reset to zero, and the first timer and the second timer are started to start timing. An idle channel evaluation is performed on the current channel. If the current channel is available, the second timer continues to count. If the current channel is unavailable, the second timer is suspended. At the same time, regardless of whether the current channel is available, the first timer keeps counting.

在本实施场景中,第一计时器计时时长大于10ms,第二计时器时长小于1ms。In this implementation scenario, the time duration of the first timer is greater than 10ms, and the duration of the second timer is less than 1ms.

S306:基站向用户设备发送第四消息。S306: The base station sends a fourth message to the user equipment.

在本实施场景中,基站可能会同时接收到多个具有相同的前导码序列的用户设备发送的第三消息,基站会从这多个用户设备中选择一个用户设备,并向其发送第四消息,以通知该用户设备可以在非授权频段进行通信。在本实施场景中,第四消息包括竞争解决方案,例如选择的用户设备的标识或者竞争解决方法的标识等。用户设备可以根据该竞争解决方案了解到可以在非授权频段进行随机接入通信。In this implementation scenario, the base station may simultaneously receive third messages sent by multiple user equipments with the same preamble sequence, and the base station will select one user equipment from the multiple user equipments and send the fourth message to it , to notify the user equipment that it can communicate in the unlicensed frequency band. In this implementation scenario, the fourth message includes a contention resolution solution, such as an identifier of the selected user equipment or an identifier of a contention resolution method. The user equipment can learn that random access communication can be performed in the unlicensed frequency band according to the contention solution.

若在第一计时器和/或述第二计时器计时达到其预设时间门限之前,用户设备接收到基站发送的第四消息,则本次随机接入成功。If the user equipment receives the fourth message sent by the base station before the first timer and/or the second timer reaches its preset time threshold, the random access is successful this time.

若第一计时器和/或述第二计时器计时达到其预设时间门限时,用户设备没有接收到基站发送的第四消息,则判定本次随机接入失败。在本实施场景中,当用户设备判断本次随机接入失败后,重复执行步骤S301-S305,直至第一计时器和第二计时器计时达到预设时间门限前,接收到基站发送的第四消息。If the user equipment does not receive the fourth message sent by the base station when the first timer and/or the second timer reaches its preset time threshold, it is determined that the random access has failed this time. In this implementation scenario, after the user equipment determines that the random access fails this time, steps S301-S305 are repeatedly performed until the first timer and the second timer reach the preset time threshold, and the fourth time sent by the base station is received. information.

通过上述描述可知,本实施中在建立基于非授权频段的随机接入时,在向基站发送第一消息和第二消息后,启动第一计时器和第二计时器开始计时,第一计时器用于控制用户设备等待来自基站的回应消息的总的等待时间,第二计时器用于控制在信道通信状态良好时用户设备等待来自基站的回应消息的等待时间。这样可以灵活调整用户设备的等待时间,可以迅速判断出随机接入失败,解决不必要的等待时间,从而提升了随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。It can be seen from the above description that in this implementation, when the random access based on the unlicensed frequency band is established, after the first message and the second message are sent to the base station, the first timer and the second timer are started to start timing, and the first timer uses In order to control the total waiting time of the user equipment waiting for the response message from the base station, the second timer is used to control the waiting time of the user equipment waiting for the response message from the base station when the channel communication state is good. In this way, the waiting time of the user equipment can be flexibly adjusted, the random access failure can be quickly determined, the unnecessary waiting time can be solved, and the efficiency of the random access can be improved. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

请参阅图4,图4是本发明提供的随机接入方法的第三实施例的流程示意图,如图4所示,本发明的随机接入方法包括:Please refer to FIG. 4. FIG. 4 is a schematic flowchart of a third embodiment of the random access method provided by the present invention. As shown in FIG. 4, the random access method of the present invention includes:

S401:用户设备向基站同时发送第一消息和第三消息。S401: The user equipment simultaneously sends the first message and the third message to the base station.

在一个具体的实施场景中,仅仅依靠授权频段已无法满足当前的通信需求,用户设备需要在基于NR非授权频段完成随机接入流程。用户设备将第一消息发送给基站,以指示基站该随机接入请求的存在,并允许基站估计基站与用户设备之间的延时。In a specific implementation scenario, only relying on the licensed frequency band can no longer meet the current communication requirements, and the user equipment needs to complete the random access procedure based on the NR unlicensed frequency band. The user equipment sends the first message to the base station to indicate the existence of the random access request to the base station and allow the base station to estimate the delay between the base station and the user equipment.

在本实施场景中,第一消息包括从竞争前导码中选择的一组前导码序列。可以基于广播系统信息来确定传输格式,根据下行链路参考信号或控制信号中的下行链路路径损耗估算出传输功率,随机选择传输的时机。在本实施场景中,第一消息需要以确定的传输功率和传输格式在选定的时机发送给基站。第三消息包括无线资源控制连接请求和计划请求中的至少一项以及临时分配给该用户设备的小区无线网络临时标识。In this implementation scenario, the first message includes a group of preamble sequences selected from the contention preambles. The transmission format may be determined based on the broadcast system information, the transmission power may be estimated according to the downlink path loss in the downlink reference signal or the control signal, and the transmission timing may be randomly selected. In this implementation scenario, the first message needs to be sent to the base station at the selected timing with the determined transmission power and transmission format. The third message includes at least one of a radio resource control connection request and a plan request and a cell radio network temporary identity temporarily allocated to the user equipment.

S402:启动第一计时器和第二计时器开始计时。S402: Start the first timer and the second timer to start timing.

在本实施场景中,对当前信道进行空闲信道评估,如果当前信道可用,则第二计时器继续计时,如果当前信道不可用,则第二计时器暂停计时,同时无论当前信道是否可用,第一计时器保持计时状态。In this implementation scenario, an idle channel evaluation is performed on the current channel. If the current channel is available, the second timer continues to count, and if the current channel is unavailable, the second timer is suspended. At the same time, regardless of whether the current channel is available, the first timer The timer keeps timing.

在本实施场景中,第一计时器计时时长大于10ms,第二计时器时长小于1ms。In this implementation scenario, the time duration of the first timer is greater than 10ms, and the duration of the second timer is less than 1ms.

S403:基站向用户设备同时发送第二消息和第四消息。S403: The base station simultaneously sends the second message and the fourth message to the user equipment.

在本实施场景中,基站基于在某一时机中检测到的前导码序列向用户设备发送第二消息,第二消息包括:时间调整信息、C-RNTI(Cell Radio Network TemporaryIdentifier,小区无线网络临时标识)和上行链路分配资源(例如,上行链路授权)中的至少一种。第四消息包括竞争解决方案,例如选择的用户设备的标识或者竞争解决方法的标识等。用户设备可以根据该竞争解决方案了解到可以在非授权频段进行随机接入通信。In this implementation scenario, the base station sends a second message to the user equipment based on the preamble sequence detected at a certain timing, where the second message includes: time adjustment information, C-RNTI (Cell Radio Network Temporary Identifier, cell radio network temporary identifier, cell radio network temporary identifier) ) and at least one of uplink allocation resources (eg, uplink grants). The fourth message includes the contention resolution, such as the identification of the selected user equipment or the identification of the contention resolution method. The user equipment can learn that random access communication can be performed in the unlicensed frequency band according to the contention solution.

若在第一计时器和/或述第二计时器计时达到其预设时间门限之前,用户设备接收到基站发送的第二消息和第四消息,则本次随机接入成功。If the user equipment receives the second message and the fourth message sent by the base station before the first timer and/or the second timer reaches the preset time threshold, the random access is successful this time.

若第一计时器和/或述第二计时器计时达到其预设时间门限时,用户设备没有接收到基站发送的第二消息和第四消息,则判定本次随机接入失败。在本实施场景中,当用户设备判断本次随机接入失败后,重复执行步骤S401-S402,直至第一计时器和第二计时器计时达到其预设时间门限前,接收到基站发送的第二消息和第四消息。If the user equipment does not receive the second message and the fourth message sent by the base station when the first timer and/or the second timer reaches its preset time threshold, it is determined that this random access fails. In this implementation scenario, after the user equipment determines that the random access fails this time, steps S401-S402 are repeatedly performed until the first timer and the second timer reach their preset time thresholds, and the first timer and the second timer are received. The second message and the fourth message.

通过上述描述可知,本实施中在建立基于非授权频段的随机接入时,在向基站发送第一消息和第三消息后,启动第一计时器和第二计时器开始计时,第一计时器用于控制用户设备等待来自基站的回应消息的总的等待时间,第二计时器用于控制在信道通信状态良好时用户设备等待来自基站的对应的回应消息的等待时间。这样可以灵活调整用户设备的等待时间,可以迅速判断出随机接入失败,解决不必要的等待时间,从而提升了随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。It can be seen from the above description that in this implementation, when the random access based on the unlicensed frequency band is established, after sending the first message and the third message to the base station, the first timer and the second timer are started to start timing, and the first timer uses In order to control the total waiting time for the user equipment to wait for the response message from the base station, the second timer is used to control the waiting time for the user equipment to wait for the corresponding response message from the base station when the channel communication state is good. In this way, the waiting time of the user equipment can be flexibly adjusted, the random access failure can be quickly determined, the unnecessary waiting time can be solved, and the efficiency of the random access can be improved. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

请参阅图5,图5是本发明提供的用户设备一实施例的结构示意图。用户设备10包括相互耦接的处理器11、存储器12和通信电路13,存储器12用于存储程序数据,处理器11用于运行存储器12中的程序数据以控制通信电路13进行通信并执行如下随机接入方法:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an embodiment of a user equipment provided by the present invention. The user equipment 10 includes a processor 11, a memory 12 and a communication circuit 13 coupled to each other, the memory 12 is used for storing program data, and the processor 11 is used for running the program data in the memory 12 to control the communication circuit 13 to communicate and perform the following random operations: Access method:

用户设备10的处理器11将请求消息通过通信电路13发送给基站。处理器11启动第一计时器和第二计时器开始计时。处理器11通过通信电路13对当前信道进行空闲信道评估,如果当前信道可用,则处理器11控制第二计时器继续计时,如果当前信道不可用,则处理器11控制第二计时器暂停计时,同时无论当前信道是否可用,处理器11控制第一计时器保持计时状态。若第一计时器和/或述第二计时器计时达到其预设时间门限时,用户设备10没有通过通信电路13接收到基站发送的回应消息,则处理器11判定本次随机接入失败。The processor 11 of the user equipment 10 sends the request message to the base station through the communication circuit 13 . The processor 11 starts the first timer and the second timer to start timing. The processor 11 performs an idle channel evaluation on the current channel through the communication circuit 13. If the current channel is available, the processor 11 controls the second timer to continue timing, and if the current channel is unavailable, the processor 11 controls the second timer to suspend timing. At the same time, the processor 11 controls the first timer to keep the timing state regardless of whether the current channel is available or not. If the user equipment 10 does not receive the response message sent by the base station through the communication circuit 13 when the first timer and/or the second timer reaches its preset time threshold, the processor 11 determines that the random access fails this time.

在第一计时器和第二计时器中任一个计时达到预设时间门限之前,用户设备10通过通信电路13接收到基站发送的回应消息,则判定本次随机接入成功。Before any one of the first timer and the second timer reaches the preset time threshold, the user equipment 10 determines that the random access is successful after receiving the response message sent by the base station through the communication circuit 13 .

其中,处理器11实现上述功能的具体过程可参阅上述方法实施例。The specific process of implementing the above functions by the processor 11 may refer to the above method embodiments.

通过上述描述可知,本实施例中的用户终端可以在向基站发送请求消息,启动第一计时器和第二计时器开始计时,第一计时器用于控制用户设备等待来自基站的回应消息的总的等待时间,第二计时器用于控制在信道通信状态良好时用户设备等待来自基站的对应的回应消息的等待时间。这样可以灵活调整用户设备的等待时间,可以迅速判断出随机接入失败,解决不必要的等待时间,从而提升了随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。It can be seen from the above description that the user terminal in this embodiment can start the first timer and the second timer to start timing by sending a request message to the base station, and the first timer is used to control the user equipment to wait for the total number of response messages from the base station. The waiting time, the second timer is used to control the waiting time for the user equipment to wait for a corresponding response message from the base station when the channel communication state is good. In this way, the waiting time of the user equipment can be flexibly adjusted, the random access failure can be quickly determined, the unnecessary waiting time can be solved, and the efficiency of the random access can be improved. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

请参阅图6,图6是本发明提供的具有存储功能的装置一实施例结构示意图。具有存储功能的装置20中存储有至少一个程式指令21,程式指令21用于执行如图1-图4所示的随机接入的方法。在一个实施例中,具有存储功能的装置可以是终端中的存储芯片、硬盘或者是移动硬盘或者优盘、光盘等其他可读写存储的工具,还可以是服务器等等。Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of an embodiment of an apparatus with a storage function provided by the present invention. At least one program instruction 21 is stored in the device 20 with a storage function, and the program instruction 21 is used to execute the random access method shown in FIG. 1 to FIG. 4 . In one embodiment, the device with a storage function may be a storage chip in the terminal, a hard disk, or a mobile hard disk or other readable and writable storage tools such as a USB flash drive or an optical disk, or a server or the like.

通过上述描述可知,本实施例中的具有存储功能的装置实施例中存储的程序或指令可以用于以灵活调整用户设备的等待时间,可以迅速判断出随机接入失败,解决不必要的等待时间,从而提升了随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。It can be seen from the above description that the programs or instructions stored in the device embodiment with a storage function in this embodiment can be used to flexibly adjust the waiting time of the user equipment, can quickly determine the random access failure, and solve the unnecessary waiting time , thereby improving the efficiency of random access. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

区别于现有技术仅采用一个传统计时器来控制用户等待来自基站的回应消息的等待时间,本发明在用户设备向基站发送请求消息后,启动第一计时器和第二计时器,第一计时器用于控制用户设备等待基站基于接收到的消息而发送的对应的回应消息的总时间,第二计时器用于控制在信道状态良好的状态下的用户设备的等待对应的回应消息的时间,可以灵活调整该等待时间,迅速判断出随机接入失败,减少在等待时间上的浪费,从而提升随机接入的效率。并且可以根据是第一计时器计时达到其预设时间门限还是第二计时器计时达到其预设时间门限粗略判断出随机接入失败的原因。Different from the prior art that only uses a traditional timer to control the waiting time of the user waiting for the response message from the base station, the present invention starts the first timer and the second timer after the user equipment sends the request message to the base station. The second timer is used to control the total time that the user equipment waits for the corresponding response message sent by the base station based on the received message, and the second timer is used to control the time that the user equipment waits for the corresponding response message when the channel state is good, which can be flexible By adjusting the waiting time, the random access failure can be quickly determined, the waste of waiting time is reduced, and the efficiency of random access is improved. And the reason for the random access failure can be roughly judged according to whether the first timer reaches its preset time threshold or the second timer reaches its preset time threshold.

以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied to other related technologies Fields are similarly included in the scope of patent protection of the present invention.

Claims (15)

1.一种随机接入方法,其特征在于,包括:1. A random access method, comprising: 用户设备将请求消息发送给基站;The user equipment sends the request message to the base station; 启动第一计时器和第二计时器开始计时;Start the first timer and the second timer to start timing; 对当前信道进行空闲信道评估,如果所述当前信道可用,则所述第二计时器继续计时,如果所述当前信道不可用,则所述第二计时器暂停计时,同时无论所述当前信道是否可用,所述第一计时器保持计时状态;Perform an idle channel evaluation on the current channel, if the current channel is available, the second timer continues to count, and if the current channel is unavailable, the second timer suspends timing, regardless of whether the current channel is available, the first timer keeps the timing state; 若所述第一计时器和/或述第二计时器计时达到其预设时间门限时,所述用户设备没有接收到所述基站发送的回应消息,则判定本次随机接入失败;If the first timer and/or the second timer reaches its preset time threshold and the user equipment does not receive the response message sent by the base station, it is determined that this random access fails; 其中,所述判定本次随机接入失败后,所述方法进一步包括:Wherein, after it is determined that the random access fails this time, the method further includes: 重复执行所述将所述请求消息发送给所述基站及后续步骤;Repeating the sending of the request message to the base station and subsequent steps; 其中,所述方法还包括:Wherein, the method also includes: 每执行一次所述将所述请求消息发送给所述基站的步骤,将请求消息发送次数加一,当所述请求消息发送次数达到预设阈值时,停止随机接入过程。Each time the step of sending the request message to the base station is performed, the number of times the request message is sent is incremented by one, and when the number of times the request message is sent reaches a preset threshold, the random access process is stopped. 2.根据权利要求1所述的方法,其特征在于,2. The method according to claim 1, wherein 所述请求消息包括:第一消息,所述第一消息包括:前导码序列;The request message includes: a first message, and the first message includes: a preamble sequence; 所述将请求消息发送给基站,包括:The sending the request message to the base station includes: 将所述第一消息以确定的传输功率和传输格式在选定的时机发送给基站。The first message is sent to the base station at the selected timing with the determined transmission power and transmission format. 3.根据权利要求2所述的方法,其特征在于,3. The method of claim 2, wherein 所述前导码序列是从竞争前导码中选择的一组前导码序列。The preamble sequence is a set of preamble sequences selected from competing preambles. 4.根据权利要求2所述的方法,其特征在于,4. The method according to claim 2, wherein 所述传输格式是基于广播的系统信息确定的。The transport format is determined based on broadcast system information. 5.根据权利要求2所述的方法,其特征在于,5. The method of claim 2, wherein 所述传输功率是根据下行链路参考信号或控制信号中的下行链路路径损耗估算出的。The transmission power is estimated from the downlink path loss in the downlink reference signal or control signal. 6.根据权利要求2所述的方法,其特征在于,6. The method of claim 2, wherein 所述时机是随机选择的时机。The timing is a randomly selected timing. 7.根据权利要求1所述的方法,其特征在于,7. The method of claim 1, wherein, 所述回应消息包括:第二消息,所述第二消息包括:时间调整信息、小区无线网络临时标识和上行链路分配资源中的至少一种。The response message includes: a second message, where the second message includes at least one of time adjustment information, a cell wireless network temporary identity, and uplink allocation resources. 8.根据权利要求1所述的方法,其特征在于,8. The method of claim 1, wherein: 所述请求消息包括:第三消息,所述第三消息包括:无线资源控制连接请求和计划请求中的至少一项以及小区无线网络临时标识;The request message includes: a third message, where the third message includes: at least one of a radio resource control connection request and a plan request, and a cell radio network temporary identifier; 所述将请求消息发送给基站之前,包括:Before the sending the request message to the base station, include: 接收所述基站发送的第二消息;receiving a second message sent by the base station; 所述将请求消息发送给基站,包括:The sending the request message to the base station includes: 响应所述第二消息,将所述第三消息发送给所述基站。The third message is sent to the base station in response to the second message. 9.根据权利要求1所述的方法,其特征在于,9. The method of claim 1, wherein 所述回应消息包括:第四消息,所述第四消息包括:竞争解决方案。The response message includes: a fourth message, and the fourth message includes: a contention solution. 10.根据权利要求1所述的方法,其特征在于,10. The method of claim 1, wherein: 所述请求消息包括:第一消息和第三消息;The request message includes: a first message and a third message; 所述将请求消息发送给基站,包括:The sending the request message to the base station includes: 将所述第一消息和所述第三消息发送给所述基站。The first message and the third message are sent to the base station. 11.根据权利要求10所述的方法,其特征在于,11. The method of claim 10, wherein: 所述回应消息包括:第二消息和第四消息。The response message includes: a second message and a fourth message. 12.根据权利要求1所述的方法,其特征在于,所述方法进一步包括:12. The method of claim 1, wherein the method further comprises: 若在所述第一计时器和/或述第二计时器计时达到其预设时间门限之前,所述用户设备接收到所述基站发送的回应消息,则判定本次随机接入成功。If the user equipment receives the response message sent by the base station before the first timer and/or the second timer reaches its preset time threshold, it is determined that the random access is successful this time. 13.根据权利要求1-12任一项所述的方法,其特征在于,所述用户设备和所述基站工作在非授权频段。13. The method according to any one of claims 1-12, wherein the user equipment and the base station operate in an unlicensed frequency band. 14.一种用户设备,其特征在于,包括:处理器、通信电路和存储器,所述处理器耦接所述通信电路和所述存储器,所述存储器中存储有程式指令,所述处理器执行所述程式指令,通过所述通信电路实现如权利要求1-13任一项所述的方法。14. A user equipment, comprising: a processor, a communication circuit and a memory, the processor is coupled to the communication circuit and the memory, and program instructions are stored in the memory, and the processor executes The program instruction implements the method according to any one of claims 1-13 through the communication circuit. 15.一种具有存储功能的装置,其特征在于,存储有数据指令,所述数据指令用于被执行以实现如权利要求1-13任一项所述的方法。15. An apparatus with a storage function, characterized in that data instructions are stored, and the data instructions are used to be executed to implement the method according to any one of claims 1-13.
CN201810682298.7A 2018-06-27 2018-06-27 A random access method, user equipment and device with storage function Active CN110650486B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810682298.7A CN110650486B (en) 2018-06-27 2018-06-27 A random access method, user equipment and device with storage function
PCT/CN2018/111048 WO2020000792A1 (en) 2018-06-27 2018-10-19 Random access method, user equipment and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810682298.7A CN110650486B (en) 2018-06-27 2018-06-27 A random access method, user equipment and device with storage function

Publications (2)

Publication Number Publication Date
CN110650486A CN110650486A (en) 2020-01-03
CN110650486B true CN110650486B (en) 2022-04-22

Family

ID=68985855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810682298.7A Active CN110650486B (en) 2018-06-27 2018-06-27 A random access method, user equipment and device with storage function

Country Status (2)

Country Link
CN (1) CN110650486B (en)
WO (1) WO2020000792A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235874B (en) * 2020-10-20 2022-06-10 Tcl通讯(宁波)有限公司 Method, system, storage medium and mobile terminal for reducing front-end wireless transmission time
US11550649B2 (en) * 2021-03-17 2023-01-10 Qualcomm Incorporated System-on-chip timer failure detection and recovery using independent redundant timers

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104718780A (en) * 2012-10-15 2015-06-17 Lg电子株式会社 Method and apparatus for active scanning in wireless LAN
CN105873229A (en) * 2015-02-06 2016-08-17 宏达国际电子股份有限公司 Communication device and wireless communication system for processing random access procedure
CN106465430A (en) * 2014-06-13 2017-02-22 高通股份有限公司 Wireless communications over unlicensed radio frequency spectrum
CN106455106A (en) * 2016-12-05 2017-02-22 西北工业大学 Dominant right switchable random access method based on channel condition sensing
CN108024310A (en) * 2016-11-04 2018-05-11 华为技术有限公司 It is used for transmission method, terminal device and the network equipment of data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120182893A1 (en) * 2011-01-17 2012-07-19 Solomon Trainin Method, apparatus and system for controlling power of wireless communication device
US9961718B2 (en) * 2015-03-27 2018-05-01 Qualcomm Incorporated Discontinuous reception in LTE/LTE-A networks including contention-based frequency spectrum

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104718780A (en) * 2012-10-15 2015-06-17 Lg电子株式会社 Method and apparatus for active scanning in wireless LAN
CN106465430A (en) * 2014-06-13 2017-02-22 高通股份有限公司 Wireless communications over unlicensed radio frequency spectrum
CN105873229A (en) * 2015-02-06 2016-08-17 宏达国际电子股份有限公司 Communication device and wireless communication system for processing random access procedure
CN108024310A (en) * 2016-11-04 2018-05-11 华为技术有限公司 It is used for transmission method, terminal device and the network equipment of data
CN106455106A (en) * 2016-12-05 2017-02-22 西北工业大学 Dominant right switchable random access method based on channel condition sensing

Also Published As

Publication number Publication date
WO2020000792A1 (en) 2020-01-02
CN110650486A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
EP3791671B1 (en) Method and wireless communication system for handling timer operation
EP3565334B1 (en) Spatial reuse methods and communication nodes
CN102067704B (en) Method for detecting failures of random access procedures
US20230337140A1 (en) Methods for communication, terminal device, network device, and computer readable media
JP6842535B2 (en) Active time processing in 2-step grant
WO2018126801A1 (en) Data sending method and apparatus, and data receiving method and apparatus
EP2941062A1 (en) Transmission control method, and transmission method and device
CN104219740B (en) State of activation processing method and processing device
CN104718793B (en) power preference indicator timer
CN106413117A (en) Wireless communication system, and apparatus and method for base station side and user equipment side
CN104349308A (en) Method for Assigning Wireless Network Temporary Identity in Dual Link
US20180288808A1 (en) Random access method, apparatus, and system
CN113260089B (en) Determination of activity time using multiple discontinuous reception groups
KR20110025599A (en) Efficiently Controlling Monitoring of Physical Downlink Channels in Wireless Communication Systems
CN106550478B (en) Method and device for setting multi-user transmission network distribution vector
JP7069395B2 (en) Random access method and terminal
CN106162919B (en) Method and terminal for realizing discontinuous reception
US12052665B2 (en) Methods and apparatuses for using power-saving signal pattern, device and system
WO2018145558A1 (en) Data transmission method and device
US20130195049A1 (en) Radio Resource Control Connection Release For User Devices Out Of Up Link Time Alignment
US10462827B2 (en) Random access method and apparatus
CN114071509A (en) Method and device for indicating data transmission
CN110650486B (en) A random access method, user equipment and device with storage function
CN114071783A (en) Method performed by user equipment and user equipment
US12108441B2 (en) Method and device for sending and processing access control signaling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant