CN106793150B - Wireless link establishing method and terminal - Google Patents

Wireless link establishing method and terminal Download PDF

Info

Publication number
CN106793150B
CN106793150B CN201611151113.7A CN201611151113A CN106793150B CN 106793150 B CN106793150 B CN 106793150B CN 201611151113 A CN201611151113 A CN 201611151113A CN 106793150 B CN106793150 B CN 106793150B
Authority
CN
China
Prior art keywords
random access
network side
timing
wireless link
timing time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611151113.7A
Other languages
Chinese (zh)
Other versions
CN106793150A (en
Inventor
崔恒彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611151113.7A priority Critical patent/CN106793150B/en
Publication of CN106793150A publication Critical patent/CN106793150A/en
Application granted granted Critical
Publication of CN106793150B publication Critical patent/CN106793150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The disclosure relates to a method for establishing a wireless link and a terminal, and belongs to the technical field of information processing. The method comprises the following steps: when receiving a random access response sent by a network side and the random access response carries delay information, ending timing the timing time of the wireless link and sending a wireless link establishment request to the MAC layer through the RRC layer again, so that the problem that the terminal cannot try to establish the wireless link with the network side again before the timing time of the wireless link is reached because the terminal sets the delay timing time when receiving the delay information is avoided. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.

Description

Wireless link establishing method and terminal
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a method and a terminal for establishing a wireless link.
Background
At present, terminals such as mobile phones mainly have two operation modes: the terminal comprises an idle mode and a connection mode, wherein the terminal is in the idle mode after being started, and at the moment, the terminal mainly executes operations of reading system messages of a current cell, monitoring paging messages and the like; when a terminal in an idle mode needs to initiate services such as paging, the terminal needs to be first switched to a connection mode, that is, the terminal needs to establish a wireless link first and then perform services such as paging through the established wireless link.
In the related art, the process of establishing a wireless link by a terminal is as follows: when the terminal performs a data transmission service, an RRC (Radio Resource Control) layer of the terminal sends a Radio link establishment request to an MAC (Media Access Control) layer, determines a timing time of a Radio link, and starts timing. And the MAC layer sends a random access request to the network side when receiving the wireless link establishment request, and when the network side receives the random access request and determines that the current network environment is relatively congested, the MAC layer can send a random access response to the MAC layer of the terminal, wherein the random access response carries delay information and is used for indicating the MAC layer of the terminal to resend the random access request after delaying for a period of time. When the MAC layer of the terminal receives the random access response, setting a delay timing time and starting timing. When the timing time of the wireless link arrives first, the establishment of the wireless link is determined to be failed, the timing of the delay timing time is finished, and the wireless link is reestablished. When the delay timing time is reached first, the MAC layer sends a random access request to the network side again, and when the random access is successful, the MAC layer sends a wireless link establishment request to the network side so as to establish a wireless link between the terminal and the network side.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method for establishing a wireless link and a terminal.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for establishing a wireless link, the method including:
when data transmission service is carried out, a Radio Resource Control (RRC) layer sends a radio link establishment request to a Media Access Control (MAC) layer, the timing time of the radio link is determined, and timing is started;
when the wireless link establishment request is received through the MAC layer, a random access request is sent to a network side through the MAC layer;
and when receiving a random access response sent by the network side and the random access response carries delay information, ending timing of the timing time of the wireless link, and sending a wireless link establishment request to the MAC layer through the RRC layer again, wherein the delay information is used for indicating that the random access request is sent in a delayed manner.
Optionally, after receiving a random access response sent by the network side and the random access response carries delay information, and before ending timing of the timing time of the radio link, the method further includes:
setting a delay timing time based on the timing time of the wireless link and starting timing, wherein the delay timing time is less than the timing time of the wireless link;
when the delay timing time is up, the random access request is sent to the network side again through the MAC layer;
and when receiving a random access response sent by the network side and the random access response also carries delay information, executing a step of ending timing of the timing time of the wireless link and sending a wireless link establishment request to the MAC layer through the RRC layer again.
Optionally, after the resending the random access request to the network side when the delay timer time arrives, the method further includes:
and when a random access response sent by the network side is received and the random access response does not carry delay information, sending the wireless link establishment request to the network side through the MAC layer so as to establish a wireless link with the network side.
Optionally, the setting a delay timer time and starting timing based on the timer time of the wireless link includes:
selecting a timing time from a stored timing schedule that is less than the timing time of the wireless link;
randomly selecting one timing time as the delay timing time from the selected timing times.
Optionally, the data transmission service is a paging service based on a long term evolution LTE network.
According to a second aspect of the embodiments of the present disclosure, there is provided a terminal, including:
the first sending module is used for sending a wireless link establishment request to a Media Access Control (MAC) layer through a Radio Resource Control (RRC) layer when data transmission service is carried out, determining the timing time of the wireless link and starting timing;
a second sending module, configured to send a random access request to a network side through the MAC layer when the radio link establishment request is received through the MAC layer;
and the ending module is used for ending the timing of the timing time of the wireless link when receiving the random access response sent by the network side and the random access response carries delay information, and sending a wireless link establishment request to the MAC layer through the RRC layer again, wherein the delay information is used for indicating the delay of sending the random access request.
Optionally, the terminal further includes:
the setting module is used for setting delay timing time and starting timing based on the timing time of the wireless link, wherein the delay timing time is less than the timing time of the wireless link;
a third sending module, configured to send the random access request to the network side again through the MAC layer when the delay timer time arrives;
and the execution module is used for executing the steps of ending timing of the timing time of the wireless link and sending a wireless link establishment request to the MAC layer through the RRC layer again when the random access response sent by the network side is received and also carries delay information.
Optionally, the terminal further includes:
a fourth sending module, configured to send the radio link establishment request to the network side through the MAC layer when a random access response sent by the network side is received and the random access response does not carry delay information, so as to establish a radio link with the network side.
Optionally, the setting module includes:
a first selection submodule for selecting a timing time less than the timing time of the radio link from a stored timing schedule;
and the second selection submodule is used for randomly selecting one timing time from the selected timing times as the delay timing time.
Optionally, the data transmission service is a paging service based on a long term evolution LTE network.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when data transmission service is carried out, a Radio Resource Control (RRC) layer sends a radio link establishment request to a Media Access Control (MAC) layer, the timing time of the radio link is determined, and timing is started;
when the wireless link establishment request is received through the MAC layer, a random access request is sent to a network side through the MAC layer;
and when receiving a random access response sent by the network side and the random access response carries delay information, ending timing of the timing time of the wireless link, and sending a wireless link establishment request to the MAC layer through the RRC layer again, wherein the delay information is used for indicating that the random access request is sent in a delayed manner.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the embodiment of the disclosure, when receiving a random access response sent by a network side and the random access response carries delay information, the timing of the timing time of the radio link is ended, and a radio link establishment request is sent to an MAC layer through an RRC layer again, so that it is avoided that the terminal sets the delay timing time when receiving the delay information, and cannot try to establish the radio link with the network side again before the timing time of the radio link reaches. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of a method for establishing a wireless link according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another method for establishing a wireless link according to an embodiment of the present disclosure;
fig. 3A is a block diagram of a terminal according to an embodiment of the disclosure;
fig. 3B is another terminal block diagram provided by the embodiments of the present disclosure;
FIG. 3C is a block diagram of a setup module provided by embodiments of the present disclosure;
fig. 4 is another terminal block diagram provided in the embodiments of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure will be described. In the related art, when the random access response received by the terminal carries delay information, the terminal sets a delay timing time and starts timing, but the delay timing time is usually longer than the timing time of the radio link, so when the timing time of the radio link arrives, the delay timing time usually does not arrive, that is, before the timing time of the radio link arrives, the terminal does not send a random access request again, so that when the network environment is congested, before the timing time of the radio link arrives, the terminal cannot try to establish the radio link with the network side again, so that the time required for establishing the radio link is longer, and the efficiency of initiating services such as paging and the like by the terminal is affected. Therefore, the embodiment of the present disclosure provides a method for establishing a radio link, where when a random access response sent by a network side is received and the random access response carries delay information, the method ends timing a timing time of the radio link and sends a radio link establishment request to an MAC layer through an RRC layer again, so as to avoid that a terminal sets the delay timing time when receiving the delay information, and thus the terminal cannot try to establish the radio link with the network side again before the timing time of the radio link reaches. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.
Fig. 1 is a flowchart of a method for establishing a wireless link according to an embodiment of the present disclosure, and as shown in fig. 1, the method for establishing a wireless link includes the following steps.
In step 101, when a data transmission service is performed, a radio link establishment request is sent to the MAC layer through the RRC layer, and the timing time of the radio link is determined and timing is started.
In step 102, when the radio link establishment request is received through the MAC layer, a random access request is sent to the network side through the MAC layer.
In step 103, when receiving the random access response sent by the network side and the random access response carries delay information, ending timing the timing time of the radio link, and sending a radio link setup request to the MAC layer through the RRC layer again, where the delay information is used to instruct to delay sending the random access request.
In the embodiment of the disclosure, when receiving a random access response sent by a network side and the random access response carries delay information, the timing of the timing time of the radio link is ended, and a radio link establishment request is sent to an MAC layer through an RRC layer again, so that it is avoided that the terminal sets the delay timing time when receiving the delay information, and cannot try to establish the radio link with the network side again before the timing time of the radio link reaches. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.
Optionally, after receiving a random access response sent by the network side and the random access response carries delay information, and before ending timing the timing time of the radio link, the method further includes:
setting a delay timing time based on the timing time of the wireless link and starting timing, wherein the delay timing time is less than the timing time of the wireless link;
when the delay timing time is up, the random access request is sent to the network side again through the MAC layer;
and when receiving a random access response sent by the network side and the random access response also carries delay information, executing the step of ending timing of the timing time of the wireless link and sending a wireless link establishment request to the MAC layer through the RRC layer again.
Optionally, when the delay timer time is reached, after the random access request is retransmitted to the network side, the method further includes:
and when a random access response sent by the network side is received and the random access response does not carry delay information, sending a wireless link establishment request to the network side through the MAC layer so as to establish a wireless link with the network side.
Optionally, setting a delay timer time and starting timing based on the timer time of the wireless link, including:
selecting a timing time from the stored timing schedule that is less than the timing time of the wireless link;
from the selected count times, a count time is randomly selected as the delay count time.
Optionally, the data transmission service is a paging service based on an LTE network.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 2 is a flowchart of a method for establishing a wireless link according to an embodiment of the present disclosure, and as shown in fig. 2, the method for establishing a wireless link is used in a terminal and includes the following steps.
In step 201, when the terminal performs a data transmission service, a radio link establishment request is sent to the MAC layer through the RRC layer, and the timing time of the radio link is determined and timing is started.
In the embodiment of the present disclosure, when the terminal in the idle mode needs to perform a data transmission service, the terminal needs to establish a wireless link with the network side first, and then perform the data transmission service through the established wireless link. And the terminal establishes the radio link through the control plane of the mobile network to which the terminal is currently attached. For convenience of explanation, the control plane of the mobile network to which the terminal is connected will be described first. The mobile network to which the terminal is currently accessed includes a user plane and a control plane, the user plane is used for transmitting real service data such as voice data or packet service data, and the control plane is used for transmitting control signaling such as establishment or release of a call flow. The control plane includes an RRC layer and an MAC layer, where the RRC layer is configured to receive a service request sent by a non-access layer of the terminal and control a behavior of the MAC layer, and the MAC layer is configured to receive an instruction sent by the RRC layer and forward the instruction to the network side, that is, the RRC layer is mainly responsible for receiving the service request of the non-access layer and invoking the MAC layer, and the MAC layer is mainly responsible for sending the instruction of the RRC layer to the network side. Therefore, when the terminal performs a data transmission service, the non-access layer of the terminal sends a service request to the RRC layer, and when the RRC layer receives the service request, the RRC layer sends a radio link establishment request to the MAC layer, where the radio link establishment request is used to instruct the MAC layer to establish a radio link with the network side, so as to complete the data transmission service currently performed by the terminal.
The data transmission service refers to a service that can be implemented only by data transmission, such as a paging service, a called service, or a short message service. The mobile network to which the terminal is currently accessed may be an LTE (Long Term Evolution) network or a WCMA (Wideband Code Division Multiple Access) network. When the mobile network to which the terminal is currently accessed is an LTE network, the data transmission service may be a paging service based on the LTE network. In addition, the non-access layer of the terminal refers to a layer above an RRC layer in a protocol stack, and the signaling transmitted in the non-access layer is signaling that can be transmitted only by the terminal, that is, the signaling transmitted in the non-access layer is signaling that does not need to interact with a network side.
In the embodiment of the present disclosure, after the terminal sends the radio link establishment request to the MAC layer through the RRC layer, in order to ensure that the radio link establishment is successful, the terminal may determine a timing time of the radio link and start timing, and before the timing time of the radio link arrives, if a message for successful establishment of the radio link is received, it is determined that the radio link establishment is successful; if the timing time of the wireless link is up, the wireless link establishment is determined to be successful or unsuccessful, and the terminal can send a wireless link establishment request to the MAC layer again through the RRC layer so as to reestablish the wireless link between the terminal and the network side. It should be noted that, in the embodiment of the present disclosure, in order to avoid that the terminal currently sends the radio link establishment request to the MAC layer through the RRC layer multiple times according to the data transmission service, the terminal may set a threshold number of times in advance, and when the number of times that the terminal sends the radio link establishment request to the MAC layer through the RRC layer exceeds the preset threshold number of times, the terminal does not attempt to establish the radio link with the network side.
Wherein the terminal determines the timing time of the wireless link and the start of timing can be realized by a timer in the terminal. The timer is a timer pre-installed in the terminal, and the timer may be a T300 timer, a T308 timer, an N300 timer, or the like, and it should be noted that, during the establishment of the radio link, the timer is usually a T300 timer, and the time counted by the T300 timer is usually the time specified in the protocol of the LTE network. For example, a T300 timer is installed in the terminal in advance, when the terminal sends a radio link establishment request to the MAC layer through the RRC layer, the timer T300 is started, the timing time of the timer T300 is also the timing time of the radio link, and the timing time of the radio link determined according to the protocol of the LTE network may be 400ms or 500 ms.
In step 202, when the radio link establishment request is received through the MAC layer, a random access request is sent to the network side through the MAC layer.
In the embodiment of the present disclosure, when the MAC layer receives the radio link establishment request, it indicates that the terminal currently needs to establish a radio link with the network side, and the MAC layer needs to send the received radio link establishment request to the network side to establish a radio link between the terminal and the network side. Before the terminal sends the wireless continuous establishment request to the network side through the MAC layer, the terminal first needs to determine that the time of the terminal is consistent with the time of the network side, that is, the terminal needs to perform uplink synchronization through the MAC layer. The terminal performs Uplink synchronization through the MAC layer by sending a random access request, that is, the terminal sends a random access request to the network side through the MAC layer, where the random access request is used to indicate that the network side has a time at which the terminal needs to perform Uplink synchronization, and the random access request also carries a sending time of the random access request, and when the network side receives the random access request, the network side determines a transmission delay between the network side and the terminal according to the sending time of the random access request and a receiving time of the random access request, and calibrates Uplink timing (Uplink time) so as to send the calibrated Uplink timing to the terminal.
After determining the calibrated Uplink timing, the network side may send a random access response to the terminal, where the random access response includes Uplink resource information, Uplink timing information, and the like, the Uplink resource information is used to indicate that the terminal may send the radio link establishment request on an Uplink common control channel, and the Uplink timing information is the calibrated Uplink timing and is used to indicate that the terminal performs Uplink synchronization. When the terminal receives the random access response, the random access is determined to be successful, time calibration is carried out according to Uplink timing information included in the random access response so as to realize Uplink synchronization between the terminal and the network side, and meanwhile, a wireless link establishment request message is sent to the network side through an Uplink common control channel according to Uplink resource information included in the random access response so as to establish a wireless link between the terminal and the network side.
It should be noted that, when the network side receives the random access request, if the current network environment is congested, the random access response sent by the network side to the terminal further includes delay information, where the delay information is used to instruct the terminal to delay sending the random access request, that is, instruct the terminal to delay for a period of time, and resend the random access request.
In step 203, when a random access response sent by the network side is received, it is determined whether the random access response carries delay information.
In the embodiment of the disclosure, when a terminal receives a random access response sent by a network side, if the random access response does not carry delay information, the terminal determines that the random access is successful, and sends a wireless link establishment request message to the network side through an MAC layer so as to establish a wireless link between the terminal and the network side; if the random access response carries delay information, in order to avoid that the terminal does not resend the random access request when the timing time for establishing the radio link arrives because the time for delaying the sending of the random access request by the terminal is longer than the timing time of the radio link in step 201, and the radio link establishment has failed, step 204 is executed when the random access response carries delay information. That is, in the embodiment of the present disclosure, the terminal performs different operations according to whether the random access response carries delay information, and therefore, when the terminal receives the random access response sent by the network side, it needs to first determine whether the random access response carries delay information, so as to perform a corresponding operation.
In a possible implementation manner, when a terminal receives a random access response, whether the random access response includes a backoff (delay) parameter is judged, and when the random access response includes the backoff parameter, it is determined that the random access response carries delay information; when the random access response does not include a backoff parameter, determining that the random access response does not carry delay information.
In step 204, when the random access response carries the delay information, the timing of the radio link timing is terminated, and the radio link establishment request is sent to the MAC layer through the RRC layer again.
When the random access response received by the terminal carries delay information, the timing of the timing time of the wireless link is ended, and when the timing time of the wireless link is ended, the terminal sends a wireless link establishment request to the MAC layer through the RRC layer again to reestablish the wireless link between the terminal and the network side, so that the situation that the terminal can send the wireless link establishment request to the MAC layer through the RRC layer again after the timing time of the wireless link is up is avoided, and the time required for the terminal to send the wireless link establishment request to the MAC layer through the RRC layer again is shortened.
In the embodiment of the present disclosure, when the random access response carries the delay information, the terminal may directly end timing the timing time of the radio link, so as to send the radio link establishment request to the MAC layer through the RRC layer again. Of course, the terminal may also set a delay timing time and start timing based on the timing time of the radio link, and when the delay timing time arrives, the MAC layer resends the random access request to the network side, thereby avoiding that the time required for establishing the radio link may be longer if the timing time of the radio link is directly timed out when congestion temporarily occurs in the current network environment.
And after the random access request is sent to the network side again, receiving a random access response sent by the network side, and judging whether the random access response carries delay information again. When the random access response also carries delay information, the step of ending the timing of the wireless link and sending the wireless link establishment request to the MAC layer through the RRC layer is executed again. Correspondingly, when the random access response sent by the network side is received and the random access response does not carry delay information, the random access success of the terminal is indicated, that is, the terminal can send a wireless link establishment request to the network side through the MAC layer so as to establish a wireless link with the network side.
The delay timing time is less than the timing time of the wireless link, the delay timing time is the timing time preset in the terminal, that is, the terminal directly determines the delay timing time based on the timing time of the wireless link, and it is only required to ensure that the delay timing time is less than the timing time of the wireless link. For example, the timing time of the wireless link is 400ms, and the terminal may directly set the delay timing time to 200ms or 300 ms.
It should be noted that, a BI (delay Indicator) parameter is pre-stored in the terminal, and the BI parameter specifies a range of delay time of the terminal, so that the terminal may determine and store a timing schedule according to the BI parameter, where the timing schedule includes a plurality of times, and the plurality of times are all within the time range allowed by the BI parameter, and after the terminal sends the random access request through the MAC layer, when the received random access response carries delay information, the terminal may further select a timing time smaller than the timing time of the radio link from the stored timing schedule, and randomly select a timing time from the selected timing times as the delay timing time.
In the embodiment of the disclosure, when receiving a random access response sent by a network side and the random access response carries delay information, the timing of the timing time of the radio link is ended, and a radio link establishment request is sent to an MAC layer through an RRC layer again, so that it is avoided that the terminal sets the delay timing time when receiving the delay information, and cannot try to establish the radio link with the network side again before the timing time of the radio link reaches. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.
Fig. 3A is a block diagram of a terminal 300 according to an embodiment of the disclosure. Referring to fig. 3A, the terminal 300 includes a first transmission module 301, a second transmission module 302, and an end module 303.
A first sending module 301, configured to send a radio link establishment request to the MAC layer through the RRC layer when performing a data transmission service, determine a timing time of the radio link, and start timing.
A second sending module 302, configured to send a random access request to the network side through the MAC layer when the radio link establishment request is received through the MAC layer.
An ending module 303, configured to end timing of the timing time of the radio link when receiving a random access response sent by the network side and the random access response carries delay information, and send a radio link establishment request to the MAC layer through the RRC layer again, where the delay information is used to instruct to delay sending of the random access request.
Optionally, referring to fig. 3B, the terminal 300 further includes a setting module 304, a third sending module 305, and an executing module 306:
a setting module 304, configured to set a delay timing time based on the timing time of the wireless link, and start timing, where the delay timing time is less than the timing time of the wireless link;
a third sending module 305, configured to send the random access request to the network side again through the MAC layer when the delay timer time arrives;
an executing module 306, configured to execute the step of ending timing of the timing time of the radio link and sending a radio link establishment request to the MAC layer through the RRC layer again when the random access response sent by the network side is received and the random access response also carries delay information.
Optionally, the terminal further includes:
and the fourth sending module is used for sending a wireless link establishment request to the network side through the MAC layer when a random access response sent by the network side is received and the random access response does not carry delay information so as to establish a wireless link with the network side.
Optionally, referring to fig. 3C, the setting module 304 includes:
a first selecting submodule 3041 for selecting a timing time smaller than the timing time of the radio link from the stored timing schedule;
a second selecting submodule 3042 for randomly selecting one timing time as the delay timing time from the selected timing times.
Optionally, the data transmission service is a paging service based on an LTE network.
In the embodiment of the disclosure, when receiving a random access response sent by a network side and the random access response carries delay information, the timing of the timing time of the radio link is ended, and a radio link establishment request is sent to an MAC layer through an RRC layer again, so that it is avoided that the terminal sets the delay timing time when receiving the delay information, and cannot try to establish the radio link with the network side again before the timing time of the radio link reaches. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.
With regard to the terminal in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram of a terminal 400 for information reminding according to an embodiment of the disclosure. For example, the terminal 400 may be a mobile phone or a tablet device, etc.
Referring to fig. 4, the terminal 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the terminal 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the terminal 400. Examples of such data include instructions for any application or method operating on the terminal 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 406 provide power to the various components of the terminal 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 400.
The multimedia component 408 comprises a screen providing an output interface between the terminal 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the terminal 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the terminal 400. For example, the sensor assembly 414 can detect an open/closed state of the terminal 400, relative positioning of components, such as a display and keypad of the terminal 400, the sensor assembly 414 can also detect a change in position of the terminal 400 or a component of the terminal 400, the presence or absence of user contact with the terminal 400, orientation or acceleration/deceleration of the terminal 400, and a change in temperature of the terminal 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communications between the terminal 400 and other devices in a wired or wireless manner. The terminal 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the terminal 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the terminal to perform a method of establishing a wireless link, the method comprising:
when data transmission service is carried out, a radio link establishment request is sent to an MAC layer through an RRC layer, the timing time of the radio link is determined, and timing is started;
when receiving the wireless link establishment request through the MAC layer, sending a random access request to the network side through the MAC layer;
when receiving a random access response sent by a network side and the random access response carries delay information, ending timing of the timing time of the wireless link, and sending a wireless link establishment request to the MAC layer through the RRC layer again, wherein the delay information is used for indicating that the random access request is sent in a delayed manner.
Optionally, after receiving a random access response sent by the network side and the random access response carries delay information, and before ending timing the timing time of the radio link, the method further includes:
setting a delay timing time based on the timing time of the wireless link and starting timing, wherein the delay timing time is less than the timing time of the wireless link;
when the delay timing time is up, the random access request is sent to the network side again through the MAC layer;
and when receiving a random access response sent by the network side and the random access response also carries delay information, executing the step of ending timing of the timing time of the wireless link and sending a wireless link establishment request to the MAC layer through the RRC layer again.
Optionally, when the delay timer time is reached, after the random access request is retransmitted to the network side, the method further includes:
and when a random access response sent by the network side is received and the random access response does not carry delay information, sending a wireless link establishment request to the network side through the MAC layer so as to establish a wireless link with the network side.
Optionally, setting a delay timer time and starting timing based on the timer time of the wireless link, including:
selecting a timing time from the stored timing schedule that is less than the timing time of the wireless link;
from the selected count times, a count time is randomly selected as the delay count time.
Optionally, the data transmission service is a paging service based on an LTE network.
In the embodiment of the disclosure, when receiving a random access response sent by a network side and the random access response carries delay information, the timing of the timing time of the radio link is ended, and a radio link establishment request is sent to an MAC layer through an RRC layer again, so that it is avoided that the terminal sets the delay timing time when receiving the delay information, and cannot try to establish the radio link with the network side again before the timing time of the radio link reaches. Therefore, when the random access response received by the terminal carries delay information, the time for the terminal to try establishing a wireless link with the network side again can be shortened and the efficiency of the terminal for data transmission service can be improved by the method for establishing the wireless link provided by the embodiment of the disclosure.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (9)

1. A method for establishing a wireless link, the method comprising:
when data transmission service is carried out, a Radio Resource Control (RRC) layer sends a radio link establishment request to a Media Access Control (MAC) layer, the timing time of the radio link is determined, and timing is started;
when the wireless link establishment request is received through the MAC layer, a random access request is sent to a network side through the MAC layer;
when a random access response sent by the network side is received and the random access response carries delay information, setting delay timing time and starting timing based on the timing time of the wireless link, wherein the delay timing time is less than the timing time of the wireless link, and the delay information is used for indicating that the random access request is delayed and sent;
when the delay timing time is up, the random access request is sent to the network side again through the MAC layer;
after the random access request is sent to the network side again, the random access response sent by the network side is received, whether the random access response carries delay information or not is judged again, when the random access response sent by the network side is received again and the random access response also carries the delay information, the timing of the timing time of the wireless link is ended, and the wireless link establishment request is sent to the MAC layer through the RRC layer again.
2. The method according to claim 1, wherein after the re-sending the random access request to the network side when the delay timer time arrives, further comprising:
and when a random access response sent by the network side is received and the random access response does not carry delay information, sending the wireless link establishment request to the network side through the MAC layer so as to establish a wireless link with the network side.
3. The method of claim 1, wherein the setting a delay timer time and starting timing based on the timer time of the wireless link comprises:
selecting a timing time from a stored timing schedule that is less than the timing time of the wireless link;
randomly selecting one timing time as the delay timing time from the selected timing times.
4. The method of claim 1, wherein the data transmission service is a paging service based on a Long Term Evolution (LTE) network.
5. A terminal, characterized in that the terminal comprises:
the first sending module is used for sending a wireless link establishment request to a Media Access Control (MAC) layer through a Radio Resource Control (RRC) layer when data transmission service is carried out, determining the timing time of the wireless link and starting timing;
a second sending module, configured to send a random access request to a network side through the MAC layer when the radio link establishment request is received through the MAC layer;
a setting module, configured to set a delay timing time and start timing based on a timing time of the radio link when a random access response sent by the network side is received and the random access response carries delay information, where the delay timing time is smaller than the timing time of the radio link, and the delay information is used to instruct to delay sending of the random access request;
a third sending module, configured to send the random access request to the network side again through the MAC layer when the delay timer time arrives;
and the execution module is used for receiving the random access response sent by the network side after the random access request is sent to the network side again, judging whether the random access response carries delay information again, ending the timing of the wireless link when the random access response sent by the network side is received again and the random access response also carries the delay information, and sending a wireless link establishment request to the MAC layer through the RRC layer again.
6. The terminal of claim 5, further comprising:
a fourth sending module, configured to send the radio link establishment request to the network side through the MAC layer when a random access response sent by the network side is received and the random access response does not carry delay information, so as to establish a radio link with the network side.
7. The terminal of claim 5, wherein the setting module comprises:
a first selection submodule for selecting a timing time less than the timing time of the radio link from a stored timing schedule;
and the second selection submodule is used for randomly selecting one timing time from the selected timing times as the delay timing time.
8. The terminal of claim 5, wherein the data transmission service is a paging service based on a Long Term Evolution (LTE) network.
9. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when data transmission service is carried out, a Radio Resource Control (RRC) layer sends a radio link establishment request to a Media Access Control (MAC) layer, the timing time of the radio link is determined, and timing is started;
when the wireless link establishment request is received through the MAC layer, a random access request is sent to a network side through the MAC layer;
when a random access response sent by the network side is received and the random access response carries delay information, setting delay timing time and starting timing based on the timing time of the wireless link, wherein the delay timing time is less than the timing time of the wireless link, and the delay information is used for indicating that the random access request is delayed and sent;
when the delay timing time is up, the random access request is sent to the network side again through the MAC layer;
after the random access request is sent to the network side again, the random access response sent by the network side is received, whether the random access response carries delay information or not is judged again, when the random access response sent by the network side is received again and the random access response also carries the delay information, the timing of the timing time of the wireless link is ended, and the wireless link establishment request is sent to the MAC layer through the RRC layer again.
CN201611151113.7A 2016-12-14 2016-12-14 Wireless link establishing method and terminal Active CN106793150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611151113.7A CN106793150B (en) 2016-12-14 2016-12-14 Wireless link establishing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611151113.7A CN106793150B (en) 2016-12-14 2016-12-14 Wireless link establishing method and terminal

Publications (2)

Publication Number Publication Date
CN106793150A CN106793150A (en) 2017-05-31
CN106793150B true CN106793150B (en) 2020-01-07

Family

ID=58887773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611151113.7A Active CN106793150B (en) 2016-12-14 2016-12-14 Wireless link establishing method and terminal

Country Status (1)

Country Link
CN (1) CN106793150B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109792674B (en) * 2017-09-19 2022-01-25 北京小米移动软件有限公司 Random access method, device, electronic equipment and computer readable storage medium
CN117062159A (en) * 2022-05-05 2023-11-14 中国移动通信有限公司研究院 Information transmission method, device, related equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404864A (en) * 2010-09-16 2012-04-04 中兴通讯股份有限公司 Method for avoiding random access conflict and mobile terminal for avoiding random access conflict
CN105592567A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Data transmission method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8792338B2 (en) * 2011-03-31 2014-07-29 Lg Electronic Inc. Method and apparatus for processing signal associated with warning notification in wireless communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404864A (en) * 2010-09-16 2012-04-04 中兴通讯股份有限公司 Method for avoiding random access conflict and mobile terminal for avoiding random access conflict
CN105592567A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Data transmission method and apparatus

Also Published As

Publication number Publication date
CN106793150A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN108496385B (en) Information reporting method and device and bandwidth part-based operation method and device
EP3780852B1 (en) Information transmission method and information transmission device
CN109314972B (en) Method and device for triggering switching of bandwidth part and method and device for configuring information
CN110622616B (en) Control method and device for inactivity timer
US20200229243A1 (en) Random access control method and device
US20210176777A1 (en) Method and device for transmitting data in unlicensed cell, base station and user equipment
CN107223363B (en) Method and device for allocating Scheduling Request (SR) resources
CN108702763B (en) Method and device for sending lead code and scheduling request
US11252644B2 (en) Method, device, user equipment and base station for use in shortening access delay
CN109417730B (en) Direct link communication method and device
WO2020087380A1 (en) Method and device for transmitting random access indication information
WO2020258273A1 (en) Method for detecting unlicensed frequency band, and apparatus for detecting unlicensed frequency band
CN106793150B (en) Wireless link establishing method and terminal
JP7074810B2 (en) Methods, devices and media for dealing with paging collisions in dual SIM mobile phones
CN108496404B (en) System message request adjusting method and device and user equipment
US11641674B2 (en) Random access method and device, user equipment and computer-readable storage medium
CN114503648B (en) Early recognition method, early recognition device, communication equipment and storage medium
CN113796110A (en) Method, device, equipment and storage medium for executing small data packet transmission and determining random access message transmission mode
CN109496448B (en) Network parameter configuration method, device and computer readable storage medium
EP3672316B1 (en) Method and device for realizing signaling detection, user equipment, and base station
CN107396384B (en) Wireless connection establishing method and device
WO2020118706A1 (en) Method and apparatus for transmitting configuration information
CN113196847B (en) Resource selection method, resource selection device, and storage medium
CN114731619B (en) Delay judging method and device, delay indicating method and device
WO2021026889A1 (en) Data transmission method and device

Legal Events

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