Disclosure of Invention
The invention provides a random access method and a system based on service priority, which can solve the problem of air interface resource waste caused by the fact that when air interface resources are insufficient, a terminal with low service priority is accessed into a cell but cannot perform service.
In order to achieve the above object, a random access method based on service priority provided by the present invention includes:
the base station and the terminal group the random access preamble sequences of the cell according to a preset grouping rule to obtain a plurality of preamble sequence groups, and the plurality of preamble sequence groups correspond to a plurality of service priorities one by one;
when a terminal needs to execute a service, determining a corresponding preamble sequence group according to the service priority of the service to be executed, and randomly selecting a preamble sequence in the determined preamble sequence group to initiate a random access request to a base station;
when the air interface resource of the cell is insufficient, the base station determines the service priority of the corresponding terminal through a preamble sequence group to which a preamble sequence in a received random access request belongs;
and when the service priority of the terminal is lower than the preset admission priority, the base station does not respond to the random access request so as to limit the terminal to access the cell.
Preferably, the method further comprises the following steps:
and the base station responds to the random access request when the service priority of the terminal is higher than the preset admission priority so as to permit the terminal to access the cell.
Preferably, the method further comprises the following steps:
and when the air interface resources of the cell are sufficient, the base station responds to the random access request so as to permit the terminal to access the cell.
Preferably, the step of randomly selecting a preamble sequence from the determined preamble sequence set to initiate a random access request to the base station includes:
and randomly selecting a preamble sequence in the determined preamble sequence group, and initiating a random access request to the base station on the Physical Random Access Channel (PRACH) resource of the cell.
In order to achieve the above object, the present invention further provides a random access system based on service priority, which includes a base station and a terminal;
the base station and the terminal are used for grouping preamble sequences of a cell according to a preset grouping rule to obtain a plurality of preamble sequence groups, and the plurality of preamble sequence groups correspond to a plurality of service priorities one by one;
the terminal is used for determining a corresponding preamble sequence group according to the service priority of the service to be executed when the service needs to be executed, and randomly selecting a preamble sequence in the determined preamble sequence group to initiate a random access request to a base station;
the base station is used for determining the service priority of the corresponding terminal through a preamble sequence group to which a preamble sequence in a received random access request belongs when the air interface resource of the cell is insufficient;
and the base station is also used for not responding to the random access request when the service priority of the terminal is lower than the preset admission priority so as to limit the terminal to access the cell.
Preferably, the base station is further configured to respond to the random access request to grant the terminal access to the cell when the service priority of the terminal is higher than the preset admission priority.
Preferably, the base station is further configured to respond to the random access request when air interface resources of the cell are sufficient, so as to grant the terminal access to the cell.
Preferably, the terminal is specifically configured to randomly select a preamble sequence within the determined preamble sequence group, and initiate a random access request to the base station on the PRACH resource of the cell.
Different from the prior art, the random access method and system based on service priority provided by the invention have the advantages that the preamble sequences of the cell are grouped, each preamble sequence group respectively corresponds to different service priorities, the terminal randomly selects the preamble sequences in the corresponding preamble sequence group according to the service priorities to initiate random access, and when the air interface resources of the cell are insufficient, the base station permits the terminal with the service priority higher than the preset admission priority to access, so that the terminal needing to perform high-priority service can access in time and obtain scheduling, the problem of air interface resource waste caused by the fact that the terminal with low service priority accesses the cell but cannot perform service when the air interface resources are insufficient can be solved, and the air interface resource waste of a random access signaling flow can be avoided.
Detailed Description
The following describes in more detail embodiments of the present invention with reference to the schematic drawings. Advantages and features of the present invention will become apparent from the following description and claims. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "left", "right", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Referring to fig. 1, a random access method based on service priority according to a first embodiment of the present invention includes the following steps:
s11: the base station and the terminal group the preamble sequences of the cell according to a preset grouping rule to obtain a plurality of preamble sequence groups, and the plurality of preamble sequence groups correspond to the plurality of service priorities one by one.
The preamble is a random access preamble and is used for identifying the identity of the terminal during random access. The preamble sequence of the cell can be calculated according to the parameters of the cell.
The base station and the terminal group the preamble sequences of the cells according to a preset grouping rule, so that the grouping results of the base station and the terminal are completely the same. After grouping, there is no overlapping between preamble sequences in different preamble sequence groups, and the group number of the preamble sequence group is consistent with the level number of the service priority. The number of preamble sequences in each preamble sequence set may be the same or different.
S12: when the terminal needs to execute the service, the corresponding preamble sequence group is determined according to the service priority of the service to be executed, and the preamble sequence is randomly selected from the determined preamble sequence group to initiate a random access request to the base station.
Before executing a service, a terminal determines a service priority of the service to be executed, determines a preamble sequence group corresponding to the service priority, randomly selects a preamble sequence from the preamble sequence group, and finally initiates a random access request to a base station.
The random selection of the preamble sequence can greatly reduce the probability of different terminals selecting the same preamble sequence, thereby reducing the occurrence of conflict in the random access process.
In this embodiment, the step of randomly selecting a preamble sequence from the determined preamble sequence set to initiate a random access request to the base station includes:
and randomly selecting a preamble sequence in the determined preamble sequence group, and initiating a random access request to the base station on the PRACH resource of the cell.
The PRACH (Physical Random Access Channel) resources are commonly used in the Random Access procedure.
S13: and when the air interface resources of the cell are insufficient, the base station determines the service priority of the corresponding terminal according to the preamble sequence group to which the preamble sequence in the received random access request belongs.
After receiving the random access request, the base station first determines whether the air interface resources of the cell are sufficient. If the air interface resource of the cell is insufficient, the service priority of the service which needs to be executed by the terminal is determined. The judgment method of the air interface resource of the cell may be to set a resource threshold value, and if the air interface resource of the cell exceeds the resource threshold value, the air interface resource of the cell is judged to be sufficient, otherwise, the air interface resource of the cell is judged to be insufficient.
S14: and when the service priority of the terminal is lower than the preset admission priority, the base station does not respond to the random access request so as to limit the terminal to access the cell.
When the base station does not respond to the random access request, the terminal can perform backoff processing or switch to access other cells.
In this embodiment, the random access method further includes:
and the base station responds to the random access request when the service priority of the terminal is higher than the preset admission priority so as to permit the terminal to access the cell.
If the service priority is higher than the preset admission priority, the service corresponding to the service priority should be executed preferentially, so that the random access request is responded, the base station completes the random access process for the terminal initiating the preamble sequence, and continues to authorize the air interface service required by the terminal, and completes the air interface data transmission, so that the terminal completes the random access process and executes the service.
Further, the random access method further includes:
and when the air interface resources of the cell are sufficient, the base station responds to the random access request so as to permit the terminal to access the cell.
When the air interface resources of the cell are sufficient, the service priority of the service to be executed by each terminal does not need to be determined, and all terminals are permitted to access.
The random access method of the first embodiment will be described below with a practical application scenario. Referring to fig. 2, a specific process of the random access method based on service priority in an actual application scenario according to the first embodiment of the present invention includes the following steps:
s21: the base station and the terminal group the preamble sequences of the cell according to a preset grouping rule to obtain a plurality of preamble sequence groups, and the plurality of preamble sequence groups correspond to a plurality of service priorities one by one;
s22: when a terminal needs to execute a service, determining a corresponding preamble sequence group according to the service priority of the service to be executed, and randomly selecting a preamble sequence in the determined preamble sequence group to initiate a random access request to a base station;
s23: the base station judges whether the air interface resources of the cell are sufficient, if the air interface resources of the cell are insufficient, the step S24 is carried out, and if the air interface resources of the cell are sufficient, the step S26 is carried out;
s24: determining the service priority of the corresponding terminal according to a preamble sequence group to which a preamble sequence in a received random access request belongs;
s25: the base station judges whether the determined service priority is higher than a preset admission priority, and performs the step S26 when the service priority of the terminal is higher than the preset admission priority, and performs the step S27 when the service priority of the terminal is lower than the preset admission priority;
s26: the base station responds to the random access request to permit the terminal to access the cell;
s27: the base station does not respond to the random access request so as to limit the terminal to access the cell.
When the base station does not respond to the random access request, the terminal can perform backoff processing or switch to access other cells.
Through the above manner, the random access method based on service priority in the embodiment of the present invention groups preamble sequences of a cell, and respectively corresponds each preamble sequence group to different service priorities, a terminal randomly selects the preamble sequence in the corresponding preamble sequence group according to the service priority to initiate random access, when the air interface resource of the cell is insufficient, permitting access to terminals with service priority higher than the preset admission priority, restricting access to terminals with service priority lower than the preset admission priority, when the air interface resources of the cell are sufficient, all terminals are permitted to access, the terminals needing to carry out high-priority service can be ensured to access in time to obtain scheduling, therefore, the problem of air interface resource waste caused by the fact that a terminal with low service priority is accessed into a cell but cannot perform service when the air interface resources are insufficient can be solved, and the air interface resource waste of a random access signaling flow can be avoided.
Referring to fig. 3, a random access system based on service priority according to a second embodiment of the present invention includes abase station 10 and a terminal 20.
Thebase station 10 and the terminal 20 are configured to group preamble sequences of a cell according to a preset grouping rule to obtain a plurality of preamble sequence groups, and correspond the plurality of preamble sequence groups to a plurality of service priorities one to one. The preamble is a random access preamble and is used for identifying the identity of the terminal during random access. The preamble sequence of the cell can be calculated according to the parameters of the cell. Thebase station 10 and the terminal 20 both group the preamble sequences of the cells according to the preset grouping rule, and then the grouping results of thebase station 10 and the terminal 20 are completely the same. After grouping, there is no overlapping between preamble sequences in different preamble sequence groups, and the group number of the preamble sequence group is consistent with the level number of the service priority. The number of preamble sequences in each preamble sequence set may be the same or different.
The terminal 20 is configured to determine a corresponding preamble sequence set according to a service priority of a service to be executed when the service needs to be executed, and randomly select a preamble sequence in the determined preamble sequence set to initiate a random access request to thebase station 10. Before executing the service, the terminal 20 determines the service priority of the service to be executed in a non-linked state, determines a preamble sequence group corresponding to the service priority, randomly selects a preamble sequence from the preamble sequence group, and finally initiates a random access request to thebase station 10.
The random selection of the preamble sequence can greatly reduce the probability of different terminals selecting the same preamble sequence, thereby reducing the occurrence of conflict in the random access process.
Thebase station 10 is configured to determine a service priority of a corresponding terminal according to a preamble sequence group to which a preamble sequence in a received random access request belongs when an air interface resource of a cell is insufficient. After receiving the random access request, thebase station 10 will first determine whether the air interface resources of the cell are sufficient. When the air interface resources of the cell are insufficient, the service priority of the service that needs to be executed by the terminal 20 is determined first. The judgment method of the air interface resource of the cell may be to set a resource threshold value, and if the air interface resource of the cell exceeds the resource threshold value, the air interface resource of the cell is judged to be sufficient, otherwise, the air interface resource of the cell is judged to be insufficient.
Thebase station 10 is further configured to not respond to the random access request when the traffic priority of the terminal is lower than the preset admission priority, so as to limit the terminal 20 from accessing the cell. When thebase station 10 does not respond to the random access request, the terminal 20 may perform backoff processing or perform handover access to another cell.
In this embodiment, thebase station 10 is further configured to respond to the random access request to grant the terminal 20 access to the cell when the traffic priority of the terminal is higher than the preset admission priority. If the service priority is higher than the preset admission priority, the service corresponding to the service priority should be executed preferentially, so that thebase station 10 responds to the random access request, completes the random access process for the terminal 20 initiating the preamble sequence, and continues to authorize the air interface service required by the terminal, and completes the air interface data transmission, so that the terminal 20 completes the random access process and executes the service.
Further, thebase station 10 is further configured to respond to the random access request when air interface resources of the cell are sufficient, so as to grant the terminal 20 access to the cell.
In this embodiment, the terminal 20 is specifically configured to randomly select a preamble sequence within the determined preamble sequence group, and initiate a random access request to the base station on the PRACH resource of the cell. The PRACH (Physical Random Access Channel) resources are commonly used in the Random Access procedure.
Through the above manner, the random access system based on service priority in the embodiment of the present invention groups preamble sequences of a cell, and associates multiple preamble sequence groups with multiple service priorities one to one, and a terminal randomly selects a preamble sequence in a corresponding preamble sequence group according to a service priority to initiate random access, when an air interface resource of a cell is insufficient, permitting access to terminals with service priority higher than the preset admission priority, restricting access to terminals with service priority lower than the preset admission priority, when the air interface resources of the cell are sufficient, all terminals are permitted to access, the terminals needing to carry out high-priority service can be ensured to access in time to obtain scheduling, therefore, the problem of air interface resource waste caused by the fact that a terminal with low service priority is accessed into a cell but cannot perform service when the air interface resources are insufficient can be solved, and the air interface resource waste of a random access signaling flow can be avoided.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example" or "a specific example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. And the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments. Furthermore, various embodiments or examples described in this specification can be combined and combined by those skilled in the art.
The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any way. It will be understood by those skilled in the art that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.