Terminal device, base station device, control method and computer-readable storage medium for performing random access procedure

By introducing a backoff mechanism in the two-step random access process and switching to a four-step random access process, the connection delay problem caused by insufficient wireless resource allocation is solved and the connection success rate is improved.

CN113455088BActive Publication Date: 2024-09-13KAIDIDIAI COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980091840.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-02-13
Filing Date
2019-06-28
Publication Date
2024-09-13
Estimated Expiration
2039-06-28

AI Technical Summary

Technical Problem

In the two-step random access process, wireless resources and parameters cannot be dynamically allocated, resulting in the base station device possibly being unable to receive messages sent by the terminal device and delaying connection establishment.

Method used

In the two-step random access process, if the reception is unsuccessful or times out, the terminal device or base station device will trigger the fallback mechanism and switch to the four-step random access process to ensure that the connection is established.

Benefits of technology

By falling back to the four-step random access process, the increase in connection establishment time is avoided and the connection success rate in adverse environments is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113455088B_ABST
    Figure CN113455088B_ABST
Patent Text Reader

Abstract

A terminal device that performs a two-step random access procedure or a four-step random access procedure to establish a connection with a base station device; performs control so that when a first message of the two-step random access procedure including a preamble code and predetermined information for connection establishment is sent and the number of unsuccessful attempts by the base station device to receive the first message exceeds a predetermined number, the terminal device sends a second message to be sent from the terminal device to the base station device in the four-step random access procedure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a terminal device, a base station device, a control method and a program, and in particular to a random access process enhancement technology. Background Art

[0002] Wireless communication system standards for Long Term Evolution (LTE), fifth generation (5G) new radio (NR), etc. are set by the Third Generation Partnership Project (3GPP). For LTE and NR, a random access procedure is specified for the initial connection between a terminal device and a base station device. The conventional random access procedure includes four steps.

[0003] Figure 1 An example of processing of a four-step random access process is shown in . In the four-step random access process, first, the terminal device (user equipment, UE) sends a random access (RA) preamble as a first message (message 1) to the base station device. Here, for example, the base station device is represented by gNB in ​​the case of NR and by eNB in ​​the case of LTE. Note that the RA preamble is sent using predetermined wireless resources (frequency and time resources). When the RA preamble is detected, the base station device sends an RA response as a second message (message 2) to the terminal device. Message 2 includes the following information, which includes the wireless resources for sending a third message (message 3) to be sent after receiving message 2 and the parameters when sending the signal. In addition, message 2 includes various information including a timing advance (TA) for synchronization signal timing. The terminal device uses the wireless resources and the information fragment specified by this information, as well as the predetermined information for establishing initial access as message 3 sent from the terminal device to the base station device. In addition, the base station device sends a fourth message to the terminal device in reply to message 3. Through this process, an initial connection is established between the terminal device and the base station device.

[0004] In 3GPP, the use of Figure 2 The two-step random access procedure shown has been the subject of investigation to reduce the time required for the initial connection procedure (see NPL 1). In the two-step random access procedure, the terminal device sends a message A, which corresponds to the above-mentioned message 1 and message 3, and includes a RA preamble code and a physical uplink shared channel (PUSCH) for sending predetermined information for initial access. In addition, the base station device is configured to reply to message A by sending a message B corresponding to the above-mentioned message 2 and message 4. Through the two-step random access procedure, after the sending and receiving of message A and message B are completed, a connection is established between the terminal device and the base station device. Note that the two-step random access procedure may be referred to as "two-step RACH" and the four-step random access procedure may be referred to as "four-step RACH" hereinafter.

[0005] Reference List

[0006] Non-patent literature

[0007] NPL1:3GPP,RP-182894. Summary of the invention

[0008] Technical issues

[0009] In two-step RACH, the wireless resources (time, frequency, and space) and transmission parameters (modulation method, coding rate, signal waveform, precoder, etc.) used to send message A cannot be dynamically allocated. Therefore, the terminal device can send message A, expecting that a fairly good wireless environment will be provided for the uplink from the terminal device to the base station device. However, in the case of normal use of two-step RACH, when the actual wireless environment of the uplink is different from the expected wireless environment to the extent that the two-step RACH cannot work, the base station device may not be able to receive message A and may not be able to establish a connection. In this case, the terminal device can try to repeatedly send message A until message B is received. However, in the case where message A cannot be successfully received by the base station device until the wireless environment is enhanced, the time spent before the wireless environment is enhanced will delay the establishment of the connection.

[0010] Solution to the problem

[0011] The present invention provides a technique for preventing an increase in the time taken to complete a connection in a wireless communication system using a two-step random access procedure.

[0012] According to one aspect of the present invention, a terminal device includes: an establishment device for performing a two-step random access process or a four-step random access process to establish a connection with a base station device; and a control device for performing control so that when a first message including a preamble code and predetermined information for connection establishment of a two-step random access process is sent by the establishment device and the number of unsuccessful attempts of the base station device to receive the first message exceeds a predetermined number, the establishment device sends a second message to be sent from the terminal device to the base station device in the four-step random access process.

[0013] According to another aspect of the present invention, a terminal device includes: an establishment device for performing a two-step random access process or a four-step random access process to establish a connection with a base station device; and a control device for performing control so that when the elapsed time exceeds a predetermined amount of time, the establishment device sends a second message to be sent from the terminal device to the base station device in the four-step random access process, and the elapsed time starts from the establishment device sending a first message of the two-step random access process including a preamble code and predetermined information for connection establishment, but not receiving a message sent from the base station device when the first message is successfully received.

[0014] According to one aspect of the present invention, a base station device includes: a reporting device for reporting a predetermined number of times to a terminal device, so that when the number of unsuccessful attempts to receive a first message including a preamble code and predetermined information for connection establishment for a two-step random access process sent from the terminal device exceeds the predetermined number of times, the terminal device sends the second information to be sent in a four-step random access process.

[0015] According to another aspect of the present invention, a base station device includes: a reporting device for reporting a predetermined amount of time to a terminal device, so that when the time elapsed from the terminal device sending a first message including a preamble code and predetermined information for connection establishment in a two-step random access process without successfully receiving the first message exceeds the predetermined amount of time, the terminal device sends the second information to be sent in a four-step random access process.

[0016] According to another aspect of the present invention, a base station device includes: a sending device for sending a message to the terminal device when, for a first message including a preamble code and predetermined information for connection establishment in a two-step random access procedure sent from the terminal device, the preamble code is detected but the number of unsuccessful attempts to receive the predetermined information exceeds a predetermined number, the message instructs the terminal device to send a second message to be sent in a four-step random access procedure.

[0017] According to another aspect of the present invention, a base station device includes: a sending device for sending a message to a terminal device, in a case where a first message including a preamble code and predetermined information for connection establishment in a two-step random access process sent by a terminal device is not successfully received and a time elapsed from the start of the preamble code is detected to exceed a predetermined time amount, the message commanding the terminal device to send a second message to be sent in a four-step random access process.

[0018] Advantageous Effects of the Invention

[0019] According to the present invention, it is possible to prevent the time taken to complete a connection from increasing in a wireless communication system using a two-step random access procedure.

[0020] Other features and advantages of the present invention will become apparent from the following description in conjunction with the accompanying drawings. Note that the same reference numerals throughout the accompanying drawings represent the same or similar components. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present invention and, together with the description, serve to explain the principles of the present invention.

[0022] Figure 1 is a diagram schematically illustrating the flow of a four-step random access procedure.

[0023] Figure 2 is a diagram schematically illustrating the flow of a two-step random access procedure.

[0024] Figure 3 is a diagram illustrating an example of the relationship between available frequency bands and bandwidth parts.

[0025] Figure 4 is a diagram illustrating an example configuration of a wireless communication system.

[0026] Figure 5 is a diagram illustrating an example of the hardware configuration of a terminal device and a base station device.

[0027] Figure 6 is a diagram illustrating an example of a functional configuration of a terminal device.

[0028] Figure 7 is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0029] Figure 8 is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0030] Fig. 9 is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0031] Fig.10 is a diagram illustrating an example of a functional configuration of a terminal device.

[0032] Fig.11 is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0033] Fig.12 is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0034] Fig.13 is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0035] Fig.14 is a diagram illustrating an example of a functional configuration of a terminal device.

[0036] Fig.15 This is a diagram for explaining an example of a functional configuration of a base station apparatus.

[0037] Fig.16A is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0038] Fig. 16B is a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0039] Fig.17Ais a diagram illustrating an example of the flow of processing performed by the wireless communication system.

[0040] Fig. 17B is a diagram illustrating an example of the flow of processing performed by the wireless communication system. Specific embodiments

[0041] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments are not intended to limit the scope of the claimed invention. A plurality of features are described in the embodiments, but the invention is not limited to requiring all of these features, and a plurality of such features may be appropriately combined. In addition, in the accompanying drawings, the same reference numerals are assigned to the same or similar configurations, and repeated descriptions thereof are omitted.

[0042] System Configuration

[0043] Figure 4 401, a terminal device 402, and a terminal device 403. Note that in Figure 4 In order to facilitate understanding, only one base station device and two terminal devices are shown. However, the number of devices is not limited thereto, and there may be more base station devices and terminal devices, or there may be only one terminal device.

[0044] For example, communication between a base station device and a terminal device is performed using a bandwidth portion (hereinafter referred to as a "bandwidth portion") that is at least a portion of a frequency band (system bandwidth, base station channel bandwidth) that can be used in the system. Figure 3 hereinafter describes an example configuration of bandwidth parts. Each terminal device (UE) can set up to four bandwidth parts within the system bandwidth, one of which is active for communicating with a base station device. The terminal device using such bandwidth parts eliminates the need to constantly modulate and demodulate the entire system bandwidth, and the terminal device and the base station device only need to modulate and demodulate the active bandwidth part to communicate.

[0045] According to the present embodiment, the terminal device 402 and the terminal device 403 perform the following operations: Figure 2 The two-step RACH shown in FIG. Figure 1The four-step RACH shown is used to establish a connection with the base station device 401. Note that according to the two-step RACH, since the terminal device and the base station device each only need to send a message once to establish a connection compared to the four-step RACH, the connection between the terminal device and the base station device can be established in a short time. However, using the two-step RACH, in the case where the terminal device sends the message A as described above and the base station device detects the preamble part of the message A, the demodulation or decoding of the PUSCH part may fail, resulting in the inability to send the message B as a reply to the message A. In particular, since the PUSCH part is expected to be sent without properly setting the wireless resources and the transmission parameters, the base station device may not be able to receive the PUSCH part even in a wireless environment where the message 3 of the four-step RACH will be successfully received. Therefore, in the case where the terminal device normally performs the two-step RACH, the connection may not be established in an environment where the four-step RACH will successfully connect, and the message A may be repeatedly sent until the communication environment changes to an environment that is conducive to establishing a connection. Therefore, the time taken to establish a connection may increase. Furthermore, in the case where a terminal device normally performs four-step RACH, even in an environment where two-step RACH connection establishment can succeed, performing four-step RACH may cause the time taken to establish a connection to increase unnecessarily.

[0046] In this regard, in the present embodiment, when the base station apparatus fails to receive the two-step RACH message A after the terminal apparatus has sent the message A, the processing transitions to the four-step RACH (falls back to the four-step RACH). For example, when the base station apparatus fails to successfully receive the message A (the terminal apparatus fails to receive the message B), the fallback processing is performed on the basis that the number of times the message A is sent reaches a predetermined number of times. In addition, the fallback processing is performed based on the fact that the time elapsed after the base station apparatus fails to successfully receive the message A (the terminal apparatus fails to receive the message B) after the message A has been sent reaches a predetermined amount of time. Moreover, when the number of times the base station apparatus has detected the preamble portion of the message A but has failed to successfully receive the PUSCH portion (demodulation, decoding) reaches a predetermined number of times, or when the time elapsed after the preamble portion has been detected but the PUSCH portion has not been successfully received reaches a predetermined amount of time, an instruction to execute the four-step RACH is sent to the terminal apparatus.

[0047] According to this configuration, it is possible to prevent the terminal device from continuing to perform two-step RACH in a state that is not conducive to the establishment of a two-step RACH connection, and it is possible to prevent the time taken to establish a connection from increasing by falling back to four-step RACH. In addition, because the terminal device initially attempts to connect via two-step RACH, it is possible to establish a connection with the base station device in a short time in an environment that is conducive to connection via two-step RACH.

[0048] Hereinafter, some embodiments of the configuration of an apparatus that performs such processing and a process flow will be described.

[0049] First embodiment

[0050] In this embodiment, the terminal device counts the number of times the terminal device sends message A via the two-step RACH, terminates the two-step RACH in response to the number reaching a predetermined number, and starts connection processing using the four-step RACH.

[0051] Device Configuration

[0052] Figure 5 5 is a diagram showing an example of the hardware structure of the terminal device and the base station device of the present embodiment. The terminal device and the base station device include, for example, a processor 501, a ROM 502, a RAM 503, a storage device 504, and a communication circuit 505. In the terminal device, for example, a program for realizing the above-mentioned functions of the terminal device is executed by the processor 501, and the program is stored in, for example, the ROM 502, the RAM 503, or the storage device 504. In a similar manner, in the base station device, a program for realizing the above-mentioned functions of the base station device is executed by the processor 501, and the program is stored in, for example, the ROM 502, the RAM 503, or the storage device 504. Note that the processor 501 may be one or more processors including a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), and the like.

[0053] The terminal device and the base station device control the communication circuit 505, for example, through the processor 501, and communicate with the partner device (for example, in the case of the terminal device, the base station device, and in the case of the base station device, the terminal device or the network node). Figure 5 In the figure, the terminal device and the base station device are schematically shown as including a single communication circuit 505. However, this is not intended to be so limited. For example, the terminal device may include a communication circuit for communicating with the base station device and a communication circuit for communicating with a wireless LAN or the like. In addition, for example, the base station device may include a communication circuit for communicating with the terminal device and a communication circuit for communicating with a network node.

[0054] Note that the terminal device and the base station device may have dedicated hardware for performing the functions. Alternatively, a part of the functions may be performed by hardware and another part may be performed by a computer running a program. Furthermore, all functions may be performed by a computer and a program.

[0055] Figure 66 is a diagram showing an example of the functional configuration of a terminal device according to the present embodiment. The terminal device includes, in terms of functions, a communication control unit 601, a connection processing unit 602, a message transmission attempt count storage unit 603, a fallback determination unit 604, and a threshold acquisition unit 605. Note that the terminal device may also have functions as a typical terminal device, but these functions are omitted for simplicity of description.

[0056] The communication control unit 601 controls the communication performed between the terminal device and the base station device (for example, wireless communication conforming to the 5G communication standard). For example, the communication control unit 601 performs various types of control to perform communication with the base station device. For example, the communication control unit 601 performs various types of control on wireless communication conforming to the 5G standard. The connection processing unit 602 performs two-step RACH or four-step RACH through the communication control unit 601 to establish a connection with the base station device. For example, two-step RACH or four-step RACH fallback processing can be performed by the connection processing unit 602. The message transmission attempt number storage unit 603 stores the number of times message A has been sent by the communication control unit 601. For example, when the two-step RACH connection processing starts, the message transmission attempt number storage unit 603 resets the number of attempts to 0 and calculates the number of times message A has been sent within the time until message B is received from the base station device. The fallback determination unit 604 determines whether the number of message A transmission attempts stored by the message transmission attempt number storage unit 603 has reached a predetermined number of times, and when the number of transmissions reaches a predetermined number of times, it is determined to perform a fallback to the four-step RACH. The fallback determination unit 604 inputs the determination result to the connection processing unit 602, and then the connection processing unit 602 starts the four-step RACH connection processing in response to the obtained determination result of performing the fallback to the four-step RACH. In other words, the connection processing unit 602 sends a four-step RACH random access preamble (message 1) to the base station apparatus in response to obtaining the determination result of performing the fallback to the four-step RACH. Then, the connection processing is performed according to the four-step RACH processing.

[0057] The threshold acquisition unit 605 acquires information of the predetermined number of times used in determining whether to perform fallback to the four-step RACH as described above from the base station device via the communication control unit 601. For example, the predetermined number of times may be the maximum number of transmission attempts of the random access preamble through the four-step RACH. In the four-step RACH, when the terminal device does not receive a random access response from the base station device even after the maximum number of transmission attempts of the random access preamble, it is determined that the random access has failed. The use of the information of the maximum number of transmission attempts of the random access preamble in the known four-step RACH removes the need to change the operation of the base station device associated with the notification of the predetermined number of times from the operation of the typical configuration. For example, the maximum number of transmission attempts of the random access preamble in the four-step RACH is reported from the base station device to multiple terminal devices simultaneously through a broadcast signal. Note that the predetermined number of times may be reported to the terminal device through separate signaling. In addition, the predetermined number of times may be a value different from the maximum number of transmission attempts of the random access preamble. For example, the predetermined number of times may be specified as a value less than the maximum number of transmission attempts of the random access preamble. In this case as well, the predetermined number of times may be reported to one or more terminal devices simultaneously through a broadcast signal, or may be reported to each terminal device separately through separate signaling. Note that the predetermined number of times may be set in advance, and in this case, the threshold value acquisition unit 605 may be omitted.

[0058] For example, the terminal device attempts to establish a connection with the base station device by sending a two-step RACH message A until the predetermined number of times obtained by the threshold acquisition unit 605 is reached. In the case where the terminal device receives message B before the number of attempts to send message A reaches the predetermined number of times, the connection with the base station device can be established through the following two-step RACH connection processing. However, in the case where the number of attempts to send message A by the terminal device reaches the predetermined number of times without receiving message B, the two-step RACH processing ends and the four-step RACH processing starts. In this case, the terminal device sends a four-step RACH random access preamble (message 1) and attempts to connect with the base station device. Note that in the case where the terminal device does not receive message 2 after sending message 1, message 1 is retransmitted. For example, this retransmission is performed until the number of retransmission attempts reaches the maximum number of attempts to send the random access preamble through the four-step RACH. In this way, the probability of successfully establishing a connection through the four-step RACH can be increased. Note that in the case where the above-mentioned predetermined number of times (defined as "m") is less than the maximum number of attempts to send the four-step RACH random access preamble (defined as "n"), message 1 can be retransmitted until the number of attempts reaches (nm). In this case, the sum of the number of transmission attempts of the two-step RACH message A and the number of transmission attempts of the four-step RACH message 1 can be saved to be equal to or less than the maximum number of transmission attempts of the four-step RACH message 1. Therefore, even in the case where fallback from the two-step RACH process to the four-step RACH process is performed, it is possible to prevent the time taken to establish a connection from increasing, especially compared to the case where only the four-step RACH is used.

[0059] Note that the above-mentioned predetermined number of times can be set for each bandwidth part set for the terminal device. In this case, the threshold acquisition unit 605 can obtain the predetermined number of times for each bandwidth part set for the terminal device. Note that in the case of setting the maximum number of transmission attempts of the four-step RACH random access preamble code for each bandwidth part, this number can be used as the predetermined number of times, or different numbers can be used as the predetermined number of times. The terminal device sends message A through one (active) bandwidth part of the bandwidth part set for the terminal device. Then, in the case where the number of message A transmission attempts reaches the predetermined number of times for this bandwidth part without receiving message B from the base station device, fallback to the four-step RACH is performed. Note that the base station device can report the predetermined number of times for each bandwidth part to one or more terminal devices via a broadcast signal, or can report the predetermined number of times to each terminal device separately via separate signaling.

[0060] Note that in the above-described processed items, regarding the base station apparatus notifying the terminal apparatus of the maximum number of transmission attempts of the four-step RACH, a known configuration can be used because a predetermined number of times for each type can be reported. Therefore, an example of the functional configuration of the base station apparatus is omitted from this description.

[0061] Processing Flow

[0062] Next, we will use Figures 7 to 9 An example of the processing flow according to the present embodiment will be described. Figure 7 is a diagram showing a processing example in the case where the maximum number of transmission attempts of a random access preamble of a four-step RACH is used as the above-mentioned predetermined number of times. Figure 8 1 is a diagram showing an example of processing in the case where a number different from the maximum number of transmission attempts of a random access preamble of a four-step RACH is used as the predetermined number. Fig. 9 is a diagram showing setting of a predetermined number of times for each bandwidth section.

[0063] For example, in Figure 7 In the example shown, the terminal device obtains information on the maximum number of transmission attempts (n) of the random access preamble code of the four-step RACH from the broadcast signal transmitted by the base station device as information on the predetermined number of times. Figure 8 In the example shown, the terminal device obtains information about a threshold value (m) different from the maximum number of transmission attempts (n) of the random access preamble of the four-step RACH from the broadcast signal transmitted by the base station device as information about the predetermined number of times. Note that the terminal device may also obtain information about the number of times threshold value (m) from other base station devices via separate signaling, for example, during connection processing during location registration. Note that Figure 8 In , the threshold value of the maximum number of transmission attempts of the random access preamble is represented by the backoff threshold value. Fig. 9 In the example shown, a backoff threshold is set for each bandwidth part, and a value corresponding to information of a predetermined number of times for each bandwidth part is reported from the base station device to the terminal device. Note that the maximum number of random access preamble transmission attempts can be set for each bandwidth part, and Fig. 9 In the example of , the maximum number of transmission attempts of the random access preamble code for each bandwidth part may also be reported from the base station device to the terminal device as information of the predetermined number of times for each bandwidth part. Note that the predetermined number of times may be set in advance for the terminal device, such as when the terminal device is manufactured, when the wireless communication system is established, etc., and in this case, the information of the predetermined number of times may not be reported from the base station device to the terminal device.

[0064] When the two-step RACH starts, the terminal device resets the number of transmission attempts of message A to 0, and each time a message A is sent, the terminal device counts the number of transmission attempts and stores this value. For example, the terminal device sends message A so that the preamble part of message A is sent through a random access preamble transmission opportunity (frequency and time resources for sending random access preambles). Then, after sending message A, the terminal device waits for message B sent from the base station device as a reply to message A. In the case where the terminal device does not receive message B, message A is retransmitted so that the preamble part is sent through the next random access preamble transmission opportunity. Each time a message A is retransmitted, the terminal device counts the value of the number of transmission attempts and determines whether the value reaches a predetermined number of times at each count. Then, in the case where the value of the number of transmission attempts reaches a predetermined number of times, the terminal device ends sending message A and then changes the processing of the connection with the base station device to a four-step RACH random access operation. When the terminal device starts the four-step RACH random access operation, the terminal device sends message 1 (random access preamble) of the four-step RACH, and then waits for message 2 (random access response) of the four-step RACH to arrive from the base station device. After the terminal device receives message 2, messages 3 and 4 of the four-step RACH are sent and received between the terminal device and the base station device, and a connection between the terminal device and the base station device is established.

[0065] exist Figure 7 In the example of , in the case where the terminal device does not receive message B in response to the transmitted message A, the terminal device repeatedly retransmits message A until the number of transmission attempts of message A is equal to the maximum number of transmission attempts (n) of the random access preamble. In other words, the terminal device retransmits message A up to n times. Then, in response to message A having been transmitted n times, the terminal device ends the transmission of message A, and in the case where the connection with the base station device is not established at this time, the four-step RACH is started. In a similar manner, in Figure 8 In the example of , in the case where the terminal device does not receive message B in response to the sent message A, the terminal device repeatedly retransmits message A until the number of attempts to send message A is equal to the backoff determination threshold (m). In other words, the terminal device retransmits message A up to m times. Then, in response to message A having been sent m times, the terminal device ends sending message A, and starts the four-step RACH if the connection with the base station device is not established at this time. Fig. 9 In the example of , the backoff threshold is different depending on which bandwidth portion the terminal device uses. Fig. 9In the example, the terminal device sends message A using the first bandwidth part (BWP#1). In this example, in the case where the terminal device does not receive message B in response to the sent message A, the terminal device repeatedly resends message A until the number of attempts to send message A is equal to the backoff determination threshold (m1) of the first bandwidth part. Note that in determining to fall back to the four-step RACH, the terminal device does not use the backoff determination thresholds (m0, m2, m3) of the bandwidth parts (BWP#0, BWP#2, BWP#3) that are not used by the terminal device to send message A. In response to message A having been sent m1 times through the first bandwidth part, the terminal device ends sending message A, and starts the four-step RACH if the connection with the base station device is not established at this time. For example, through the first bandwidth part, the terminal device starts sending a random access preamble.

[0066] Note that in the above process, for example, the number of transmission attempts of message A may be reset to 1 at the start of two-step RACH, and in this case, when the number of transmission attempts of message A exceeds a predetermined number, the terminal device stops two-step RACH. In other words, after the first transmission of message A, the number of transmission attempts is counted to 2. Therefore, for example, Figure 7 In the example, when message A has been sent n times, the number of sending attempts is equal to n+1, and thus exceeds the predetermined number. Accordingly, in a case where the terminal device starts counting from the number of sending attempts of message A being reset to 1, in response to the number of sending attempts exceeding the predetermined number, the two-step RACH ends, allowing similar processing to be performed as described above. In addition, the value of the number of sending attempts of message A can be reset to a predetermined number of times, and the value of the number of sending attempts can be counted after each message A is sent. In this way, it can be understood that the above example is only an example, and various configurations can be used to end the two-step RACH when message A has been sent a predetermined number of times.

[0067] According to this embodiment, the maximum number of transmission attempts of message A is set, and in the case where the terminal device cannot establish a connection with the base station device through the two-step RACH, the four-step RACH is performed. In this way, the probability of the terminal device successfully establishing a connection with the base station device can be increased. In addition, since the terminal device initially uses the two-step RACH, it can quickly establish a connection with the base station device when the communication environment is good.

[0068] Second embodiment

[0069] In the present embodiment, in response to the elapsed time from the transmission of the message A through the two-step RACH reaching a predetermined time, the terminal apparatus ends the two-step RACH and starts connection processing through the four-step RACH.

[0070] Device Configuration

[0071] Fig.10 is a diagram showing an example of the functional structure of the terminal device according to the present embodiment. Figure 5 The terminal device includes, in terms of functions, a communication control unit 1001, a connection processing unit 1002, an elapsed time measurement unit 1003, a fallback determination unit 1004, and a threshold acquisition unit 1005. Note that the terminal device can of course also function as a typical terminal device, but these functions are omitted for simplicity of description.

[0072] The communication control unit 1001 and the connection processing unit 1002 are similar to the communication control unit 601 and the connection processing unit 602 described above. The elapsed time measurement unit 1003 stores the elapsed time from the transmission of the message A by the communication control unit 1001. For example, the elapsed time measurement unit 1003 resets the timer to 0 at the start of the two-step RACH, stores the timer started in response to the message A being transmitted, and updates the timer with the elapsed time during a period in which the message B is not received from the base station apparatus. The fallback determination unit 1004 determines whether the elapsed time from the transmission of the message A stored by the elapsed time measurement unit 1003 has reached a predetermined amount of time, and determines to perform fallback to the four-step RACH if the elapsed time has reached the predetermined amount of time. The fallback determination unit 1004 inputs the determination result to the connection processing unit 1002, and in response to the obtained determination result of performing fallback to the four-step RACH, the connection processing unit 1002 starts the four-step RACH connection processing. In other words, in response to obtaining the determination result that fallback to four-step RACH is performed, the connection processing unit 1002 transmits a four-step RACH random access preamble (message 1) to the base station apparatus. Then, connection processing is performed according to the four-step RACH process.

[0073] The threshold acquisition unit 1005 acquires information for determining whether to perform a predetermined amount of time to fall back to the four-step RACH as described above from the base station device through the communication control unit 1001. The predetermined amount of time can be specified, for example, by a timer used in the four-step RACH. The four-step RACH has two timers, the ra-response window and the ra-contention resolution timer. The ra-response window is used to determine that the random access preamble has not yet arrived at the base station device when the amount of time specified by the ra-response window has passed and the terminal device has not received a random access response to the random access preamble sent. In addition, the ra-contention resolution timer is used to determine that the random access (contention resolution) has failed when the amount of time specified by the ra-contention resolution timer has passed and the terminal device has not received a message 4 after sending a message 3 in response to receiving a random access response. In addition, according to this embodiment, the terminal device can use the ra-response window or the ra-contention resolution timer as the predetermined amount of time. Accordingly, because the timer value in the known four-step RACH can be used, the need to change the operation of the base station device related to the notification of the predetermined amount of time from the operation of the typical configuration is removed. For example, the four-step RACH timer value can be reported from the base station device to multiple terminal devices simultaneously via a broadcast signal. Note that the predetermined amount of time can be reported to the terminal device via separate signaling. In addition, the predetermined amount of time can be a value different from the above-mentioned four-step RACH timer. For example, the predetermined amount of time can be specified as a value less than the above-mentioned four-step RACH timer. In addition, the predetermined amount of time can be specified as a value greater than the above-mentioned four-step RACH timer. Also in this case, the predetermined amount of time can be reported to one or more terminal devices simultaneously via a broadcast signal, or can be reported to each terminal device individually via separate signaling. Note that the predetermined amount of time can be set in advance, and in this case, the threshold acquisition unit 1005 can be omitted.

[0074] For example, after sending message A, the terminal device waits until the time reaches a predetermined amount of time acquired by the threshold acquisition unit 1005, and waits to receive message B from the base station device within the predetermined amount of time. In this way, the terminal device attempts to establish a connection with the base station device. In the case where the terminal device receives message B before the elapsed time from the sending of message A reaches a predetermined amount of time, a connection with the base station device can be established through the following two-step RACH connection processing. However, in the case where the elapsed time from the sending of message A by the terminal device without receiving message B reaches a predetermined amount of time, the two-step RACH processing ends and the four-step RACH processing starts. In this case, the terminal device sends a four-step RACH random access preamble (message 1) and attempts to connect to the base station device.

[0075] Note that the above-mentioned predetermined amount of time can be set for each bandwidth part set for the terminal device. In this case, the threshold acquisition unit 1005 can obtain the predetermined amount of time for each bandwidth part set for the terminal device. Note that in the case where the timer value of the above-mentioned four-step RACH is set for each bandwidth part separately, this timer value can be used as the predetermined amount of time, or different values ​​can be used as the predetermined amount of time. The terminal device sends message A through one (active) bandwidth part of the bandwidth part set for the terminal device. Then, when the elapsed time from the sending of message A reaches the predetermined amount of time for the bandwidth part and no message B is received from the base station device, fallback to the four-step RACH is performed. Note that the base station device can report the predetermined amount of time for each bandwidth part to one or more terminal devices via a broadcast signal, or can report the predetermined amount of time to each terminal device separately via separate signaling.

[0076] For example, the predetermined amount of time may be related to the amount of time since the first transmission of message A. In other words, the terminal device may measure the elapsed time since the first transmission of message A, and may repeatedly transmit message A until the elapsed time reaches the predetermined amount of time. In this case, when transmitting message A for the second and subsequent times, the terminal device may not clear the value of the elapsed time stored in the elapsed time measurement unit 1003. In addition, for example, in the case where message A is only repeatedly transmitted a predetermined number of times as in the first embodiment described above, the predetermined amount of time may be related to the amount of time since the final transmission of message A. In this case, for example, when the predetermined amount of time is greater than the transmission cycle of message A, the terminal device may clear the value of the elapsed time stored in the elapsed time measurement unit 1003 each time message A is transmitted, and measure the amount of time since each transmission of message A.

[0077] Note that in the above-described processing items, regarding the base station apparatus notifying the terminal apparatus of each timer of the four-step RACH, a known configuration can be used since a predetermined amount of time for each type can be reported. Therefore, an example of the functional configuration of the base station apparatus is omitted from this description.

[0078] Processing Flow

[0079] Next, we will use Figures 11 to 13 An example of the processing flow according to the present embodiment will be described. Fig.11 1 is a diagram showing an example of processing in which the timer value (RA-contention resolution timer) used in the four-step RACH is used as the above-mentioned predetermined time. Fig.12 is a diagram showing an example of processing in the case where a value different from the timer value used in the four-step RACH is used as the above-mentioned predetermined time amount. In addition, Fig.13 is a diagram showing setting a predetermined amount of time for each bandwidth portion.

[0080] For example, in Fig.11 In the example of , the terminal device obtains information of a timer value used in the four-step RACH (in this example, RA-contention resolution timer is used, but RA-response window may also be used) from a broadcast signal transmitted from the base station device as information of the predetermined amount of time. Fig.12 In the example shown in , the terminal device obtains information of a threshold value (p) (the threshold value (p) is a time amount different from the timer value used in the four-step RACH) from a broadcast signal transmitted from a base station device as information of a predetermined time amount. Note that, for example, the terminal device can obtain information of the time amount threshold value (p) from another base station device via separate signaling through connection processing during location registration. Note that in Fig.12 In , a time threshold different from the timer value used in four-step RACH is represented as the timer threshold. Fig.13 In the example shown in , a timer threshold is set for each bandwidth part, and a value corresponding to information of a predetermined amount of time for each bandwidth part is reported from the base station apparatus to the terminal apparatus. Note that the timer value used in the four-step RACH can be set for each bandwidth part, and Fig.13 In the example of , the timer value used in the four-step RACH for each bandwidth part may also be reported from the base station device to the terminal device as information on the predetermined amount of time for each bandwidth part. Note that the predetermined amount of time may be set in advance for the terminal device, such as when the terminal device is manufactured, when the wireless communication system is established, etc., and in this case, the information on the predetermined time may not be reported from the base station device to the terminal device.

[0081] The terminal device starts the timer from 0 when sending message A, and updates this value as time passes. For example, the terminal device sends message A so that the preamble part of message A is sent through the random access preamble sending opportunity (the frequency and time resources used to send the random access preamble). Then, after sending message A, the terminal device waits for message B to be sent from the base station device as a reply to message A. At this time, the terminal device determines whether the time elapsed without receiving message B has reached a predetermined amount of time. Then, in the case where the elapsed time (timer value) has reached a predetermined amount of time, the terminal device ends the two-step RACH and changes the processing for connecting to the base station device to a four-step RACH random access operation. When the terminal device starts the four-step RACH random access operation, the terminal device sends message 1 (random access preamble) of the four-step RACH, and then waits for message 2 (random access response) of the four-step RACH to arrive from the base station device. After the terminal device receives message 2, messages 3 and 4 of the four-step RACH are sent and received between the terminal device and the base station device, and a connection between the terminal device and the base station device is established.

[0082] exist Fig.11 In the example of , after sending message A, if the elapsed time without receiving message B by the terminal device reaches (or exceeds) the amount of time indicated by the ra-contention resolution timer, the two-step RACH process ends and the four-step RACH begins. Fig.12 In the example of , if the elapsed time after sending message A without the terminal device receiving message B reaches (or exceeds) the amount of time indicated by the timer threshold (p), the two-step RACH process ends and the four-step RACH begins. Fig.13 In the example of , the timer threshold value varies depending on which bandwidth portion the terminal device uses. Fig.13 In the example, the terminal device uses the first bandwidth part (BWP#1) to send message A. In this example, after the message A to be sent is sent, the elapsed time without the terminal device receiving message B reaches (or exceeds) the timer threshold (p1), the two-step RACH process ends and the four-step RACH starts. Note that the terminal device does not use the timer thresholds (p0, p2, p3) that the terminal device does not use to send message A in the bandwidth part (BWP#0, BWP#2, BWP#3) in determining the fallback to the four-step RACH. In the case where message A is the first bandwidth part, in response to the start of the four-step RACH, the terminal device starts sending the random access preamble code through the first bandwidth part.

[0083] According to the present embodiment, when the elapsed time after sending message A and not receiving message B reaches a certain value, a threshold value for terminating two-step RACH is provided. Using this threshold value, when the terminal device cannot establish a connection with the base station device through two-step RACH within a certain amount of time, four-step RACH is performed. As a result, the probability of the terminal device successfully establishing a connection with the base station device can be increased, and the time taken for connection establishment can be prevented from being unnecessarily increased. In addition, since the terminal device initially uses two-step RACH, it can quickly establish a connection with the base station device when the communication environment is good.

[0084] Third embodiment

[0085] In this embodiment, when the base station device successfully detects the preamble included in message A but fails to demodulate the PUSCH part afterwards, the base station device instructs the terminal device to perform four-step RACH. In this way, in a wireless environment where the base station device can detect the preamble part but cannot receive PUSCH information, the terminal device can cause the execution of four-step RACH. At this time, the base station device sends the above instruction through message B, and at the same time sends information corresponding to message 2 of the four-step RACH to the terminal device. Therefore, the terminal device can start the four-step RACH processing from message 3. This allows the time spent on establishing a connection via the four-step RACH to be reduced by using a part of the two-step RACH result.

[0086] Device Configuration

[0087] Fig.14 : is a diagram showing an example of a functional configuration of a terminal device according to the present embodiment. Fig.15 is a diagram showing an example of the functional configuration of the base station device according to the present embodiment. Note that the hardware configuration examples of the terminal device and the base station device are similar to those of FIG. Figure 5 The same is shown, so the description is omitted.

[0088] The terminal device includes, in terms of functions, a communication control unit 1401, a connection processing unit 1402, and a received message determination unit 1403. Note that the terminal device can of course also function as a typical terminal device, and these functions have been omitted to simplify the description. The base station device includes a communication control unit 1501, a connection processing unit 1502, a reception success determination unit 1503, and a sent message determination unit 1504. Note that the base station device can of course also function as a typical base station device, and these functions have been omitted to simplify the description.

[0089] The communication control unit 1401 of the terminal device is similar to the communication control unit 601 described above. The connection processing unit 1402 is similar to the connection processing unit 602 described above in that it uses two-step RACH and / or four-step RACH to establish a connection with the base station device. However, in this embodiment, when the base station device successfully receives the preamble part of message A but fails to successfully receive the PUSCH part based on the message received from the base station device, the connection processing unit 1402 ends the two-step RACH and starts the four-step RACH. The received message determination unit 1403 determines whether to switch from the two-step RACH to the four-step RACH based on the message received from the base station device.

[0090] The communication control unit 1501 of the base station device controls the communication performed between the base station device and the terminal device (for example, wireless communication conforming to the 5G communication standard). For example, the communication control unit 1501 performs various types of control to perform communication with the terminal device. For example, the communication control unit 1501 performs various types of control on wireless communication conforming to the 5G standard. The connection processing unit 1502 performs a two-step RACH or a four-step RACH initiated by the terminal device through the communication control unit 1501 to establish a connection with the terminal device. For example, in response to a message for a random access process received via the communication control unit 1501, the connection processing unit 1502 performs control by sending a reply message for establishing a connection with the terminal device. Note that the content of the reply message is determined by the sending message determination unit 1504. The reception success determination unit 1503 determines whether a message from the terminal device has been successfully received. For example, the reception success determination unit 1503 determines whether a two-step RACH message A has been successfully received, whether only the preamble part of the message A has been successfully received, or whether the preamble part and the PUSCH part have been successfully received.

[0091] The transmission message determination unit 1504 determines the message to be transmitted to the terminal device via the connection processing unit 1502 based on the determination result from the reception success determination unit 1503. For example, in the case where the reception success determination unit 1503 determines that the preamble part and the PUSCH part of the message A have been successfully received, the transmission message determination unit 1504 determines to transmit the message B without the backoff instruction. In addition, in the case where the reception success determination unit 1503 determines that the preamble part of the message A has been successfully received but the PUSCH part has not been received, the transmission message determination unit 1504 determines to transmit the message B with the backoff instruction.

[0092] The sending message determination unit 1504 sends a message including a PDCCH (physical downlink control channel) part and a PDSCH (physical downlink shared channel) part. Here, message B is included in the PDSCH and sent. At this time, for example, the fallback instruction can be reported to the terminal device through the information element contained in the message B. In this case, by demodulating message B, the terminal device can determine whether there is a fallback instruction. Note that in the case where the reception success determination unit 1503 determines that the preamble part of message A has been detected but the PUSCH part has not been received, the sending message determination unit 1504 can send information corresponding to message 2 of the four-step RACH. For example, the information corresponding to message 2 includes the allocation information of the wireless resources required to send message 3 through the four-step RACH. Accordingly, in the case where the base station device detects the preamble part of message A but does not receive the PUSCH part, the terminal device can start the four-step RACH from sending message 3.

[0093] In addition, for example, the fallback instruction can also be implicitly reported to the terminal device using information used in the scrambling when sending the PDCCH. Typically, the wireless resources used to send the random access response (message 2) of the four-step RACH are reported to the terminal device through the PDCCH scrambled with identification information (random access radio network temporary identifier (RA-RNTI)). At this time, the value of the RA-RNTI is determined according to the position of the wireless resources used by the random access preamble. In this embodiment, in the absence of a fallback instruction, the scrambling of the PDCCH part is performed using the first RA-RNTI; in the case of a fallback instruction, the scrambling of the PDCCH part is performed using the second RA-RNTI. Therefore, the terminal device can determine whether a fallback instruction has been issued by determining whether the scrambling of the PDCCH is performed with the first RA-RNTI or the second RA-RNTI. Note that when the reception success determination unit 1503 determines that the preamble part and the PUSCH part of message A have been successfully received, the message sending determination unit 1504 sends message B through the PDSCH part. On the other hand, in the case where the reception success determination unit 1503 determines that the preamble part of message A has been detected but the PUSCH part has not been received, the message transmission determination unit 1504 can send information corresponding to message 2 of the four-step RACH through the PDSCH part. For example, the information corresponding to message 2 includes allocation information of wireless resources required to send message 3 through the four-step RACH. In the case where the terminal device performs PDCCH demodulation using the first RA-RNTI and the second RA-RNTI, and the demodulation using the first RA-RNTI is successful, the terminal device performs message B reception processing, and in the case where the demodulation using the second RA-RNTI is successful, the terminal device performs random access response reception processing.

[0094] Note that, as in the first embodiment, in the case where the preamble part is detected a predetermined number of times but the PUSCH part is not successfully received, the transmission message determination unit 1504 may transmit a message issuing a backoff instruction. Also, as in the second embodiment, in the case where the PUSCH part is not successfully received before a predetermined amount of time has passed since the PUSCH part having the preamble part that has been detected was not successfully received, the transmission message determination unit 1504 may transmit a message issuing a backoff instruction.

[0095] Processing Flow

[0096] Next, we will use Fig.16A , 16B , 17A and 17B to describe an example of the processing flow according to the present embodiment.

[0097] Fig.16A and 16Bis a diagram showing an example in which the information element of message B indicates whether there is a back instruction. Fig.16A is a diagram showing a processing flow in the case where the base station apparatus successfully detects the preamble of message A and demodulates PUSCH. In this case, the base station apparatus transmits message B that does not include a fallback instruction to the terminal apparatus. When the terminal apparatus receives message B, the terminal apparatus can determine the success and end of two-step RACH. On the other hand, Fig. 16B is a diagram showing a processing flow in the case where the base station apparatus successfully detects the preamble of message A but fails to demodulate PUSCH. Fig. 16B In the example of , in a case where the base station device successfully detects the preamble of message A a predetermined number of times but fails to demodulate PUSCH, the base station device sends a message B including a backoff instruction to the terminal device. Note that the predetermined number of times here may be once, and further, in a case where PUSCH demodulation is still unsuccessful after a predetermined amount of time has passed since the preamble was successfully detected but PUSCH demodulation was unsuccessful, the base station device may send a message B including a backoff instruction. Note that the base station device manages the number of unsuccessful PUSCH demodulations of each preamble and the elapsed time from the unsuccessful PUSCH demodulation, and determines whether to issue a backoff instruction for each preamble. Message B here includes information specifying wireless resources for sending message 3 of four-step RACH (corresponding to the information of message 2). Therefore, in a case where the terminal device has received message B including a backoff instruction, message 3 may be sent while omitting messages 1 and 2 of the four-step RACH.

[0098] Fig.17A and Fig. 17B This is a diagram showing an example in which the base station apparatus implicitly reports the presence or absence of a fallback instruction to the terminal apparatus through the RA-RNTI used to scramble the PDCCH. Fig.17A It is a diagram showing the processing flow in the case where the base station device successfully detects the preamble of message A and demodulates PUSCH. In this case, the base station device sends a PDCCH part scrambled using the first RA-RNTI (RA-RNTI#0) and a PDSCH part containing message B. The terminal device attempts to demodulate the PDCCH part through the first RA-RNTI (RA-RNTI#0) and the second RA-RNTI (RA-RNTI#1). In this example, the demodulation through the first RA-RNTI is successful, and the demodulation through the second RA-RNTI fails. As a result, the terminal device determines that the base station device successfully detects the preamble of message A and demodulates PUSCH, and performs message B reception processing through the subsequent PDSCH. Fig. 17BIn the example of , when the base station device successfully detects the preamble of message A for a predetermined number of times but fails to demodulate PUSCH, the base station device sends a PDCCH part scrambled with the second RA-RNTI and a PDSCH part including a random access response. Note that the predetermined number of times here may be once, and further, when PUSCH demodulation is still unsuccessful after a predetermined time has passed since the preamble detection was successful but PUSCH demodulation was unsuccessful, the base station device may send a PDCCH part scrambled with the second RA-RNTI and a PDSCH part including a random access response. Note that the base station device manages the number of unsuccessful PUSCH demodulations for each preamble and the elapsed time from the unsuccessful PUSCH demodulation, and determines whether to issue a fallback instruction for each preamble. The terminal device attempts to demodulate the PDCCH part by the first RA-RNTI (RA-RNTI#0) and the second RA-RNTI (RA-RNTI#1). In this example, demodulation by the first RA-RNTI fails, and demodulation by the second RA-RNTI succeeds. Thus, the terminal device determines that the base station device successfully detected the preamble of message A but failed to demodulate PUSCH in the predetermined number of times, and performs random access response reception processing through the subsequent PDSCH. The random access response includes information specifying the wireless resources for sending message 3 of the four-step RACH. Therefore, in the case where the terminal device has received message B containing the fallback instruction, message 3 can be sent while omitting messages 1 and 2 of the four-step RACH.

[0099] As described above, according to the present embodiment, in the case where the base station apparatus detects the preamble portion of message A but fails to demodulate the PUSCH portion, the base station apparatus sends a fallback instruction to the terminal apparatus. In the present embodiment, in the case where the base station apparatus issues an instruction to fall back to the four-step RACH, since the base station apparatus has successfully detected the preamble portion sent from the terminal apparatus, the terminal apparatus does not need to send a random access preamble for the four-step RACH. Therefore, when the fallback instruction is issued, the base station apparatus sends information specifying the wireless resources to be used for message 3 and a random access response to the terminal apparatus. Accordingly, when the two-step RACH ends and the four-step RACH begins, the terminal apparatus can start from message 3. Therefore, the time taken to establish a connection between the terminal apparatus and the base station apparatus can be reduced.

[0100] Note that the third embodiment can be used in combination with the first and second embodiments described above. For example, in the case where the connection establishment is still unsuccessful even though the terminal device attempts to send message A for a first predetermined number of times, the terminal device can autonomously perform a fallback to the four-step RACH, or in the case where the demodulation of the PUSCH part is still unsuccessful even though the base station device successfully detects the preamble part of the message A from the terminal device for a second predetermined number of times, the base station device can issue a fallback instruction to the terminal device. Note that the second predetermined number of times can be less than the first predetermined number of times. In addition, in the case where the connection establishment is still unsuccessful even though the elapsed time from the time when the terminal device sends message A reaches the first predetermined time amount, the terminal device can autonomously perform a fallback to the four-step RACH, or in the case where the demodulation of the PUSCH part is still unsuccessful despite the elapsed time from the time when the base station device successfully detects the preamble part of the message A from the terminal device for a second predetermined time amount, the base station device can issue a fallback instruction to the terminal device. In this case, the second predetermined time amount can be shorter than the first predetermined time amount. In this way, the terminal device can autonomously perform fallback to four-step RACH when the base station device has not successfully detected the preamble code part, and when the base station device has successfully detected the preamble code part, a fallback instruction can be issued to the terminal device at an earlier stage.

[0101] The present invention is not limited to the above-described embodiments, and various changes and modifications can be made within the spirit and scope of the present invention. Therefore, in order to make the public aware of the scope of the present invention, the following claims are made.

Claims

1. A terminal device, comprising: An establishing device, the establishing device is used to perform a two-step random access procedure or a four-step random access procedure to establish a connection with a base station device; as well as a control device configured to perform control so that, in a case where a first message including a preamble and predetermined information for connection establishment of the two-step random access procedure is sent by the establishment device and the number of unsuccessful attempts of the base station device to receive the first message exceeds a predetermined number, the establishment device sends a second message to be sent from the terminal device to the base station device in the four-step random access procedure, wherein communication between the base station device and the terminal device is performed using at least one of a plurality of bandwidth portions included in an available frequency band, setting the predetermined number of times for each of the plurality of bandwidth parts, In a case where the number of times exceeds the predetermined number of times set for one bandwidth section among the plurality of bandwidth sections for transmitting the first message, the control means performs control so that the establishment means transmits the second message.

2. The terminal device according to claim 1, wherein: The predetermined number of times is the maximum number of attempts to send a random access preamble during a four-step random access process.

3. The terminal device according to claim 1, wherein: The predetermined number of times is a number different from the maximum number of attempts to send a random access preamble in a four-step random access process.

4. The terminal device according to claim 1, wherein: The control device performs control so that the establishment device transmits the second message in response to receiving an instruction transmitted from the base station device in response to the number of times exceeding the predetermined number of times.

5. The terminal device according to claim 1, wherein: The second message is a preamble sent through the first message.

6. The terminal device according to claim 1, wherein: The second message is a preamble different from the preamble sent by the first message.

7. The terminal device according to claim 4, wherein: The second message is a message sent after a random access response in the four-step random access process.

8. The terminal device according to claim 4, wherein: The instruction is included in a reply message to the first message in the two-step random access process.

9. The terminal device according to claim 8, wherein: reporting the instruction to the terminal device by using first identification information in sending a first part of the reply message; and The first identification information is different from second identification information used in sending the first part through the reply message if the first message is successfully received.

10. The terminal device according to claim 8, wherein: reporting the instruction to the terminal device by sending first information via the second part of the reply message; and The first information is different from second information sent via the second part of the reply message if the first message is successfully received.

11. The terminal device according to claim 10, wherein: The first information is information corresponding to a random access response in the four-step random access process.

12. A base station device, comprising: reporting means for reporting a predetermined number of times to a terminal device, so that when the number of unsuccessful attempts to receive a first message including a preamble and predetermined information for connection establishment of a two-step random access procedure sent from the terminal device exceeds a predetermined number of times, the terminal device sends a second message to be sent in a four-step random access procedure, wherein communication between the base station device and the terminal device is performed using at least one of a plurality of bandwidth portions included in an available frequency band, setting the predetermined number of times for each of the plurality of bandwidth parts, In a case where the number of times exceeds the predetermined number of times set for one bandwidth section among the plurality of bandwidth sections for transmitting the first message, the terminal device transmits the second message.

13. The base station device according to claim 12, wherein: The second message is a random access preamble in the four-step random access process.

14. The base station device according to claim 12, further comprising: A sending device, wherein the sending device is used to send a message to the terminal device when the preamble code is detected for the first message but the number of unsuccessful attempts to receive the predetermined information exceeds the predetermined number, the message instructing the terminal device to send the second message.

15. The base station device according to claim 14, wherein: The second message is a message sent after a random access response in a four-step random access process.

16. A control method, the control method being performed by a terminal device capable of performing a two-step random access procedure or a four-step random access procedure to establish a connection with a base station device, the control method comprising: performing control so that, in a case where a first message including a preamble of the two-step random access procedure and predetermined information for connection establishment is transmitted and the number of unsuccessful attempts by the base station apparatus to receive the first message exceeds a predetermined number, a second message to be transmitted from the terminal apparatus to the base station apparatus in the four-step random access procedure is transmitted, wherein communication between the base station device and the terminal device is performed using at least one of a plurality of bandwidth portions included in an available frequency band, setting the predetermined number of times for each of the plurality of bandwidth parts, In a case where the number of times exceeds the predetermined number of times set for one bandwidth section among the plurality of bandwidth sections for transmitting the first message, control is performed so that the second message is transmitted.

17. A computer-readable storage medium storing a program, the program being used to cause a computer provided in a terminal device capable of performing a two-step random access procedure or a four-step random access procedure to establish a connection with a base station device to execute control so that, in a case where a first message including a preamble and predetermined information for connection establishment of the two-step random access procedure is sent and the number of unsuccessful attempts of the base station device to receive the first message exceeds a predetermined number, a second message to be sent from the terminal device to the base station device in the four-step random access procedure is sent, in, performing communication between the base station device and the terminal device using at least one of a plurality of bandwidth portions included in a usable frequency band, setting the predetermined number of times for each of the plurality of bandwidth parts, In a case where the number of times exceeds the predetermined number of times set for one bandwidth section among the plurality of bandwidth sections for transmitting the first message, control is performed so that the second message is transmitted.