TW201822573A - Method for random access, network equipment and terminal equipment - Google Patents

Method for random access, network equipment and terminal equipment Download PDF

Info

Publication number
TW201822573A
TW201822573A TW106141982A TW106141982A TW201822573A TW 201822573 A TW201822573 A TW 201822573A TW 106141982 A TW106141982 A TW 106141982A TW 106141982 A TW106141982 A TW 106141982A TW 201822573 A TW201822573 A TW 201822573A
Authority
TW
Taiwan
Prior art keywords
message
random access
access request
request message
occupied
Prior art date
Application number
TW106141982A
Other languages
Chinese (zh)
Other versions
TWI687120B (en
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 TW201822573A publication Critical patent/TW201822573A/en
Application granted granted Critical
Publication of TWI687120B publication Critical patent/TWI687120B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA

Landscapes

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

Abstract

Embodiments of the present invention provide a method for random access, a network device, and a terminal device. The method has high compatibility and is favorable for a terminal device to accurately determine a random access response (RAR) belonging to the terminal device itself. The method comprises: a network device receives a random access request message sent by a first terminal device, the random access request message carrying a random access preamble; the network device determines a random access radio network temporary identifier (RA-RNTI) according to the random access request message; the network device sends an RAR message according to the RA-RNTI, the RAR message carrying preamble information and indication information, the preamble information being used for indicating the random access preamble, and the preamble information and the indication information being used for the first terminal device in at least one terminal device receiving the RAR message to determine that the RAR message belongs to the first terminal device.

Description

用於隨機接入的方法、網路設備和終端設備Method, network equipment and terminal equipment for random access

本發明實施例涉及通訊技術領域,並且更具體地,涉及用於隨機接入的方法、網路設備和終端設備。Embodiments of the present invention relate to the field of communication technologies, and more particularly, to a method, a network device, and a terminal device for random access.

在現有的長期演進(Long Term Evolution,LTE)系統中,當網路設備接收到終端設備發送的隨機接入請求消息時,網路設備將在物理下行共用通道(Physical Downlink Shared CHannel,PDSCH)上發送隨機接入回應(Random Access Response,RAR)消息,其中,該隨機接入請求消息攜帶隨機接入前導碼。該RAR消息攜帶隨機接入前導碼的索引、用於上行同步的時間調整訊息、初始的上行資源配置(用於發送隨後的msg3)訊息以及一個臨時的社區無線網路臨時標識(Cell-Radio Network Temporary Identifier,C-RNTI)。In an existing Long Term Evolution (LTE) system, when a network device receives a random access request message sent by a terminal device, the network device will be on a Physical Downlink Shared CHannel (PDSCH) Send a Random Access Response (RAR) message, where the random access request message carries a random access preamble. The RAR message carries the index of the random access preamble, the time adjustment message for uplink synchronization, the initial uplink resource configuration (for sending subsequent msg3) messages, and a temporary community wireless network temporary identity (Cell-Radio Network Temporary Identifier (C-RNTI).

終端設備發送隨機接入請求消息後,需要使用隨機接入無線網路臨時標識(Random Access-Radio Network Temporary Identifier,RA-RNTI)來監聽物理下行控制通道(Physical Downlink Control Channel,PDCCH)以用於接收屬於自己的RAR消息。若終端設備接收的RAR消息攜帶的索引指示的隨機接入前導碼與終端設備發送的隨機接入前導碼相同,終端設備確定該RAR消息屬於自己,並根據該RAR消息攜帶的訊息進行相應操作。After the terminal device sends a random access request message, it needs to use a Random Access-Radio Network Temporary Identifier (RA-RNTI) to monitor the Physical Downlink Control Channel (PDCCH) for use in Receive your own RAR message. If the random access preamble indicated by the index carried in the RAR message received by the terminal device is the same as the random access preamble sent by the terminal device, the terminal device determines that the RAR message belongs to it and performs corresponding operations according to the message carried in the RAR message.

然而,採用該方法確定屬於自己的RAR消息具有較大的局限性,不利於終端設備準確地確定屬於自己的RAR消息。However, using this method to determine the RAR message that belongs to it has greater limitations, which is not conducive to the terminal device accurately determining the RAR message that belongs to it.

本發明實施例提供一種用於隨機接入的方法、網路設備和終端設備,該方法具有較高的相容性,有利於終端設備準確地確定屬於自己的RAR消息。Embodiments of the present invention provide a method, a network device, and a terminal device for random access. The method has high compatibility and is beneficial to the terminal device to accurately determine its own RAR message.

第一方面,提供了一種用於隨機接入的方法,該方法包括:網路設備接收第一終端設備發送的隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;該網路設備根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;該網路設備根據該RA-RNTI發送隨機接入回應RAR消息,該RAR消息攜帶前導碼訊息和指示訊息,該前導碼訊息用於指示該隨機接入前導碼,該前導碼訊息和該指示訊息用於接收到該RAR消息的至少一個終端設備中的該第一終端設備確定該RAR消息屬於該第一終端設備。In a first aspect, a method for random access is provided. The method includes: a network device receives a random access request message sent by a first terminal device, the random access request message carrying a random access preamble; the network The wireless device determines a random access wireless network temporary identity RA-RNTI according to the random access request message; the network device sends a random access response RAR message according to the RA-RNTI, and the RAR message carries a preamble message and an instruction message, The preamble message is used to indicate the random access preamble, and the preamble message and the indication message are used by the first terminal device among at least one terminal device that received the RAR message to determine that the RAR message belongs to the first terminal device.

與現有技術中僅根據RAR消息攜帶的隨機接入前導碼的索引確定屬於自己的RAR消息相比,在該方案中,第一終端設備根據指示訊息和前導碼訊息確定屬於自己的RAR消息,該方法具有較高的相容性,有利第一終端設備準確地確定屬於自己的RAR消息,以便於第一終端設備可以高效地進行隨機接入過程。Compared with the prior art, which only determines the RAR message that belongs to itself based on the index of the random access preamble carried in the RAR message, in this solution, the first terminal device determines the RAR message that belongs to itself according to the indication message and the preamble message. The method has high compatibility, which is beneficial for the first terminal device to accurately determine its own RAR message, so that the first terminal device can efficiently perform a random access process.

在第一方面可能的實現方式中,該網路設備根據該隨機接入請求消息確定RA-RNTI,包括:該網路設備根據該隨機接入請求消息佔用的資源的第一資源訊息確定該RA-RNTI;該指示訊息包括:該隨機接入請求消息佔用的資源的第二資源訊息、以該隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息中的至少一種,其中,該第一資源訊息和該第二資源訊息不同。In a possible implementation manner of the first aspect, the network device determining the RA-RNTI according to the random access request message includes: the network device determining the RA according to a first resource message of a resource occupied by the random access request message. -RNTI; the indication message includes: a second resource message of the resource occupied by the random access request message, a message using the second resource message of the resource occupied by the random access request message as a function value of a variable, and the random access request The incoming request message carries at least one of messages other than the random preamble, wherein the first resource message and the second resource message are different.

該指示訊息可以包括多種類型的訊息,該方案靈活性高,以便於終端設備可以高效地根據指示訊息確定屬於自己的RAR消息。The instruction message may include multiple types of messages. This solution is highly flexible, so that the terminal device can efficiently determine the RAR message that belongs to it according to the instruction message.

在第一方面可能的實現方式中,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源。In a possible implementation manner of the first aspect, the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate a time domain resource occupied by the random access request message.

與現有技術中根據隨機接入請求消息佔用的頻域資源的訊息和時域資源的訊息共同確定RA-RNTI相比,在該方案中,網路設備和第一終端設備可以根據隨機接入請求消息佔用的頻域資源的第一資源訊息確定RA-RNTI,將隨機接入請求消息佔用的時域資源的第二資源訊息通過RAR消息發送給第一終端設備,可以降低第一終端設備獲取RA-RNTI的複雜度,同時能夠使第一終端設備準確地確定屬於自己的RAR消息。Compared with the prior art, which determines the RA-RNTI based on the information of the frequency domain resources and the information of the time domain resources occupied by the random access request message, in this solution, the network device and the first terminal device can The first resource information of the frequency domain resources occupied by the message determines the RA-RNTI, and the second resource information of the time domain resources occupied by the random access request message is sent to the first terminal device through the RAR message, which can reduce the first terminal device to obtain RA. -The complexity of the RNTI, and at the same time enable the first terminal device to accurately determine its own RAR message.

在第一方面可能的實現方式中,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源,且該第一資源訊息指示的時域資源的細微性大於該第二資源訊息指示的時域資源的細微性。In a possible implementation manner of the first aspect, the first resource message is used to indicate a frequency domain resource and a time domain resource occupied by the random access request message, and the second resource message is used to indicate a frequency occupied by the random access request message. A time domain resource, and the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message.

在該方案中,第一資源訊息雖然同時指示時域資源和頻域資源,但是第一資源訊息指示的時域資源的細微性較大,可以降低第一終端設備獲取RA-RNTI的複雜度,第二資源指示的時域資源的細微性較小,可以使第一終端設備準確地確定屬於自己的RAR消息。該方案可以平衡終端設備接收RAR消息的複雜度以及終端設備確定屬於自己的RAR消息的確定次數。In this solution, although the first resource information indicates both time-domain resources and frequency-domain resources, the time-domain resources indicated by the first resource information are more subtle and can reduce the complexity of the RA-RNTI obtained by the first terminal device. The nuance of the time domain resource indicated by the second resource is small, so that the first terminal device can accurately determine the RAR message that belongs to it. This solution can balance the complexity of the RAR message received by the terminal device and the number of times the terminal device determines that the RAR message belongs to it.

在第一方面可能的實現方式中,該第二資源訊息具體用於指示該隨機接入請求消息佔用的時域資源的起始位置和該隨機接入請求消息佔用的時域資源的結束位置中的至少一種。In a possible implementation manner of the first aspect, the second resource message is specifically used to indicate a start position of the time domain resource occupied by the random access request message and an end position of the time domain resource occupied by the random access request message. At least one.

該方案中,第二資源訊息可以指示起始位置和/或結束位置,該方案靈活性高具有較高的相容性以及適用性。In this solution, the second resource information can indicate the start position and / or the end position. This solution has high flexibility and high compatibility and applicability.

在第一方面可能的實現方式中,該第二資源訊息具體用於指示以下訊息中的至少一種:該隨機接入請求消息佔用的第一個子幀的編號;該隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;該隨機接入請求消息佔用的最後一個子幀的編號;該隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。In a possible implementation manner of the first aspect, the second resource message is specifically used to indicate at least one of the following information: a number of a first subframe occupied by the random access request message; The number of the first time slot or the first mini time slot; the number of the last sub frame occupied by the random access request message; the number of the last time slot or the last mini time slot occupied by the random access request message .

在第一方面可能的實現方式中,該函數值的訊息用於指示以下訊息中的至少一種:該RAR消息佔用的第一個子幀的編號與該隨機接入請求消息佔用的第一個子幀的編號之間的差值;該RAR消息佔用的第一個時隙的編號與該隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與該隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;該RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。In a possible implementation manner of the first aspect, the message of the function value is used to indicate at least one of the following messages: a number of a first subframe occupied by the RAR message and a first subframe occupied by the random access request message The difference between the frame numbers; the difference between the number of the first time slot occupied by the RAR message and the number of the first time slot occupied by the random access request message, or the first time slot occupied by the RAR message The difference between the number of a mini-slot and the number of the first mini-slot occupied by the random access request message; the number of the last subframe occupied by the RAR message and the number occupied by the random access request message The difference between the number of the last subframe; the difference between the number of the last slot occupied by the RAR message and the number of the last slot occupied by the random access request message, or the difference between the number of the last slot occupied by the random access request message The difference between the number of the last mini-slot and the number of the last mini-slot occupied by the random access request message.

在第一方面可能的實現方式中,該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息包括該第一終端設備的位置訊息、該第一終端設備的標識訊息以及該隨機接入請求消息的發送時間戳記中的至少一種。In a possible implementation manner of the first aspect, information other than the random preamble carried in the random access request message includes location information of the first terminal device, identification information of the first terminal device, and the random access At least one of the sending timestamps of the request message.

該方案不但使第一終端設備準確地確定屬於自己的RAR消息,進一步地,該方案可以將LTE系統中的msg2消息和msg3進行融合,能夠節省訊號開銷,提高終端設備隨機接入的效率。This solution not only enables the first terminal device to accurately determine its own RAR message, further, the solution can fuse the msg2 message and msg3 in the LTE system, which can save signal overhead and improve the efficiency of random access by the terminal device.

在第一方面可能的實現方式中,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。In a possible implementation manner of the first aspect, the indication message is carried in a media access control subheader MAC subheader or MAC RAR of the RAR message.

該方案中,指示訊息可以靈活地承載與RAR消息中,具有較高的相容性。In this solution, the indication message can be flexibly carried with the RAR message and has high compatibility.

第二方面,提供一種用於隨機接入的方法,該方法包括:第一終端設備向網路設備發送隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;該第一終端設備根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;該第一終端設備根據該RA-RNTI接收該網路設備發送的隨機接入回應RAR消息,該RAR消息攜帶前導碼訊息和指示訊息;該第一終端設備根據該隨機接入請求消息攜帶的隨機接入前導碼、該前導碼訊息和該指示訊息確定該RAR消息是否屬於該第一終端設備。In a second aspect, a method for random access is provided. The method includes: a first terminal device sending a random access request message to a network device, the random access request message carrying a random access preamble; the first terminal The device determines a random access wireless network temporary identity RA-RNTI according to the random access request message; the first terminal device receives a random access response RAR message sent by the network device according to the RA-RNTI, and the RAR message carries a preamble Code message and indication message; the first terminal device determines whether the RAR message belongs to the first terminal device according to the random access preamble, the preamble message, and the indication message carried in the random access request message.

與現有技術中僅根據RAR消息攜帶的隨機接入前導碼的索引確定屬於自己的RAR消息相比,在該方案中,第一終端設備根據指示訊息和前導碼訊息確定屬於自己的RAR消息,能夠提高第一終端設備確定屬於自己的RAR消息的準確率,以便於終端設備可以高效地進行隨機接入。Compared with the prior art, which only determines the RAR message that belongs to itself based on the index of the random access preamble carried by the RAR message, in this solution, the first terminal device determines the RAR message that belongs to itself according to the indication message and the preamble message, which can Improve the accuracy of the first terminal device determining its own RAR message, so that the terminal device can efficiently perform random access.

在第二方面可能的實現方式中,該第一終端設備根據該RA-RNTI接收該網路設備發送的隨機接入回應RAR消息,包括:該第一終端設備根據該隨機接入請求消息佔用的資源的第一資源訊息確定該RA-RNTI;若該前導碼訊息指示的隨機接入前導碼與該隨機接入請求消息攜帶的隨機接入前導碼相同,且該指示訊息包括:該隨機接入請求消息佔用的資源的第二資源訊息、以該隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息中的至少一種,該方法還包括:該第一終端設備確定該RAR消息屬於該第一終端設備;其中,該第一資源訊息和該第二資源訊息不同。In a possible implementation manner of the second aspect, the receiving, by the first terminal device according to the RA-RNTI, a random access response RAR message sent by the network device includes: the first terminal device according to the random access request message occupied by the random access request message. The first resource message of the resource determines the RA-RNTI; if the random access preamble indicated by the preamble message is the same as the random access preamble carried in the random access request message, and the indication message includes: the random access A second resource message of the resource occupied by the request message, a message using the second resource message of the resource occupied by the random access request message as a function value of the variable, and the random preamble carried by the random access request message except for the random preamble The method further includes: the first terminal device determines that the RAR message belongs to the first terminal device; wherein the first resource message and the second resource message are different.

第一終端設備根據前導碼訊息和指示訊息確定屬於自己的RAR消息,以使第一終端設備可以高效地確定屬於自己的RAR消息。The first terminal device determines its own RAR message according to the preamble message and the instruction message, so that the first terminal device can efficiently determine its own RAR message.

在第二方面可能的實現方式中,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源。In a possible implementation manner of the second aspect, the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate a time domain resource occupied by the random access request message.

與現有技術中根據隨機接入請求消息佔用的頻域資源的訊息和時域資源的訊息共同確定RA-RNTI相比,在該方案中,第一終端設備可以根據隨機接入請求消息佔用的頻域資源的第一資源訊息確定RA-RNTI,將隨機接入請求消息佔用的時域資源的第二資源訊息通過RAR消息發送給第一終端設備,可以降低第一終端設備獲取RA-RNTI的複雜度,同時能夠提高第一終端設備確定屬於自己的RAR消息的準確率。Compared with the prior art, which determines the RA-RNTI based on the frequency domain resource information and time domain resource information occupied by the random access request message, in this solution, the first terminal device may determine the RA-RNTI based on the frequency occupied by the random access request message. The first resource message of the domain resource determines the RA-RNTI, and the second resource message of the time domain resource occupied by the random access request message is sent to the first terminal device through the RAR message, which can reduce the complexity of the first terminal device acquiring the RA-RNTI. At the same time, the accuracy of the first terminal device determining the RAR message belonging to itself can be improved.

在第二方面可能的實現方式中,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源,且該第一資源訊息指示的時域資源的細微性大於該第二資源訊息指示的時域資源的細微性。In a possible implementation manner of the second aspect, the first resource message is used to indicate a frequency domain resource and a time domain resource occupied by the random access request message, and the second resource message is used to indicate a frequency occupied by the random access request message. A time domain resource, and the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message.

第一資源訊息雖然同時指示時域資源和頻域資源,但是第一資源訊息指示的時域資源的顆粒度較大,既可以降低第一終端設備獲取RA-RNTI的複雜度,又可以提高第一終端設備接收屬於自己的RAR消息的效率。該方案可以平衡終端設備接收RAR消息的複雜度以及終端設備確定屬於自己的RAR消息的確定次數。Although the first resource message indicates both the time domain resource and the frequency domain resource, the time domain resource indicated by the first resource message has a larger granularity, which can reduce the complexity of obtaining the RA-RNTI by the first terminal device, and can improve the Efficiency of a terminal device receiving its own RAR message. This solution can balance the complexity of the RAR message received by the terminal device and the number of times the terminal device determines that the RAR message belongs to it.

在第二方面可能的實現方式中,該第二資源訊息具體用於指示該隨機接入請求消息佔用的時域資源的起始位置和該隨機接入請求消息佔用的時域資源的結束位置中的至少一種。In a possible implementation manner of the second aspect, the second resource message is specifically used to indicate a start position of the time domain resource occupied by the random access request message and an end position of the time domain resource occupied by the random access request message. At least one.

在第二方面可能的實現方式中,該第二資源訊息具體用於指示以下訊息中的至少一種:該隨機接入請求消息佔用的第一個子幀的編號;該隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;該隨機接入請求消息佔用的最後一個子幀的編號;該隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。In a possible implementation manner of the second aspect, the second resource message is specifically used to indicate at least one of the following information: the number of the first subframe occupied by the random access request message; The number of the first time slot or the first mini time slot; the number of the last sub frame occupied by the random access request message; the number of the last time slot or the last mini time slot occupied by the random access request message .

在第二方面可能的實現方式中,該函數值的訊息用於指示以下訊息中的至少一種:該RAR消息佔用的第一個子幀的編號與該隨機接入請求消息佔用的第一個子幀的編號之間的差值;該RAR消息佔用的第一個時隙的編號與該隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與該隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;該RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。In a possible implementation manner of the second aspect, the function value message is used to indicate at least one of the following messages: the number of the first subframe occupied by the RAR message and the first subframe occupied by the random access request message The difference between the frame numbers; the difference between the number of the first time slot occupied by the RAR message and the number of the first time slot occupied by the random access request message, or the first time slot occupied by the RAR message The difference between the number of a mini-slot and the number of the first mini-slot occupied by the random access request message; the number of the last subframe occupied by the RAR message and the number occupied by the random access request message The difference between the number of the last subframe; the difference between the number of the last slot occupied by the RAR message and the number of the last slot occupied by the random access request message, or the difference between the number of the last slot occupied by the random access request message The difference between the number of the last mini-slot and the number of the last mini-slot occupied by the random access request message.

在第二方面可能的實現方式中,該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息包括該第一終端設備的位置訊息、該第一終端設備的標識訊息以及該隨機接入請求消息的發送時間戳記中的至少一種。In a possible implementation manner of the second aspect, the information carried by the random access request message other than the random preamble includes location information of the first terminal device, identification information of the first terminal device, and the random access At least one of the sending timestamps of the request message.

該方案不但可以提高終端設備確定屬於自己的RAR消息的準確率,進一步地,該方案可以將LTE系統中的msg2消息和msg3進行融合,能夠節省訊號開銷,提高終端設備隨機接入的效率。This solution can not only improve the accuracy of the terminal equipment determining its own RAR message. Furthermore, this solution can fuse the msg2 message and msg3 in the LTE system, which can save signal overhead and improve the efficiency of random access of terminal equipment.

在第二方面可能的實現方式中,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。In a possible implementation manner of the second aspect, the indication message is carried in a media access control subheader MAC subheader or a MAC RAR of the RAR message.

該方案中,指示訊息可以靈活地承載與RAR消息中,具有較高的相容性。In this solution, the indication message can be flexibly carried with the RAR message and has high compatibility.

在第二方面可能的實現方式中,若該前導碼訊息指示的隨機接入前導碼與該隨機接入請消息攜帶的隨機接入前導碼不同,或該指示訊息與該隨機請求消息不匹配,該方法還包括:該第一終端設備確定該RAR消息不屬於該第一終端設備;其中,該指示訊息與該隨機接入請求消息不匹配,包括:該指示訊息包括的資源訊息與該隨機接入請求消息佔用的資源的第二資源訊息不同;和/或該指示訊息包括的函數值的訊息與以該隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息不同;和/或該指示訊息包括的位置訊息與該隨機接入請求消息攜帶的該第一終端設備的位置訊息不同;和/或該指示訊息包括的標識訊息與該隨機接入請求消息攜帶的該第一終端設備的標識訊息不同;和/或該指示訊息包括的發送時間戳記與該隨機接入請求消息攜帶的發送時間戳記不同。In a possible implementation manner of the second aspect, if the random access preamble indicated by the preamble message is different from the random access preamble carried in the random access request message, or the indication message does not match the random request message, The method further includes: the first terminal device determines that the RAR message does not belong to the first terminal device; wherein the indication message does not match the random access request message, including: the resource information included in the indication message and the random access request The second resource information of the resource occupied by the incoming request message is different; and / or the information of the function value included in the indication message is different from the information of the function value using the second resource information of the resource occupied by the random access request message as a variable; And / or the location information included in the instruction message is different from the location information of the first terminal device carried in the random access request message; and / or the identification message included in the instruction message and the first information carried in the random access request message The identification information of a terminal device is different; and / or the sending timestamp included in the indication message and the sending time carried in the random access request message The stamp is different.

第三方面,提供一種網路設備,用於執行第一方面或第一方面任意可能的實現方式中的方法。具體地,該網路設備可以包括用於執行上述第一方面或第一方面任意可能實現方式中的方法的模組和/或單元。In a third aspect, a network device is provided for performing the first aspect or the method in any possible implementation manner of the first aspect. Specifically, the network device may include a module and / or unit for performing the foregoing first aspect or the method in any possible implementation manner of the first aspect.

第四方面,提供一種終端設備,用於執行第二方面或第二方面任意可能的實現方式中的方法。具體地,該終端設備可以包括用於執行上述第二方面或第二方面任意可能實現方式中的方法的模組和/或單元。In a fourth aspect, a terminal device is provided for performing the second aspect or the method in any possible implementation manner of the second aspect. Specifically, the terminal device may include a module and / or a unit for executing the second aspect or the method in any possible implementation manner of the second aspect.

第五方面,提供一種網路設備,包括:包括收發器、記憶體和處理器,該收發器用於收發訊號,該記憶體用於儲存指令,該處理器用於執行該記憶體存儲的指令,並且對該記憶體中存儲的指令的執行使得該處理器執行第一方面或第一方面的任意可能的實現方式中的方法。According to a fifth aspect, a network device is provided, including: a transceiver, a memory, and a processor, the transceiver is used to send and receive signals, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and Execution of the instructions stored in the memory causes the processor to execute the method in the first aspect or any possible implementation manner of the first aspect.

第六方面,提供一種終端設備,包括:包括收發器、記憶體和處理器,該收發器用於收發訊號,該記憶體用於儲存指令,該處理器用於執行該記憶體存儲的指令,並且對該記憶體中存儲的指令的執行使得該處理器執行第二方面或第二方面的任意可能的實現方式中的方法。According to a sixth aspect, a terminal device is provided, including a transceiver, a memory, and a processor. The transceiver is used to send and receive signals. The memory is used to store instructions. The processor is used to execute the instructions stored in the memory. Execution of the instructions stored in the memory causes the processor to execute the method in the second aspect or any possible implementation manner of the second aspect.

第七方面,提供了一種電腦儲存媒介,該電腦儲存媒介中存儲有程式代碼,該程式代碼用於指示執行上述第一方面或第一方面的任意可能的實現方式中的指令。According to a seventh aspect, a computer storage medium is provided, and the computer storage medium stores program code, where the program code is used to instruct the execution of the instructions in the first aspect or any possible implementation manner of the first aspect.

第八方面,提供了一種電腦儲存媒介,該電腦儲存媒介中存儲有程式代碼,該程式代碼用於指示執行上述第二方面或第二方面的任意可能的實現方式中的指令。According to an eighth aspect, a computer storage medium is provided, and the computer storage medium stores program code, where the program code is used to instruct to execute the instructions in the second aspect or any possible implementation manner of the second aspect.

第九方面,提供了一種系統晶片,該系統晶片包括輸入介面、輸出介面、處理器和記憶體,該處理器用於執行該記憶體中的代碼,當該代碼被執行時,該處理器可以實現前述第一方面及各種實現方式中的方法。In a ninth aspect, a system chip is provided. The system chip includes an input interface, an output interface, a processor, and a memory. The processor is configured to execute code in the memory. When the code is executed, the processor can implement the system chip. The foregoing first aspect and methods in various implementations.

第十方面,提供了一種系統晶片,該系統晶片包括輸入介面、輸出介面、處理器和記憶體,該處理器用於執行該記憶體中的代碼,當該代碼被執行時,該處理器可以實現前述第二方面及各種實現方式中的方法。According to a tenth aspect, a system chip is provided. The system chip includes an input interface, an output interface, a processor, and a memory. The processor is configured to execute code in the memory. When the code is executed, the processor can implement the system chip. The aforementioned second aspect and methods in various implementations.

因此,在本發明實施例中,RAR消息可以攜帶指示訊息和前導碼訊息,該指示訊息可以包括該隨述接入請求消息佔用的資源的第二資源訊息、以該隨述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息中的至少一種,使得第一終端設備可以根據該指示訊息和前導碼訊息準確地確定屬於自己的RAR消息。Therefore, in the embodiment of the present invention, the RAR message may carry an indication message and a preamble message, and the indication message may include a second resource message of a resource occupied by the follow-up access request message, and the random access request message by the follow-up The second resource message of the occupied resource is at least one of a variable function value message and a message other than the random preamble carried in the random access request message, so that the first terminal device may use the instruction message and The preamble message accurately determines its own RAR message.

下面將結合本發明實施例中的圖式,對本發明實施例中的技術方案進行清楚、完整地描述。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described in combination with the drawings in the embodiments of the present invention.

圖1示出了適用于本發明實施例的無線通訊系統100。該無線通訊系統100可以包括網路設備110。網路設備110可以是與終端設備通訊的設備。網路設備110可以為特定的地理區域提供通訊覆蓋,並且可以與位於該覆蓋區域內的終端設備(例如UE)進行通訊。可選地,該網路設備110可以是全球移動通訊(Global System of Mobile communication,簡稱為“GSM”)系統或分碼多重存取(Code Division Multiple Access,簡稱為“CDMA”)系統中的基站(Base Transceiver Station,BTS),也可以是寬頻分碼多重存取(Wideband Code Division Multiple Access,簡稱為“WCDMA”)系統中的基站(NodeB,NB),還可以是LTE系統中的演進型基站(Evolutional Node B,eNB或eNodeB),或者是雲無線接入網路 (Cloud Radio Access Network,CRAN)中的無線控制器,或者該網路設備可以為中繼站、存取點、車載設備、可穿戴設備、未來第五代移動通訊技術(5th-Generation,5G)網路中的網路側設備或者未來演進的公共陸地移動網路(Public Land Mobile Network,PLMN)中的網路設備等。FIG. 1 shows a wireless communication system 100 applicable to an embodiment of the present invention. The wireless communication system 100 may include a network device 110. The network device 110 may be a device that communicates with a terminal device. The network device 110 can provide communication coverage for a specific geographic area, and can communicate with terminal devices (such as UEs) located within the coverage area. Optionally, the network device 110 may be a base station in a Global System of Mobile communication ("GSM") system or a Code Division Multiple Access ("CDMA") system (Base Transceiver Station, BTS), or a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, or an evolved base station in an LTE system (Evolutional Node B, eNB or eNodeB), or a wireless controller in a Cloud Radio Access Network (CRAN), or the network device may be a relay station, an access point, an in-vehicle device, or a wearable Equipment, network-side equipment in future 5th-generation mobile communication technology (5th-Generation, 5G) networks, or network equipment in public land mobile networks (PLMN) that are evolving in the future.

該無線通訊系統100還包括位於網路設備110覆蓋範圍內的至少一個終端設備,例如第一終端設備120和第二終端設備130。終端設備可以是移動的或固定的。可選地,終端設備可以指接入終端、使用者設備(User Equipment,UE)、使用者單元、使用者站、移動站、移動台、遠方站、遠端終端機、移動設備、使用者終端、終端、無線通訊設備、使用者代理或使用者裝置。接入終端可以是行動電話、無繩電話、會話啟動協定(Session Initiation Protocol,SIP)電話、無線本地環路(Wireless Local Loop,WLL)站、個人數文書處理(Personal Digital Assistant,PDA)、具有無線通訊功能的手持設備、計算設備或連接到無線數據機的其它處理設備、車載設備、可穿戴設備、未來5G網路中的終端設備或者未來演進的PLMN中的終端設備等。The wireless communication system 100 further includes at least one terminal device, such as a first terminal device 120 and a second terminal device 130, located within a coverage area of the network device 110. Terminal equipment can be mobile or fixed. Optionally, the terminal device may refer to an access terminal, user equipment (UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal , Terminal, wireless communication device, user agent, or user device. Access terminals can be mobile phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistant (PDA), wireless Communication-enabled handheld devices, computing devices, or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in future 5G networks, or terminal devices in future evolved PLMNs.

可選地,5G系統或網路還可以稱為新無線(New Radio,NR)系統或網路。Optionally, the 5G system or network may also be referred to as a new radio (New Radio, NR) system or network.

圖1示例性地示出了一個網路設備和兩個終端設備,可選地,該無線通訊系統100可以包括多個網路設備並且每個網路設備的覆蓋範圍內可以包括其它數量的終端設備,本發明實施例對此不做限定。FIG. 1 exemplarily shows one network device and two terminal devices. Optionally, the wireless communication system 100 may include multiple network devices and each network device may include other numbers of terminals within its coverage area. Equipment, which is not limited in the embodiment of the present invention.

可選地,該無線通訊系統100還可以包括網路控制器、移動管理實體等其他網路實體,本發明實施例對此不作限定。Optionally, the wireless communication system 100 may further include other network entities, such as a network controller and a mobile management entity, which are not limited in this embodiment of the present invention.

應理解,本文中術語“系統”和“網路”在本文中常被可互換使用。本文中術語“和/或”,僅僅是一種描述關聯物件的關聯關係,表示可以存在三種關係,例如,A和/或B,可以表示:單獨存在A,同時存在A和B,單獨存在B這三種情況。另外,本文中字元“/”,一般表示前後關聯物件是一種“或”的關係。It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or" in this article is only a kind of association relationship describing related objects. It means that there can be three kinds of relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. three conditions. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.

需要說明的是,本發明實施例中的“第一”、“第二”等僅為用於區分不同的物件,而不應對本發明實施例構成任何限定。It should be noted that the “first” and “second” in the embodiments of the present invention are only used to distinguish different objects, and should not be construed as any limitation in the embodiments of the present invention.

還需要說明的是,本發明實施例中的情況、方式和類別的劃分僅是為了描述的方便,不應構成特別的限定,各種情況、方式和類別中的特徵在不矛盾的情況下可以相結合。It should also be noted that the division of the situations, methods, and categories in the embodiments of the present invention is only for convenience of description, and should not constitute a special limitation. Features in various situations, modes, and categories can be compared without conflict. Combined.

網路設備在發送RAR消息之前,首先會根據接收到的隨機接入請求消息確定RA-RNTI。相應地,終端設備根據發送的隨機接入請求消息確定RA-RNTI。換句話說,網路設備和終端設備分別確定隨機接入請求消息對應的RA-RNTI。首先介紹現有技術中確定RA-RNTI的方式。Before sending a RAR message, the network device first determines the RA-RNTI according to the received random access request message. Accordingly, the terminal device determines the RA-RNTI according to the random access request message sent. In other words, the network device and the terminal device respectively determine the RA-RNTI corresponding to the random access request message. First, the manner of determining the RA-RNTI in the prior art is introduced.

網路設備和終端設備根據隨機接入請求消息佔用的第一個子幀(subframe)的編號和該第一個子幀裡隨機接入請求消息佔用的頻域位置的編號,確定RA-RNTI。The network device and the terminal device determine the RA-RNTI according to the number of the first subframe (subframe) occupied by the random access request message and the number of the frequency domain position occupied by the random access request message in the first subframe.

具體地,網路設備和終端設備可以根據公式(1)確定RA-RNTI。Specifically, the network equipment and the terminal equipment can determine the RA-RNTI according to formula (1).

RA-RNTI = 1+t_id+10f_id (1)RA-RNTI = 1 + t_id + 10f_id (1)

其中,t_id為隨機接入請求消息佔用的第一個子幀的編號,f_id為在該第一個子幀裡隨機接入請求消息佔用的頻域位置的編號。Among them, t_id is the number of the first subframe occupied by the random access request message, and f_id is the number of the frequency domain position occupied by the random access request message in the first subframe.

網路設備接收到隨機接入請求消息之後,根據公式(1)確定RA-RNTI,並根據該RA-RNTI發送RAR消息,相應地,終端設備確定該RA-RNTI,並根據該RA-RNTI監聽屬於自己的RAR消息。該方式會增加終端設備獲取RAR消息的複雜度。After receiving the random access request message, the network device determines the RA-RNTI according to formula (1), and sends a RAR message according to the RA-RNTI. Accordingly, the terminal device determines the RA-RNTI, and monitors according to the RA-RNTI. Own RAR message. This method will increase the complexity of obtaining the RAR message by the terminal device.

例如,在多波束(Multi-beam)系統中,為了提高終端設備發送隨機接入請求消息的成功率,終端設備可以通過不同的波束向網路設備發送隨機接入請求消息。終端設備在不同的波束發送隨機接入請求消息時,每個波束對應的時域資源的訊息不同(例如,對應的第一個子幀的編號不同)。此時,終端設備在監聽屬於自己的RAR消息時需要嘗試多個RA-RNTI,導致終端設備獲取RAR的複雜度較高。For example, in a multi-beam system, in order to improve the success rate of a terminal device sending a random access request message, the terminal device may send a random access request message to the network device through different beams. When the terminal device sends a random access request message in different beams, the information of the time domain resources corresponding to each beam is different (for example, the corresponding first subframes have different numbers). At this time, the terminal device needs to try multiple RA-RNTIs while listening to its own RAR message, which results in high complexity for the terminal device to obtain the RAR.

又例如,為了提高終端設備發送隨機接入前導碼的成功率,終端設備可以使用頻分複用的方式在同一個時域資源上發送多個隨機接入請求消息(多個隨機接入請求消息攜帶的隨機接入前導碼可以相同也可以不同)。此時,終端設備在監聽屬於該第一終端設備的RAR消息時也需要嘗試多個RA-RNTI,導致終端設備獲取RAR消息的複雜度較高。For another example, in order to improve the success rate of sending random access preamble by the terminal device, the terminal device may use frequency division multiplexing to send multiple random access request messages (multiple random access request messages) on the same time domain resource. The random access preambles carried may be the same or different). At this time, when the terminal device listens to the RAR message belonging to the first terminal device, it also needs to try multiple RA-RNTIs, which results in a high degree of complexity for the terminal device to obtain the RAR message.

為了降低終端設備獲取RAR消息的複雜度,可以採用以下方式確定RA-RNTI。To reduce the complexity of obtaining RAR messages by the terminal device, the RA-RNTI may be determined in the following manner.

方式一、method one,

根據隨機接入請求消息佔用的資源的第一資源訊息確定RA-RNTI。其中,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源或時域資源。The RA-RNTI is determined according to the first resource information of the resources occupied by the random access request message. The first resource message is used to indicate a frequency domain resource or a time domain resource occupied by the random access request message.

例如,網路設備和終端設備可以根據公式(2)確定RA-RNTI。For example, network equipment and terminal equipment can determine RA-RNTI according to formula (2).

RA-RNTI = t_id+A (2)RA-RNTI = t_id + A (2)

其中,t_id為隨機接入請求消息佔用的第一個子幀的編號;A為調整參數。Among them, t_id is the number of the first subframe occupied by the random access request message; A is an adjustment parameter.

又例如,網路設備和終端設備可以根據公式(3)確定RA-RNTI。As another example, the network device and the terminal device may determine the RA-RNTI according to formula (3).

RA-RNTI=10f_id+B (3)RA-RNTI = 10f_id + B (3)

其中,f_id 為在隨機接入請求消息佔用的第一個子幀裡該隨機接入請求消息佔用的頻域位置編號,B為調整參數。Among them, f_id is the frequency domain position number occupied by the random access request message in the first subframe occupied by the random access request message, and B is an adjustment parameter.

該方式確定RA-RNTI,可以降低終端設備獲取RAR消息的複雜度,但是,現有技術中的確定屬於自己的RAR消息具有局限性,若將方式一與現有技術中確定屬於自己的RAR消息的方式結合,容易導致終端設備判斷出錯。Determining the RA-RNTI in this way can reduce the complexity of obtaining RAR messages by the terminal device. However, determining the own RAR message in the prior art has limitations. If the first way is compared with the way in the prior art to determine the own RAR message, Combining, it is easy to cause the terminal equipment to make a judgment error.

例如,在第一資源訊息用於指示隨機接入請求消息佔用的頻域資源的情況下,網路設備和終端設備根據第一資源訊息確定RA-RNTI,若第一終端設備和第二終端設備均佔用頻域資源C發送隨機接入請求消息,且第一終端設備和第二終端設備發送的隨機接入請求消息均包括隨機接入前導碼D,網路設備先根據第二終端設備發送的隨機接入請求消息發送RAR消息(記為第二RAR消息),第一終端設備和第二終端設備均監聽到該第二RAR消息,該第二RAR消息攜帶隨機接入前導碼D的訊息(例如,隨機接入前導碼D的索引)。若仍採用現有技術中確定RAR消息的方式(即僅根據隨機接入前導碼的索引確定屬於自己的RAR消息),第一終端設備會誤認為該第二RAR消息為屬於自己的RAR消息,並使用該第二RAR消息中的訊息進行相關操作,導致第一終端設備處理出錯。For example, when the first resource message is used to indicate the frequency domain resources occupied by the random access request message, the network device and the terminal device determine the RA-RNTI according to the first resource message. If the first terminal device and the second terminal device Both occupy the frequency domain resource C to send a random access request message, and the random access request message sent by the first terminal device and the second terminal device includes a random access preamble D, and the network device first sends the random access request message D according to the The random access request message sends an RAR message (recorded as a second RAR message), and both the first terminal device and the second terminal device listen to the second RAR message, and the second RAR message carries a message of a random access preamble D ( For example, the random access index of the preamble D). If the manner of determining the RAR message in the prior art is still used (that is, the RAR message belonging to itself is determined only based on the index of the random access preamble), the first terminal device will mistakenly believe that the second RAR message is its own RAR message, and The information in the second RAR message is used to perform related operations, which causes the processing error of the first terminal device.

同理,在第一資源訊息用於指示隨機接入請求消息佔用的時域資源的情況下,由於現有技術中的確定屬於自己的RAR消息具有局限性,也容易導致終端設備判斷出錯。Similarly, in the case where the first resource message is used to indicate the time domain resources occupied by the random access request message, the RAR message determined to be its own in the prior art has limitations, and it is easy to cause the terminal device to make an error in judgment.

方式二、Way two,

根據隨機接入請求消息佔用的資源的第一資源訊息確定RA-RNTI。其中,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,且方式二中第一資源訊息指示的時域資源的細微性較大。The RA-RNTI is determined according to the first resource information of the resources occupied by the random access request message. The first resource message is used to indicate the frequency domain resources and time domain resources occupied by the random access request message, and the time domain resources indicated by the first resource message in the second method are more delicate.

例如,在方式二中,網路設備和終端設備根據隨機接入請求消息佔用的無線幀的訊息(例如,佔用的第一個無線幀的編號)確定RA-RNTI。For example, in mode two, the network device and the terminal device determine the RA-RNTI according to the information of the radio frame occupied by the random access request message (for example, the number of the first radio frame occupied).

該方法能夠平衡終端設備接收RAR消息的複雜度以及終端設備確定屬於自己的RAR的次數。但是,由於現有技術中的確定屬於自己的RAR消息具有局限性,若將方式二與現有技術中確定屬於自己的RAR消息的方式結合,容易導致終端設備判斷出錯,具體說明可以參見上文的相關描述,為了簡潔此處不再贅述。This method can balance the complexity of the RAR message received by the terminal device and the number of times the terminal device determines its own RAR. However, due to the limitation of determining the own RAR message in the prior art, if the second method is combined with the method of determining the own RAR message in the prior art, it is easy to cause the terminal device to make an error. For details, refer to the related description above. The description is not repeated here for brevity.

進一步地,假設多個終端設備佔用相同的子幀和頻域資源發送相同的隨機接入前導碼,該多種終端設備接收到某個終端設備的RAR消息之後,根據該RAR消息攜帶的隨機接入前導碼,會認為該RAR消息屬於自己,並根據該RAR消息進行競爭過程。由於終端設備沒有正確識別屬於自己的RAR消息,會導致終端設備進行無意義的競爭。Further, it is assumed that multiple terminal devices occupy the same subframe and frequency domain resources and send the same random access preamble. After receiving the RAR message of a terminal device, the multiple terminal devices receive the random access carried by the RAR message. The preamble will consider that the RAR message belongs to itself, and perform a competition process according to the RAR message. Because the terminal device does not correctly identify its own RAR message, it will cause the terminal device to perform meaningless competition.

通過分析可以發現,採用現有技術中僅根據RAR消息中的隨機接入前導碼的索引確定屬於自己的RAR消息具有局限性,不利於終端設備準確地確定屬於自己的RAR消息。Through analysis, it can be found that using the prior art to determine only the RAR message that belongs to it based on the index of the random access preamble in the RAR message has limitations, which is not conducive to the terminal device accurately determining the RAR message that belongs to it.

有鑑於此,本發明實施例提供一種用於隨機接入的方法,網路設備發送的RAR消息包括前導碼訊息和指示訊息,終端設備可以根據前導碼訊息和指示訊息確定接收到的RAR消息是否屬於自己。該方法具有較高的相容性,有利於終端設備準確地判斷屬於自己的RAR消息。下面詳細說明本發明實施例的用於隨機接入的方法。In view of this, an embodiment of the present invention provides a method for random access. The RAR message sent by the network device includes a preamble message and an indication message. The terminal device may determine whether the received RAR message is based on the preamble message and the indication message. belong to myself. This method has high compatibility, which is helpful for the terminal device to accurately determine the RAR message that belongs to it. The method for random access according to the embodiment of the present invention is described in detail below.

圖2示出了從設備交互的角度描述的根據本發明實施例的用於隨機接入的方法200的示意性流程圖。該方法200可以應用於包括網路設備和至少一個終端設備的通訊系統中。其中,該通訊系統可以為圖1所示的無線通訊系統100。FIG. 2 shows a schematic flowchart of a method 200 for random access according to an embodiment of the present invention, which is described from the perspective of device interaction. The method 200 may be applied to a communication system including a network device and at least one terminal device. The communication system may be the wireless communication system 100 shown in FIG. 1.

以下,不失一般性,以網路設備與第一終端設備(和第二終端設備)的交互為例,詳細說明根據本發明實施例的方法。應理解,第一終端設備為至少一個終端設備中的任意一個終端設備,“第一”僅用於區分說明,而不應對本發明實施例構成任何限定。同理,第二終端設備也不應對本發明實施例構成任何限定。Hereinafter, without loss of generality, the method according to the embodiment of the present invention will be described in detail by taking the interaction between a network device and a first terminal device (and a second terminal device) as an example. It should be understood that the first terminal device is any one of at least one terminal device, and "first" is only used for distinguishing descriptions, and should not be construed as any limitation in the embodiments of the present invention. Similarly, the second terminal device should not constitute any limitation in the embodiments of the present invention.

如圖2所示,該方法200包括:As shown in FIG. 2, the method 200 includes:

S210、第一終端設備向網路設備發送隨機接入請求消息,相應地,網路設備接收第一終端設備發送的隨機接入請求消息,其中,該隨機接入請求消息包括隨機接入前導碼。S210. The first terminal device sends a random access request message to the network device. Correspondingly, the network device receives the random access request message sent by the first terminal device. The random access request message includes a random access preamble. .

可選地,本發明實施例中,第一終端設備可以通過多波束的方式向網路設備發送接入請求消息。Optionally, in the embodiment of the present invention, the first terminal device may send an access request message to the network device in a multi-beam manner.

其中,終端設備在通過多波束的方式發送隨機接入請求消息時,不同的波束的起始子幀的位置可以不同。When the terminal device sends a random access request message in a multi-beam manner, the positions of the start subframes of different beams may be different.

可選地,本發明實施例中,第一終端設備可以通過一個波束發送隨機接入請求消息之後,等待網路設備發送的RAR消息,如果未等到網路設備發送的RAR消息,採用另一波束發送隨機接入請求消息,並等待網路設備發送的RAR消息,如果接收到網路設備發送的RAR消息,則停止發送隨機接入請求消息,否則,再次選擇波束發送隨機接入請求消息。Optionally, in the embodiment of the present invention, after the first terminal device sends a random access request message through one beam, it waits for the RAR message sent by the network device. If it does not wait for the RAR message sent by the network device, another beam is used. Send the random access request message and wait for the RAR message sent by the network device. If the RAR message sent by the network device is received, stop sending the random access request message; otherwise, select the beam to send the random access request message again.

S220、網路設備根據該隨機接入請求消息確定RA-RNTI,相應地,第一終端設備根據該隨機接入請求消息確定RA-RNTI;S220. The network device determines the RA-RNTI according to the random access request message. Accordingly, the first terminal device determines the RA-RNTI according to the random access request message.

S230、網路設備根據RA-RNTI發送RAR消息,相應地,第一終端設備根據RA-RNTI接收網路設備發送的RAR消息,其中,該RAR消息包括指示訊息和前導碼訊息,該前導碼訊息用於指示該隨機接入前導碼;S230. The network device sends a RAR message according to the RA-RNTI. Accordingly, the first terminal device receives the RAR message sent by the network device according to the RA-RNTI. The RAR message includes an indication message and a preamble message. The preamble message Used to indicate the random access preamble;

具體地,網路設備根據RA-RNTI和該隨機接入請求消息發送RAR消息。Specifically, the network device sends an RAR message according to the RA-RNTI and the random access request message.

S240、該第一終端設備根據該指示訊息和該前導碼訊息,確定該RAR消息屬於該第一終端設備。S240. The first terminal device determines that the RAR message belongs to the first terminal device according to the instruction message and the preamble message.

為了便於說明,可以將“第一終端設備發送的隨機接入請求消息”記為“第一請求消息”,將“第一隨機接入請求消息攜帶的隨機接入前導碼”記為“第一前導碼”,將“根據第一請求消息確定的RA-RNTI”記為“第一RA-RNTI”將“網路設備根據第一請求消息發送的RAR消息”記為“第一RAR消息”。For convenience of explanation, the “random access request message sent by the first terminal device” may be recorded as a “first request message”, and the “random access preamble carried by the first random access request message” may be recorded as “first "Preamble", "RA-RNTI determined according to the first request message" is recorded as "first RA-RNTI", and "RAR message sent by the network device according to the first request message" is recorded as "first RAR message".

具體地,第一終端設備需要確定接收到的RAR消息是否屬於該第一終端設備。Specifically, the first terminal device needs to determine whether the received RAR message belongs to the first terminal device.

例如,第一終端設備發送第一請求消息之後,若第一終端設備接收的RAR消息攜帶的指示訊息與第一請求消息相匹配,且該RAR消息攜帶的前導碼訊息指示的隨機接入前導碼與第一前導碼相同,第一終端設備可以確定該RAR消息屬於該第一終端設備。For example, after the first terminal device sends the first request message, if the indication message carried in the RAR message received by the first terminal device matches the first request message, and the random access preamble indicated by the preamble message carried in the RAR message Same as the first preamble, the first terminal device may determine that the RAR message belongs to the first terminal device.

又例如,第一終端設備發送第一請求消息之後,若第一終端設備接收的RAR消息攜帶的指示訊息與第一請求消息不匹配,或該RAR消息攜帶的前導碼訊息指示的隨機接入前導碼與第一前導碼不相同,第一終端設備可以確定該RAR消息不屬於該第一終端設備。For another example, after the first terminal device sends the first request message, if the indication message carried in the RAR message received by the first terminal device does not match the first request message, or the random access preamble indicated by the preamble message carried in the RAR message The code is different from the first preamble, and the first terminal device may determine that the RAR message does not belong to the first terminal device.

與現有技術中終端設備僅根據RAR消息中的隨機接入前導碼的索引確定屬於自己的RAR消息相比,在本發明實施例中,RAR消息不僅攜帶前導碼訊息還攜帶指示訊息,第一終端設備根據RAR消息攜帶的前導碼訊息和指示訊息確定屬於自己的RAR消息,該方法具有較高的相容性,能夠適用于多種應用場景,有利於第一終端設備準確地確定屬於自己的RAR消息。Compared with the prior art, a terminal device determines its own RAR message based only on the index of the random access preamble in the RAR message. In the embodiment of the present invention, the RAR message carries not only the preamble message but also the indication message. The first terminal The device determines its own RAR message according to the preamble information and the instruction message carried by the RAR message. This method has high compatibility, can be applied to a variety of application scenarios, and helps the first terminal device accurately determine its own RAR message. .

可選地,在S240之前,該方法200還可以包括:Optionally, before S240, the method 200 may further include:

S201、第二終端設備向網路設備發送第二隨機接入請求消息,相應地,網路設備接收該第二隨機接入請求消息,可以將“第二隨機接入請求消息”記為“第二請求消息”;S201. The second terminal device sends a second random access request message to the network device. Correspondingly, when the network device receives the second random access request message, the "second random access request message" may be recorded as "the first Two request messages ";

S202、第二終端設備根據該第二請求消息確定RA-RNTI,相應地,網路設備根據該第二請求消息確定RA-RNTI,可以將“根據第二請求消息確定的RA-RNTI”記為“第二RA-RNTI”;S202. The second terminal device determines the RA-RNTI according to the second request message. Accordingly, the network device determines the RA-RNTI according to the second request message. The RA-RNTI determined according to the second request message may be recorded as "Second RA-RNTI";

S203、網路設備根據該第二RA-RNTI發送第二RAR消息;S203. The network device sends a second RAR message according to the second RA-RNTI.

S204、第二終端設備根據該第二RAR消息攜帶的前導碼訊息和指示訊息,確定該第二RAR消息為屬於自己的RAR消息,該第二終端設備停止監聽屬於自己的RAR消息;S204. The second terminal device determines that the second RAR message is its own RAR message according to the preamble information and the indication message carried in the second RAR message, and the second terminal device stops monitoring the own RAR message;

對於第一終端設備而言,網路設備發送第二RAR消息至少可以包括以下兩種情況:For the first terminal device, the network device sending the second RAR message may include at least the following two situations:

情況一、第一RA-RNTI和第二RA-RNTI不相同,第一終端設備無法接收該第二RAR消息。Case 1: The first RA-RNTI and the second RA-RNTI are different, and the first terminal device cannot receive the second RAR message.

情況二、第一RA-RNTI和第二RA-RNTI相同,第一終端設備和第二終端設備均可以接收到該第二RAR消息,該第一終端設備需要根據第二RAR消息中的指示訊息和前導碼訊息確定該第二RAR消息是否屬於該第一終端設備。若該第一終端設備確定該第二RAR消息屬於該第一終端設備,該第一終端設備可以根據該第二RAR消息進行處理;若該第一終端設備確定該第二RAR消息不屬於該第一終端設備,該第一終端設備需要繼續監聽屬於該第一終端設備的RAR消息。Case two, the first RA-RNTI and the second RA-RNTI are the same, and both the first terminal device and the second terminal device can receive the second RAR message, and the first terminal device needs to follow the instruction message in the second RAR message And the preamble message determine whether the second RAR message belongs to the first terminal device. If the first terminal device determines that the second RAR message belongs to the first terminal device, the first terminal device can process according to the second RAR message; if the first terminal device determines that the second RAR message does not belong to the first terminal device A terminal device, the first terminal device needs to continue to monitor RAR messages belonging to the first terminal device.

具體地,在情況二中,該方法200可以包括:Specifically, in the second case, the method 200 may include:

S205、第一終端設備根據第二RAR消息攜帶的前導碼訊息和指示訊息,確定該第二RAR消息不屬於該第一終端設備,該第一終端設備需要繼續監聽屬於自己的RAR消息,其中,該第二RAR消息攜帶的指示訊息與第一請求消息對應的指示訊息不同。S205. The first terminal device determines that the second RAR message does not belong to the first terminal device according to the preamble information and the instruction message carried in the second RAR message, and the first terminal device needs to continue to monitor the RAR message that belongs to itself. The indication message carried in the second RAR message is different from the indication message corresponding to the first request message.

具體地,RAR消息攜帶的指示訊息可以包括以下幾類指示訊息中的至少一類:Specifically, the indication message carried in the RAR message may include at least one of the following types of indication messages:

第一類、the first sort,

第一類指示訊息包括隨機接入請求消息佔用的資源的第二資源訊息。The first type of indication message includes a second resource message of resources occupied by the random access request message.

例如,第一RAR攜帶的指示訊息包括第一請求消息佔用的資源的第二資源訊息,第二RAR攜帶的指示訊息包括第二請求消息佔用的資源的第二資源訊息。For example, the indication message carried by the first RAR includes a second resource message of resources occupied by the first request message, and the indication message carried by the second RAR includes a second resource message of resources occupied by the second request message.

作為可選地一例,若採用方式一確定RA-RNTI,第一資源訊息和第二資源訊息的域類別不同。As an optional example, if the RA-RNTI is determined in the first manner, the domain types of the first resource message and the second resource message are different.

例如,第一資源訊息用於指示隨機接入請求消息佔用頻域資源,第二資源訊息用於指示隨機接入請求消息佔用的時域資源。即網路設備和終端設備根據隨機接入請求消息佔用的資源的第一資源訊息確定RA-RNTI,且該第一資源訊息用於指示隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示隨機接入請求消息佔用的時域資源。For example, the first resource message is used to indicate that the random access request message occupies frequency domain resources, and the second resource message is used to indicate the time domain resources occupied by the random access request message. That is, the network device and the terminal device determine the RA-RNTI according to the first resource message of the resource occupied by the random access request message, and the first resource message is used to indicate the frequency domain resource occupied by the random access request message, and the second resource The message is used to indicate the time domain resources occupied by the random access request message.

可選地,該第二資源訊息可以用於指示隨機接入請求消息佔用的時域資源的起始位置和隨機接入請求消息佔用的時域資源的結束位置中的至少一種。Optionally, the second resource message may be used to indicate at least one of a start position of the time domain resource occupied by the random access request message and an end position of the time domain resource occupied by the random access request message.

例如,該第二資源訊息具體用於指示以下訊息中的至少一種:For example, the second resource message is specifically used to indicate at least one of the following messages:

1a、隨機接入請求消息佔用的第一個子幀的編號;1a. The number of the first subframe occupied by the random access request message;

例如,第一RAR消息攜帶的指示訊息包括第二資源訊息,該第二資源訊息用於指示第一請求消息佔用的第一個子幀的編號;第二RAR消息攜帶的第二資源訊息用於指示第二請求消息佔用的第一個子幀的編號。For example, the indication message carried in the first RAR message includes a second resource message, which is used to indicate the number of the first subframe occupied by the first request message; the second resource message carried in the second RAR message is used for Indicates the number of the first subframe occupied by the second request message.

1b、隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;1b. The number of the first time slot or the first mini time slot occupied by the random access request message;

1c、隨機接入請求消息佔用的最後一個子幀的編號;1c. The number of the last subframe occupied by the random access request message;

1d、隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。1d. The number of the last time slot or the last mini time slot occupied by the random access request message.

1b、1c和1d的說明可以參見1a的相關描述,為了簡潔此處不再贅述。For the descriptions of 1b, 1c, and 1d, refer to the related description of 1a.

通過第一類指示訊息可以將頻域資源和時域資源進行分離。例如,使用隨機接入請求消息佔用的頻域資源確定RA-RNTI,使用隨機接入請求消息佔用的時域資源確定指示訊息,該方法可以使第一終端設備準確地確定屬於自己的RAR消息,同時該方法能夠降低第一終端設備接收RAR消息的複雜度。The first type of indication message can separate frequency domain resources and time domain resources. For example, the RA-RNTI is determined by using the frequency domain resources occupied by the random access request message, and the indication information is determined by using the time domain resources occupied by the random access request message. This method enables the first terminal device to accurately determine the RAR message that belongs to itself. At the same time, the method can reduce the complexity of receiving the RAR message by the first terminal device.

例如,以指示訊息包括1a為例,第一請求消息和第二請求消息佔用的頻域資源均為C,第一前導碼和第二前導碼相同均為D,第一請求消息佔用的第一個子幀的編號為N(N≥0),第二請求消息佔用的第一個子幀的編號為M(M≥0,且M≠N),網路設備接收第二請求消息後發送第二RAR消息,該第二RAR消息包括第二前導碼D的訊息和編號M,由於第一終端設備和第二終端設備使用相同的頻域資源發送隨機接入請求消息,第一終端設備和第二終端設備均可以接收到(監聽到)第二RAR消息。由於編號M與編號N不同,第一終端設備確定該第二RAR消息不屬於自己,第一終端設備繼續監聽屬於自己的RAR消息。若第一終端設備監聽到包括第一前導碼D的訊息和編號M的第一RAR消息,第一終端設備確定該第一RAR消息屬於該第一終端設備。For example, taking the indication message including 1a as an example, the frequency domain resources occupied by the first request message and the second request message are both C, the first preamble and the second preamble are both D, and the first request message occupies the first The number of each subframe is N (N≥0), and the number of the first subframe occupied by the second request message is M (M≥0, and M ≠ N). After receiving the second request message, the network device sends the first Two RAR messages. The second RAR message includes a second preamble D message and a number M. Since the first terminal device and the second terminal device use the same frequency domain resource to send a random access request message, the first terminal device and the first terminal device Both terminal devices can receive (listen to) the second RAR message. Because the number M is different from the number N, the first terminal device determines that the second RAR message does not belong to itself, and the first terminal device continues to monitor the RAR message that belongs to itself. If the first terminal device monitors the first RAR message including the message of the first preamble D and the number M, the first terminal device determines that the first RAR message belongs to the first terminal device.

作為可選地另一例,若採用方式二確定RA-RNTI,第一資源訊息和第二資源訊息指示的資源的細微性不同,且第一資源訊息指示的資源的細微性大於第二資源訊息指示的資源的細微性。As another optional example, if the RA-RNTI is determined by using the second method, the nuances of the resources indicated by the first resource message and the second resource message are different, and the nuances of the resource indicated by the first resource message are greater than those indicated by the second resource message. The nuance of the resource.

例如,第一資源訊息用於指示隨機接入請求消息(例如,第一請求消息)佔用頻域資源和時域資源,第二資源訊息用於指示隨機接入請求消息(第一請求消息)佔用的時域資源,第一資源訊息指示的時域資源的細微性大於第二資源訊息指示的時域資源的細微性。For example, the first resource message is used to indicate that a random access request message (eg, the first request message) occupies frequency domain resources and time domain resources, and the second resource message is used to indicate that the random access request message (first request message) occupies For the time domain resource, the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message.

需要說明的是,本發明實施例中的細微性可以是指資源的單位大小。例如,以時域資源為例,無線幀的細微性大於子幀的細微性,子幀的細微性大於時隙的細微性等。其中,該細微性也可以反映時域資源的精確度。換句話說,第二資源訊息指示的時域資源的精確度高於第一資源訊息指示的時域資源的精確度。It should be noted that the nuance in the embodiments of the present invention may refer to a unit size of a resource. For example, taking time domain resources as an example, the nuance of a radio frame is greater than the nuance of a subframe, and the nuance of a subframe is greater than the nuance of a time slot. Among them, this nuance can also reflect the accuracy of time domain resources. In other words, the accuracy of the time domain resource indicated by the second resource message is higher than the accuracy of the time domain resource indicated by the first resource message.

例如,第一資源訊息用於指示隨機接入請求消息佔用的無線幀的訊息,第二資源訊息用於指示隨機接入請求消息佔用的子幀的訊息。For example, the first resource message is used to indicate a radio frame occupied by a random access request message, and the second resource message is used to indicate a subframe occupied by a random access request message.

又例如,第一資源訊息用於指示隨機接入請求消息佔用的子幀的訊息,第二資源訊息用於指示隨機接入請求消息佔用的時隙(或迷你時隙)的訊息。For another example, the first resource message is used to indicate the subframe occupied by the random access request message, and the second resource message is used to indicate the timeslot (or mini-slot) occupied by the random access request message.

通過第二類指示訊息可以平衡接收RAR消息的複雜度以及接收RAR消息的次數。具體地,第一終端設備可以首先根據隨機接入請求消息佔用的頻域資源以及大細微性的時域資源接收一部分RAR消息,可以降低接收RAR消息的複雜度以及RAR消息的接收次數,第一終端設備再根據小細微性的時域資源確定屬於自己的RAR消息(即第一RAR消息),有利於第一終端設備準確地識別屬於自己的RAR消息。The complexity of receiving the RAR message and the number of times the RAR message is received can be balanced by the second type of indication message. Specifically, the first terminal device may first receive a part of the RAR message according to the frequency domain resources occupied by the random access request message and the time domain resources with great detail, which may reduce the complexity of receiving the RAR message and the number of times that the RAR message is received. The terminal device then determines its own RAR message (that is, the first RAR message) according to the small and subtle time domain resources, which is beneficial to the first terminal device to accurately identify the RAR message that belongs to it.

例如,第一終端設備通過三個波束發送第一請求消息E、第二請求消息F和第三請求消息G,第一請求消息E、第二請求消息F和第三請求消息G佔用相同的頻域資源和無線幀,且該三個請求消息佔用的第一個子幀的編號分別是1、2和3,該三個請求消息對應相同的RA-RNTI,第一終端設備可以根據該RA-RNTI接收到該三個請求消息中的任一個(無需嘗試多個RA-RNTI),能夠降低接收RAR消息的複雜度。將用於精確地指示第一請求消息的時域資源的第二資源訊息通過第一RAR消息進行承載,有利於第一終端設備可以準確地識別屬於自己的RAR消息。For example, the first terminal device sends the first request message E, the second request message F, and the third request message G through three beams, and the first request message E, the second request message F, and the third request message G occupy the same frequency. Domain resources and radio frames, and the numbers of the first subframes occupied by the three request messages are 1, 2, and 3 respectively. The three request messages correspond to the same RA-RNTI. The first terminal device may The RNTI receives any of the three request messages (without trying multiple RA-RNTIs), which can reduce the complexity of receiving RAR messages. Carrying a second resource message for accurately indicating the time domain resource of the first request message through the first RAR message is beneficial to the first terminal device to accurately identify the RAR message that belongs to it.

需要說明的是,該第二資源訊息指示的時域資源的細微性越小(精確度越高),終端設備確定自己的RAR消息的準確率越高,能夠高效地提高隨機接入的效率,避免執行無意義的隨機競爭過程。It should be noted that the smaller the nuance of the time domain resource indicated by the second resource message (the higher the accuracy), the higher the accuracy rate of the terminal device in determining its own RAR message, and the efficiency of random access can be effectively improved. Avoid performing meaningless random competition.

例如,仍然使用隨機接入請求消息佔用的頻域資源和起始子幀確定RA-RNTI,第一RAR消息包括的指示訊息為第一請求消息佔用的時隙的編號,該方法能夠提高第一終端設備確定屬於自己RAR消息的準確度,以使第一終端設備可以高效地進行隨機接入過程。For example, the RA-RNTI is still determined using the frequency domain resources and the starting subframe occupied by the random access request message. The indication message included in the first RAR message is the number of the time slot occupied by the first request message. The terminal device determines the accuracy of its own RAR message, so that the first terminal device can efficiently perform the random access process.

第二類、The second category,

第二類指示訊息以隨機接入請求消息佔用的第二資源訊息為變數的函數值的訊息。The second type of indication message is a function value of a variable with the second resource message occupied by the random access request message as a variable.

例如,第一RAR攜帶的指示訊息包括以第一請求消息佔用的資源的第二資源訊息為變數的函數值的訊息,第二RAR攜帶的指示訊息包括以第二請求消息佔用的資源的第二資源訊息為變數的函數值的訊息。For example, the indication message carried by the first RAR includes a message that uses the second resource message of the resource occupied by the first request message as a function value of the variable, and the indication message carried by the second RAR includes a second resource that uses the second request message. Resource messages are messages of function values of variables.

以第二資源訊息用於指示時域資源為例,該指示訊息可以用於指示以下訊息中的至少一種:Taking the second resource message for indicating the time domain resource as an example, the instruction message may be used for indicating at least one of the following messages:

2a、RAR消息佔用的第一個子幀的編號與隨機接入請求消息佔用的第一個子幀的編號之間的差值;2a. The difference between the number of the first subframe occupied by the RAR message and the number of the first subframe occupied by the random access request message;

例如,第一RAR消息攜帶的指示訊息用於指示第一RAR消息佔用的第一個子幀的編號與第一請求消息佔用的第一個子幀的編號之間的差值,第二RAR消息攜帶的指示訊息用於指示第二RAR消息佔用的第一個子幀的編號與第一請求消息佔用的第一個子幀的編號之間的差值。For example, the indication message carried in the first RAR message is used to indicate the difference between the number of the first subframe occupied by the first RAR message and the number of the first subframe occupied by the first request message, and the second RAR message The carried indication message is used to indicate a difference between the number of the first subframe occupied by the second RAR message and the number of the first subframe occupied by the first request message.

2b、RAR消息佔用的第一個時隙的編號與隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;2b. The difference between the number of the first time slot occupied by the RAR message and the number of the first time slot occupied by the random access request message, or the number of the first mini time slot occupied by the RAR message and the random number. The difference between the numbers of the first mini-slot occupied by the access request message;

2c、RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;2c. The difference between the number of the last subframe occupied by the RAR message and the number of the last subframe occupied by the random access request message;

2d、該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。2d. The difference between the number of the last time slot occupied by the RAR message and the number of the last time slot occupied by the random access request message, or the number of the last mini time slot occupied by the RAR message and the random number. The difference between the numbers of the last mini-slot occupied by the access request message.

2b、2c和2d的說明可以參見2a的相關描述,為了簡潔此處不再贅述。For the description of 2b, 2c, and 2d, refer to the related description of 2a. For brevity, we will not repeat them here.

第一終端設備接收到RAR消息之後,可以根據RAR消息中的指示訊息確定該RAR消息對應的隨機接入請求消息佔用的時域資源的訊息,並判斷該確定的時域資源的訊息和自己發送的隨機接入請求消息的時域資源的訊息是否相同,若相同,確定該RAR消息屬於自己,若不同,確定該RAR消息不屬於自己並繼續監聽屬於自己的RAR消息。After receiving the RAR message, the first terminal device can determine the time domain resource information occupied by the random access request message corresponding to the RAR message according to the indication message in the RAR message, and judge the determined time domain resource message and send it by itself. If the time domain resource information of the random access request message is the same, if it is the same, determine that the RAR message belongs to itself; if it is different, determine that the RAR message does not belong to itself and continue to monitor the RAR message that belongs to itself.

例如,假設指示訊息包括2a,第一請求消息和第二請求消息佔用相同的頻域資源C,第一前導碼和第二前導碼均為D,第一請求消息佔用的第一個子幀的編號為N(N≥0),第二請求消息佔用的第一個子幀的編號為M(M≥0,且M≠N),網路設備接收第二請求消息後在第K(N≤K,且M≠N)個子幀發送第二RAR消息,該第二RAR消息攜帶第二前導碼B的訊息和差值K-M,第一終端設備根據該差值K-M確定第二RAR消息對應的隨機接入請求消息佔用的第一個子幀的編號為M,第一終端設備可以確定該第二RAR消息不屬於該第一終端設備。若第一終端設備監聽到第一RAR消息,該第一RAR消息攜帶第一前導碼D的訊息和差值K-N,第一終端設備根據該差值K-N確定該第二RAR消息對應的隨機接入請求消息佔用的第一個子幀的編號為N,該第一終端設備確定該第一RAR消息對應的隨機接入請求消息與第一請求消息的前導碼訊息和佔用的資源訊息均相同,該第一終端設備確定該第一RAR消息為屬於該第一終端設備。For example, assuming that the indication message includes 2a, the first request message and the second request message occupy the same frequency domain resource C, the first preamble and the second preamble are both D, and the The number is N (N≥0), and the number of the first subframe occupied by the second request message is M (M≥0, and M ≠ N). After receiving the second request message, the network device receives the second request message at the Kth (N≤ K, and M ≠ N) subframes, the second RAR message is sent, the second RAR message carries the information of the second preamble B and the difference KM, and the first terminal device determines a random corresponding to the second RAR message according to the difference KM The number of the first subframe occupied by the access request message is M, and the first terminal device may determine that the second RAR message does not belong to the first terminal device. If the first terminal device monitors the first RAR message, the first RAR message carries the information of the first preamble D and the difference KN, and the first terminal device determines the random access corresponding to the second RAR message according to the difference KN The number of the first subframe occupied by the request message is N. The first terminal device determines that the random access request message corresponding to the first RAR message is the same as the preamble message and the occupied resource message of the first request message. The first terminal device determines that the first RAR message belongs to the first terminal device.

第三類、The third category,

第三類指示訊息包括隨機接入請求消息攜帶的除隨機接入前導碼之外的訊息。The third type of indication message includes information other than the random access preamble carried in the random access request message.

具體地,該第三類指示訊息可以包括以下訊息中的至少一種:Specifically, the third type of instruction message may include at least one of the following messages:

終端設備的位置訊息;Location information of terminal equipment;

例如,第一請求消息攜帶第一終端設備的位置訊息,該第一RAR攜帶第一終端設備的位置訊息;第二請求消息攜帶第二終端設備的位置訊息,該第二RAR攜帶第二終端設備的位置訊息。For example, the first request message carries the location information of the first terminal device, the first RAR carries the location information of the first terminal device; the second request message carries the location information of the second terminal device, and the second RAR carries the second terminal device Location.

終端設備的標識訊息;Identification information of the terminal equipment;

例如,第一請求消息攜帶第一終端設備的標識訊息,該第一RAR攜帶第一終端設備的標識訊息;第二請求消息攜帶第二終端設備的標識訊息,該第二RAR攜帶第二終端設備的標識訊息。For example, the first request message carries the identification information of the first terminal device, the first RAR carries the identification information of the first terminal device; the second request message carries the identification information of the second terminal device, and the second RAR carries the second terminal device Identification message.

終端設備的波束訊息;Beam information of terminal equipment;

隨機接入請求消息的發送時間戳記。例如,第一RAR消息攜帶第一請求消息的發送時間戳記,第二RAR消息攜帶第二請求消息的發送時間戳記。The timestamp of the random access request message sent. For example, the first RAR message carries the sending timestamp of the first request message, and the second RAR message carries the sending timestamp of the second request message.

其中,該發送時間戳記可以包括字元序列,用於標識隨機接入請求消息的發送時間,該發送時間戳記還可以具體的發送時刻(例如,北京時間12點15分50秒)。該發送時間戳記還可以是發送時刻的部分訊息(例如,50s)。The sending timestamp may include a character sequence used to identify a sending time of the random access request message, and the sending timestamp may also be a specific sending time (for example, 12:15:50 Beijing time). The sending timestamp may also be a partial message at the sending time (for example, 50s).

可選地,若RAR消息攜帶第三類指示訊息,可以將現有LTE系統中的msg2消息和msg3進行融合,能夠節省訊號開銷,提高終端設備隨機接入的效率。Optionally, if the RAR message carries a third type of indication message, the msg2 message and msg3 in the existing LTE system can be merged, which can save signal overhead and improve the efficiency of random access by the terminal device.

例如,第一終端設備發送的第一請求消息攜帶第一前導碼和第一終端設備的標識訊息,若第一終端設備接收到的RAR消息包括該第一前導碼和該標識訊息,該第一終端設備可以確定該RAR消息屬於該第一終端設備,進一步地,該第一終端設備還可以確定該第一終端設備在隨機接入過程中競爭成功。For example, the first request message sent by the first terminal device carries the first preamble and the identification information of the first terminal device. If the RAR message received by the first terminal device includes the first preamble and the identification information, the first The terminal device may determine that the RAR message belongs to the first terminal device. Further, the first terminal device may also determine that the first terminal device competes successfully in the random access process.

以上,描述了RAR消息攜帶的三類指示訊息。具體地,第一終端設備接收到RAR消息之後,判斷RAR消息攜帶的指示訊息和前導碼訊息是否與自己發送的隨機請求消息均匹配,若匹配,第一終端設備確定該RAR消息屬於自己,若不匹配確定該RAR消息不屬於自己。Above, the three types of indication messages carried in the RAR message have been described. Specifically, after receiving the RAR message, the first terminal device determines whether the indication message and the preamble message carried in the RAR message match the random request message sent by itself. If they match, the first terminal device determines that the RAR message belongs to itself. The mismatch determines that the RAR message does not belong to itself.

例如,若RAR消息攜帶的前導碼訊息指示的隨機接入前導碼與第一請求消息攜帶的第一前導碼相同,該前導碼訊息與第一請求消息匹配。反之,不匹配。For example, if the random access preamble indicated by the preamble message carried in the RAR message is the same as the first preamble carried in the first request message, the preamble message matches the first request message. Otherwise, it does not match.

又例如,若該指示訊息包括資源訊息,且該資源訊息與第一請求消息佔用的資源的第二資源訊息相同(或該指示訊息包括該第一請求消息佔用的資源的第二資源訊息),例如,該指示訊息包括的資源訊息為第一請求消息佔用的第一個子幀的編號,該指示訊息包括的資源訊息與第一請求消息匹配,反之,不匹配。For another example, if the instruction message includes a resource message and the resource message is the same as the second resource message of the resource occupied by the first request message (or the instruction message includes a second resource message of the resource occupied by the first request message), For example, the resource information included in the indication message is the number of the first subframe occupied by the first request message, and the resource information included in the indication message matches the first request message, otherwise it does not match.

再例如,若RAR消息攜帶函數值的訊息,且該函數值的訊息與第一請求消息佔用的資源的第二資源訊息為變數的函數值的訊息相同(或該指示訊息包括以第一請求消息佔用的資源的第二資源訊息為變數的函數值的訊息),例如,該指示訊息包括的函數值的訊息與第一終端設備根據第一請求消息和接收的RAR消息確定的函數值的訊息相同,該指示訊息包括的函數值的訊息與第一請求消息匹配,反之,不匹配。For another example, if the RAR message carries a function value message, and the function value message is the same as the variable resource value message of the second resource message of the resource occupied by the first request message (or the indication message includes the first request message The second resource message of the occupied resource is a variable function value message. For example, the instruction message includes a function value message that is the same as the first terminal device ’s function value message determined according to the first request message and the received RAR message. , The information of the function value included in the indication message matches the first request message, otherwise it does not match.

再例如,若該指示訊息包括位置訊息,且該位置訊息與第一請求消息攜帶的該第一終端設備的位置訊息相同(或指示訊息包括該第一終端設備的位置訊息),該指示訊息包括位置訊息與該第一請求消息匹配,反之,不匹配。As another example, if the instruction message includes location information, and the location message is the same as the location information of the first terminal device carried in the first request message (or the instruction message includes location information of the first terminal device), the instruction message includes The location information matches the first request message, and vice versa.

再例如,若該指示訊息包括標識訊息,且該標識訊息與第一請求消息攜帶的該第一終端設備的標識訊息相同(或該指示訊息包括該第一終端設備的標識訊息),該指示訊息包括標識訊息與該第一請求消息匹配,反之,不匹配。As another example, if the instruction message includes an identification message and the identification message is the same as the identification message of the first terminal device carried in the first request message (or the instruction message includes the identification message of the first terminal device), the instruction message The included identification message matches the first request message, otherwise it does not match.

再例如,若該指示訊息包括發送時間戳記,且該發送時間戳記與第一請求消息攜帶的該第一終端設備的發送時間戳記相同(該指示訊息包括第一請求消息的發送時間戳記),該指示訊息包括發送時間戳記與該第一請求消息匹配,反之,不匹配。For another example, if the indication message includes a transmission time stamp, and the transmission time stamp is the same as the transmission time stamp of the first terminal device carried in the first request message (the indication message includes a transmission time stamp of the first request message), the The indication message includes that the sending timestamp matches the first request message, otherwise, it does not match.

需要說明的是,指示訊息和前導碼訊息中任一個與隨機接入請求消息不匹配,則終端設備確定該RAR消息不屬於自己。It should be noted that if any of the indication message and the preamble message does not match the random access request message, the terminal device determines that the RAR message does not belong to itself.

可選地,該指示訊息可以承載於RAR消息的MAC subheader中。圖3是適用于本發明實施例的MAC subheader的示意圖。Optionally, the indication message may be carried in a MAC subheader of the RAR message. FIG. 3 is a schematic diagram of a MAC subheader applicable to an embodiment of the present invention.

如圖3所示,RAR消息的MAC subheader包括以下幾個欄位:As shown in Figure 3, the MAC subheader of the RAR message includes the following fields:

擴展欄位(E);Extended field (E);

類型欄位(T)Type field (T)

隨機接入前導碼的ID(RAPID);Random access preamble ID (RAPID);

該指示訊息可以承載於MAC subheader包括的欄位中的某一個欄位中。The indication message may be carried in one of the fields included in the MAC subheader.

可選地,該指示訊息可以承載於RAR消息的MAC RAR中。圖4是適用于本發明實施例的MAC RAR的一例的示意圖。該圖4主要針對普通用戶的MAC RAR。圖5是適用于本發明實施例的MAC RAR的另一例的示意圖。該圖5主要針對覆蓋增強類型用戶的MAC RAR。如圖4和圖5所示,MAC RAR至少包括以下幾個欄位:Optionally, the indication message may be carried in a MAC RAR of the RAR message. FIG. 4 is a schematic diagram of an example of a MAC RAR applicable to an embodiment of the present invention. This FIG. 4 is mainly directed to the MAC RAR of ordinary users. FIG. 5 is a schematic diagram of another example of a MAC RAR applicable to the embodiment of the present invention. This FIG. 5 is mainly directed to a MAC RAR covering an enhanced type user. As shown in Figure 4 and Figure 5, MAC RAR includes at least the following fields:

預留位(R);Reserved bit (R);

時間提前調整命令(Timing Advance Command);Timing Advance Command;

指示上行msg3 發送時所使用的資源(上行授權,UL grant);Indicate the resources (uplink grant, UL grant) used when uplink msg3 is sent;

無線網路臨時標識(Temporary C-RNTI)。Temporary C-RNTI.

該指示訊息可以承載於MCA RAR包括的欄位中的某一個欄位中。可選地,網路設備還可以在MAC RAR中增加一個擴展欄位,該擴展欄位專門用於承載該指示訊息。The instruction message may be carried in one of the fields included in the MCA RAR. Optionally, the network device may further add an extension field to the MAC RAR, and the extension field is specifically used to carry the instruction message.

因此,與現有技術中,終端設備僅根據RAR消息中攜帶的隨機接入前導碼的索引確定屬於自己的RAR消息相比,本發明實施例中RAR消息攜帶指示訊息和前導碼訊息,該方法具有較高的相容性,能夠適用于多種應用場景,有利於終端設備準確地確定屬於自己的RAR消息。Therefore, compared with the prior art, the terminal device determines its own RAR message only based on the index of the random access preamble carried in the RAR message. In the embodiment of the present invention, the RAR message carries an indication message and a preamble message. The method has The higher compatibility can be applied to various application scenarios, which is beneficial to the terminal device to accurately determine the RAR message that belongs to it.

以上,描述了根據本發明實施例的用於隨機接入的方法,以下,結合圖6至圖10詳細描述根據本發明實施例的網路設備、終端設備和系統晶片。The method for random access according to the embodiment of the present invention is described above. The network device, terminal device, and system chip according to the embodiment of the present invention are described in detail below with reference to FIGS. 6 to 10.

圖6是根據本發明實施例的網路設備300的示意性框圖。如圖6所示,一種網路設備300,該網路設備300包括:FIG. 6 is a schematic block diagram of a network device 300 according to an embodiment of the present invention. As shown in FIG. 6, a network device 300 includes:

接收模組310,用於接收第一終端設備發送的隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;The receiving module 310 is configured to receive a random access request message sent by a first terminal device, where the random access request message carries a random access preamble;

處理模組320,用於根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;A processing module 320, configured to determine a random access wireless network temporary identity RA-RNTI according to the random access request message;

發送模組330,用於根據該RA-RNTI發送隨機接入回應RAR消息,該RAR消息攜帶前導碼訊息和指示訊息,該前導碼訊息用於指示該隨機接入前導碼,該前導碼訊息和該指示訊息用於接收到該RAR消息的至少一個終端設備中的該第一終端設備確定該RAR消息屬於該第一終端設備。The sending module 330 is configured to send a random access response RAR message according to the RA-RNTI. The RAR message carries a preamble message and an instruction message, and the preamble message is used to indicate the random access preamble, the preamble message, and The indication message is used by the first terminal device among at least one terminal device that has received the RAR message to determine that the RAR message belongs to the first terminal device.

可選地,該處理模組320具體用於:根據該隨機接入請求消息佔用的資源的第一資源訊息確定該RA-RNTI; 該指示訊息包括:該隨機接入請求消息佔用的資源的第二資源訊息、以該隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息中的至少一種,其中,該第一資源訊息和該第二資源訊息不同。Optionally, the processing module 320 is specifically configured to determine the RA-RNTI according to the first resource information of the resource occupied by the random access request message; the indication message includes: the first resource of the resource occupied by the random access request message. At least one of two resource messages, a message using a second resource message of a resource occupied by the random access request message as a function value of a variable, and a message carried by the random access request message other than the random preamble, The first resource message is different from the second resource message.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源。Optionally, the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate a time domain resource occupied by the random access request message.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源,且該第一資源訊息指示的時域資源的細微性大於該第二資源訊息指示的時域資源的細微性。Optionally, the first resource message is used to indicate the frequency domain resources and time domain resources occupied by the random access request message, the second resource message is used to indicate the time domain resources occupied by the random access request message, and the The fineness of the time domain resource indicated by the first resource message is greater than the fineness of the time domain resource indicated by the second resource message.

可選地,述第二資源訊息具體用於指示該隨機接入請求消息佔用的時域資源的起始位置和該隨機接入請求消息佔用的時域資源的結束位置中的至少一種。Optionally, the second resource message is specifically used to indicate at least one of a start position of the time domain resource occupied by the random access request message and an end position of the time domain resource occupied by the random access request message.

可選地,該第二資源訊息具體用於指示以下訊息中的至少一種:該隨機接入請求消息佔用的第一個子幀的編號;該隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;該隨機接入請求消息佔用的最後一個子幀的編號;該隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。Optionally, the second resource message is specifically used to indicate at least one of the following information: the number of the first subframe occupied by the random access request message; or the first time slot occupied by the random access request message or The number of the first mini time slot; the number of the last sub frame occupied by the random access request message; the number of the last time slot or the last mini time slot occupied by the random access request message.

可選地,該函數值的訊息用於指示以下訊息中的至少一種:該RAR消息佔用的第一個子幀的編號與該隨機接入請求消息佔用的第一個子幀的編號之間的差值;該RAR消息佔用的第一個時隙的編號與該隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與該隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;該RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。Optionally, the message of the function value is used to indicate at least one of the following: a number between the number of the first subframe occupied by the RAR message and the number of the first subframe occupied by the random access request message Difference; the difference between the number of the first time slot occupied by the RAR message and the number of the first time slot occupied by the random access request message, or the number of the first mini time slot occupied by the RAR message The difference between the number and the number of the first mini-slot occupied by the random access request message; the number of the last subframe occupied by the RAR message and the number of the last subframe occupied by the random access request message The difference between the number of the last time slot occupied by the RAR message and the number of the last time slot occupied by the random access request message, or the number of the last mini time slot occupied by the RAR message The difference between the number and the number of the last mini-slot occupied by the random access request message.

可選地,該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息包括該第一終端設備的位置訊息、該第一終端設備的標識訊息以及該隨機接入請求消息的發送時間戳記中的至少一種。Optionally, the information carried by the random access request message other than the random preamble includes location information of the first terminal device, identification information of the first terminal device, and a sending timestamp of the random access request message. At least one of.

可選地,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。Optionally, the indication message is carried in a media access control subheader MAC subheader or a MAC RAR of the RAR message.

應理解,該網路設備300可對應于根據本發明實施例的用於隨機接入的方法200中的網路設備,該網路設備300可以包括用於執行上述方法中網路設備執行的方法的單元。並且,該網路設備300中的各單元和上述其他操作和/或功能分別為了上述方法的相應流程,為了簡潔,在此不再贅述。It should be understood that the network device 300 may correspond to the network device in the method 200 for random access according to the embodiment of the present invention, and the network device 300 may include a method for executing the method performed by the network device in the foregoing method. The unit. In addition, each unit in the network device 300 and the other operations and / or functions are respectively corresponding to the corresponding processes of the above method, and are not repeated here for brevity.

圖7是根據本發明實施例的終端設備400的示意性框圖。如圖7所示,一種終端設備,該終端設備為第一終端設備,該終端設備包括:FIG. 7 is a schematic block diagram of a terminal device 400 according to an embodiment of the present invention. As shown in FIG. 7, a terminal device is a first terminal device, and the terminal device includes:

發送模組410,用於向網路設備發送隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;A sending module 410 is configured to send a random access request message to a network device, where the random access request message carries a random access preamble;

處理模組420,用於根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;A processing module 420, configured to determine a random access wireless network temporary identity RA-RNTI according to the random access request message;

接收模組430,用於根據該RA-RNTI接收該網路設備發送的隨機接入回應RAR消息,該RAR消息攜帶前導碼訊息和指示訊息;The receiving module 430 is configured to receive a random access response RAR message sent by the network device according to the RA-RNTI, where the RAR message carries a preamble message and an instruction message;

該處理模組420還用於:根據該隨機接入請求消息攜帶的隨機接入前導碼、該前導碼訊息和該指示訊息確定該RAR消息是否屬於該第一終端設備。The processing module 420 is further configured to determine whether the RAR message belongs to the first terminal device according to a random access preamble, the preamble message, and the indication message carried in the random access request message.

可選地,該處理模組420具體用於根據該隨機接入請求消息佔用的資源的第一資源訊息確定該RA-RNTI;若該前導碼訊息指示的隨機接入前導碼與該隨機接入請求消息攜帶的隨機接入前導碼相同,且該指示訊息包括:該隨機接入請求消息佔用的資源的第二資源訊息、以該第二資源訊息為變數的函數值的訊息、以及該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息中的至少一種,該處理模組420還用於:確定該RAR消息屬於該第一終端設備;其中,該第一資源訊息和該第二資源訊息不同。Optionally, the processing module 420 is specifically configured to determine the RA-RNTI according to a first resource message of resources occupied by the random access request message; if the random access preamble indicated by the preamble message and the random access The random access preamble carried in the request message is the same, and the indication message includes: a second resource message of a resource occupied by the random access request message, a message using the second resource message as a function value, and the random access The processing module 420 is further configured to determine that the RAR message belongs to the first terminal device; wherein the first resource message and the second The resource information is different.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源。Optionally, the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate a time domain resource occupied by the random access request message.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源,且該第一資源訊息指示的時域資源的細微性大於該第二資源訊息指示的時域資源的細微性。Optionally, the first resource message is used to indicate the frequency domain resources and time domain resources occupied by the random access request message, the second resource message is used to indicate the time domain resources occupied by the random access request message, and the The fineness of the time domain resource indicated by the first resource message is greater than the fineness of the time domain resource indicated by the second resource message.

可選地,該第二資源訊息具體用於指示該隨機接入請求消息佔用的時域資源的起始位置和該隨機接入請求消息佔用的頻域資源的結束位置中的至少一種。Optionally, the second resource message is specifically used to indicate at least one of a start position of a time domain resource occupied by the random access request message and an end position of a frequency domain resource occupied by the random access request message.

可選地,該第二資源訊息具體用於指示以下訊息中的至少一種:該隨機接入請求消息佔用的第一個子幀的編號;該隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;該隨機接入請求消息佔用的最後一個子幀的編號;該隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。Optionally, the second resource message is specifically used to indicate at least one of the following information: the number of the first subframe occupied by the random access request message; or the first time slot occupied by the random access request message or The number of the first mini time slot; the number of the last sub frame occupied by the random access request message; the number of the last time slot or the last mini time slot occupied by the random access request message.

可選地,該函數值的訊息用於指示以下訊息中的至少一種:該RAR消息佔用的第一個子幀的編號與該隨機接入請求消息佔用的第一個子幀的編號之間的差值;該RAR消息佔用的第一個時隙的編號與該隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與該隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;該RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。Optionally, the message of the function value is used to indicate at least one of the following: a number between the number of the first subframe occupied by the RAR message and the number of the first subframe occupied by the random access request message Difference; the difference between the number of the first time slot occupied by the RAR message and the number of the first time slot occupied by the random access request message, or the number of the first mini time slot occupied by the RAR message The difference between the number and the number of the first mini-slot occupied by the random access request message; the number of the last subframe occupied by the RAR message and the number of the last subframe occupied by the random access request message The difference between the number of the last time slot occupied by the RAR message and the number of the last time slot occupied by the random access request message, or the number of the last mini time slot occupied by the RAR message The difference between the number and the number of the last mini-slot occupied by the random access request message.

可選地,該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息包括該第一終端設備的位置訊息、該第一終端設備的標識訊息以及該隨機接入請求消息的發送時間戳記中的至少一種。Optionally, the information carried by the random access request message other than the random preamble includes location information of the first terminal device, identification information of the first terminal device, and a sending timestamp of the random access request message. At least one of.

可選地,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。Optionally, the indication message is carried in a media access control subheader MAC subheader or a MAC RAR of the RAR message.

可選地,若該前導碼訊息指示的隨機接入前導碼與該隨機接入請消息攜帶的隨機接入前導碼不同,或該指示訊息與該隨機請求消息不匹配,該方法還包括:該第一終端設備確定該RAR消息不屬於該第一終端設備;其中,該指示訊息與該隨機接入請求消息不匹配,包括:該指示訊息包括的資源訊息與該隨機接入請求消息佔用的資源的第二資源訊息不同;和/或該指示訊息包括的函數值的訊息與以該隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息不同;和/或該指示訊息包括的位置訊息與該隨機接入請求消息攜帶的該第一終端設備的位置訊息不同;和/或該指示訊息包括的標識訊息與該隨機接入請求消息攜帶的該第一終端設備的標識訊息不同;和/或該指示訊息包括的發送時間戳記與該隨機接入請求消息攜帶的發送時間戳記不同。Optionally, if the random access preamble indicated by the preamble message is different from the random access preamble carried in the random access request message, or the indication message does not match the random request message, the method further includes: The first terminal device determines that the RAR message does not belong to the first terminal device. The indication message does not match the random access request message, and includes: the resource information included in the indication message and the resources occupied by the random access request message. The second resource information is different; and / or the information of the function value included in the indication message is different from the information of the function value using the second resource information of the resource occupied by the random access request message as a variable; and / or the indication information The included location information is different from the location information of the first terminal device carried in the random access request message; and / or the identification message included in the indication message and the identification information of the first terminal device carried in the random access request message Different; and / or the sending timestamp included in the indication message is different from the sending timestamp carried in the random access request message.

應理解,該終端設備400可對應于根據本發明實施例的用於隨機接入的方法200中的第一終端設備,該終端設備400可以包括用於執行上述方法中第一終端設備執行的方法的單元。並且,該終端設備中的各單元和上述其他操作和/或功能分別為了上述方法的相應流程,為了簡潔,在此不再贅述。It should be understood that the terminal device 400 may correspond to the first terminal device in the method 200 for random access according to the embodiment of the present invention, and the terminal device 400 may include a method for executing the method performed by the first terminal device in the foregoing method. The unit. In addition, each unit in the terminal device and the other operations and / or functions are respectively corresponding to the corresponding processes of the foregoing method, and for the sake of brevity, details are not described herein again.

圖8是根據本發明實施例的網路設備500的示意性框圖。如圖8所示,該網路設備500包括收發器510和處理器520。FIG. 8 is a schematic block diagram of a network device 500 according to an embodiment of the present invention. As shown in FIG. 8, the network device 500 includes a transceiver 510 and a processor 520.

其中,收發器510用於:接收第一終端設備發送的隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;處理器520用於:根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;收發器510還用於:根據該RA-RNTI發送隨機接入回應RAR消息,該RAR消息攜帶前導碼訊息和指示訊息,該前導碼訊息和該指示訊息用於接收到該RAR消息的至少一個終端設備中的該第一終端設備確定該RAR消息為屬於該第一終端設備的RAR消息,該前導碼訊息還用於指示該隨機接入前導碼。The transceiver 510 is configured to receive a random access request message sent by the first terminal device, where the random access request message carries a random access preamble; and the processor 520 is configured to determine a random access according to the random access request message. The radio network temporary identification RA-RNTI; the transceiver 510 is further configured to send a random access response RAR message according to the RA-RNTI, the RAR message carrying a preamble message and an instruction message, the preamble message and the instruction message are used for The first terminal device among at least one terminal device receiving the RAR message determines that the RAR message is an RAR message belonging to the first terminal device, and the preamble message is further used to indicate the random access preamble.

應理解,該網路設備500可對應于根據本發明實施例的用於隨機接入的方法200中的網路設備,該網路設備可以包括用於執行上述方法中網路設備執行的方法的實體單元。並且,該網路設備中的各實體單元和上述其他操作和/或功能分別為了上述方法的相應流程,為了簡潔,在此不再贅述。It should be understood that the network device 500 may correspond to the network device in the method 200 for random access according to the embodiment of the present invention, and the network device may include a method for executing the method performed by the network device in the foregoing method. Entity Unit. In addition, each entity unit in the network device and the other operations and / or functions are respectively corresponding to the corresponding processes of the above method, and for the sake of brevity, they are not repeated here.

圖9是根據本發明實施例的終端設備600的示意性框圖。具體地,該終端設備600為第一終端設備,如圖6所示,該終端設備600包括收發器610和處理器620。FIG. 9 is a schematic block diagram of a terminal device 600 according to an embodiment of the present invention. Specifically, the terminal device 600 is a first terminal device. As shown in FIG. 6, the terminal device 600 includes a transceiver 610 and a processor 620.

收發器610用於:向網路設備發送隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;處理器620用於:根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;收發器610還用於:根據該RA-RNTI接收該網路設備根據該隨機接入請求消息發送的隨機接入回應RAR消息,該RAR消息攜帶前導碼訊息和指示訊息,該前導碼訊息用於指示該隨機接入前導碼;該處理器630還用於:根據該前導碼訊息和該指示訊息,確定該RAR消息為屬於該第一終端設備的RAR消息The transceiver 610 is configured to send a random access request message to a network device, where the random access request message carries a random access preamble; the processor 620 is configured to determine a random access wireless network according to the random access request message The temporary identification RA-RNTI; the transceiver 610 is further configured to receive, according to the RA-RNTI, a random access response RAR message sent by the network device according to the random access request message, the RAR message carrying a preamble message and an indication message, The preamble message is used to indicate the random access preamble; the processor 630 is further configured to determine that the RAR message is a RAR message belonging to the first terminal device according to the preamble message and the indication message.

應理解,該終端設備600可對應于根據本發明實施例的用於隨機接入的方法200中的第一終端設備,該終端設備600可以包括用於執行上述方法中第一終端設備執行的方法的實體單元。並且,該終端設備中的各實體單元和上述其他操作和/或功能分別為了上述方法的相應流程,為了簡潔,在此不再贅述。It should be understood that the terminal device 600 may correspond to the first terminal device in the method 200 for random access according to the embodiment of the present invention, and the terminal device 600 may include a method for executing the method performed by the first terminal device in the foregoing method. Physical unit. In addition, each entity unit in the terminal device and the other operations and / or functions described above respectively correspond to the corresponding processes of the foregoing method, and for the sake of brevity, details are not described herein again.

圖10是本發明實施例的系統晶片的示意性結構圖。圖10的系統晶片700包括輸入介面701、輸出介面702、該處理器703以及記憶體704之間通過匯流排705相連,該處理器703用於執行該記憶體704中的代碼。FIG. 10 is a schematic structural diagram of a system chip according to an embodiment of the present invention. The system chip 700 of FIG. 10 includes an input interface 701, an output interface 702, the processor 703, and a memory 704 connected through a bus 705. The processor 703 is configured to execute code in the memory 704.

可選地,當該代碼被執行時,該處理器703實現方法實施例中由網路設備執行的方法。為了簡潔,在此不再贅述。Optionally, when the code is executed, the processor 703 implements the method executed by the network device in the method embodiment. For brevity, I will not repeat them here.

可選地,當該代碼被執行時,該處理器703實現方法實施例中由第一設備執行的方法。為了簡潔,在此不再贅述。Optionally, when the code is executed, the processor 703 implements the method executed by the first device in the method embodiment. For brevity, I will not repeat them here.

應理解,本發明實施例中的處理器可以是一種積體電路晶片,具有訊號的處理能力。在實現過程中,上述方法實施例的各步驟可以通過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是中央處理模組(Central Processing Unit,CPU)、該處理器還可以是其他通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列(Field Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件。可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體器組合執行完成。軟體器可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電子抹除式可程式設計記憶體、寄存器等本領域成熟的儲存媒介中。該儲存媒介位於記憶體,處理器讀取記憶體中的訊息,結合其硬體完成上述方法的步驟。It should be understood that the processor in the embodiment of the present invention may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method embodiments may be completed by using hardware integrated logic circuits or instructions in the form of software in a processor. The above processor may be a Central Processing Unit (CPU), the processor may also be other general-purpose processors, digital signal processors (DSPs), and application specific integrated circuits (Application Specific Integrated Circuits) , ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention may be directly implemented and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software in the decoding processor. The software device may be located in a mature storage medium such as a random memory, a flash memory, a read-only memory, a programmable read-only memory or an electronic erasable programmable memory, a register, and the like in the field. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

還應理解,本發明實施例中的記憶體可以是易失性記憶體或非揮發性記憶體,或可包括易失性和非揮發性記憶體兩者。其中,非揮發性記憶體可以是唯讀記憶體(Read-Only Memory,ROM)、可程式設計唯讀記憶體(Programmable ROM,PROM)、可擦除可程式設計唯讀記憶體(Erasable PROM,EPROM)、電可擦除可程式設計唯讀記憶體(Electrically EPROM,EEPROM)或快閃記憶體。易失性記憶體可以是隨機存取記憶體(Random Access Memory,RAM”),其用作外部快取記憶體。通過示例性但不是限制性說明,許多形式的RAM可用,例如靜態隨機存取記憶體(Static RAM,SRAM)、動態隨機存取記憶體(Dynamic RAM,DRAM)、同步動態隨機存取記憶體(Synchronous DRAM,SDRAM)、雙倍數據速率同步動態隨機存取記憶體(Double Data Rate SDRAM,DDR SDRAM)、增強型同步動態隨機存取記憶體(Enhanced SDRAM,ESDRAM)、同步連接動態隨機存取記憶體(Synchlink DRAM, SLDRAM)和直接記憶體匯流排隨機存取記憶體(Direct Rambus RAM,DR RAM)。應注意,本文描述的系統和方法的記憶體旨在包括但不限於這些和任意其它適合類型的記憶體。It should also be understood that the memory in the embodiment of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), and erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable and programmable ROM (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be Random Access Memory (RAM), which is used as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as static random access Memory (Static RAM, SRAM), Dynamic Random Access Memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), Synchronous Link Dynamic Random Access Memory (Synchlink DRAM, SLDRAM), and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

還應理解,該匯流排系統除包括資料匯流排之外,還可以包括電源匯流排、控制匯流排和狀態訊號匯流排等。但是為了清楚說明起見,在圖中將各種匯流排都標為匯流排系統。It should also be understood that, in addition to the data bus, the bus system may also include a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various busbars are marked as a busbar system in the figure.

本發明實施例還提出了一種電腦可讀儲存媒介,該電腦可讀儲存媒介存儲一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的可擕式電子設備執行時,能夠使該可擕式電子設備執行本發明實施例的方法。An embodiment of the present invention also provides a computer-readable storage medium that stores one or more programs. The one or more programs include instructions. The instructions should be portable electronic devices including multiple application programs. When the device executes, the portable electronic device can be caused to execute the method in the embodiment of the present invention.

所屬技術領域中具有通常知識者可以意識到,結合本文中所公開的實施例描述的各示例的單元及演算法步驟,能夠以電子硬體、或者電腦軟體和電子硬體的結合來實現。這些功能究竟以硬體還是軟體方式來執行,取決於技術方案的特定應用和設計約束條件。專業技術人員可以對每個特定的應用來使用不同方法來實現所描述的功能,但是這種實現不應認為超出本發明實施例的範圍。Those with ordinary knowledge in the technical field may realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present invention.

所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統、裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.

在本發明實施例所提供的幾個實施例中,應該理解到,所揭露的系統、裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,該單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通訊連接可以是通過一些介面,裝置或單元的間接耦合或通訊連接,可以是電性,機械或其它的形式。In the several embodiments provided by the embodiments of the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or elements may be combined or integrated. To another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be 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, which may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.

另外,在本發明實施例各個實施例中的各功能單元可以集成在一個處理模組中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。In addition, each functional unit in each of the embodiments of the present invention may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one unit.

該功能如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取儲存媒介中。基於這樣的理解,本發明實施例的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的部分可以以軟體產品的形式體現出來,該電腦軟體產品存儲在一個儲存媒介中,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本發明實施例各個實施例該方法的全部或部分步驟。而前述的儲存媒介包括:U盤、移動硬碟、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁碟或者光碟等各種可以存儲程式代碼的媒介。If this function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. It includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method in each embodiment of the present invention. The aforementioned storage media include: U disks, removable hard disks, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, and other various program codes that can be stored Media.

以上所述,僅為本發明實施例的具體實施方式,但本發明實施例的保護範圍並不局限於此,任何熟悉本技術領域的技術人員在本發明實施例揭露的技術範圍內,可輕易想到變化或替換,都應涵蓋在本發明實施例的保護範圍之內。因此,本發明實施例的保護範圍應該以權利要求的保護範圍為准。The above are only specific implementations of the embodiments of the present invention, but the scope of protection of the embodiments of the present invention is not limited to this. Any person familiar with the technical field can easily implement the technical scope disclosed by the embodiments of the present invention. Any change or replacement is considered to be covered by the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be subject to the protection scope of the claims.

100‧‧‧無線通訊系統100‧‧‧Wireless communication system

110‧‧‧網路設備110‧‧‧Network equipment

120‧‧‧第一終端設備120‧‧‧The first terminal equipment

130‧‧‧第二終端設備130‧‧‧Second terminal equipment

200‧‧‧方法200‧‧‧ Method

S201、S202、S203、S204、S205‧‧‧步驟S201, S202, S203, S204, S205 ‧‧‧ steps

S210、S220、S230、S240‧‧‧步驟S210, S220, S230, S240 ‧‧‧ steps

300‧‧‧網路設備300‧‧‧ network equipment

310‧‧‧接收模組310‧‧‧Receiving Module

320‧‧‧處理模組320‧‧‧Processing Module

330‧‧‧發送模組330‧‧‧Send Module

400‧‧‧終端設備400‧‧‧ terminal equipment

410‧‧‧發送模組410‧‧‧Send Module

420‧‧‧處理模組420‧‧‧Processing Module

430‧‧‧接收模組430‧‧‧Receiving module

500‧‧‧網路設備500‧‧‧ network equipment

510‧‧‧收發器510‧‧‧ Transceiver

520‧‧‧處理器520‧‧‧Processor

600‧‧‧終端設備600‧‧‧ terminal equipment

610‧‧‧收發器610‧‧‧ Transceiver

620‧‧‧處理器620‧‧‧Processor

700‧‧‧系統晶片700‧‧‧ System Chip

701‧‧‧輸入介面701‧‧‧ input interface

702‧‧‧輸出介面702‧‧‧ output interface

703‧‧‧處理器703‧‧‧Processor

704‧‧‧記憶體704‧‧‧Memory

705‧‧‧匯流排705‧‧‧Bus

圖1是適用于本發明實施例的無線通訊系統的示意圖。 圖2是根據本發明實施例的用於隨機接入的方法的示意性流程圖。 圖3是適用于本發明實施例的媒介存取控制子頭MAC subheader的示意圖。 圖4是適用于本發明實施例的MAC RAR的一例的示意圖。 圖5是適用于本發明實施例的MAC RAR的另一例的示意圖。 圖6是根據本發明實施例的網路設備的一例的示意性框圖。 圖7是根據本發明實施例的終端設備的一例的示意性框圖。 圖8是根據本發明實施例的網路設備的另一例的示意性框圖。 圖9是根據本發明實施例的終端設備的另一例的示意性框圖。 圖10根據本發明實施例的系統晶片的示意性框圖。FIG. 1 is a schematic diagram of a wireless communication system applicable to an embodiment of the present invention. FIG. 2 is a schematic flowchart of a method for random access according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a MAC subheader suitable for use in an embodiment of the present invention. FIG. 4 is a schematic diagram of an example of a MAC RAR applicable to an embodiment of the present invention. FIG. 5 is a schematic diagram of another example of a MAC RAR applicable to the embodiment of the present invention. FIG. 6 is a schematic block diagram of an example of a network device according to an embodiment of the present invention. FIG. 7 is a schematic block diagram of an example of a terminal device according to an embodiment of the present invention. FIG. 8 is a schematic block diagram of another example of a network device according to an embodiment of the present invention. FIG. 9 is a schematic block diagram of another example of a terminal device according to an embodiment of the present invention. FIG. 10 is a schematic block diagram of a system chip according to an embodiment of the present invention.

Claims (38)

一種用於隨機接入的方法,其中,所述方法包括: 網路設備接收第一終端設備發送的隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼; 所述網路設備根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;以及 所述網路設備根據所述RA-RNTI發送隨機接入回應RAR消息,所述RAR消息攜帶前導碼訊息和指示訊息,所述前導碼訊息用於指示所述隨機接入前導碼,所述前導碼訊息和所述指示訊息用於接收到所述RAR消息的至少一個終端設備中的所述第一終端設備確定所述RAR消息屬於所述第一終端設備。A method for random access, wherein the method includes: a network device receiving a random access request message sent by a first terminal device, the random access request message carrying a random access preamble; the network The device determines a random access wireless network temporary identity RA-RNTI according to the random access request message; and the network device sends a random access response RAR message according to the RA-RNTI, the RAR message carrying a preamble message And an instruction message, the preamble message is used to indicate the random access preamble, and the preamble message and the instruction message are used for the first terminal among at least one terminal device that received the RAR message The device determines that the RAR message belongs to the first terminal device. 如申請專利範圍第1項所述的方法,其中,所述網路設備根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI,包括: 所述網路設備根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述RA-RNTI;以及 所述指示訊息包括:所述隨機接入請求消息佔用的資源的第二資源訊息、以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息中的至少一種,其中,所述第一資源訊息和所述第二資源訊息不同。The method according to item 1 of the scope of patent application, wherein the network device determining the random access wireless network temporary identity RA-RNTI according to the random access request message includes: the network device according to the A first resource message of a resource occupied by a random access request message determines the RA-RNTI; and the indication message includes: a second resource message of a resource occupied by the random access request message, and the random access request The second resource message of the resource occupied by the message is at least one of a variable function value message and a message other than the random preamble carried in the random access request message, wherein the first resource message It is different from the second resource message. 如申請專利範圍第2項所述的方法,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。The method according to item 2 of the scope of patent application, wherein the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate the random access The time domain resource occupied by the request message. 如申請專利範圍第2項所述的方法,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源和時域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源,且所述第一資源訊息指示的時域資源的細微性大於所述第二資源訊息指示的時域資源的細微性。The method according to item 2 of the scope of patent application, wherein the first resource message is used to indicate a frequency domain resource and a time domain resource occupied by the random access request message, and the second resource message is used to indicate the The time domain resource occupied by the random access request message is described, and the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message. 如申請專利範圍第4項所述的方法,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的時域資源的結束位置中的至少一種。The method according to item 4 of the scope of patent application, wherein the second resource message is specifically used to indicate a start position of a time domain resource occupied by the random access request message and a location occupied by the random access request message. At least one of the end positions of the time domain resource. 如申請專利範圍第3至5項中任一項所述的方法,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種: 所述隨機接入請求消息佔用的第一個子幀的編號; 所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號; 所述隨機接入請求消息佔用的最後一個子幀的編號;以及 所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。The method according to any one of claims 3 to 5, wherein the second resource message is specifically used to indicate at least one of the following messages: a first sub-node occupied by the random access request message The number of the frame; the number of the first slot or the first mini-slot occupied by the random access request message; the number of the last subframe occupied by the random access request message; and the random access Number of the last time slot or last mini time slot occupied by the request message. 如申請專利範圍第3至5項中任一項所述的方法,其中,所述函數值的訊息用於指示以下訊息中的至少一種: 所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值; 所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值; 所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及 所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。The method according to any one of claims 3 to 5, wherein the information of the function value is used to indicate at least one of the following information: the number of the first subframe occupied by the RAR message and The difference between the number of the first subframe occupied by the random access request message; the number of the first time slot occupied by the RAR message and the first time slot occupied by the random access request message The difference between the numbers of the RAR or the number of the first mini-slot occupied by the RAR message and the number of the first mini-slot occupied by the random access request message; the RAR The difference between the number of the last subframe occupied by the message and the number of the last subframe occupied by the random access request message; and the number of the last slot occupied by the RAR message and the random access The difference between the number of the last time slot occupied by the request message, or the number of the last mini time slot occupied by the RAR message and the number of the last mini time slot occupied by the random access request message Difference. 如申請專利範圍第7項所述的方法,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。The method according to item 7 of the scope of patent application, wherein the information carried in the random access request message other than the random preamble includes location information of the first terminal device, the first terminal device At least one of an identification message and a sending time stamp of the random access request message. 如申請專利範圍第8項所述的方法,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。The method according to item 8 of the scope of patent application, wherein the indication message is carried in a MAC subheader or a MAC RAR of a media access control subheader of the RAR message. 一種用於隨機接入的方法,其中,所述方法包括: 第一終端設備向網路設備發送隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼; 所述第一終端設備根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI; 所述第一終端設備根據所述RA-RNTI接收所述網路設備發送的隨機接入回應RAR消息,所述RAR消息攜帶前導碼訊息和指示訊息;以及 所述第一終端設備根據所述隨機接入請求消息攜帶的隨機接入前導碼、所述前導碼訊息和所述指示訊息確定所述RAR消息是否屬於所述第一終端設備。A method for random access, wherein the method includes: a first terminal device sending a random access request message to a network device, the random access request message carrying a random access preamble; the first terminal The device determines a random access wireless network temporary identifier RA-RNTI according to the random access request message; the first terminal device receives a random access response RAR message sent by the network device according to the RA-RNTI, and The RAR message carries a preamble message and an indication message; and the first terminal device determines whether the RAR message is based on a random access preamble, the preamble message, and the indication message carried in the random access request message. Belongs to the first terminal device. 如申請專利範圍第10項所述的方法,其中,所述第一終端設備根據所述RA-RNTI接收所述網路設備發送的隨機接入回應RAR消息,包括: 所述第一終端設備根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述RA-RNTI; 若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請求消息攜帶的隨機接入前導碼相同,且所述指示訊息包括:所述隨機接入請求消息佔用的資源的第二資源訊息、以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息中的至少一種, 所述方法還包括: 所述第一終端設備確定所述RAR消息屬於所述第一終端設備;以及 其中,所述第一資源訊息和所述第二資源訊息不同。The method according to claim 10, wherein the receiving, by the first terminal device according to the RA-RNTI, a random access response RAR message sent by the network device includes: The first resource information of the resources occupied by the random access request message determines the RA-RNTI; if the random access preamble indicated by the preamble message and the random access preamble carried in the random access request message The same, and the indication message includes: a second resource message of a resource occupied by the random access request message, a message using a second resource message of a resource occupied by the random access request message as a function value of a variable, and The random access request message carries at least one of messages other than the random preamble, the method further includes: the first terminal device determines that the RAR message belongs to the first terminal device; and The first resource message is different from the second resource message. 如申請專利範圍第11項所述的方法,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。The method according to item 11 of the scope of patent application, wherein the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate the random access The time domain resource occupied by the request message. 如申請專利範圍第11項所述的方法,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源和時域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源,且所述第一資源訊息指示的時域資源的細微性大於所述第二資源訊息指示的時域資源的細微性。The method according to item 11 of the scope of patent application, wherein the first resource message is used to indicate a frequency domain resource and a time domain resource occupied by the random access request message, and the second resource message is used to indicate the The time domain resource occupied by the random access request message is described, and the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message. 如申請專利範圍第13項所述的方法,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的時域資源的結束位置中的至少一種。The method according to item 13 of the scope of patent application, wherein the second resource message is specifically used to indicate a start position of a time domain resource occupied by the random access request message and a location occupied by the random access request message. At least one of the end positions of the time domain resource. 如申請專利範圍第14項所述的方法,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種: 所述隨機接入請求消息佔用的第一個子幀的編號; 所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號; 所述隨機接入請求消息佔用的最後一個子幀的編號;以及 所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。The method according to item 14 of the scope of patent application, wherein the second resource message is specifically used to indicate at least one of the following information: a number of a first subframe occupied by the random access request message; the The number of the first time slot or the first mini time slot occupied by the random access request message; the number of the last subframe occupied by the random access request message; and the last occupied by the random access request message The time slot or last mini-slot number. 如申請專利範圍第15項所述的方法,其中,所述函數值的訊息用於指示以下訊息中的至少一種: 所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值; 所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值; 所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及 所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。The method according to item 15 of the scope of patent application, wherein the information of the function value is used to indicate at least one of the following information: a number of a first subframe occupied by the RAR message and the random access request The difference between the number of the first subframe occupied by the message; the difference between the number of the first timeslot occupied by the RAR message and the number of the first timeslot occupied by the random access request message Value, or the difference between the number of the first mini-slot occupied by the RAR message and the number of the first mini-slot occupied by the random access request message; the last child occupied by the RAR message The difference between the number of the frame and the number of the last subframe occupied by the random access request message; and the number of the last time slot occupied by the RAR message and the last one occupied by the random access request message The difference between the numbers of the time slots, or the difference between the number of the last mini time slot occupied by the RAR message and the number of the last mini time slot occupied by the random access request message. 如申請專利範圍第16項所述的方法,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。The method according to item 16 of the scope of patent application, wherein the information other than the random preamble carried in the random access request message includes location information of the first terminal device, the first terminal device At least one of an identification message and a sending time stamp of the random access request message. 如申請專利範圍第17項所述的方法,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。The method according to item 17 of the scope of patent application, wherein the indication message is carried in a MAC subheader or a MAC RAR of a media access control subheader of the RAR message. 如申請專利範圍第10至18項中任一項所述的方法,其中,若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請消息攜帶的隨機接入前導碼不同,或所述指示訊息與所述隨機請求消息不匹配,所述方法還包括: 所述第一終端設備確定所述RAR消息不屬於所述第一終端設備; 其中,所述指示訊息與所述隨機接入請求消息不匹配,包括: 所述指示訊息包括的資源訊息與所述隨機接入請求消息佔用的資源的第二資源訊息不同;和/或 所述指示訊息包括的函數值的訊息與以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息不同;和/或 所述指示訊息包括的位置訊息與所述隨機接入請求消息攜帶的所述第一終端設備的位置訊息不同;和/或 所述指示訊息包括的標識訊息與所述隨機接入請求消息攜帶的所述第一終端設備的標識訊息不同;和/或 所述指示訊息包括的發送時間戳記與所述隨機接入請求消息攜帶的發送時間戳記不同。The method according to any one of claims 10 to 18 of the scope of patent application, wherein if the random access preamble indicated by the preamble message is different from the random access preamble carried in the random access request message, Or the instruction message does not match the random request message, the method further includes: the first terminal device determines that the RAR message does not belong to the first terminal device; wherein the instruction message and the random request message The access request message does not match and includes: the resource information included in the indication message is different from the second resource information of the resource occupied by the random access request message; and / or the information of the function value included in the indication message and the The second resource information of the resource occupied by the random access request message is different from that of the variable value; and / or the location information included in the indication message and the first terminal carried in the random access request message The location information of the device is different; and / or the identification information included in the indication message is different from the identification information of the first terminal device carried in the random access request message; And / or the sending timestamp included in the indication message is different from the sending timestamp carried in the random access request message. 一種網路設備,其中,所述網路設備包括: 接收模組,用於接收第一終端設備發送的隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼; 處理模組,用於根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;以及 發送模組,用於根據所述RA-RNTI發送隨機接入回應RAR消息,所述RAR消息攜帶前導碼訊息和指示訊息,所述前導碼訊息用於指示所述隨機接入前導碼,所述前導碼訊息和所述指示訊息用於接收到所述RAR消息的至少一個終端設備中的所述第一終端設備確定所述RAR消息屬於所述第一終端設備。A network device, wherein the network device includes: a receiving module for receiving a random access request message sent by a first terminal device, the random access request message carrying a random access preamble; a processing module For determining a random access wireless network temporary identity RA-RNTI according to the random access request message; and a sending module for sending a random access response RAR message according to the RA-RNTI, where the RAR message carries A preamble message and an instruction message, where the preamble message is used to indicate the random access preamble, and the preamble message and the instruction message are used in the at least one terminal device that received the RAR message The first terminal device determines that the RAR message belongs to the first terminal device. 如申請專利範圍第20項所述的網路設備,其中,所述處理模組具體用於:根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述RA-RNTI;以及 所述指示訊息包括:所述隨機接入請求消息佔用的資源的第二資源訊息、以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息中的至少一種,其中,所述第一資源訊息和所述第二資源訊息不同。The network device according to item 20 of the patent application scope, wherein the processing module is specifically configured to: determine the RA-RNTI according to a first resource message of a resource occupied by the random access request message; and The instruction message includes: a second resource message of a resource occupied by the random access request message, a message using a second resource message of the resource occupied by the random access request message as a function value of a variable, and the random access request At least one of messages other than the random preamble carried in the incoming request message, wherein the first resource message and the second resource message are different. 如申請專利範圍第21項所述的網路設備,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。The network device according to item 21 of the patent application scope, wherein the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate the random resource Time domain resources occupied by the access request message. 如申請專利範圍第21項所述的網路設備,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源和時域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源,且所述第一資源訊息指示的時域資源的細微性大於所述第二資源訊息指示的時域資源的細微性。The network device according to item 21 of the patent application scope, wherein the first resource message is used to indicate a frequency domain resource and a time domain resource occupied by the random access request message, and the second resource message is used to Indicates the time domain resource occupied by the random access request message, and the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message. 如申請專利範圍第23項所述的網路設備,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的時域資源的結束位置中的至少一種。The network device according to item 23 of the scope of patent application, wherein the second resource message is specifically used to indicate a start position of a time domain resource occupied by the random access request message and the random access request message At least one of the end positions of the occupied time domain resources. 如申請專利範圍第22至24中任一項所述的網路設備,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種: 所述隨機接入請求消息佔用的第一個子幀的編號; 所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號; 所述隨機接入請求消息佔用的最後一個子幀的編號;以及 所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。The network device according to any one of claims 22 to 24, wherein the second resource message is specifically used to indicate at least one of the following messages: the first one occupied by the random access request message The number of the subframe; the number of the first slot or the first mini-slot occupied by the random access request message; the number of the last subframe occupied by the random access request message; and the random access request Number of the last time slot or last mini time slot occupied by the incoming request message. 如申請專利範圍第22至24項中任一項所述的網路設備,其中,所述函數值的訊息用於指示以下訊息中的至少一種: 所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值; 所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值; 所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及 所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。The network device according to any one of claims 22 to 24, wherein the information of the function value is used to indicate at least one of the following information: the first sub-frame occupied by the RAR message The difference between the number and the number of the first subframe occupied by the random access request message; the number of the first slot occupied by the RAR message and the first occupied by the random access request message The difference between the numbers of the time slots, or the difference between the number of the first mini time slot occupied by the RAR message and the number of the first mini time slot occupied by the random access request message; The difference between the number of the last subframe occupied by the RAR message and the number of the last subframe occupied by the random access request message; and the number of the last slot occupied by the RAR message and the random number The difference between the number of the last time slot occupied by the access request message, or the number of the last mini time slot occupied by the RAR message and the number of the last mini time slot occupied by the random access request message The difference between them. 如申請專利範圍第26項所述的網路設備,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。The network device according to item 26 of the patent application scope, wherein the information carried in the random access request message other than the random preamble includes location information of the first terminal device, the first At least one of an identification message of the terminal device and a sending time stamp of the random access request message. 如申請專利範圍第27項所述的網路設備,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。The network device according to item 27 of the scope of patent application, wherein the indication message is carried in a MAC subheader or a MAC RAR of a media access control subheader of the RAR message. 一種終端設備,其中,所述終端設備為第一終端設備,所述終端設備包括: 發送模組,用於向網路設備發送隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼; 處理模組,用於根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI; 接收模組,用於根據所述RA-RNTI接收所述網路設備發送的隨機接入回應RAR消息,所述RAR消息攜帶前導碼訊息和指示訊息;以及 所述處理模組還用於:根據所述隨機接入請求消息攜帶的隨機接入前導碼、所述前導碼訊息和所述指示訊息確定所述RAR消息是否屬於所述第一終端設備。A terminal device, wherein the terminal device is a first terminal device, and the terminal device includes: a sending module configured to send a random access request message to a network device, and the random access request message carries random access A preamble; a processing module configured to determine a random access wireless network temporary identifier RA-RNTI according to the random access request message; a receiving module configured to receive the RA-RNTI sent by the network device according to the RA-RNTI A random access response RAR message, the RAR message carrying a preamble message and an indication message; and the processing module is further configured to: according to the random access preamble and the preamble message carried in the random access request message And the indication message to determine whether the RAR message belongs to the first terminal device. 如申請專利範圍第29項所述的終端設備,其中,所述處理模組具體用於根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述RA-RNTI; 若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請求消息攜帶的隨機接入前導碼相同,且所述指示訊息包括:所述隨機接入請求消息佔用的資源的第二資源訊息、以所述第二資源訊息為變數的函數值的訊息、以及所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息中的至少一種, 所述處理模組還用於:確定所述RAR消息屬於所述第一終端設備;以及 其中,所述第一資源訊息和所述第二資源訊息不同。The terminal device according to item 29 of the scope of patent application, wherein the processing module is specifically configured to determine the RA-RNTI according to a first resource message of a resource occupied by the random access request message; if the preamble The random access preamble indicated by the code message is the same as the random access preamble carried in the random access request message, and the indication message includes: a second resource information of the resource occupied by the random access request message; The second resource message is at least one of a variable function value message and a message other than the random preamble carried in the random access request message, and the processing module is further configured to: The RAR message belongs to the first terminal device; and wherein the first resource message and the second resource message are different. 如申請專利範圍第30項所述的終端設備,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。The terminal device according to claim 30, wherein the first resource message is used to indicate a frequency domain resource occupied by the random access request message, and the second resource message is used to indicate the random access request. Time domain resources occupied by incoming request messages. 如申請專利範圍第30項所述的終端設備,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源和時域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源,且所述第一資源訊息指示的時域資源的細微性大於所述第二資源訊息指示的時域資源的細微性。The terminal device according to item 30 of the scope of patent application, wherein the first resource message is used to indicate a frequency domain resource and a time domain resource occupied by the random access request message, and the second resource message is used to indicate The time domain resource occupied by the random access request message, and the nuance of the time domain resource indicated by the first resource message is greater than the nuance of the time domain resource indicated by the second resource message. 如申請專利範圍第32項所述的終端設備,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的頻域資源的結束位置中的至少一種。The terminal device according to item 32 of the scope of patent application, wherein the second resource message is specifically used to indicate a start position of a time domain resource occupied by the random access request message and the random access request message occupation At least one of the end positions of the frequency domain resources. 如申請專利範圍第33項所述的終端設備,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種: 所述隨機接入請求消息佔用的第一個子幀的編號; 所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號; 所述隨機接入請求消息佔用的最後一個子幀的編號;以及 所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。The terminal device according to item 33 of the patent application scope, wherein the second resource message is specifically used to indicate at least one of the following messages: a number of a first subframe occupied by the random access request message; The number of the first time slot or the first mini time slot occupied by the random access request message; the number of the last subframe occupied by the random access request message; and the last number occupied by the random access request message The number of a time slot or the last mini time slot. 如申請專利範圍第34項所述的終端設備,其中,所述函數值的訊息用於指示以下訊息中的至少一種: 所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值; 所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值; 所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及 所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。The terminal device according to item 34 of the scope of patent application, wherein the function value information is used to indicate at least one of the following information: a number of a first subframe occupied by the RAR message and the random access The difference between the number of the first subframe occupied by the request message; the number between the number of the first timeslot occupied by the RAR message and the number of the first timeslot occupied by the random access request message The difference, or the difference between the number of the first mini-slot occupied by the RAR message and the number of the first mini-slot occupied by the random access request message; the last one occupied by the RAR message The difference between the number of the subframe and the number of the last subframe occupied by the random access request message; and the number of the last slot occupied by the RAR message and the last occupied by the random access request message The difference between the numbers of one time slot, or the difference between the number of the last mini time slot occupied by the RAR message and the number of the last mini time slot occupied by the random access request message. 如申請專利範圍第35項所述的終端設備,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。The terminal device according to item 35 of the scope of patent application, wherein the information carried in the random access request message other than the random preamble includes location information of the first terminal device, the first terminal At least one of an identification message of the device and a sending time stamp of the random access request message. 如申請專利範圍第36項所述的終端設備,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。The terminal device according to item 36 of the scope of patent application, wherein the indication message is carried in a MAC subheader or a MAC RAR of a media access control subheader of the RAR message. 如申請專利範圍第29至37項中任一項所述的終端設備,其中,若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請消息攜帶的隨機接入前導碼不同,或所述指示訊息與所述隨機請求消息不匹配,所述處理模組還用於:確定所述RAR消息不屬於所述第一終端設備; 其中,所述指示訊息與所述隨機接入請求消息不匹配,包括: 所述指示訊息包括的資源訊息與所述隨機接入請求消息佔用的資源的第二資源訊息不同;和/或 所述指示訊息包括的函數值的訊息與以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息不同;和/或 所述指示訊息包括的位置訊息與所述隨機接入請求消息攜帶的所述第一終端設備的位置訊息不同;和/或 所述指示訊息包括的標識訊息與所述隨機接入請求消息攜帶的所述第一終端設備的標識訊息不同;和/或 所述指示訊息包括的發送時間戳記與所述隨機接入請求消息攜帶的發送時間戳記不同。The terminal device according to any one of claims 29 to 37, wherein if the random access preamble indicated by the preamble message is different from the random access preamble carried in the random access request message Or the instruction message does not match the random request message, the processing module is further configured to determine that the RAR message does not belong to the first terminal device; wherein the instruction message and the random access message The request message mismatch includes: the resource information included in the indication message is different from the second resource information of the resource occupied by the random access request message; and / or the function value information included in the indication message is different from the information The second resource information of the resource occupied by the random access request message is different from the variable value; and / or the location information included in the indication message is different from that of the first terminal device carried in the random access request message. The location information is different; and / or the identification information included in the indication message is different from the identification information of the first terminal device carried in the random access request message; and / or Different indication message including the transmission time of the transmission time stamp to the random access request message carries the stamp.
TW106141982A 2016-12-05 2017-11-30 Method for random access, network equipment and terminal equipment TWI687120B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
PCT/CN2016/108587 WO2018102966A1 (en) 2016-12-05 2016-12-05 Method for random access, network device, and terminal device
WOPCT/CN2016/108587 2016-12-05
??PCT/CN2016/108587 2016-12-05

Publications (2)

Publication Number Publication Date
TW201822573A true TW201822573A (en) 2018-06-16
TWI687120B TWI687120B (en) 2020-03-01

Family

ID=62490674

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106141982A TWI687120B (en) 2016-12-05 2017-11-30 Method for random access, network equipment and terminal equipment

Country Status (3)

Country Link
CN (1) CN109644503B (en)
TW (1) TWI687120B (en)
WO (1) WO2018102966A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109983830B (en) * 2019-02-14 2022-07-22 北京小米移动软件有限公司 Method and device for processing random access
CN111818549A (en) * 2019-04-11 2020-10-23 普天信息技术有限公司 Random access response message transmission method and device
US20220210837A1 (en) * 2019-04-26 2022-06-30 Ntt Docomo, Inc. User equipment and base station apparatus
CN113767702B (en) * 2019-04-30 2024-04-09 中兴通讯股份有限公司 Resource indication in random access
CN112134747A (en) * 2019-06-24 2020-12-25 中兴通讯股份有限公司 Method for detecting transmission delay and related equipment
WO2021000295A1 (en) * 2019-07-03 2021-01-07 北京小米移动软件有限公司 Random access method, apparatus and system, and storage medium
CN114223308A (en) * 2019-10-10 2022-03-22 Oppo广东移动通信有限公司 Random access method, electronic device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8958317B2 (en) * 2008-12-04 2015-02-17 Lg Electronics Inc. Method and apparatus for performing random access in a multi-carrier system
CN102325382B (en) * 2011-06-30 2016-01-20 电信科学技术研究院 Accidental access method and equipment
CN102883459B (en) * 2011-07-12 2016-05-25 华为技术有限公司 The reception of accidental access response and sending method, subscriber equipment, base station and system
CN103220813B (en) * 2012-01-20 2018-08-07 中兴通讯股份有限公司 The accidental access method and system and terminal and base station equipment of a kind of multicarrier system
CN102595636B (en) * 2012-03-14 2015-09-02 电信科学技术研究院 A kind of accidental access response defining method, Apparatus and system

Also Published As

Publication number Publication date
WO2018102966A1 (en) 2018-06-14
TWI687120B (en) 2020-03-01
CN109644503B (en) 2021-08-10
CN109644503A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
TWI687120B (en) Method for random access, network equipment and terminal equipment
EP3739933B1 (en) Beam failure recovery method, device, and apparatus
US20200187266A1 (en) Random access method, device, and system
CA3047490C (en) Data transmission method and apparatus
JP7150042B2 (en) Signal transmission method, network device and terminal device
CN111885737A (en) Random access method and device
US20220346014A1 (en) Random access method and apparatus
WO2020248287A1 (en) Random access method and device
US20200137703A1 (en) Synchronization method and apparatus
TW201836410A (en) Method for signal transmission, terminal equipment, and network equipment
TWI731112B (en) Method for transmitting signal, network equipment, and terminal equipment
WO2018028662A1 (en) Random access control method and apparatus
US11576153B2 (en) Device-to-device (D2D) communication method and D2D device
WO2020191679A1 (en) Random access method, terminal device, and network device
CN111212449A (en) Random access method, terminal and network side equipment
TW201914347A (en) Wireless communication method, network device and terminal device
US11246169B2 (en) Communication method, related device, and system
TW201924424A (en) Wireless communication method and device
US20240031092A1 (en) Terminal device and network device
TWI710269B (en) Method and apparatus for transmitting signal
JP2023513296A (en) Uplink transmission method and apparatus
WO2017193400A1 (en) Method and apparatus for transmitting aperiodic srs
JP2022553121A (en) PDCCH detection method, PDCCH transmission method and device
TW201838464A (en) Communication method, terminal equipment, and access network equipment
WO2021146963A1 (en) Method and apparatus for transmitting random access preamble

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees