Patent Description:
Currently, the introduction of a simplified two-step contention-based random access process has been discussed in a <NUM>th-generation (<NUM>th-Generation, <NUM>) new radio (New Radio, NR) system, so as to reduce a delay for contention-based random access. The simplified two-step contention-based random access process includes the following steps.

Step <NUM>: a network side configures for a terminal device, e.g., a user equipment (User Equipment, UE), configuration information desired for two-step random access, e.g., random access resources for a two-step random access request message Msg1.

Step <NUM>: the UE selects a random access resource, and transmits a selected random access signal (preamble) to a network device, e.g., a base station, through the random access resource. Meanwhile, a UE identity is carried in the Msg1, so that the base station may determine the UE which has transmitted the random access request in accordance with the UE identity. In addition, user plane data may also be carried in the Msg1, so as to be adapted to small data transmission for an inactive UE, thereby to reduce a signaling overhead when a state of the UE is switched.

Step <NUM>: the base station transits a two-step random access response message to the UE. The UE identity may be carried in the two-step random access response message and use to indicate whether the UE has performed contention-based access successfully. When the UE has performed the contention-based access successfully, such information as timing advance and uplink grant may be also be carried in the two-step random access response message.

For the UE not in a connected state, the small data transmission may be performed on the basis of the simplified two-step contention-based random access process. As compared with a four-step contention-based random access process, it is able for the two-step contention-based random access process to reduce an access delay. However, in the two-step random access process, currently protocol stack configuration information desired for data carried in the request message has not been specified yet, and the data may be e.g., control plane data for a radio resource control (Radio Resource Control, RRC) connection establishment request and the like, and the user plane data.

<NPL>) relates to a solution to enable small data transmissions initiating a state transmission by commencing an RRC resume but without necessarily moving the UE to connected state.

<CIT> relates to systems, methods, and/or instrumentalities for light connectivity and/or autonomous mobility.

An object of the present disclosure is to provide a random access method and a terminal device, so as to solve the problem that the protocol stack configuration information desired for the data carried in the request message in the two-step random access process has currently not been specified yet.

According to the embodiments of the present disclosure, the data part carried in the two-step random access request message may be acquired in accordance with the layer-two configuration information. As a result, it is able to specify protocol stack configuration information desired for data carried by the request message in a two-step random access process, thereby to enable the data part carried in the two-step random access request message to be accurately received by a network side, and improve the data transmission reliability.

In order to illustrate the technical solutions of the embodiments of the present disclosure in a clearer manner, the drawings desired for the present disclosure will be described hereinafter briefly. Obviously, the following drawings merely relate to some embodiments of the present disclosure, and based on these drawings, a person skilled in the art may obtain the other drawings without any creative effort.

The present invention is defined by the attached independent claims. Advantageous embodiments are described in the attached dependent claims. Embodiments and/or examples mentioned in the description that do not fall under the scope of the claims are useful for understanding the present invention. In order to illustrate the technical solutions of the embodiments of the present disclosure in a clearer manner, the drawings desired for the present disclosure will be described hereinafter briefly. Obviously, the following drawings merely relate to some embodiments of the present disclosure, and based on these drawings, a person skilled in the art may obtain the other drawings without any creative effort.

As shown in <FIG>, the present disclosure provides in some embodiments a random access method for a terminal device, which includes Step <NUM> of transmitting a two-step random access request message to a network device, wherein a data part is carried in the two-step random access request message, and the data part is acquired through performing layer-two processing in accordance with layer-two configuration information.

Optionally, the two-step random access request message may be an Msg1.

It should be appreciated that, the layer-two configuration information may be agreed in a protocol, or configured by a network side. When it is configured by the network side, prior to Step <NUM>, the method may further include receiving, by the terminal device, the layer-two configuration information from the network device.

Optionally, the layer-two configuration information may be received through a system broadcasting message, or an RRC release message.

According to the random access method in the embodiments of the present disclosure, the data part carried in the two-step random access request message may be acquired in accordance with the layer-two configuration information. As a result, it is able to specify protocol stack configuration information desired for data carried by the request message in a two-step random access process, thereby to enable the data part carried in the two-step random access request message to be accurately received by the network side, and improve the data transmission reliability.

In an embodiment of the present disclosure, optionally, a configuration type of the layer-two configuration information may be a cell-specific configuration or a radio access network (Radio Access Network, RAN)-specific configuration.

When the configuration type of the layer-two configuration information is the cell-specific configuration, after the completion of cell reselection, the terminal device may update the layer-two configuration information desired for two-step random access as layer-two configuration information corresponding to a new cell in accordance with agreement in a protocol, or update the layer-two configuration information desired for the two-step random access as the layer-two configuration information corresponding to the new cell in accordance with the acquired system broadcasting message of the new cell.

In an embodiment of the present disclosure, optionally, the layer-two configuration information may include at least one of service data adaption protocol (Service Data Adaption Protocol, SDAP) layer configuration information, packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer configuration information, radio link control (Radio Link Control, RLC) layer configuration information, and media access control (Media Access Control, MAC) layer configuration information.

It should be appreciated that, in actual use, the SDAP layer configuration information may include default data radio bearer (Data Radio Bearer, DRB) information. The network side may configure one or more default DRBs for the terminal device. For example, when three default DRBs are configured for the terminal device, these three default DRBs may carry data streams that meet high, middle and low service requirements respectively.

The PDCP layer configuration information may include indication information indicating that a default value of a size of a PDCP sequence number (Sequence Number, SN) is a short PDCP SN size, and the short PDCP SN size may be a shortest one of all of the PDCP SN sizes. The short PDCP SN size may be <NUM> bits currently supported by a protocol, or a newly-introduced SN size, e.g., <NUM> bit.

The RLC layer configuration information may include indication information indicating that a default RLC transmission mode is a TM mode.

The MAC layer configuration information may include a default value of logic channels, a corresponding priority value of each logic channel, and a default value of maximum hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) retransmission times. The network side may configure one or more default logic channels and the corresponding priority values for the terminal device. For example, when there default logic channels are configured for the terminal device, these three default logic channels may carry DRB data for the data streams that meet the high, middle and low service requirements respectively.

Optionally, when the layer-two configuration information includes the SDAP layer configuration information and the SDAP layer configuration information includes the default DRB information, prior to Step <NUM>, the method may further include mapping, through an SDAP layer entity, data delivered by an upper layer to a default DRB corresponding to the default DRB information, and delivering the data to a PDCP layer entity associated with the default DRB, so as to acquire the data part carried in the two-step random access request message.

It should be appreciated that, usually the SDAP layer entity may process user plane data delivered by a service layer.

Further or alternatively, when the layer-two configuration information includes the PDCP layer configuration information and the PDCP layer configuration information includes the indication information indicating that the default value of the PDCP SN size is the short PDCP SN size, prior to Step <NUM>, the method may further include numbering, through a PDCP layer entity, data delivered by the SDAP layer entity in accordance with the short PDCP SN size, and delivering the numbered data to an RLC layer entity, so as to acquire the data part carried in the two-step random access request message. In addition, in this process, a data number may be carried in a PDCP sub-header. Parameters (e.g., COUNT) desired for security handling may be maintained on the basis of the PDCP SN.

Further or alternatively, when the layer-two configuration information includes the RLC layer configuration information and the RLC layer configuration information includes the indication information indicating that the default RLC transmission mode is the TM mode, prior to Step <NUM>, the method may further include directly delivering, through an RLC layer entity, data delivered by a PDCP layer entity to an MAC layer entity via a logic channel in the TM mode, i.e., not processing the data delivered by the PDCP layer entity, so as to acquire the data part carried in the two-step random access request message.

Further or alternatively, when the layer-two configuration information includes the MAC layer configuration information and the MAC layer configuration information includes a default value of a logic channel and the priority value corresponding to the logic channel, prior to Step <NUM>, the method may further include, when data has been received through an MAC layer entity from a plurality of default logic channels, multiplexing a logic channel for data transmission in accordance with the priority values corresponding to the plurality of default logic channels. For example, preferably, a logic channel with a largest priority value may be multiplexed.

In an embodiment of the present disclosure, optionally, subsequent to Step <NUM>, the method may further include: receiving a two-step random access response message transmitted from the network device; and when the two-step random access response message includes indication information indicating that the data part has not been received successfully yet, retransmitting the data part in accordance with the default maximum HARQ retransmission times.

When the network device has decoded the data part carried in the two-step random access request message successfully, the two-step random access response message may be used to feed back that the data part has been received successfully. When the network device fails to decode the data part carried in the two-step random access request message, the two-step random access response message may be used to feed back that the data part has not been received successfully yet. In this regard, when the network device fails to decode the data part, the data part may be retransmitted, so as to enable the network device to successfully receive the accurate data.

As shown in <FIG>, the present disclosure further provides a random access method for a network device, which includes Step <NUM> of receiving a two-step random access request message from a terminal device, wherein a data part is carried in the two-step random access request message, and the data part is acquired through performing layer-two processing in accordance with layer-two configuration information.

It should be appreciated that, the layer-two configuration information may be agreed in a protocol, or configured by a network side. When it is configured by the network side, prior to Step <NUM>, the method may further include transmitting, by the network device, the layer-two configuration information to the terminal device.

Optionally, the layer-two configuration information may be transmitted through a system broadcasting message, or an RRC release message.

In an embodiment of the present disclosure, optionally, a configuration type of the layer-two configuration information may be a cell-specific configuration or an RAN-specific configuration.

Optionally, the layer-two configuration information may include at least one of SDAP layer configuration information, PDCP layer configuration information, RLC layer configuration information, and MAC layer configuration information.

Optionally, subsequent to Step <NUM>, the method may further include: decoding, through an MAC layer entity, the data part; when the MAC layer entity has successfully decoded the data part, feeding back that the data part has been successfully received through a two-step random access response message; and when the MAC layer entity fails to decode the data part, feeding back that the data part has not been received successfully yet through the two-step random access response message.

The random access methods have been described hereinabove, and the terminal device and the network device will be described hereinafter in conjunction with the embodiments and drawings.

As shown in <FIG>, the present disclosure further provides in some embodiments a terminal device <NUM>, which includes a first transmission module <NUM> configured to transmit a two-step random access request message to a network device. A data part is carried in the two-step random access request message, and the data part is acquired through performing layer-two processing in accordance with layer-two configuration information.

According to the terminal device in the embodiments of the present disclosure, the data part carried in the two-step random access request message may be acquired in accordance with the layer-two configuration information. As a result, it is able to specify protocol stack configuration information desired for data carried by the request message in a two-step random access process, thereby to enable the data part carried in the two-step random access request message to be accurately received by a network side, and improve the data transmission reliability.

In an embodiment of the present disclosure, optionally, the layer-two configuration information may include at least one of SDAP layer configuration information, PDCP layer configuration information, RLC layer configuration information and MAC layer configuration information.

Optionally, the terminal device may further include a second reception module configured to receive the layer-two configuration information transmitted from the network device.

Optionally, the layer-two configuration information may be received through a system broadcasting message or an RRC release message.

Optionally, a configuration type of the layer-two configuration information may be a cell-specific configuration or an RAN-specific configuration.

Optionally, when the configuration type of the layer-two configuration information is the cell-specific configuration, after the completion of cell reselection, the terminal device may update the layer-two configuration information as layer-two configuration information corresponding to a new cell in accordance with agreement in a protocol, or update the layer-two configuration information as the layer-two configuration information corresponding to the new cell in accordance with the acquired system broadcasting message of the new cell.

Optionally, the terminal device <NUM> may further include a processing module configured to: when the layer-two configuration information includes the SDAP layer configuration information and the SDAP layer configuration information includes default DRB information, map, through an SDAP layer entity, data delivered by an upper layer to a default DRB corresponding to the default DRB information, and deliver the data to a PDCP layer entity associated with the default DRB, so as to acquire the data part; and/or when the layer-two configuration information includes the PDCP layer configuration information, and the PDCP layer configuration information includes indication information indicating that a default value of a PDCP SN size is a short PDCP SN size, and the short PDCP SN size is a shortest one of all of the PDCP SN sizes, number, through the PDCP layer entity, data delivered by the SDAP layer entity in accordance with the short PDCP SN, and deliver the numbered data to an RLC layer entity, so as to acquire the data part; and/or when the layer-two configuration information includes the RLC layer configuration information and the RLC layer configuration information includes indication information indicating that a default RLC transmission mode is a TM mode, directly deliver, through an RLC layer entity, data delivered by the PDCP layer entity to an MAC layer entity via a logic channel in the TM mode, so as to acquire the data part; and/or when the layer-two configuration information includes the MAC layer configuration information, the MAC layer configuration information includes a default value of a logic channel and a priority value corresponding to the logic channel, and data has been received through the MAC layer entity from a plurality of default logic channels, multiplex a logic channel for data transmission in accordance with the priority values corresponding to the plurality of default logic channels.

Optionally, the terminal device <NUM> may further include: a third reception module configured to receive a two-step random access response message transmitted from the network device; and a retransmission module configured to, when the two-step random access response message includes indication information indicating that the data part has not been received successfully yet, retransmit the data part in accordance with default maximum HARQ retransmission times.

As shown in <FIG>, the present disclosure further provides a network device <NUM>, which includes a first reception module <NUM> configured to receive a two-step random access request message from a terminal device, wherein a data part is carried in the two-step random access request message, and the data part is acquired through performing layer-two processing in accordance with layer-two configuration information.

According to the network device in the embodiments of the present disclosure, the two-step random access request message may be received from the terminal device, and the data part carried in the two-step random access request message may be acquired in accordance with the layer-two configuration information. As a result, it is able to specify protocol stack configuration information desired for data carried by the request message in a two-step random access process, thereby to enable the data part carried in the two-step random access request message to be accurately received by a network side, and improve the data transmission reliability.

Optionally, the network device <NUM> may further include a second transmission module configured to transmit the layer-two configuration information to the terminal device.

Optionally, the layer-two configuration information may be transmitted through a system broadcasting message or an RRC release message.

Optionally, the network device <NUM> may further include: a decoding module configured to decode, through an MAC layer entity, the data part; and a third transmission module configured to, when the MAC layer entity has successfully decoded the data part, feed back that the data part has been successfully received through a two-step random access response message; or when the MAC layer entity fails to decode the data part, feed back that the data part has not been received successfully yet through the two-step random access response message.

The present disclosure further provides in some embodiments a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of being executed by the processor. The computer program is executed by the processor to implement the step of the above-mentioned random access method for the terminal device with a same technical effect, which will not be particularly further defined herein.

To be specific, <FIG> shows a hardware structure of the terminal device according to embodiments of the present disclosure. The terminal device <NUM> may include, but not limited to, a radio frequency (RF) unit <NUM>, a network module <NUM>, an audio output unit <NUM>, an input unit <NUM>, a sensor <NUM>, a display unit <NUM>, a user input unit <NUM>, an interface unit <NUM>, a memory <NUM>, a processor <NUM>, and a power source <NUM>. It should be appreciated that, the structure in <FIG> shall not be construed as limiting the terminal device. The terminal device may include more or fewer members, or some members may be combined, or the members may be arranged in different modes. In the embodiments of the present disclosure, the terminal device may include, but not limited to, mobile phone, tablet computer, notebook computer, personal digital assistant, vehicle-mounted terminal, wearable device or pedometer.

The radio frequency unit <NUM> is configured to transmit a two-step random access request message to a network device. A data part is carried in the two-step random access request message, and the data part is acquired through performing layer-two processing in accordance with layer-two configuration information.

According to the terminal device <NUM> in the embodiments of the present disclosure, the data part carried in the two-step random access request message may be acquired in accordance with the layer-two configuration information. As a result, it is able to specify protocol stack configuration information desired for data carried by the request message in a two-step random access process, thereby to enable the data part carried in the two-step random access request message to be accurately received by the network side, and improve the data transmission reliability.

It should be appreciated that, in the embodiments of the present disclosure, the radio frequency unit <NUM> may transmit and receive signals during the information transmission or phone call. To be specific, the radio frequency unit may, upon the receipt of downlink data from a base station, transmit the downlink data to the processor <NUM> for subsequent treatment. In addition, the radio frequency unit may transmit uplink data to the base station. Usually, the radio frequency unit <NUM> may include, but not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier and a duplexer. In addition, the radio frequency unit <NUM> may communicate with a network and the other devices via a wireless communications system.

The network module <NUM> of the terminal device is configured to enable a user to access the broadband Internet in a wireless manner, e.g., help the user to receive and send an e-mail, browse a webpage or access a streaming media.

The audio output unit <NUM> is configured to convert audio data received by the radio frequency unit <NUM> or the network module <NUM>, or audio data stored in the memory <NUM>, into an audio signal and output the audio signal as a sound. In addition, the audio output unit <NUM> is further configured to provide an audio output related to a specific function executed by the terminal device <NUM> (e.g., a sound occurring when a calling signal or a message has been received). The audio output unit <NUM> may include a loudspeaker, a buzzer and a receiver.

The input unit <NUM> is configured to receive an audio or video signal. The input unit <NUM> may include a graphics processing unit (Graphics Processing Unit, GPU) <NUM> and a microphone <NUM>. The GPU <NUM> is configured to process image data of a static image or video acquired by an image collection unit (e.g., a camera) in a video capturing mode or an image capturing mode, and a processed image frame may be displayed by the display unit <NUM>. The image frame processed by the GPU <NUM> may be stored in the memory <NUM> (or another storage medium) or transmitted via the radio frequency unit <NUM> or network module <NUM>. The microphone <NUM> is configured to receive a sound, and convert the sound into audio data. In a telephone call mode, the processed audio data may be converted into data in a format capable of being transmitted by the radio frequency unit <NUM> to a mobile communications base station.

The terminal device <NUM> may further include at least one sensor <NUM>, which may include a light sensor, a movement sensor and another sensors. To be specific, the light sensor may include an ambient light sensor or a proximity sensor. The ambient light sensor is configured to adjust a brightness value of a display panel <NUM> in accordance with ambient light. The proximity sensor is configured to turn off the display panel <NUM> and/or a backlight source when the terminal device <NUM> is proximate to an ear of the user. As one of the movement sensors, an accelerometer may detect acceleration in various directions (usually a three-axis accelerometer), and detect a level and a direction of a gravity force when being in a static state. Through the accelerometer, it is able to identify a posture of the terminal (e.g., perform a switching operation between portrait and landscape orientations, play relevant games, and calibrate a posture of a magnetometer), and implement vibration-identification-related functions (e.g., count steps and strikes). The sensor <NUM> may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecule sensor, a gyroscope, a barometer, a hygrometer, a thermometer or an infrared sensor, which will not be further particularly defined herein.

The display unit <NUM> is configured to display information inputted by the user or provided to the user. The display unit <NUM> may include the display panel <NUM>, e.g., a liquid crystal display (Liquid Crystal Display, LCD) panel, or an organic light-emitting diode (Organic Light-Emitting Diode, OLED) panel.

The user input unit <NUM> is configured to receive digital or character information inputted by the user, and generate a key signal input related to user settings and function control of the terminal. To be specific, the user input unit <NUM> may include a touch panel <NUM> and another input device <NUM>. The touch panel <NUM>, also called as touch screen, is configured to collect a touch operation made by the user on or in proximity to the touch panel <NUM> (e.g., an operation made by the user through any appropriate object or attachment (e.g., finger or stylus) on or in the proximity to the touch panel <NUM>). The touch panel <NUM> may include a touch detection device and a touch controller. The touch detection device is configured to detect a touch position of the user and a signal generated due to the touch operation, and transmit the signal to the touch controller. The touch controller is configured to receive touch information from the touch detection device, convert it into coordinates of a touch point, transmit the coordinates to the processor <NUM>, and receive and execute a command from the processor <NUM>. In addition, the touch panel <NUM> may be of a resistive type, a capacitive type, an infrared type or a surface acoustic wave type. Besides the touch panel <NUM>, the user input unit <NUM> may further include the other input device <NUM>. The other input device <NUM> may include, but not limited to, a physical keyboard, a functional button (e.g., a volume control button, an on/off button), a trackball, a mouse, and a joystick, which will not be further particularly defined herein.

Further, the touch panel <NUM> may cover the display panel <NUM>. When the touch operation made on or in proximity to the touch panel <NUM> has been detected, the touch panel <NUM> may transmit the touch information to the processor <NUM>, so as to determine a type of a touch event. Then, the processor <NUM> may control the display panel <NUM> to provide a corresponding visual output in accordance with the type of the touch event. Although the touch panel <NUM> and the display panel <NUM> are configured as two separate members for achieving the input and output functions of the terminal device in <FIG>, in some embodiments of the present disclosure, they may be integrated so as to achieve the input and output functions of the terminal, which will not be further particularly defined herein.

The interface unit <NUM> is configured to provide an interface between an external device and the terminal device <NUM>. For example, the external device may include a wired or wireless headset port, an external power source port (or a charging port), a wired or wireless data port, a memory card port, a port for a device having an identification module, an audio input/output (I/O) port, a video I/O port, and an earphone port. The interface unit <NUM> is configured to receive an input from the external device (e.g., data information and electricity) and transmit the input to one or more elements of the terminal device <NUM>, or transmit data between the terminal device <NUM> and the external device.

The memory <NUM> is configured to store therein a software application and various data. The memory <NUM> may mainly include an application storage area and a data storage area. An operating system and at least one application for the functions (e.g., an audio playing function, an image playing function) may be stored in the application storage area. Data created in accordance with the operation of the mobile phone (e.g., audio data and phonebook) may be stored in the data storage area. In addition, the memory <NUM> may include a high-speed random access memory, or a non-volatile memory (e.g., at least one magnetic disk or flash memory), or another volatile solid state memory.

As a control center of the terminal device, the processor <NUM> may be connected to the other members of the terminal device via various interfaces and circuits, and configured to run or execute the software program and/or module stored in the memory <NUM>, and call the data stored in the memory <NUM>, so as to execute the functions of the terminal device and process the data, thereby to monitor the entire terminal device. The processor <NUM> may include one or more processing units. Optionally, an application processor and a modem may be integrated into the processor <NUM>. The application processor is mainly configured to process the operating system, a user interface and the application. The modem is mainly configured to process wireless communication. It should be appreciated that, the modem may also not be integrated into the processor <NUM>.

The terminal device <NUM> may further include the power source <NUM> (e.g., a battery) configured to supply power to the members of the terminal device <NUM>. Optionally, the power source <NUM> is logically connected to the processor <NUM> via a power source management system, so as to achieve such functions as charging, discharging and power consumption management through the power source management system.

In addition, the terminal device <NUM> may further include some functional modules not shown in <FIG>, which will not be particularly further defined herein.

The present disclosure further provides in some embodiments a network device, including a processor, a memory, and a computer program stored in the memory and capable of being executed by the processor. The computer program is executed by the processor so as to implement the step of the above-mentioned random access method for the network device with a same technical effect, which will not be further particularly defined herein.

To be specific, <FIG> shows a hardware structure of the network device. The network device <NUM> may include, but not limited to, a bus <NUM>, a transceiver <NUM>, an antenna <NUM>, a bus interface <NUM>, a processor <NUM> and a memory <NUM>.

The network device <NUM> may further include a computer program stored in the memory <NUM> and executed by the processor <NUM>. The computer program is executed by the processor <NUM> so as to receive a two-step random access request message from a terminal device. A data part may be carried in the two-step random access request message, and the data part may be acquired through performing layer-two processing in accordance with layer-two configuration information.

The transceiver <NUM> is configured to receive and transmit data under the control of the processor <NUM>.

In <FIG>, bus architecture (represented by the bus <NUM>) may include a number of buses and bridges connected to each other, so as to connect various circuits for one or more processors represented by the processor <NUM> and one or more memories represented by the memory <NUM>. In addition, as is known in the art, the bus <NUM> may be used to connect other circuits, such as a circuit for a peripheral device, a circuit for a voltage stabilizer and a power management circuit, which will not be further particularly defined herein. The bus interface <NUM> may be provided between the bus <NUM> and the transceiver <NUM>, and the transceiver <NUM> may consist of one element, or more than one elements, e.g., transmitters and receivers for communication with other devices over a transmission medium. Data processed by the processor <NUM> may be transmitted on a wireless medium via the antenna <NUM>. Further, the antenna <NUM> may further receive data and transmit the data to the processor <NUM>.

The processor <NUM> may take charge of managing the bus <NUM> as well as general processings, and may further provide various functions such as timing, peripheral interfacing, voltage adjustment, power source management and other control functions. The memory <NUM> may store therein data for the operation of the processor <NUM>.

Optionally, the processor <NUM> may be a CPU, an ASIC, a FPGA or a CPLD.

The present disclosure further provides a computer-readable storage medium storing therein a computer program. The computer program is configured to be executed by a processor, to implement the above-mentioned random access methods with a same technical effect, which will not be further particularly defined herein. The computer-readable storage medium may be, e.g., a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk.

It should be appreciated that, such words as "include" or "including" or any other variations involved in the present disclosure intend to provide non-exclusive coverage, so that a procedure, method, article or device including a series of elements may also include other elements not listed herein, or may include inherent elements of the procedure, method, article or device. If without any further limitations, for the elements defined by such sentence as "including one. ", it is not excluded that the procedure, method, article or device including the elements may also include other identical elements.

Through the above-mentioned description, it may be apparent for a person skilled in the art that the method embodiments may be implemented by software as well as a necessary common hardware platform, or by hardware, and the former may be better in most cases. Based on this, the technical solutions of the present disclosure, essentially, or parts of the technical solutions of the present disclosure contributing to the prior art, may appear in the form of software products, which may be stored in a storage medium (e.g., ROM/RAM, magnetic disk or optical disk) and include instructions so as to enable a terminal (e.g., mobile phone, computer, server, air conditioner or network device) to execute the method in the embodiments of the present disclosure.

Claim 1:
A random access method executed by a terminal device (<NUM>), comprising:
transmitting a two-step random access request message to a network device (<NUM>);
wherein a data part is carried in the two-step random access request message, and the data part is acquired through performing layer-two processing in accordance with layer-two configuration information (<NUM>),
characterized in that
when the layer-two configuration information comprises Packet Data Convergence Protocol, PDCP, layer configuration information, and the PDCP layer configuration information comprises indication information indicating that a default value of a PDCP sequence number, SN, size is a short PDCP SN size, the short PDCP SN size is a shortest one of all of the PDCP SN sizes, prior to transmitting the two-step random access request message to the network device (<NUM>), the random access method further comprises:
numbering, through a PDCP layer entity, data delivered by a Service Data Adaption Protocol, SDAP, layer entity in accordance with the short PDCP SN size, and delivering the numbered data to a Radio Link Control, RLC, layer entity, to acquire the data part;
and/or
when the layer-two configuration information comprises the RLC layer configuration information and the RLC layer configuration information comprises indication information indicating that a default RLC transmission mode is a Transparent Mode, TM, mode, prior to transmitting the two-step random access request message to the network device (<NUM>), the random access method further comprises:
directly delivering, through an RLC layer entity, data delivered by the PDCP layer entity to an MAC layer entity via a logic channel in the TM mode, to acquire the data part.