CN112788780B - Processing method and device for repeated access of terminal equipment - Google Patents

Processing method and device for repeated access of terminal equipment Download PDF

Info

Publication number
CN112788780B
CN112788780B CN201911075792.8A CN201911075792A CN112788780B CN 112788780 B CN112788780 B CN 112788780B CN 201911075792 A CN201911075792 A CN 201911075792A CN 112788780 B CN112788780 B CN 112788780B
Authority
CN
China
Prior art keywords
terminal equipment
failure
threshold value
failure times
recorded
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
CN201911075792.8A
Other languages
Chinese (zh)
Other versions
CN112788780A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201911075792.8A priority Critical patent/CN112788780B/en
Publication of CN112788780A publication Critical patent/CN112788780A/en
Application granted granted Critical
Publication of CN112788780B publication Critical patent/CN112788780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure

Abstract

The invention relates to the technical field of communication, in particular to a method and a device for processing repeated access of terminal equipment, which are used for processing the repeated access of the terminal equipment and comprise the following steps: receiving a radio resource RRC connection establishment request message sent by a terminal device, acquiring identity identification information of the terminal device carried in the RRC connection establishment request message, recovering the last allocated resource and obtaining the current recorded failure times when determining that the resource is allocated to the terminal device based on the identity identification information, and re-allocating corresponding resources to the terminal device when determining that the current recorded failure times does not reach a preset failure time threshold value. Therefore, the problem that resources cannot be timely recovered by repeated access is solved, the situation that the gNB distributes resources for one terminal device for multiple times is avoided, the occupation waste of the resources is reduced, and the full utilization of the resources is ensured.

Description

Processing method and device for repeated access of terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing repeated access of a terminal device.
Background
With the development of communication technology, 5G communication technology is beginning to be applied in three scenes, namely, mobile bandwidth enhancement, large-scale internet of things and high-reliability low-delay transmission, so that higher requirements on reasonable allocation of resources and processing efficiency are provided.
In the prior art, after a 5G base station (gnnodeb, gNB) receives a radio resource establishment request (RRCSetupRequest) sent by a User Equipment (User Equipment, UE), the gNB allocates radio resources to the UE and sends a radio resource establishment (rrcsetupmessage) message to the UE, and at the same time, starts a wait Timer (Timer) to wait for timing. Further, if the gbb receives a radio resource setup complete (RRCSetupComplete) message sent by the UE and the Timer has not timed out, the gbb determines that the connection of allocating radio resources is complete; if the gNB does not receive the RRCSetupcomplete message sent by the UE all the time, the gNB recovers the resources allocated to the UE after the Timer waits for timeout.
However, after the gbb allocates the radio resources to the UE and before waiting for the Timer not to time out, because the gcb does not receive the RRCSetupComplete message sent by the UE, the gbb allocates the resources to the UE although the gmb has already allocated the resources, but the connection is not successful, at this time, if the gbb receives the RRCSetup message retransmitted by the UE again, the gmb reallocates the radio resources to the UE, and repeats the radio resource allocation process until waiting for the Timer connection to time out and recover the resources, so that the UE occupies the resources allocated by the gbb within a certain time, and cannot timely recover the resources, which causes waste of occupation of the resources and affects the capacity of the system.
Disclosure of Invention
The embodiment of the invention provides a processing method and a processing device for repeated access of terminal equipment, which are used for solving the problem that resources cannot be timely recovered due to repeated access in the prior art.
The embodiment of the invention provides the following specific technical scheme:
a processing method for terminal equipment repeated access comprises the following steps:
receiving a radio resource RRC connection establishment request message sent by a terminal device, wherein the RRC connection establishment request message carries identity identification information of the terminal device;
when determining that the resources are allocated to the terminal equipment based on the identity identification information, recycling the resources allocated last time to obtain the failure times recorded currently;
and when the failure times of the current record are determined not to reach the preset failure time threshold value, re-allocating corresponding resources for the terminal equipment.
Optionally, before determining that the resource has been allocated to the terminal device based on the identity information, the method includes:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
Optionally, further comprising:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending a message of refusing RRC connection establishment to the terminal equipment, and setting the waiting time length as a maximum value according to protocol regulation.
Optionally, the determining that the resource has been allocated to the terminal device based on the identity information includes:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
Optionally, determining that the currently recorded failure times do not reach a preset failure time threshold includes:
in a historical record, acquiring the total number of the recorded failure times exceeding the threshold of the failure times in the comparison process of the past times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and adding 1 to the total number, clearing the recorded failure times and restarting counting when the recorded failure times reach the threshold of the failure times every time the recorded failure times are determined;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of the recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
Optionally, further comprising:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
Optionally, further comprising:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message for refusing RRC connection establishment to notify the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
A processing device for terminal device repeated access, at least comprising: a processor and a memory;
wherein the processor is configured to read the program in the memory and execute the following steps:
receiving a Radio Resource Control (RRC) connection establishment request message sent by terminal equipment, wherein the RRC connection establishment request message carries identity identification information of the terminal equipment;
when determining that the resources are allocated to the terminal equipment based on the identity identification information, recycling the resources allocated last time to obtain the failure times recorded currently;
and when the failure times of the current record are determined not to reach the preset failure time threshold value, re-allocating corresponding resources for the terminal equipment.
Optionally, before determining that the terminal device has been allocated with resources based on the identification information, the processor is configured to:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
Optionally, the processor is further configured to:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending a message of refusing RRC connection establishment to the terminal equipment, and setting the waiting time length as a maximum value according to protocol regulation.
Optionally, when it is determined that resources have been allocated to the terminal device based on the identity information, the processor is specifically configured to:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
Optionally, when it is determined that the currently recorded failure times do not reach the preset failure time threshold, the processor is specifically configured to:
in a historical record, acquiring the total number of the recorded failure times exceeding the threshold of the failure times in the comparison process of the past times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and adding 1 to the total number, clearing the recorded failure times and restarting counting when the recorded failure times reach the threshold of the failure times every time the recorded failure times are determined;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of the recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
Optionally, the processor is further configured to:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and notifying the set waiting duration to the terminal equipment by adopting an RRC connection establishment rejection message.
Optionally, the processor is further configured to:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message for refusing RRC connection establishment to notify the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
A processing device for terminal equipment repeated access comprises:
a receiving unit, configured to receive a radio resource RRC connection establishment request message sent by a terminal device, where the RRC connection establishment request message carries identity information of the terminal device;
the recovery unit is used for recovering the resources distributed last time to obtain the failure times recorded currently when determining that the resources are distributed to the terminal equipment based on the identity identification information;
and the allocation unit is used for reallocating the corresponding resources to the terminal equipment when the failure times of the current record are determined to not reach the preset failure time threshold value.
Optionally, before determining that the terminal device has been allocated with the resource based on the identity information, the recycling unit is further configured to:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
Optionally, the recovery unit is further configured to:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending a message of refusing RRC connection establishment to the terminal equipment, and setting the waiting time length as a maximum value according to protocol regulation.
Optionally, the determining, based on the id information, that the terminal device has been allocated with resources is performed, and the recycling unit is configured to:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
Optionally, it is determined that the currently recorded failure times do not reach a preset failure time threshold, and the allocating unit is configured to:
in a historical record, acquiring the total number of the recorded failure times exceeding the threshold of the failure times in the comparison process of the past times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and adding 1 to the total number, clearing the recorded failure times and restarting counting when the recorded failure times reach the threshold of the failure times every time the recorded failure times are determined;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of the recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
Optionally, the allocation unit is further configured to:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
Optionally, the allocation unit is further configured to:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message for refusing RRC connection establishment to notify the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
A storage medium having instructions which, when executed by a processor, enable performance of any of the above-described methods of handling terminal device repeated accesses.
The invention has the following beneficial effects:
the embodiment of the application provides a processing method and a processing device for repeated access of terminal equipment. Receiving a radio resource RRC connection establishment request message sent by a terminal device, acquiring identity identification information of the terminal device carried in the RRC connection establishment request message, recovering the last allocated resource and obtaining the current recorded failure times when determining that the resource is allocated to the terminal device based on the identity identification information, and re-allocating corresponding resources to the terminal device when determining that the current recorded failure times does not reach a preset failure time threshold value. Therefore, the problem that resources cannot be timely recovered by repeated access is solved, the situation that the gNB distributes resources for one terminal device for multiple times is avoided, the occupation waste of the resources is reduced, and the full utilization of the resources is ensured.
Drawings
Fig. 1 is a schematic view of a repeated access processing flow of a terminal device in an embodiment of the present application;
fig. 2 is a schematic physical structure diagram of a gNB in an embodiment of the present application;
fig. 3 is a schematic logical structure diagram of a gNB in the embodiment of the present application.
Detailed Description
In order to solve the problem that resources cannot be timely recovered in the prior art, the method includes the steps of firstly receiving an RRC connection establishment request message sent by a terminal device, wherein the RRC connection establishment request message carries identity identification information of the terminal device, recovering the last allocated resources when the terminal device is determined to be allocated with the resources based on the identity identification information, adding 1 to failure times of the terminal device for executing RRC connection establishment to obtain current recorded failure times, and re-allocating corresponding resources to the terminal device when the current recorded failure times are determined not to reach a preset failure times threshold value.
The preferred embodiments of the present application will be further described with reference to the accompanying drawings in which:
referring to fig. 1, a process flow of repeated access to a terminal device in the present application is described:
step 101: receiving an RRC connection establishment request message sent by a terminal device, wherein the RRC connection establishment request message carries identity identification information of the terminal device.
After receiving an RRC connection establishment request message (denoted as an RRCSetupRequest) sent by a terminal device, a gNB obtains Identity information of the terminal device, which is carried in the RRC connection establishment request message, in the present application, the Identity information (denoted as an Initial UE-Identity) of the terminal device, where the Initial UE-Identity is configured based on a communication protocol between the gNB and the terminal device, and the content of the Initial UE-Identity may be a random Value or a 5G temporary Identity: 5G-S-TMSI-PART1, wherein, for any terminal device, in the RRC connection establishment request sent by the any terminal device to the gNB each time, the content of the Initial UE-Identity corresponding to the any terminal device is fixed.
Step 102: is the identification information recorded in the terminal device blacklist determined? If yes, go to step 114, otherwise, go to step 103.
Specifically, after acquiring the Initial UE-Identity of the terminal device, the gNB acquires a terminal device blacklist, where the Initial UE-Identity of the terminal device whose RRC connection establishment message reception failure number exceeds the product of a failure number threshold (denoted as accwaittree) and a preset threshold (denoted as accblackthree) is stored in the terminal device blacklist. The failure time threshold is used for limiting the times of failure of receiving RRC connection establishment messages of the terminal equipment, and the gNB executes corresponding operations on the terminal equipment reaching the failure time threshold; the preset threshold is used to represent that the number of failures recorded in the previous comparison process exceeds the upper limit of the number of the failure threshold, the gNB performs corresponding operations on the terminal device exceeding the preset threshold, and specific operation contents will be described in detail later and will not be described again.
Further, if the gNB determines that the Identity information is not recorded in a terminal device blacklist (black ue-Identity) based on the Identity information, the content in step 103 is further determined.
If the gNB determines that the id information is recorded in the terminal device blacklist based on the id information, the content in step 114 is directly executed.
Optionally, if the gNB determines that the terminal device currently initiating the RRC connection access request is a trusted terminal device, such as a terminal device for testing, step 102 may not be performed.
Step 103: and determining whether resources have been allocated to the terminal equipment or not based on the identity identification information, if so, executing step 107, otherwise, executing step 104.
Specifically, the gNB obtains a first terminal device list (denoted as pre-UE-Identity), where the first terminal device list records Identity information of each terminal device to which a resource has been allocated, and further determines, based on the Initial UE-Identity of the terminal device, whether the Initial UE-Identity is recorded in the first terminal device list.
If the gNB determines that the Initial UE-Identity of the terminal device is recorded in the terminal device list, it determines that the terminal device has been allocated with resources, and performs step 107.
If the gNB determines that the Initial UE-Identity of the terminal device is not recorded in the terminal device list, it determines that the terminal device has not been allocated resources, and simultaneously performs step 104.
Step 104: and recording the identity identification information of the terminal equipment in a first terminal equipment list.
Specifically, when the gbb determines that the terminal device is not allocated with resources based on the Initial UE-Identity of the terminal device and a first terminal device list, the gbb records Identity information of the terminal device in the first terminal device list, and records Identity information of each terminal device to which resources have been allocated in the first terminal device list, thereby performing subsequent steps to allocate resources to the terminal device.
Step 105: and allocating resources for the terminal equipment and sending RRC connection establishment information and a preset waiting duration basic value to the terminal equipment.
And after determining that the terminal equipment is not allocated with resources, and recording the identity identification information of the terminal equipment in a first terminal equipment list, the gNB starts to allocate resources to the terminal equipment, wherein the resources comprise channel resources, air interface resources, memory resources and the like which are configured for the terminal equipment by the gNB. Specifically, an RRC connection setup message is sent to the terminal device, and a preset waiting duration base value is executed, where the waiting duration base value (denoted as AccWaitCmpTimer) is configured by the gNB based on actual needs, and is used to represent a waiting duration for the gNB to wait for the terminal device to send the RRC connection setup complete message.
Step 106: an RRC connection setup situation is determined.
Specifically, after the gNB sends an RRC connection setup message and a preset waiting duration basic value to the terminal device, further, if the gNB receives an RRC connection setup complete message sent by the terminal device within the AccWaitCmpTimer waiting duration timing range, it determines that the terminal device successfully executes RRC connection setup; if the gNB does not receive the RRC connection establishment completion message sent by the terminal equipment within the AccWaitCmptimer waiting time duration timing range, the gNB judges that the terminal equipment cannot use the allocated resources in time, and directly recovers the resources allocated to the terminal equipment in order to ensure the timely utilization of the resources.
For example, the gNB sends RRC connection setup messages to a terminal device a and a terminal device B, and executes a preset AccWaitCmpTimer, where the AccWaitCmpTimer is 4s, and if the information received or sent by the terminal device a is not obtained by the gNB within 4s after the gNB sends the RRC connection setup messages, it is determined that the terminal device a cannot use the allocated resources in time, and the gNB directly recovers the resources allocated to the terminal device a; and within 4s after the gNB sends the RRC connection establishment message, the gNB obtains the RRC connection establishment completion message sent by the terminal equipment B based on the message received or sent by the terminal equipment B, and then judges that the terminal equipment B uses the allocated resources in time, and under the condition of normal use, the connection of the terminal equipment B cannot be interfered.
Step 107: and recovering the last distributed resources to obtain the failure times of the current record.
Specifically, after the gbb allocates resources to the terminal device, the gbb determines that the terminal device has allocated resources based on an Initial UE-Identity of the terminal device and a first terminal device list in a process of waiting for the terminal device to send an RRC connection setup complete message, that is, a preset waiting duration basic value is not timed yet, and the gbb recovers the resources allocated to the terminal device last time, determines that the RRC connection setup message reception last time has failed, and obtains a currently recorded failure number (acckeeping) for further determination and execution.
Step 108: and acquiring the total number of the recorded failure times exceeding the failure time threshold in the comparison process of the past times.
Specifically, the gNB obtains, based on the history record, a total number (denoted as AccBlackN) that the number of recorded failures exceeds the threshold of the number of failures in the past comparison process, where the total number is used to represent that the number of recorded failures reaches the total number of the threshold of the number of failures, and adds 1 to the total number and resets the number of currently recorded failures to restart counting each time it is determined that the number of recorded failures reaches the threshold of the number of failures.
For example, the gNB determines, based on the history, that the total number of the recorded failure times of the terminal device C exceeds the failure time threshold is 2 in the history comparison process, where the total number 2 represents that the number of times that the failure times of the terminal device C reaches the failure time threshold is 2 in the history comparison process, that is, if the failure time threshold is 5, then the failure times of two current recordings have reached 5 times, and then the failure times are cleared to 0 and counted again.
For another example, the gNB determines that the number of failures of the current record is 5 based on the history record, the threshold of the number of failures is 5, and since the number of failures of the current record is 5 and reaches the threshold of the number of failures 5, the gNB counts the number of failures that have been recorded by the gNB, clears 0 and recounts the number of failures, and adds 1 to the total number exceeding the threshold of the number of failures.
Optionally, in order to shorten the repeated access processing flow, a larger threshold of failure times may be set, and step 108 may not be executed.
Step 109: and judging whether the total number reaches a preset threshold value, if so, executing the step 113, otherwise, executing the step 110.
And after acquiring the total number of the recorded failure times exceeding the failure time threshold in the comparison process of the past times based on the history record, the gNB compares the total number with a preset threshold value, wherein the preset threshold value is used for representing the upper limit of the number of the recorded failure times exceeding the failure time threshold in the comparison process of the past times. Based on the preset threshold and the threshold of the failure times, interference of normal reasons such as networks and environments can be eliminated, so that when the total number exceeds the preset threshold, step 113 is executed to perform processing, and when the total number does not exceed the preset threshold, step 110 is executed to perform further judgment.
For example, the gNB obtains, based on the history record, that the total number recorded for the terminal device E is 3 times, the preset threshold value is 3, and the failure time threshold value is 5, it is known that the number of times that the failure time of the terminal device E exceeds the failure time threshold value is 3 times, and it is seen that the number of times that the terminal device E accumulates the RRC connection establishment failure has reached at least 15 times, which may be enough to eliminate the interference of the normal cause, so that the terminal device E may be listed as an illegal terminal device, and then step 113 is executed.
Step 110: determine whether the currently recorded failure number reaches a preset failure number threshold? If yes, go to step 111, otherwise go to step 105.
Specifically, the gNB performs determination based on the obtained failure times of the current record and a preset failure time threshold, first obtains a total number of recorded failure times exceeding the failure time threshold based on a history record, further compares the failure times of the current record with the failure time threshold when determining that the total number does not reach the preset threshold, determines that the failure times does not reach the failure time threshold when determining that the failure times of the current record is not greater than the failure time threshold, and performs step 105, otherwise performs step 111.
Therefore, the processing workload of the gNB can be reduced, the judgment process is shortened, and when the total number is judged to reach the preset threshold value, the gNB can determine that the terminal equipment corresponding to the total number is illegal terminal equipment, directly execute the operation of the step 113 on the terminal equipment, and does not judge the relationship between the currently recorded failure times and the failure time threshold value any more. Only when the total number does not reach the preset threshold value, the relationship between the currently recorded failure times and the failure time threshold value needs to be further determined due to the influence of normal reasons such as network and environment.
Step 111: and adding 1 to the total number, clearing the recorded failure times and restarting the calculation.
And when judging that the failure times of the currently recorded terminal equipment reach a preset failure time threshold value, the gNB adds 1 to the total number, wherein the total number is used for representing that the recorded failure times reach the total number of the failure time threshold value, and when determining that the recorded failure times reach the failure time threshold value once, the gNB adds 1 to the total number, clears the recorded failure times and starts counting again.
For example, assuming that the number of failures of the current record of the terminal device F obtained by the gNB is 5, the threshold of the number of failures is 5, and the total number is 1, the gNB clears the number of failures of the current record and restarts counting based on the above determination basis, that is, the number of failures of the current record of the terminal device F after processing is 1, and the total number is 2.
Step 112: setting corresponding waiting time according to the total number of the failure times exceeding the threshold value; and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
And when determining that the total number does not reach the preset threshold value but the currently recorded failure times reach the failure time threshold value, the gNB sets corresponding waiting time according to the total number exceeding the failure time threshold value, wherein the waiting time is determined based on the total number, a waiting time accumulation base number and the terminal equipment waiting time, the terminal equipment waiting time (marked as AccWaitTime) is used for representing the waiting time of the next request initiated by the preset terminal equipment, and the waiting time accumulation base number (marked as DeltaAccWaitTime) is used for representing the waiting time accumulation number after the RRC connection establishment message receiving failure times exceed the threshold value. The waiting duration is specifically AccWaitTime + DeltaAccWaitTime × the total number.
Further, the set waiting duration is notified to the terminal device by using a reject RRC connection setup message, that is, the reject RRC connection setup message is sent to the terminal device, where the reject RRC connection setup message carries the waiting duration. And step 113: and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
And the gNB obtains the total number of the recorded failure times exceeding the threshold value of the failure times based on the history record, and when the total number is determined to reach the preset threshold value, the reason that the RRC connection establishment message of the terminal equipment corresponding to the total number fails to be received is judged to be not the normal reason of the network or the environment, and the terminal equipment corresponding to the total number can be judged to be illegal terminal equipment. Writing the Initial UE-Identity of the terminal equipment into a blacklist of the terminal equipment. The gNB will not allocate resources to the terminal devices recorded in the terminal device blacklist any more.
Step 114: and setting the waiting time length as a maximum value, and notifying the maximum value to the terminal equipment by adopting an RRC connection establishment rejection message.
Specifically, after the gNB performs a series of judgments, after writing the identification information of the terminal device in a terminal device blacklist, or the gNB judges that the identification information is recorded in the terminal device blacklist based on the identification information of the terminal device, further, sends an RRC connection establishment rejection message to the terminal device, sets a waiting duration to a maximum value according to a protocol specification, and notifies the maximum value to the terminal device by using the RRC connection establishment rejection message.
Moreover, for the terminal devices recorded in the terminal device blacklist, the gNB does not allocate resources to the terminal devices.
Based on the foregoing embodiment, referring to fig. 2, in an embodiment of the present application, a processing device for a terminal device to repeatedly access is provided, which at least includes: a processor 202 and a memory 201, wherein,
wherein, the processor 202 is configured to read the program in the memory 201 and execute the following steps:
receiving a radio resource RRC connection establishment request message sent by a terminal device, wherein the RRC connection establishment request message carries identity identification information of the terminal device;
when determining that the resources are allocated to the terminal equipment based on the identity identification information, recycling the resources allocated last time to obtain the failure times recorded currently;
and when the failure times of the current record are determined not to reach the preset failure time threshold value, re-allocating corresponding resources for the terminal equipment.
Optionally, before determining that the terminal device has been allocated with resources based on the identification information, the processor 202 is configured to:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
Optionally, the processor 202 is further configured to:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending a message of refusing RRC connection establishment to the terminal equipment, and setting the waiting time length as a maximum value according to protocol regulation.
Optionally, when determining that the terminal device has been allocated with the resource based on the identity information, the processor 202 is specifically configured to:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
Optionally, when it is determined that the currently recorded failure times do not reach the preset failure time threshold, the processor 202 is specifically configured to:
in a historical record, acquiring the total number of the recorded failure times exceeding the threshold of the failure times in the comparison process of the past times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and adding 1 to the total number, clearing the recorded failure times and restarting counting when the recorded failure times reach the threshold of the failure times every time the recorded failure times are determined;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of the recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
Optionally, the processor 202 is further configured to:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
Optionally, the processor 202 is further configured to:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message for refusing RRC connection establishment to notify the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
Based on the foregoing embodiments, referring to fig. 3, in the embodiments of the present application, a processing apparatus for repeated access of a terminal device is provided, and includes at least a receiving unit 301, a recovering unit 302, and an allocating unit 303
A receiving unit 301, configured to receive a radio resource RRC connection establishment request message sent by a terminal device, where the RRC connection establishment request message carries identity information of the terminal device;
a recovery unit 302, configured to, when determining that the resource has been allocated to the terminal device based on the identity information, recover the resource allocated last time to obtain the number of failure times recorded currently;
the allocating unit 303, when determining that the currently recorded failure times do not reach the preset failure time threshold, reallocates corresponding resources to the terminal device.
Optionally, before determining that the terminal device has been allocated with the resource based on the identification information, the recycling unit 302 is further configured to:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
Optionally, the recycling unit 302 is further configured to:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending a message of refusing RRC connection establishment to the terminal equipment, and setting the waiting time length as a maximum value according to protocol regulation.
Optionally, the determining that the terminal device has been allocated with the resource based on the identity information includes that the recycling unit 302 is configured to:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
Optionally, determining that the currently recorded failure times do not reach a preset failure time threshold, where the allocating unit 303 is configured to:
in a historical record, acquiring the total number of the recorded failure times exceeding the threshold of the failure times in the comparison process of the past times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and adding 1 to the total number, clearing the recorded failure times and restarting counting when the recorded failure times reach the threshold of the failure times every time the recorded failure times are determined;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
Optionally, the allocating unit 303 is further configured to:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
Optionally, the allocating unit 303 is further configured to:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message for refusing RRC connection establishment to notify the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
Based on the same inventive concept, the present application provides a computer storage medium, on which a computer program is stored, and the computer program is used for implementing any one of the methods described above when the computer program is executed by a processor.
To sum up, in this application embodiment, first receive the radio resource RRC connection establishment request message that terminal equipment sent, acquire carry in the RRC connection establishment request message terminal equipment's identification information, based on identification information confirms that has been for when terminal equipment allocated the resource, retrieve the resource of last distribution to obtain the current failure number of record, confirm when the current failure number of record does not reach predetermined failure number threshold value, do again terminal equipment allocates corresponding resource. Therefore, the problem that resources cannot be timely recovered by repeated access is solved, the situation that the gNB distributes resources for one terminal device for multiple times is avoided, the occupation waste of the resources is reduced, and the full utilization of the resources is ensured.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (16)

1. A processing method for terminal equipment repeated access is characterized by comprising the following steps:
receiving a Radio Resource Control (RRC) connection establishment request message sent by terminal equipment, wherein the RRC connection establishment request message carries identity identification information of the terminal equipment;
when determining that the resources are allocated to the terminal equipment based on the identity identification information, recovering the resources allocated last time to obtain the failure times recorded currently, wherein the failure times refer to the times of resource recovery for the terminal equipment;
and when the failure times of the current record are determined not to reach the preset failure time threshold value, re-allocating corresponding resources for the terminal equipment.
2. The method of claim 1, wherein said determining that resources have been allocated for the terminal device based on the identity information comprises:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
3. The method of claim 2, further comprising:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending a message of refusing RRC connection establishment to the terminal equipment, and setting the waiting time length as a maximum value according to protocol regulation.
4. The method of claim 1, wherein the determining that the terminal device has been allocated resources based on the identification information comprises:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
5. The method of any one of claims 1, 2, and 4, wherein determining that the currently recorded number of failures does not meet a preset number of failures threshold comprises:
in a historical record, acquiring the total number of recorded failure times exceeding the threshold of the failure times in the comparison process of the previous times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and when the recorded failure times reach the threshold of the failure times once, adding 1 to the total number, resetting the recorded failure times and restarting counting;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of the recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
6. The method of claim 5, further comprising:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
7. The method of claim 5, further comprising:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message for refusing RRC connection establishment to notify the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
8. A processing device for terminal device repeated access, characterized by at least comprising: a processor and a memory;
wherein the processor is configured to read the program in the memory and execute the following steps:
receiving a Radio Resource Control (RRC) connection establishment request message sent by terminal equipment, wherein the RRC connection establishment request message carries identity identification information of the terminal equipment;
when determining that the resources are allocated to the terminal equipment based on the identity identification information, recovering the resources allocated last time to obtain the failure times recorded currently, wherein the failure times refer to the times of resource recovery for the terminal equipment;
and when the failure times of the current record are determined not to reach the preset failure time threshold value, re-allocating corresponding resources for the terminal equipment.
9. The device of claim 8, wherein prior to the determination that resources have been allocated for the terminal device based on the identification information, the processor is configured to:
and judging that the identity identification information is not recorded in a terminal equipment blacklist based on the identity identification information.
10. The device of claim 9, wherein the processor is further to:
and if the identity identification information is judged to be recorded in a terminal equipment blacklist based on the identity identification information, sending an RRC connection establishment rejection message to the terminal equipment, and setting the waiting time length to be the maximum value according to protocol regulations.
11. The device of claim 8, wherein the processor, when determining that resources have been allocated for the terminal device based on the identification information, is specifically configured to:
acquiring a first terminal equipment list, wherein the first terminal equipment list records the identity identification information of each terminal equipment which is distributed with resources;
and when the identification information of the terminal equipment is determined to be recorded in the terminal equipment list, judging that the terminal equipment is allocated with resources.
12. The device according to any one of claims 8, 9, and 11, wherein when it is determined that the currently recorded failure times do not reach a preset failure time threshold, the processor is specifically configured to:
in a historical record, acquiring the total number of the recorded failure times exceeding the threshold of the failure times in the comparison process of the past times, wherein the total number is used for representing that the recorded failure times reach the total number of the threshold of the failure times, and adding 1 to the total number, clearing the recorded failure times and restarting counting when the recorded failure times reach the threshold of the failure times every time the recorded failure times are determined;
comparing the total number with a preset threshold value, wherein the preset threshold value is used for representing that the number of recorded failure times exceeds the upper limit of the number of the failure times threshold value in the comparison process of the previous times;
and when the total number is determined not to reach the preset threshold value, further comparing the failure times of the current record with the failure time threshold value, and when the failure times of the current record are determined not to be larger than the failure time threshold value, judging that the failure times do not reach the failure time threshold value.
13. The device of claim 12, wherein the processor is further to:
when the total number does not reach the preset threshold value but the failure times of the current record reach the failure time threshold value, setting corresponding waiting time according to the total number exceeding the failure time threshold value;
and adopting a message of refusing RRC connection establishment to inform the set waiting time length to the terminal equipment.
14. The device of claim 12, wherein the processor is further to:
when the total number reaches the preset threshold value, setting the waiting time to be the maximum value according to protocol provisions;
and adopting a message of refusing RRC connection establishment to inform the maximum value to the terminal equipment, and writing the identity identification information of the terminal equipment into a terminal equipment blacklist.
15. A processing device for terminal equipment repeated access is characterized by comprising:
a receiving unit, configured to receive a radio resource RRC connection establishment request message sent by a terminal device, where the RRC connection establishment request message carries identity information of the terminal device;
the recovery unit is used for recovering the resources which are distributed last time to obtain the failure times which are recorded currently when the fact that the resources are distributed to the terminal equipment is determined based on the identity identification information, wherein the failure times refer to the times of resource recovery aiming at the terminal equipment;
and the allocation unit is used for reallocating the corresponding resources to the terminal equipment when the failure times of the current record are determined to not reach the preset failure time threshold value.
16. A storage medium, wherein instructions in the storage medium, when executed by a processor, enable execution of a processing method for terminal device repeated access according to any one of claims 1 to 7.
CN201911075792.8A 2019-11-06 2019-11-06 Processing method and device for repeated access of terminal equipment Active CN112788780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911075792.8A CN112788780B (en) 2019-11-06 2019-11-06 Processing method and device for repeated access of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911075792.8A CN112788780B (en) 2019-11-06 2019-11-06 Processing method and device for repeated access of terminal equipment

Publications (2)

Publication Number Publication Date
CN112788780A CN112788780A (en) 2021-05-11
CN112788780B true CN112788780B (en) 2023-04-07

Family

ID=75747506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911075792.8A Active CN112788780B (en) 2019-11-06 2019-11-06 Processing method and device for repeated access of terminal equipment

Country Status (1)

Country Link
CN (1) CN112788780B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045875A (en) * 2011-01-05 2011-05-04 大唐移动通信设备有限公司 Radio resource control (RRC) connection establishment method and device
CN104349502A (en) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 RRC (radio resource control) connection processing method, RRC connection processing device and base station
CN109699026A (en) * 2017-10-23 2019-04-30 大唐移动通信设备有限公司 A kind of the communication management-control method and device of base station

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10117274B2 (en) * 2016-03-10 2018-10-30 Lg Electronics Inc. Method for performing operation related to radio link failure in wireless communication system and apparatus for supporting the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045875A (en) * 2011-01-05 2011-05-04 大唐移动通信设备有限公司 Radio resource control (RRC) connection establishment method and device
CN104349502A (en) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 RRC (radio resource control) connection processing method, RRC connection processing device and base station
CN109699026A (en) * 2017-10-23 2019-04-30 大唐移动通信设备有限公司 A kind of the communication management-control method and device of base station

Also Published As

Publication number Publication date
CN112788780A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
JP6429207B2 (en) Method for performing communications using unlicensed spectrum, devices, and systems
RU2672186C2 (en) Method and device for semi-persistent sps scheduling
JP2010532111A (en) Techniques for handling radio link failures in communication networks
US20180124803A1 (en) Resource Allocation Method, UE, and Base Station
CN110602697B (en) Method and device for limiting terminal equipment access
CN111901881B (en) Transmission method and device
CN107872326B (en) Method, device and system for releasing session resources
CN109982442A (en) A kind of method run on a user device and user equipment
CN113891348A (en) Transmission method of random access information, terminal and network side equipment
CN113115441A (en) Paging method, paging device, electronic equipment and storage medium
EP4091394A1 (en) Apparatus, method and computer program
CN107041010B (en) Method, base station and mobile terminal for realizing service access
CN106557404B (en) Application control method and mobile terminal
EP2259619A1 (en) Data scheduling method, apparatus and system for base station
CN112788780B (en) Processing method and device for repeated access of terminal equipment
CN103999499A (en) Method and device for detecting resumption of interrupted cell
CN104255079A (en) Random access processing method and device
CN112020142A (en) Data multiplexing transmission method, base station, terminal, and storage medium
CN113923801B (en) Method, device, equipment and product for releasing UE resources by base station
CN102256237B (en) Tracking session synchronization method and device
CN112911659B (en) NR-based information reporting method and device
CN111417153B (en) Network paging method and device based on 5G system
CN112740600B (en) Communication method and device
CN114051287B (en) Terminal connection time distribution method and system
CN109475007B (en) Data distribution method, user terminal, and computer-readable storage medium

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