TWI687120B - 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
TWI687120B
TWI687120B TW106141982A TW106141982A TWI687120B TW I687120 B TWI687120 B TW I687120B TW 106141982 A TW106141982 A TW 106141982A TW 106141982 A TW106141982 A TW 106141982A TW I687120 B TWI687120 B TW I687120B
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
TW201822573A (en
Inventor
唐海
Original Assignee
大陸商Oppo廣東移動通信有限公司
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 大陸商Oppo廣東移動通信有限公司 filed Critical 大陸商Oppo廣東移動通信有限公司
Publication of TW201822573A publication Critical patent/TW201822573A/en
Application granted granted Critical
Publication of TWI687120B publication Critical patent/TWI687120B/en

Links

Images

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

一種用於隨機接入的方法、網路設備和終端設備,該方法具有較高相容性,有利於終端設備準確判斷屬於自己的隨機接入回應(Random Access Response,RAR)。該方法包括:網路設備接收第一終端設備發送的隨機接入請求消息,隨機接入請求消息攜帶隨機接入前導碼;網路設備根據隨機接入請求消息確定隨機接入無線網路臨時標識(Random Access-Radio Network Temporary Identifier,RA-RNTI);網路設備根據RA-RNTI發送隨機接入回應RAR消息,RAR消息攜帶前導碼訊息和指示訊息,前導碼訊息用於指示隨機接入前導碼,前導碼訊息和指示訊息用於接收到RAR消息的至少一個終端設備中的第一終端設備確定該RAR消息屬於本設備。A method for random access, a network device and a terminal device. The method has high compatibility and is beneficial for the terminal device to accurately determine its own random access response (Random Access Response, RAR). The method includes: a network device receives a random access request message sent by a first terminal device, the random access request message carries a random access preamble; the network device determines a random access wireless network temporary identifier according to the random access request message (Random Access-Radio Network Temporary Identifier, RA-RNTI); The network device sends a random access response RAR message according to RA-RNTI. The RAR message carries a preamble message and an indication message. The preamble message is used to indicate the random access preamble , The preamble message and the indication message are used by the first terminal device of the at least one terminal device that received the RAR message to determine that the RAR message belongs to the own device.

Description

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

本發明實施例涉及通訊技術領域,並且更具體地,涉及用於隨機接入的方法、網路設備和終端設備。Embodiments of the present invention relate to the field of communication technologies, and more specifically, to a method, network equipment, and terminal equipment 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 the existing Long Term Evolution (LTE) system, when the network device receives the random access request message sent by the terminal device, the network device will be on the Physical Downlink Shared CHannel (PDSCH) Send a random access response (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 used for uplink synchronization, the initial uplink resource configuration (used to send subsequent msg3) message, and a temporary community radio network temporary identifier (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 (Physical Downlink Control Channel, PDCCH) for 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 itself, and performs the corresponding operation according to the message carried in the RAR message.

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

本發明實施例提供一種用於隨機接入的方法、網路設備和終端設備,該方法具有較高的相容性,有利於終端設備準確地確定屬於自己的RAR消息。Embodiments of the present invention provide a method, a network device, and a terminal device for random access. The method has high compatibility, which is helpful for 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 road device determines the random access wireless network temporary identifier RA-RNTI according to the random access request message; the network device sends a random access response RAR message according to the RA-RNTI, the RAR message carries a preamble message and an indication message, The preamble message is used to indicate the random access preamble, the preamble message and the indication message are used for the first terminal device in at least one terminal device that received the RAR message to determine that the RAR message belongs to the first terminal equipment.

與現有技術中僅根據RAR消息攜帶的隨機接入前導碼的索引確定屬於自己的RAR消息相比,在該方案中,第一終端設備根據指示訊息和前導碼訊息確定屬於自己的RAR消息,該方法具有較高的相容性,有利第一終端設備準確地確定屬於自己的RAR消息,以便於第一終端設備可以高效地進行隨機接入過程。Compared with the prior art in which the RAR message belonging to itself is determined only 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 belonging 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 the 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 resources 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 with a function value of the second resource message of the resource occupied by the random access request message as a variable, and the random access At least one of messages other than the random preamble carried in the request message, wherein the first resource message and the second resource message are different.

該指示訊息可以包括多種類型的訊息,該方案靈活性高,以便於終端設備可以高效地根據指示訊息確定屬於自己的RAR消息。The indication message may include multiple types of messages, and the solution has high flexibility so that the terminal device can efficiently determine its own RAR message according to the indication 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 that determines the RA-RNTI based on the frequency domain resource information and the time domain resource information occupied by the random access request message, in this solution, the network device and the first terminal device can use the random access request The first resource message of the frequency domain resource occupied by the message 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 a RAR message, which can reduce the first terminal device's acquisition of RA -The complexity of the RNTI, while enabling 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 the frequency domain resource and time domain resource occupied by the random access request message, and the second resource message is used to indicate the random access request message occupied by the random access request message Time domain resources, and the fineness of the time domain resources indicated by the first resource message is greater than the fineness of the time domain resources indicated by the second resource message.

在該方案中,第一資源訊息雖然同時指示時域資源和頻域資源,但是第一資源訊息指示的時域資源的細微性較大,可以降低第一終端設備獲取RA-RNTI的複雜度,第二資源指示的時域資源的細微性較小,可以使第一終端設備準確地確定屬於自己的RAR消息。該方案可以平衡終端設備接收RAR消息的複雜度以及終端設備確定屬於自己的RAR消息的確定次數。In this solution, 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 is more nuanced, which can reduce the complexity of the first terminal device acquiring the RA-RNTI, The time domain resource indicated by the second resource is less nuanced, so that the first terminal device can accurately determine its own RAR message. This solution can balance the complexity of the terminal device receiving the RAR message and the number of times the terminal device determines that the RAR message belongs to itself.

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

該方案中,第二資源訊息可以指示起始位置和/或結束位置,該方案靈活性高具有較高的相容性以及適用性。In this solution, the second resource message may indicate the start position and/or the end position. The 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 messages: the number of the first subframe occupied by the random access request message; the number occupied by the random access request message The number of the first slot or the first mini slot; the number of the last subframe occupied by the random access request message; the number of the last slot or the last mini slot occupied by the random access request message .

在第一方面可能的實現方式中,該函數值的訊息用於指示以下訊息中的至少一種:該RAR消息佔用的第一個子幀的編號與該隨機接入請求消息佔用的第一個子幀的編號之間的差值;該RAR消息佔用的第一個時隙的編號與該隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與該隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;該RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。In a possible implementation manner of the first 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 number of 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 numbers 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 number occupied by the RAR 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, the messages other than the random preamble carried in the random access request message include location information of the first terminal device, identification information of the first terminal device, and the random access At least one of the transmission time stamps of the request message.

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

在第一方面可能的實現方式中,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。In a possible implementation manner of the first aspect, the indication message is carried in a MAC access 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 sends a random access request message to a network device, where the random access request message carries a random access preamble; the first terminal The device determines the 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 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 determines that the RAR message belongs to itself based only on the index of the random access preamble carried in the RAR message, in this solution, the first terminal device determines the RAR message belonging to itself according to the indication message and the preamble message, which can Improve the accuracy of the first terminal device to determine 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, 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 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 by 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 with a function value of the second resource message of the resource occupied by the random access request message as a variable, and the random preamble code carried in addition to the random preamble At least one of the messages, 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 indication 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 in which RA-RNTI is determined according to the frequency domain resource information and time domain resource information occupied by the random access request message, in this solution, the first terminal device can use 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, it can improve the accuracy of the first terminal device in determining 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 and a time domain resource occupied by the random access request message, and the second resource message is used to indicate a resource occupied by the random access request message Time domain resources, and the fineness of the time domain resources indicated by the first resource message is greater than the fineness of the time domain resources 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 granularity of the time domain resource indicated by the first resource message is relatively large, which not only reduces the complexity of the first terminal device acquiring the RA-RNTI, but also improves the The efficiency of a terminal device receiving its own RAR message. This solution can balance the complexity of the terminal device receiving the RAR message and the number of times the terminal device determines that the RAR message belongs to itself.

在第二方面可能的實現方式中,該第二資源訊息具體用於指示該隨機接入請求消息佔用的時域資源的起始位置和該隨機接入請求消息佔用的時域資源的結束位置中的至少一種。In a possible implementation manner of the second aspect, the second resource message is specifically used to indicate the start position of the time domain resource occupied by the random access request message and the 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 messages: the number of the first subframe occupied by the random access request message; the number occupied by the random access request message The number of the first slot or the first mini slot; the number of the last subframe occupied by the random access request message; the number of the last slot or the last mini slot occupied by the random access request message .

在第二方面可能的實現方式中,該函數值的訊息用於指示以下訊息中的至少一種:該RAR消息佔用的第一個子幀的編號與該隨機接入請求消息佔用的第一個子幀的編號之間的差值;該RAR消息佔用的第一個時隙的編號與該隨機接入請求消息佔用的第一個時隙的編號之間的差值,或該RAR消息佔用的第一個迷你時隙的編號與該隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;該RAR消息佔用的最後一個子幀的編號與該隨機接入請求消息佔用的最後一個子幀的編號之間的差值;該RAR消息佔用的最後一個時隙的編號與該隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或該RAR消息佔用的最後一個迷你時隙的編號與該隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。In a possible implementation manner of the second aspect, the message of the function value 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 number of 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 numbers 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 number occupied by the RAR 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 messages other than the random preamble carried in the random access request message include location information of the first terminal device, identification information of the first terminal device, and the random access At least one of the transmission time stamps of the request message.

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

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

在第二方面可能的實現方式中,若該前導碼訊息指示的隨機接入前導碼與該隨機接入請消息攜帶的隨機接入前導碼不同,或該指示訊息與該隨機請求消息不匹配,該方法還包括:該第一終端設備確定該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 by the random access request message, or the indication message does not match the random request message, The method further includes: the first terminal device determining 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 message included in the indication message and the random connection The second resource message of the resource occupied by the incoming request message is different; and/or the message of the function value included in the indication message is different from the message of the function value whose variable is the second resource message of the resource occupied by the random access request message; And/or the location message included in the indication message is different from the location message of the first terminal device carried in the random access request message; and/or the identification message included in the indication message and the first message carried in the random access request message The identification message of a terminal device is different; and/or the sending timestamp included in the indication message is different from the sending timestamp carried in the random access request message.

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

第四方面,提供一種終端設備,用於執行第二方面或第二方面任意可能的實現方式中的方法。具體地,該終端設備可以包括用於執行上述第二方面或第二方面任意可能實現方式中的方法的模組和/或單元。According to a fourth aspect, a terminal device is provided for performing the method in the second aspect or any possible implementation manner of the second aspect. Specifically, the terminal device may include a module and/or unit for performing the method in the second aspect or 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, and the processor is used to execute instructions stored in the memory, and Execution of the instructions stored in the memory causes the processor to execute the method of the first aspect or any possible implementation 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 instructions stored in the memory, and The execution of the instructions stored in the memory causes the processor to execute the method of the second aspect or any possible implementation manner of the second aspect.

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

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

第九方面,提供了一種系統晶片,該系統晶片包括輸入介面、輸出介面、處理器和記憶體,該處理器用於執行該記憶體中的代碼,當該代碼被執行時,該處理器可以實現前述第一方面及各種實現方式中的方法。According to 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 used to execute code in the memory. When the code is executed, the processor can be implemented. 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 used to execute code in the memory. When the code is executed, the processor can be implemented. The foregoing 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 the resources occupied by the random access request message, and the random random access request message The second resource message of the occupied resource is a message of a function value of a variable, and at least one of messages other than the random preamble carried in the random access request message, so that the first terminal device can use the indication message and The preamble message accurately determines its own RAR message.

下面將結合本發明實施例中的圖式,對本發明實施例中的技術方案進行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction 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 suitable for an embodiment of the present invention. The wireless communication system 100 may include network equipment 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 (eg, UEs) located in the coverage area. Optionally, the network device 110 may be a base station in a Global System of Mobile communication (Global System of Mobile communication, "GSM" for short) system or a Code Division Multiple Access (Code Division Multiple Access, "CDMA" for short) system (Base Transceiver Station, BTS), which can also be 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 the Cloud Radio Access Network (CRAN), or the network device can be a relay station, access point, in-vehicle device, wearable Equipment, network-side equipment in the future 5th-Generation (5G) network or network equipment in the public land mobile network (PLMN) that will evolve 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 within the coverage of the network device 110, such as the first terminal device 120 and the second terminal device 130. The terminal device may be mobile or fixed. Alternatively, the terminal device may refer to an access terminal, user equipment (User Equipment, UE), user unit, user station, mobile station, mobile station, remote station, remote terminal machine, mobile device, user terminal , Terminal, wireless communication equipment, user agent or user device. The access terminal can be a mobile phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a wireless Communication-enabled handheld devices, computing devices, or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks, or terminal devices in future evolved PLMNs, etc.

可選地,5G系統或網路還可以稱為新無線(New Radio,NR)系統或網路。Alternatively, the 5G system or network may also be referred to as a 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 the coverage area. The device is not limited in this embodiment of the present invention.

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

應理解,本文中術語“系統”和“網路”在本文中常被可互換使用。本文中術語“和/或”,僅僅是一種描述關聯物件的關聯關係,表示可以存在三種關係,例如,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 just an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone. three situations. In addition, the character “/” in this article generally indicates that the related objects are a “or” relationship.

需要說明的是,本發明實施例中的“第一”、“第二”等僅為用於區分不同的物件,而不應對本發明實施例構成任何限定。It should be noted that “first” and “second” in the embodiments of the present invention are only used to distinguish different objects, and should not constitute any limitation on 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 for convenience of description only, and should not constitute a special limitation. The features in various situations, methods, and categories can be compared without contradictions. Combine.

網路設備在發送RAR消息之前,首先會根據接收到的隨機接入請求消息確定RA-RNTI。相應地,終端設備根據發送的隨機接入請求消息確定RA-RNTI。換句話說,網路設備和終端設備分別確定隨機接入請求消息對應的RA-RNTI。首先介紹現有技術中確定RA-RNTI的方式。Before sending the RAR message, the network device first determines the RA-RNTI according to the received random access request message. Correspondingly, the terminal device determines the RA-RNTI according to the sent random access request message. In other words, the network device and the terminal device respectively determine the RA-RNTI corresponding to the random access request message. First, the method 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 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 device and the terminal device may 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為在該第一個子幀裡隨機接入請求消息佔用的頻域位置的編號。Where 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 Your own RAR message. This method will increase the complexity of the terminal device acquiring RAR messages.

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

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

為了降低終端設備獲取RAR消息的複雜度,可以採用以下方式確定RA-RNTI。In order to reduce the complexity of the terminal device acquiring the RAR message, the RA-RNTI can be determined in the following manner.

方式一、method one,

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

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

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

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

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

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

其中,f_id 為在隨機接入請求消息佔用的第一個子幀裡該隨機接入請求消息佔用的頻域位置編號,B為調整參數。Where, 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 the adjustment parameter.

該方式確定RA-RNTI,可以降低終端設備獲取RAR消息的複雜度,但是,現有技術中的確定屬於自己的RAR消息具有局限性,若將方式一與現有技術中確定屬於自己的RAR消息的方式結合,容易導致終端設備判斷出錯。This method of determining the RA-RNTI can reduce the complexity of the terminal device acquiring the RAR message. However, the determination of the RAR message belonging to itself in the prior art has limitations. If the method 1 is the same as the method of determining the RAR message belonging to itself in the prior art Combined, it is easy to cause errors in terminal device judgment.

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

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

方式二、Method two

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

例如,在方式二中,網路設備和終端設備根據隨機接入請求消息佔用的無線幀的訊息(例如,佔用的第一個無線幀的編號)確定RA-RNTI。For example, in the second method, 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 terminal device receiving the RAR message and the number of times that the terminal device determines its own RAR. However, due to the limitation of determining that the RAR message belongs to you in the prior art, if you combine the second method with the method of determining your own RAR message in the prior art, it is easy to cause an error in the judgment of the terminal device. The description will not be 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 certain terminal device, the multiple terminal devices according to the random access carried in the RAR message The preamble will consider that the RAR message belongs to itself, and will compete according to the RAR message. Since the terminal device does not correctly identify its own RAR message, it will cause the terminal device to compete meaninglessly.

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

有鑑於此,本發明實施例提供一種用於隨機接入的方法,網路設備發送的RAR消息包括前導碼訊息和指示訊息,終端設備可以根據前導碼訊息和指示訊息確定接收到的RAR消息是否屬於自己。該方法具有較高的相容性,有利於終端設備準確地判斷屬於自己的RAR消息。下面詳細說明本發明實施例的用於隨機接入的方法。In view of this, embodiments of the present invention provide a method for random access. The RAR message sent by the network device includes a preamble message and an indication message. The terminal device can 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 judge its own RAR message. The method for random access according to an 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 described from the perspective of device interaction. The method 200 can 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, taking the interaction of the network device and the first terminal device (and the second terminal device) as an example, the method according to the embodiment of the present invention will be described in detail. It should be understood that the first terminal device is any terminal device in at least one terminal device, and the "first" is only used for distinguishing descriptions, and should not constitute any limitation to the embodiments of the present invention. Similarly, the second terminal device should not constitute any limitation on 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, where 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.

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

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

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 a 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 description, the "random access request message sent by the first terminal device" may be recorded as the "first request message", and the "random access preamble carried in the first random access request message" may be recorded as the "first The "preamble" records "RA-RNTI determined according to the first request message" as "first RA-RNTI" and "RAR message sent by the network device according to the first request message" 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 where the terminal device determines its own RAR message only based 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 message and indication message carried in the RAR message. This method has high compatibility and can be applied to a variety of application scenarios, which is conducive to the first terminal device accurately determining 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, the network device receives the second random access request message, and may record the "second random access request message" as "the first Second request message";

S202、第二終端設備根據該第二請求消息確定RA-RNTI,相應地,網路設備根據該第二請求消息確定RA-RNTI,可以將“根據第二請求消息確定的RA-RNTI”記為“第二RA-RNTI”;S202. The second terminal device determines the RA-RNTI according to the second request message. Correspondingly, the network device determines the RA-RNTI according to the second request message, and may record "RA-RNTI determined according to the second request message" 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 message and the indication message carried in the second RAR message, and the second terminal device stops listening to its own RAR message;

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

情況一、第一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 2: The first RA-RNTI and the second RA-RNTI are the same, 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 indication 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 may process according to the second RAR message; if the first terminal device determines that the second RAR message does not belong to the first A terminal device, the first terminal device needs to continue to listen to RAR messages belonging to the first terminal device.

具體地,在情況二中,該方法200可以包括:Specifically, in case two, 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 message and the indication message carried in the second RAR message. The first terminal device needs to continue to listen to its own RAR message, where, 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 the second resource message of the resource occupied by the first request message, and the indication message carried by the second RAR includes the second resource message of the resource occupied by the second request message.

作為可選地一例,若採用方式一確定RA-RNTI,第一資源訊息和第二資源訊息的域類別不同。As an optional example, if the first method is used to determine the RA-RNTI, the domain types of the first resource information and the second resource information 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 that the random access request message occupies time domain resources. 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 last mini time slot occupied by the random access request message.

1b、1c和1d的說明可以參見1a的相關描述,為了簡潔此處不再贅述。For descriptions of 1b, 1c and 1d, please refer to the relevant descriptions of 1a, and they will not be repeated here for brevity.

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

例如,以指示訊息包括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), 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 the message of the second preamble D and the number M. Since the first terminal device and the second terminal device use the same frequency domain resource to send the random access request message, the first terminal device and the second Both terminal devices can receive (monitor) the second RAR message. Since 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 listen to the RAR message that belongs to itself. If the first terminal device listens to the message including the first preamble D and the first RAR message with 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 second method is used to determine the RA-RNTI, the fineness of the resources indicated by the first resource message and the second resource message are different, and the fineness of the resources indicated by the first resource message is greater than the indication of the second resource message The nuance of resources.

例如,第一資源訊息用於指示隨機接入請求消息(例如,第一請求消息)佔用頻域資源和時域資源,第二資源訊息用於指示隨機接入請求消息(第一請求消息)佔用的時域資源,第一資源訊息指示的時域資源的細微性大於第二資源訊息指示的時域資源的細微性。For example, the first resource message is used to indicate that the random access request message (for example, 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 The time domain resource indicated by the first resource message is more subtle than the time domain resource indicated by the second resource message.

需要說明的是,本發明實施例中的細微性可以是指資源的單位大小。例如,以時域資源為例,無線幀的細微性大於子幀的細微性,子幀的細微性大於時隙的細微性等。其中,該細微性也可以反映時域資源的精確度。換句話說,第二資源訊息指示的時域資源的精確度高於第一資源訊息指示的時域資源的精確度。It should be noted that the subtlety in the embodiments of the present invention may refer to the unit size of resources. For example, taking time-domain resources as an example, the fineness of a radio frame is greater than the fineness of a subframe, and the fineness of a subframe is greater than the fineness of a time slot. Among them, the subtlety 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 message occupied by a random access request message, and the second resource message is used to indicate a subframe message occupied by a random access request message.

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

通過第二類指示訊息可以平衡接收RAR消息的複雜度以及接收RAR消息的次數。具體地,第一終端設備可以首先根據隨機接入請求消息佔用的頻域資源以及大細微性的時域資源接收一部分RAR消息,可以降低接收RAR消息的複雜度以及RAR消息的接收次數,第一終端設備再根據小細微性的時域資源確定屬於自己的RAR消息(即第一RAR消息),有利於第一終端設備準確地識別屬於自己的RAR消息。The second type of indication message can balance the complexity of receiving RAR messages and the number of times of receiving RAR messages. Specifically, the first terminal device may first receive a part of the RAR message according to the frequency domain resource occupied by the random access request message and the large and detailed time domain resource, which can reduce the complexity of receiving the RAR message and the number of times the RAR message is received. First 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 belonging to itself.

例如,第一終端設備通過三個波束發送第一請求消息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. 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, and the first terminal device can use the RA-RNTI The RNTI receives any one of the three request messages (no need to try multiple RA-RNTIs), which can reduce the complexity of receiving RAR messages. Carrying the 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 that can accurately identify its own RAR message.

需要說明的是,該第二資源訊息指示的時域資源的細微性越小(精確度越高),終端設備確定自己的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 of the terminal device in determining its own RAR message, which can effectively improve the efficiency of random access, Avoid performing meaningless random competition.

例如,仍然使用隨機接入請求消息佔用的頻域資源和起始子幀確定RA-RNTI,第一RAR消息包括的指示訊息為第一請求消息佔用的時隙的編號,該方法能夠提高第一終端設備確定屬於自己RAR消息的準確度,以使第一終端設備可以高效地進行隨機接入過程。For example, the frequency domain resource occupied by the random access request message and the starting subframe are still used to determine the RA-RNTI. The indication message included in the first RAR message is the number of the time slot occupied by the first request message. This method can improve the first 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 uses the second resource message occupied by the random access request message as a variable function value message.

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

以第二資源訊息用於指示時域資源為例,該指示訊息可以用於指示以下訊息中的至少一種:Taking the second resource message for indicating time domain resources as an example, the indication message may be used to indicate 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 indication message carried is used to indicate the 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 and randomness of the first mini time slot occupied by the RAR message 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 slot occupied by the RAR message and the random The difference between the numbers of the last mini-slot occupied by the access request message.

2b、2c和2d的說明可以參見2a的相關描述,為了簡潔此處不再贅述。For descriptions of 2b, 2c, and 2d, please refer to the relevant descriptions of 2a, which will not be repeated here for brevity.

第一終端設備接收到RAR消息之後,可以根據RAR消息中的指示訊息確定該RAR消息對應的隨機接入請求消息佔用的時域資源的訊息,並判斷該確定的時域資源的訊息和自己發送的隨機接入請求消息的時域資源的訊息是否相同,若相同,確定該RAR消息屬於自己,若不同,確定該RAR消息不屬於自己並繼續監聽屬於自己的RAR消息。After receiving the RAR message, the first terminal device may determine the information of the time domain resource occupied by the random access request message corresponding to the RAR message according to the indication message in the RAR message, and determine the determined time domain resource message and send it by itself Whether the information of the time domain resource of the random access request message is the same, if it is the same, it is determined that the RAR message belongs to itself, if it is different, it is determined that the RAR message does not belong to itself and continues to listen to the RAR message belonging 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, suppose 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 first request frame occupies the first subframe. The number is N (N ≥ 0), the number of the first subframe occupied by the second request message is M (M ≥ 0, and M ≠ N), and the network device receives the second request message in the K (N ≤ K, and M≠N) subframes to send a second RAR message, the second RAR message carries the message of the second preamble B and the difference KM, the first terminal device determines the randomness 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 listens to the first RAR message, the first RAR message carries the message 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 and the first request message have the same preamble information and occupied resource information. 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 messages other than the random access preamble carried in the random access request message.

具體地,該第三類指示訊息可以包括以下訊息中的至少一種:Specifically, the third type of indication 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 information.

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

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

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

隨機接入請求消息的發送時間戳記。例如,第一RAR消息攜帶第一請求消息的發送時間戳記,第二RAR消息攜帶第二請求消息的發送時間戳記。Random access request message transmission timestamp. 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 sequence of characters, which is used to identify the 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 the 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 of the terminal device.

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

以上,描述了RAR消息攜帶的三類指示訊息。具體地,第一終端設備接收到RAR消息之後,判斷RAR消息攜帶的指示訊息和前導碼訊息是否與自己發送的隨機請求消息均匹配,若匹配,第一終端設備確定該RAR消息屬於自己,若不匹配確定該RAR消息不屬於自己。Above, the three types of indication messages carried by 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 it matches, 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 the second resource message of the resource occupied by the first request message), For example, the resource message included in the indication message is the number of the first subframe occupied by the first request message. The resource message 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 function value message of the resource 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 message of a function value of a variable), for example, the message of the function value included in the indication message is the same as the message of the function value determined by the first terminal device according to the first request message and the received RAR message , The function value message included in the instruction message matches the first request message, otherwise, it does not match.

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

再例如,若該指示訊息包括標識訊息,且該標識訊息與第一請求消息攜帶的該第一終端設備的標識訊息相同(或該指示訊息包括該第一終端設備的標識訊息),該指示訊息包括標識訊息與該第一請求消息匹配,反之,不匹配。For another example, if the indication 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 indication message includes the identification message of the first terminal device), the indication message It includes that the identification message matches the first request message, otherwise, it does not match.

再例如,若該指示訊息包括發送時間戳記,且該發送時間戳記與第一請求消息攜帶的該第一終端設備的發送時間戳記相同(該指示訊息包括第一請求消息的發送時間戳記),該指示訊息包括發送時間戳記與該第一請求消息匹配,反之,不匹配。For another example, if the instruction 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 instruction message includes the 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 one 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 the 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 the MAC RAR of the RAR message. 4 is a schematic diagram of an example of a MAC RAR applicable to an embodiment of the present invention. This Figure 4 is mainly aimed at the MAC RAR of ordinary users. FIG. 5 is a schematic diagram of another example of MAC RAR applicable to an embodiment of the present invention. This FIG. 5 is mainly aimed at covering the MAC RAR of the enhanced type user. As shown in Figures 4 and 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 used when sending upstream msg3 (uplink grant, UL grant);

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

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

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

以上,描述了根據本發明實施例的用於隨機接入的方法,以下,結合圖6至圖10詳細描述根據本發明實施例的網路設備、終端設備和系統晶片。Above, a method for random access according to an embodiment of the present invention has been described. Hereinafter, a network device, a terminal device, and a system chip according to an embodiment of the present invention will be described in detail 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 the first terminal device, where the random access request message carries a random access preamble;

處理模組320,用於根據該隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;The processing module 320 is configured to determine a random access wireless network temporary identifier 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 indication message, the preamble message is used to indicate the random access preamble, the preamble message and The indication message is used for the first terminal device in at least one terminal device that 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 message of the resources occupied by the random access request message; the indication message includes: the number of resources occupied by the random access request message At least one of two resource messages, 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 a message other than the random preamble carried in the random access request message, The first resource information and the second resource information are different.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源。Optionally, the first resource message is used to indicate the frequency 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.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源,且該第一資源訊息指示的時域資源的細微性大於該第二資源訊息指示的時域資源的細微性。Optionally, 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 second resource message is used to indicate the time domain resources occupied by the random access request message, and the The subtlety of the time domain resource indicated by the first resource message is greater than the subtlety 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 messages: the number of the first subframe occupied by the random access request message; the first time slot occupied by the random access request message or The number of the first mini slot; the number of the last subframe occupied by the random access request message; the number of the last slot or the last mini 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 messages: the number between 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 Difference between; 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 last mini-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 messages other than the random preamble carried in the random access request message include the location information of the first terminal device, the identification message of the first terminal device, and the sending timestamp of the random access request message At least one of them.

可選地,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。Optionally, the indication message is carried in the MAC access subheader or 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 an embodiment of the present invention, and the network device 300 may include the method performed by the network device in performing the above method Unit. In addition, each unit and other operations and/or functions in the network device 300 are respectively for the corresponding flow of the above method, and for the sake of brevity, they are not repeated here.

圖7是根據本發明實施例的終端設備400的示意性框圖。如圖7所示,一種終端設備,該終端設備為第一終端設備,該終端設備包括: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,用於向網路設備發送隨機接入請求消息,該隨機接入請求消息攜帶隨機接入前導碼;The sending module 410 is used 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;The processing module 420 is configured to determine a random access wireless network temporary identifier 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, the RAR message carries a preamble message and an indication message;

該處理模組420還用於:根據該隨機接入請求消息攜帶的隨機接入前導碼、該前導碼訊息和該指示訊息確定該RAR消息是否屬於該第一終端設備。The processing module 420 is further configured to determine 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.

可選地,該處理模組420具體用於根據該隨機接入請求消息佔用的資源的第一資源訊息確定該RA-RNTI;若該前導碼訊息指示的隨機接入前導碼與該隨機接入請求消息攜帶的隨機接入前導碼相同,且該指示訊息包括:該隨機接入請求消息佔用的資源的第二資源訊息、以該第二資源訊息為變數的函數值的訊息、以及該隨機接入請求消息攜帶的除該隨機前導碼之外的訊息中的至少一種,該處理模組420還用於:確定該RAR消息屬於該第一終端設備;其中,該第一資源訊息和該第二資源訊息不同。Optionally, the processing module 420 is specifically configured to determine the RA-RNTI according to the first resource message of the 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 the resource occupied by the random access request message, a message with a function value of which the second resource message is a variable, and the random access At least one of the messages other than the random preamble carried in the request message, 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 Resource information is different.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源。Optionally, the first resource message is used to indicate the frequency 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.

可選地,該第一資源訊息用於指示該隨機接入請求消息佔用的頻域資源和時域資源,該第二資源訊息用於指示該隨機接入請求消息佔用的時域資源,且該第一資源訊息指示的時域資源的細微性大於該第二資源訊息指示的時域資源的細微性。Optionally, 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 second resource message is used to indicate the time domain resources occupied by the random access request message, and the The subtlety of the time domain resource indicated by the first resource message is greater than the subtlety 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 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 messages: the number of the first subframe occupied by the random access request message; the first time slot occupied by the random access request message or The number of the first mini slot; the number of the last subframe occupied by the random access request message; the number of the last slot or the last mini 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 messages: the number between 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 Difference between; 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 last mini-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 messages other than the random preamble carried in the random access request message include the location information of the first terminal device, the identification message of the first terminal device, and the sending timestamp of the random access request message At least one of them.

可選地,該指示訊息承載於該RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。Optionally, the indication message is carried in the MAC access subheader or 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 by 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: resource information included in the indication message and resources occupied by the random access request message Is different from the second resource message; and/or the message of the function value included in the indication message is different from the message of the function value whose variable is the second resource message of the resource occupied by the random access request message; and/or the indication message The location information included 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 an embodiment of the present invention, and the terminal device 400 may include the method executed by the first terminal device in performing the above method Unit. In addition, each unit and other operations and/or functions in the terminal device are respectively for the corresponding flow of the above method, and for the sake of brevity, they are not repeated here.

圖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 used to: receive a random access request message sent by a first terminal device, where the random access request message carries a random access preamble; the processor 520 is used to: determine a random access according to the random access request message The wireless network temporary identification RA-RNTI; the transceiver 510 is also used to send a random access response RAR message according to the RA-RNTI. The RAR message carries a preamble message and an indication message. The preamble message and the indication message are used The first terminal device in at least one terminal device that receives the RAR message determines that the RAR message is a RAR message belonging to the first terminal device, and the preamble message is also 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 an embodiment of the present invention, and the network device may include a method for performing the method performed by the network device in the above method Entity unit. In addition, each physical unit and other operations and/or functions in the network device are respectively for the corresponding flow of the above method, and for the sake of brevity, they are not repeated here.

圖9是根據本發明實施例的終端設備600的示意性框圖。具體地,該終端設備600為第一終端設備,如圖6所示,該終端設備600包括收發器610和處理器620。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 used 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 used to: determine a random access wireless network according to the random access request message Temporary identification RA-RNTI; Transceiver 610 is also used to: according to the RA-RNTI receive a random access response RAR message sent by the network device according to the random access request message, the RAR message carries a preamble message and an indication message, The preamble message is used to indicate the random access preamble; the processor 630 is further used 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 an embodiment of the present invention, and the terminal device 600 may include a method executed by the first terminal device in performing the above method Physical unit. In addition, each physical unit and other operations and/or functions in the terminal device are respectively for the corresponding flow of the above method, and for the sake of brevity, they are not repeated here.

圖10是本發明實施例的系統晶片的示意性結構圖。圖10的系統晶片700包括輸入介面701、輸出介面702、該處理器703以及記憶體704之間通過匯流排705相連,該處理器703用於執行該記憶體704中的代碼。10 is a schematic structural diagram of a system wafer according to an embodiment of the 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 by a bus 705. The processor 703 is used to execute the 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, the steps of the foregoing method embodiments may be completed by instructions in the form of hardware integrated logic circuits or software in the processor. The above-mentioned processor may be a central processing unit (Central Processing Unit, CPU), the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application-specific integrated circuits (Application Specific Integrated Circuit) , ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logical block diagrams in the embodiments of the present invention may be implemented or executed. The 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 conjunction with the embodiments of the present invention may be directly embodied 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 can be located in random memory, flash memory, read-only memory, programmable read-only memory or electronic erasable programmable memory, registers and other mature storage media in the art. The storage medium is located in the memory. The processor reads the information in the memory and combines the hardware to complete the steps of the above method.

還應理解,本發明實施例中的記憶體可以是易失性記憶體或非揮發性記憶體,或可包括易失性和非揮發性記憶體兩者。其中,非揮發性記憶體可以是唯讀記憶體(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 embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable and programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (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 connection 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, a status signal bus, and so on. However, for the sake of clarity, various busbars are marked as busbar systems 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 including instructions, and the instructions are included in a portable electronic device that includes multiple application programs. When the device executes, the portable electronic device can execute the method of the embodiment of the present invention.

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

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

在本發明實施例所提供的幾個實施例中,應該理解到,所揭露的系統、裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,該單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通訊連接可以是通過一些介面,裝置或單元的間接耦合或通訊連接,可以是電性,機械或其它的形式。In the several embodiments provided by the embodiments of the present invention, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a division of logical functions. In actual implementation, there may be other divisions, 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 an indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.

該作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是實體單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施例方案的目的。The unit described as a separate component may or may not be physically separate, and the component displayed as a unit may or may not be a physical unit, that is, it 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 purpose 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 alone 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 solutions of the embodiments of the present invention essentially or part of the contribution to the existing technology or the technical solutions can be embodied in the form of software products, the computer software products are stored in a storage medium, Several instructions are included 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 disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or CD-ROM, etc. can store program code Medium.

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

100‧‧‧無線通訊系統110‧‧‧網路設備120‧‧‧第一終端設備130‧‧‧第二終端設備200‧‧‧方法S201、S202、S203、S204、S205‧‧‧步驟S210、S220、S230、S240‧‧‧步驟300‧‧‧網路設備310‧‧‧接收模組320‧‧‧處理模組330‧‧‧發送模組400‧‧‧終端設備410‧‧‧發送模組420‧‧‧處理模組430‧‧‧接收模組500‧‧‧網路設備510‧‧‧收發器520‧‧‧處理器600‧‧‧終端設備610‧‧‧收發器620‧‧‧處理器700‧‧‧系統晶片701‧‧‧輸入介面702‧‧‧輸出介面703‧‧‧處理器704‧‧‧記憶體705‧‧‧匯流排100‧‧‧Wireless communication system 110‧‧‧Network equipment 120‧‧‧ First terminal equipment 130‧‧‧Second terminal equipment 200‧‧‧Method S201, S202, S203, S204, S205‧‧‧ Step S210, S220, S230, S240 ‧‧‧ Step 300‧‧‧ Network equipment 310‧‧‧ Receive module 320‧‧‧ Processing module 330‧‧‧ Send module 400‧‧‧ Terminal equipment 410‧‧‧ Send module 420‧‧‧Processing module 430‧‧‧Receiving module 500‧‧‧Network equipment 510‧‧‧Transceiver 520‧‧‧Processor 600‧‧‧Terminal equipment 610‧‧‧Transceiver 620‧‧‧Processing 700 700‧‧‧ System chip 701‧‧‧ Input interface 702‧‧‧ Output interface 703‧‧‧Processor 704‧‧‧Memory 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. 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 access subheader applicable to an embodiment of the present invention. 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 MAC RAR applicable to an embodiment of the present invention. 6 is a schematic block diagram of an example of a network device according to an embodiment of the present invention. 7 is a schematic block diagram of an example of a terminal device according to an embodiment of the present invention. 8 is a schematic block diagram of another example of a network device according to an embodiment of the present invention. 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 wafer according to an embodiment of the present invention.

200‧‧‧方法 200‧‧‧Method

S201、S202、S210、S220、S203、S204、S205、S230、S240‧‧‧步驟 S201, S202, S210, S220, S203, S204, S205, S230, S240

Claims (30)

一種用於隨機接入的方法,其中,所述方法包括:網路設備接收第一終端設備發送的隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼;所述網路設備根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI,包括:所述網路設備根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述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 determining the random access wireless network temporary identifier RA-RNTI according to the random access request message includes: the network device determining the RA- according to the first resource information of the resources occupied by the random access request message RNTI; and the indication message includes: a second resource message of the resource occupied by the random access request message, a message with a function value of the second resource message of the resource occupied by the random access request message as a variable, and At least one of messages other than the random preamble carried in the random access request message, wherein the first resource message and the second resource message are different, and wherein the first resource message It is used to indicate the frequency domain resource and time domain resource occupied by the random access request message, the second resource message is used to indicate the time domain resource occupied by the random access request message, and the first resource message indicates The subtlety of the time domain resource is greater than the subtlety of the time domain resource indicated by the second resource message; and the network device sends a random access response RAR message according to the RA-RNTI, the RAR message carries a preamble Message and indication message, the preamble message is used to indicate the random access preamble, the preamble message and the indication message are used for the first in at least one terminal device that receives the RAR message The terminal device determines that the RAR message belongs to the first terminal device. 如申請專利範圍第1項所述的方法,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。 The method according to item 1 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 access Time domain resources occupied by request messages. 如申請專利範圍第1項所述的方法,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的時域資源的結束位置中的至少一種。 The method according to item 1 of the patent application scope, wherein the second resource message is specifically used to indicate the starting position of the time domain resource occupied by the random access request message and the occupied position of the random access request message At least one of the end positions of time domain resources. 如申請專利範圍第2或3項所述的方法,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種:所述隨機接入請求消息佔用的第一個子幀的編號;所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;所述隨機接入請求消息佔用的最後一個子幀的編號;以及所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。 The method according to item 2 or 3 of the patent application scope, wherein the second resource message is specifically used to indicate at least one of the following messages: the number of the first subframe occupied by the random access request message; The number of the first time 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 number occupied by the random access request message The number of the last time slot or the last mini time slot. 如申請專利範圍第2或3項所述的方法,其中,所述函數值的訊息用於指示以下訊息中的至少一種:所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值;所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。 The method according to item 2 or 3 of the patent application scope, wherein 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 is connected to the random The difference between the number of the first subframe occupied by the incoming request message; 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 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 occupied by the RAR message The difference between the number of one 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 number occupied by the random access request message The difference between the numbers of the last 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. 如申請專利範圍第5項所述的方法,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所 述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。 The method according to item 5 of the patent application scope, wherein the messages other than the random preamble carried in the random access request message include location information of the first terminal device, and At least one of the identification message of the first terminal device and the sending timestamp of the random access request message. 如申請專利範圍第6項所述的方法,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。 The method according to item 6 of the patent application scope, wherein the indication message is carried in a MAC access subheader or MAC RAR of the medium access control subheader of the RAR message. 一種用於隨機接入的方法,其中,所述方法包括:第一終端設備向網路設備發送隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼;所述第一終端設備根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI;所述第一終端設備根據所述RA-RNTI接收所述網路設備發送的隨機接入回應RAR消息,包括:所述第一終端設備根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述RA-RNTI;若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請求消息攜帶的隨機接入前導碼相同,且所述指示訊息包括:所述隨機接入請求消息佔用的資源的第二資源訊息、以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息、以及所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息中的至少一種,其中,所述第一資源訊息和所述第二資源訊息不同,以及其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源和時域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源,且所述第一資源訊息指示的時域資源的細微性大於所述第二資源訊息指示的時域資源的細微性,所述RAR消息攜帶前導碼訊息和指示訊息;以及 所述第一終端設備根據所述隨機接入請求消息攜帶的隨機接入前導碼、所述前導碼訊息和所述指示訊息確定所述RAR消息是否屬於所述第一終端設備。 A method for random access, wherein the method includes: a first terminal device sends a random access request message to a network device, the random access request message carries a random access preamble; the first terminal The device determines the random access wireless network temporary identifier RA-RNTI according to the random access request message; the first terminal device receives the random access response RAR message sent by the network device according to the RA-RNTI, including : The first terminal device determines the RA-RNTI according to the first resource message of the resources occupied by the random access request message; if the random access preamble indicated by the preamble message and the random access request The random access preamble carried in the message is the same, and the indication message includes: a second resource message of resources occupied by the random access request message, and a second resource message of resources occupied by the random access request message as At least one of a variable-valued message and a message other than the random preamble carried in the random access request message, wherein the first resource message and the second resource message are different, and Wherein, the first resource message is used to indicate the frequency domain resource and 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 subtlety of the time domain resource indicated by the first resource message is greater than the subtlety of the time domain resource indicated by the second resource message, and the RAR message carries a preamble message and an indication message; and 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. 如申請專利範圍第8項所述的方法,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。 The method according to item 8 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 access Time domain resources occupied by request messages. 如申請專利範圍第8項所述的方法,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的時域資源的結束位置中的至少一種。 The method according to item 8 of the patent application scope, wherein the second resource message is specifically used to indicate the starting position of the time domain resource occupied by the random access request message and the occupied position of the random access request message At least one of the end positions of time domain resources. 如申請專利範圍第10項所述的方法,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種:所述隨機接入請求消息佔用的第一個子幀的編號;所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;所述隨機接入請求消息佔用的最後一個子幀的編號;以及所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。 The method according to item 10 of the patent application scope, wherein the second resource message is specifically used to indicate at least one of the following messages: the number of the first subframe occupied by the random access request message; The number of the first time slot or 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 last one occupied by the random access request message The number of the time slot or the last mini time slot. 如申請專利範圍第11項所述的方法,其中,所述函數值的訊息用於指示以下訊息中的至少一種:所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值;所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及 所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。 The method according to item 11 of the patent application scope, wherein 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 random access request The difference between the number of the first subframe occupied by the message; 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 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 sub-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 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 all The difference between the numbers of the last mini-slot occupied by the random access request message. 如申請專利範圍第12項所述的方法,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。 The method according to item 12 of the patent application scope, wherein the message other than the random preamble carried in the random access request message includes the location information of the first terminal device, the first terminal device At least one of the identification message and the sending timestamp of the random access request message. 如申請專利範圍第13項所述的方法,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。 The method according to item 13 of the patent application scope, wherein the indication message is carried in a MAC access subheader or MAC RAR of the medium access control subheader of the RAR message. 如申請專利範圍第8至14項中任一項所述的方法,其中,若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請消息攜帶的隨機接入前導碼不同,或所述指示訊息與所述隨機請求消息不匹配,所述方法還包括:所述第一終端設備確定所述RAR消息不屬於所述第一終端設備;其中,所述指示訊息與所述隨機接入請求消息不匹配,包括:所述指示訊息包括的資源訊息與所述隨機接入請求消息佔用的資源的第二資源訊息不同;和/或所述指示訊息包括的函數值的訊息與以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息不同;和/或所述指示訊息包括的位置訊息與所述隨機接入請求消息攜帶的所述第一終端設備的位置訊息不同;和/或所述指示訊息包括的標識訊息與所述隨機接入請求消息攜帶的所述第一終端設備的標識訊息不同;和/或所述指示訊息包括的發送時間戳記與所述隨機接入請求消息攜帶的發送時間戳記不同。 The method according to any one of items 8 to 14 of the patent application range, 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 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 and the random request message The access request message does not match, including: the resource message included in the indication message is different from the second resource message of the resource occupied by the random access request message; and/or the function value message and the The second resource message of the resource occupied by the random access request message is a message with a variable function value; and/or the location message 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 message included in the indication message is different from the identification message of the first terminal device carried in the random access request message; and/or the transmission timestamp included in the indication message It is different from the sending timestamp carried in the random access request message. 一種網路設備,其中,所述網路設備包括:接收模組,用於接收第一終端設備發送的隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼;處理模組,用於根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI,具體而言,所述處理模組用於根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述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 , Used to determine the random access wireless network temporary identifier RA-RNTI according to the random access request message, specifically, the processing module is used to determine the first resource of the resources occupied by the random access request message Message to determine the RA-RNTI; and a sending module for sending a random access response RAR message according to the RA-RNTI, the RAR message carries a preamble message and an indication message, and the preamble message is used to indicate The random access preamble, the preamble message and the indication message are used by the first terminal device in at least one terminal device that received the RAR message to determine that the RAR message belongs to the first terminal device , Wherein the instruction message includes: a second resource message of the resource occupied by the random access request message, a message that takes the second resource message of the resource occupied by the random access request message as a function value of a variable, and At least one of messages other than the random preamble carried in the random access request message, wherein the first resource message and the second resource message are different, and wherein the first resource message It is used to indicate the frequency domain resource and time domain resource occupied by the random access request message, the second resource message is used to indicate the time domain resource occupied by the random access request message, and the first resource message indicates The subtlety of the time domain resource is greater than the subtlety of the time domain resource indicated by the second resource message. 如申請專利範圍第16項所述的網路設備,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。 The network device according to item 16 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 Time domain resources occupied by access request messages. 如申請專利範圍第16項所述的網路設備,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的時域資源的結束位置中的至少一種。 The network device according to item 16 of the patent application scope, wherein the second resource message is specifically used to indicate the starting position of the time domain resource occupied by the random access request message and the random access request message At least one of the end positions of occupied time domain resources. 如申請專利範圍第17或18項所述的網路設備,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種:所述隨機接入請求消息佔用的第一個子幀的編號;所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;所述隨機接入請求消息佔用的最後一個子幀的編號;以及所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。 The network device according to item 17 or 18 of the patent application scope, wherein the second resource message is specifically used to indicate at least one of the following messages: the first subframe occupied by the random access request message Number; the number of the first time 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 message The number of the last time slot or last mini time slot occupied. 如申請專利範圍第17或18項所述的網路設備,其中,所述函數值的訊息用於指示以下訊息中的至少一種:所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值;所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。 The network device according to item 17 or 18 of the patent application scope, wherein 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 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 number of the first time slot occupied by the random access request message The difference between them, 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 difference between the number of the last 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 random access request message The difference between the number of the last time slot occupied, 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 . 如申請專利範圍第20項所述的網路設備,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。 The network device according to item 20 of the patent application scope, wherein the message other than the random preamble carried in the random access request message includes the location information of the first terminal device, the first At least one of an identification message of the terminal device and a transmission time stamp of the random access request message. 如申請專利範圍第21項所述的網路設備,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。 The network device according to item 21 of the patent application scope, wherein the indication message is carried in a MAC access subheader or MAC RAR of the medium access control subheader of the RAR message. 一種終端設備,其中,所述終端設備為第一終端設備,所述終端設備包括:發送模組,用於向網路設備發送隨機接入請求消息,所述隨機接入請求消息攜帶隨機接入前導碼;處理模組,用於根據所述隨機接入請求消息確定隨機接入無線網路臨時標識RA-RNTI,具體而言,所述處理模組用於根據所述隨機接入請求消息佔用的資源的第一資源訊息確定所述RA-RNTI,若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請求消息攜帶的隨機接入前導碼相同,且所述指示訊息包括:所述隨機接入請求消息佔用的資源的第二資源訊息、以所述第二資源訊息為變數的函數值的訊息、以及所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息中的至少一種,所述處理模組還用於:確定所述RAR消息屬於所述第一終端設備;以及其中,所述第一資源訊息和所述第二資源訊息不同,以及其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源和時域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源,且所述第一資源訊息指示的時域資源的細微性大於所述第二資源訊息指示的時域資源的細微性;接收模組,用於根據所述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, the random access request message carrying random access Preamble; processing module, used to determine the random access wireless network temporary identifier RA-RNTI according to the random access request message, specifically, the processing module is used to occupy according to 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 by the random access request message, and the indication message includes : A second resource message of resources occupied by the random access request message, a message with a function value of which the second resource message is a variable, and the random preamble code carried in addition to the random preamble At least one of the messages, the processing module is further configured to: determine that the RAR message belongs to the first terminal device; and wherein the first resource message and the second resource message are different, and wherein, 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 second resource message is used to indicate the time domain resources occupied by the random access request message, and all The subtlety of the time domain resource indicated by the first resource message is greater than the subtlety of the time domain resource indicated by the second resource message; the receiving module is configured to receive the randomness sent by the network device according to the RA-RNTI Access response RAR message, the RAR message carries a preamble message and an indication message; and the processing module is also used to: according to the random access preamble carried in the random access request message, the preamble message and The indication message determines whether the RAR message belongs to the first terminal device. 如申請專利範圍第23項所述的終端設備,其中,所述第一資源訊息用於指示所述隨機接入請求消息佔用的頻域資源,所述第二資源訊息用於指示所述隨機接入請求消息佔用的時域資源。 The terminal device according to item 23 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 access The time domain resource occupied by the incoming request message. 如申請專利範圍第23項所述的終端設備,其中,所述第二資源訊息具體用於指示所述隨機接入請求消息佔用的時域資源的起始位置和所述隨機接入請求消息佔用的頻域資源的結束位置中的至少一種。 The terminal device according to item 23 of the patent application scope, wherein the second resource message is specifically used to indicate the starting position of the time domain resource occupied by the random access request message and the occupation of the random access request message At least one of the end positions of the frequency domain resources. 如申請專利範圍第25項所述的終端設備,其中,所述第二資源訊息具體用於指示以下訊息中的至少一種:所述隨機接入請求消息佔用的第一個子幀的編號;所述隨機接入請求消息佔用的第一個時隙或第一個迷你時隙的編號;所述隨機接入請求消息佔用的最後一個子幀的編號;以及所述隨機接入請求消息佔用的最後一個時隙或最後一個迷你時隙的編號。 The terminal device according to item 25 of the patent application scope, wherein the second resource message is specifically used to indicate at least one of the following messages: the number of the first subframe occupied by the random access request message; 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 last number occupied by the random access request message The number of a time slot or the last mini time slot. 如申請專利範圍第26項所述的終端設備,其中,所述函數值的訊息用於指示以下訊息中的至少一種:所述RAR消息佔用的第一個子幀的編號與所述隨機接入請求消息佔用的第一個子幀的編號之間的差值;所述RAR消息佔用的第一個時隙的編號與所述隨機接入請求消息佔用的第一個時隙的編號之間的差值,或所述RAR消息佔用的第一個迷你時隙的編號與所述隨機接入請求消息佔用的第一個迷你時隙的編號之間的差值;所述RAR消息佔用的最後一個子幀的編號與所述隨機接入請求消息佔用的最後一個子幀的編號之間的差值;以及所述RAR消息佔用的最後一個時隙的編號與所述隨機接入請求消息佔用的最後一個時隙的編號之間的差值,或所述RAR消息佔用的最後一個迷你時隙的編號與所述隨機接入請求消息佔用的最後一個迷你時隙的編號之間的差值。 The terminal device of claim 26, wherein 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 random access The difference between the number of the first subframe occupied by the request message; 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 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 slot, or the difference between the number of the last mini slot occupied by the RAR message and the number of the last mini slot occupied by the random access request message. 如申請專利範圍第27項所述的終端設備,其中,所述隨機接入請求消息攜帶的除所述隨機前導碼之外的訊息包括所述第一終端設備的位置訊息、所述第一終端設備的標識訊息以及所述隨機接入請求消息的發送時間戳記中的至少一種。 The terminal device according to item 27 of the patent application scope, wherein the message other than the random preamble carried in the random access request message includes the location information of the first terminal device, the first terminal At least one of the identification message of the device and the sending timestamp of the random access request message. 如申請專利範圍第28項所述的終端設備,其中,所述指示訊息承載於所述RAR消息的媒介存取控制子頭MAC subheader或MAC RAR中。 The terminal device according to item 28 of the patent application scope, wherein the indication message is carried in a MAC access subheader or MAC RAR of the RAR message. 如申請專利範圍第23至29項中任一項所述的終端設備,其中,若所述前導碼訊息指示的隨機接入前導碼與所述隨機接入請消息攜帶的隨機接入前導碼不同,或所述指示訊息與所述隨機請求消息不匹配,所述處理模組還用於:確定所述RAR消息不屬於所述第一終端設備;其中,所述指示訊息與所述隨機接入請求消息不匹配,包括:所述指示訊息包括的資源訊息與所述隨機接入請求消息佔用的資源的第二資源訊息不同;和/或所述指示訊息包括的函數值的訊息與以所述隨機接入請求消息佔用的資源的第二資源訊息為變數的函數值的訊息不同;和/或所述指示訊息包括的位置訊息與所述隨機接入請求消息攜帶的所述第一終端設備的位置訊息不同;和/或所述指示訊息包括的標識訊息與所述隨機接入請求消息攜帶的所述第一終端設備的標識訊息不同;和/或所述指示訊息包括的發送時間戳記與所述隨機接入請求消息攜帶的發送時間戳記不同。 The terminal device according to any one of items 23 to 29 of the patent application range, 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 indication message does not match the random request message, the processing module is also used to: determine that the RAR message does not belong to the first terminal device; wherein, the indication message and the random access The request message does not match, including: the resource message included in the indication message is different from the second resource message of the resource occupied by the random access request message; and/or the function value message included in the indication message is different from the The second resource message of the resource occupied by the random access request message is a message with a variable function value; and/or the location message included in the indication message is different from the location information of the first terminal device carried in the random access request message The location message is different; and/or the indication message included in the indication message is different from the identification message of the first terminal device carried in the random access request message; and/or the transmission time stamp and the location message included in the indication message The sending timestamp carried in the random access request message is different.
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 2016-12-05
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

Publications (2)

Publication Number Publication Date
TW201822573A TW201822573A (en) 2018-06-16
TWI687120B true 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
PL3923660T3 (en) * 2019-02-14 2024-02-26 Beijing Xiaomi Mobile Software Co., Ltd. Methods and apparatuses for processing random access
CN111818549A (en) * 2019-04-11 2020-10-23 普天信息技术有限公司 Random access response message transmission method and device
JP7455817B2 (en) * 2019-04-26 2024-03-26 株式会社Nttドコモ Terminals, base stations, communication systems and communication methods
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
US20220353917A1 (en) * 2019-07-03 2022-11-03 Beijing Xiaomi Mobile Software Co., Ltd. Random access method, apparatus and system, and storage medium
WO2021068172A1 (en) * 2019-10-10 2021-04-15 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
WO2010064858A2 (en) * 2008-12-04 2010-06-10 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
CN109644503A (en) 2019-04-16
CN109644503B (en) 2021-08-10
TW201822573A (en) 2018-06-16
WO2018102966A1 (en) 2018-06-14

Similar Documents

Publication Publication Date Title
TWI687120B (en) Method for random access, network equipment and terminal equipment
JP6411641B2 (en) Transmission method and communication device
US11096131B2 (en) Wireless communication method and device
JP7150042B2 (en) Signal transmission method, network device and terminal device
WO2019154090A1 (en) Signal transmission method and device
US20230037478A1 (en) Positioning signal processing method and apparatus
US20220346014A1 (en) Random access method and apparatus
US11576153B2 (en) Device-to-device (D2D) communication method and D2D device
WO2021051364A1 (en) Communication method, apparatus and device
US11246169B2 (en) Communication method, related device, and system
WO2018171507A1 (en) Method and device for sending and receiving preamble sequence of physical random access channel
WO2019148451A1 (en) Information transmission method and device
TW201740751A (en) Signal transmission method, network apparatus, and terminal apparatus
US11792831B2 (en) Method and device for signal transmission
US20220240320A1 (en) Time domain position determination method and apparatus, terminal, computer-readable medium, and chip
WO2019136721A1 (en) Method and device for transmitting information
CN109155686B (en) Method and device for transmitting aperiodic SRS
TW201838464A (en) Communication method, terminal equipment, and access network equipment
WO2020155071A1 (en) Network identifier display method, terminal device, and network device
WO2018053752A1 (en) Method for transmitting system information, network device, and terminal device
WO2020087541A1 (en) Method and device for transmitting downlink control information
WO2021146963A1 (en) Method and apparatus for transmitting random access preamble
WO2018201811A1 (en) Random access method, terminal, base station, and computer readable storage medium
WO2020142998A1 (en) Signal transmission method and device

Legal Events

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