Channel access method and device and storage medium
By using user feature information to determine priority and transmit priority information during the random access process of 5G-NR, the problem of not being able to allocate channel resources according to transaction urgency in the prior art is solved, and more efficient channel resource allocation is achieved , avoiding emergency delays.
Patent Information
- Application Number
- CN202310559300.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2024-11-26
AI Technical Summary
The existing 5G-NR random access method cannot allocate channel resources according to the urgency of the transaction, resulting in emergency transaction delays.
通过在终端和基站之间传输用户特征信息,确定终端的优先级信息,并在随机接入响应中携带优先级信息,以在多个终端同时发起请求时,根据优先级信息分配信道资源。
It realizes the allocation of channel resources according to transaction urgency, avoids delayed processing of emergency transactions, and improves the network response efficiency.
Smart Images

Figure CN119031508A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a channel access method, device and storage medium. Background Art
[0002] There are two types of random access for 5G-NR: contention-based random access and non-contention-based random access.
[0003] At present, the first-come-first-served solution is adopted for network conflicts in competition-based random access, which has the following problems: the phenomenon at the user level is that when multiple users (with different identities) connect to the same cell at the same location and at the same time, there is a problem of poor network signal, and it is impossible to use a competition solution to select the winner of the connection based on the urgency of the user's business.
[0004] At the same time, in some cases, the contention-based random access process is unacceptable, and the network needs to notify the UE of the exact access timing and the preamble code to be used. The random access channel (RACH) process in this case is called non-contention-based random access. For example, when switching or paging occurs, it is impossible to switch from the contention-based random access state to the non-contention-based random access state according to the urgency of the transaction, which may cause delays in emergency matters. Summary of the invention
[0005] The embodiments of the present application provide a channel access method, device and storage medium to at least solve the problem in the related art that random access cannot allocate channel resources according to the urgency of the transaction.
[0006] According to an embodiment of the present application, a channel access method is provided, which is applied to a terminal and includes:
[0007] Sending a random access request to a base station, where the random access request carries a target preamble;
[0008] Acquire a random access response returned by the base station based on the target preamble code;
[0009] Acquire user characteristic information, and determine priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal;
[0010] Sending a message Msg3 to the base station based on the random access response, wherein the Msg3 carries the priority information; so that when the base station obtains that the target preamble codes of the random access requests simultaneously initiated by at least two terminals are the same, the base station determines the channel resource allocation of the terminal based on the priority information;
[0011] Optionally, the user characteristic information includes user identity information and usage status information;
[0012] The usage status information includes at least one of cell information, route information, service type and connection frequency;
[0013] Optionally, obtain user feature information, including:
[0014] Reading the user identity information through a SIM card module, and / or obtaining the user identity information through an input interface of the terminal;
[0015] Acquiring the user's usage status information through the input interface of the terminal;
[0016] Optionally, determining the priority information of the terminal based on the user characteristic information includes:
[0017] Obtaining detailed field information corresponding to each target user feature information and a preset scoring rule; the scoring rule includes a score for each piece of the detailed field information;
[0018] Determining a score for the target user feature information according to the detailed field information and the scoring rule;
[0019] The total score of the terminal is determined according to the scores of all the target user feature information, and the total score is used as the priority information of the terminal.
[0020] According to another embodiment of the present application, a channel access method is provided, which is applied to a base station, including:
[0021] Acquire a random access request sent by a terminal, where the random access request carries a target preamble code;
[0022] generating a random access response based on the target preamble, and returning the random access response to the terminal;
[0023] Acquire a message Msg3 sent by the terminal, wherein the Msg3 carries priority information of the terminal; the priority information is determined by the terminal based on user characteristic information, and the user characteristic information represents the urgency of the transaction of the terminal;
[0024] When the target preamble codes of random access requests simultaneously initiated by at least two terminals are obtained to be the same, determining channel resource allocation for each terminal based on the priority information of each terminal;
[0025] Optionally, the priority information includes a score of the terminal determined based on the user characteristic information;
[0026] Determining channel resource allocation for each of the terminals based on the priority information of each of the terminals includes:
[0027] Sorting the terminals according to the score of each terminal to obtain a sorting result;
[0028] The channel resource allocation for each of the terminals is determined according to the sorting result.
[0029] According to another embodiment of the present application, a channel access virtual device is provided, which is applied to a terminal and includes:
[0030] A first sending module, configured to send a random access request to a base station, wherein the random access request carries a target preamble code;
[0031] A first acquisition module, configured to acquire a random access response returned by the base station based on the target preamble code;
[0032] A determination module, configured to obtain user characteristic information, and determine the priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal;
[0033] The second sending module is used to send a message Msg3 to the base station based on the random access response, and the Msg3 carries the priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, the channel resource allocation of the terminal is determined based on the priority information.
[0034] According to another embodiment of the present application, a channel access virtualization device is provided, which is applied to a base station, including:
[0035] A second acquisition module, configured to acquire a random access request sent by a terminal, wherein the random access request carries a target preamble code;
[0036] A generating module, configured to generate a random access response based on the target preamble code, and return the random access response to the terminal;
[0037] A third acquisition module is used to acquire a message Msg3 sent by the terminal, wherein the Msg3 carries priority information of the terminal; the priority information is determined by the terminal based on user characteristic information, and the user characteristic information represents the urgency of the transaction of the terminal;
[0038] An allocation module is used to determine the channel resource allocation of each terminal based on the priority information of each terminal when the target preamble codes of the random access requests simultaneously initiated by at least two terminals are the same.
[0039] According to another embodiment of the present application, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0040] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0041] Through the present application, user characteristic information can be obtained, and the user characteristic information represents the transaction urgency of the terminal. Therefore, the priority information of the terminal can be determined, and the priority information is carried in the Msg3 sent to the base station based on the random access response, so that when the base station obtains that the target preamble codes of the random access requests initiated by multiple terminals at the same time are the same, the channel resources of each terminal can be allocated according to the priority information to ensure that the terminal with high priority information has priority access. Therefore, the problem that random access in the prior art cannot allocate channel resources according to the urgency of the transaction can be solved, and the effect of allocating channel resources according to the urgency of the transaction can be achieved, so as to avoid the situation where the processing of emergency transactions is delayed. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0043] Figure 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;
[0044] Figure 2 This is a system architecture diagram of a channel access method provided by an embodiment of the present application;
[0045] Figure 3 It is a flow chart of a channel access method provided by an embodiment of the present application;
[0046] Figure 4 is a schematic diagram of a method for obtaining user identity information provided by an embodiment of the present application;
[0047] Figure 5 is a flow chart of a channel access method provided by another embodiment of the present application;
[0048] Figure 6 It is a structural diagram of a channel access device provided by an embodiment of the present application;
[0049] Figure 7It is a structural diagram of a channel access device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0050] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0052] Example 1
[0053] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a channel access method according to an embodiment of the present application. Figure 1 As shown, the mobile terminal 10 may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0054] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the channel access method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0055] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0056] The present application embodiment can be run on Figure 2 In the network architecture shown in Figure 2 As shown, the network architecture includes: a terminal 201 and a base station 202, wherein the number of base stations 202 and terminals 201 in the network architecture is not limited, one base station 202 can connect to multiple terminals 201, and the terminal 201 can also select multiple base stations 202 for networking.
[0057] In this embodiment, a channel access method running on the above mobile terminal or network architecture is provided. The method can be applied to a terminal or a base station. Figure 3 is a flow chart of a channel access method according to an embodiment of the present application, when applied to a terminal, such as Figure 3 As shown, the process includes the following steps:
[0058] Step S302: Send a random access request to a base station, where the random access request carries a target preamble code.
[0059] The random access preamble is determined by the terminal based on the received first system broadcast message (SIB1), which includes the preamble index, the preamble subcarrier spacing (SCS), the preamble transmit power, and the location of the physical random access channel (PRACH) resource in the time-frequency domain, etc. The random access preamble can be determined based on SIB1. Specifically, the random access request can be sent to the base station on the random access channel without restriction.
[0060] It should be noted that the target preamble code refers to the preamble code corresponding to the terminal, also called a random access preamble code, that is, Msg1 in the prior art.
[0061] Step S304: Obtain a random access response returned by the base station based on the target preamble code.
[0062] The random access response may carry the timing advance (TA), uplink authorization instruction and cell radio network temporary identifier (T_C-RNTI);
[0063] TA can ensure the uplink time synchronization between the terminal and the base station. The base station can know the distance of the terminal from itself by parsing the random access response and calculate the TA advance so that the terminal can send data in advance, ensuring that the data sent by terminals at different distances fall into the time slot expected by the base station when they arrive at the base station.
[0064] Step S306: acquiring user characteristic information, and determining the priority information of the terminal based on the user characteristic information, wherein the user characteristic information represents the urgency of the transaction of the terminal.
[0065] In one embodiment, user characteristic information includes user identity information and usage status information; the usage status information includes at least one of cell information, route information, service type and connection frequency. Of course, in order to more accurately reflect the user's characteristic information, the usage status information may include other information that can characterize the user's usage status in addition to the cell information, route information, service type and connection frequency, without limitation.
[0066] In one embodiment, obtaining user characteristic information includes: reading user identity information through a SIM card module, and / or obtaining user identity information through an input interface of a terminal, and obtaining user usage status information through an input interface of the terminal.
[0067] In this embodiment, the user identity information can be read as follows: Figure 4 As shown, the user identity information, such as the user's identity document information or other user information, such as company, ID card, name, occupation and other static information, is read from the terminal through the SIM card module. Of course, the user identity information can also be obtained through the input interface of the terminal without limitation.
[0068] In one embodiment, determining the priority information of the terminal based on the user characteristic information includes:
[0069] Obtain detailed field information corresponding to each target user feature information and preset scoring rules; the scoring rules include the score of each detailed field information, determine the score of the target user feature information according to the detailed field information and the scoring rules, determine the total score of the terminal according to the scores of all target user feature information, and use the total score as the priority information of the terminal.
[0070] In this embodiment, a unified scoring rule is preset in the terminal, and detailed field information corresponding to each target user feature information is obtained from the user feature information. The score of each target user feature information is obtained according to the scoring rule and the detailed field information, and then the total score of the terminal is determined by the scores of all the target user feature information, thereby determining the priority information of the terminal.
[0071] In this embodiment, in order to avoid leakage of terminal data during transmission, priority information can be determined in the terminal based on user characteristic information. The data sent by the terminal to the base station includes the terminal's priority information and does not include the original user characteristic information, thereby ensuring user data security.
[0072] Step S308: Send message Msg3 to the base station based on the random access response, where Msg3 carries priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, it determines the channel resource allocation of the terminal based on the priority information.
[0073] Specifically, Msg3 may be sent to the base station in a physical uplink shared channel without limitation.
[0074] Through the above steps, user characteristic information can be obtained, and the user characteristic information represents the urgency of the terminal's transaction. Therefore, the priority information of the terminal can be determined, and the priority information can be carried in the Msg3 sent to the base station based on the random access response, so that when the base station obtains that the target preamble codes of the random access requests initiated by multiple terminals at the same time are the same, the channel resources of each terminal can be allocated according to the priority information to ensure that the terminal with high priority information has priority access. Therefore, the problem that random access in the prior art cannot allocate channel resources according to the urgency of the transaction can be solved, and the effect of allocating channel resources according to the urgency of the transaction can be achieved, so as to avoid the situation where the processing of emergency transactions is delayed.
[0075] Optionally, the execution order of step S306 and step S304 can be interchanged, that is, step S306 can be executed first, and then step S304 can be executed.
[0076] When applied to base stations, such as Figure 5 As shown, the process includes the following steps:
[0077] Step S502, obtaining a random access request sent by the terminal, where the random access request carries a target preamble code;
[0078] Step S504, generating a random access response based on the target preamble code, and returning the random access response to the terminal;
[0079] Step S506, obtaining the message Msg3 sent by the terminal, where Msg3 carries the priority information of the terminal; the priority information is determined by the terminal based on the user characteristic information, and the user characteristic information represents the urgency of the terminal's affairs;
[0080] The terminal may send the message Msg3 in the physical uplink shared channel without restriction.
[0081] Step S508: when the target preamble codes of the random access requests simultaneously initiated by at least two terminals are the same, channel resource allocation for each terminal is determined based on the priority information of each terminal.
[0082] Through the above steps, the base station can obtain the priority information carried in the Msg3 sent by each terminal. When the target preamble code of the random access request is the same, channel resources can be allocated to each terminal based on the priority information to ensure that the terminal with a high priority has priority access. Therefore, it can solve the problem in the prior art that random access cannot allocate channel resources according to the urgency of the transaction, and achieve the effect of allocating channel resources according to the urgency of the transaction, so as to avoid delayed processing of emergency transactions.
[0083] In one embodiment, the priority information includes a score of the terminal determined based on the user characteristic information. Determining the channel resource allocation of each terminal based on the priority information of each terminal includes: sorting the terminals according to the score of each terminal to obtain a sorting result, and determining the channel resource allocation of each terminal according to the sorting result.
[0084] In this embodiment, when the target preamble codes of the random access requests of multiple terminals of the base station are the same, the terminals are sorted according to the scores of each terminal to obtain a sorting result, and the channel resource allocation of each terminal is determined according to the sorting result, so as to allocate channel resources according to the urgency of the terminal's affairs, thereby avoiding delays in handling emergency affairs. It should be noted that the base station can also be called the network side.
[0085] In one embodiment, the base station is designed to know the temporary wireless network mark information of the terminal's cell according to the preamble code (leading code) sent by the mobile terminal after receiving the preamble sequence preamble of random access in the Msg1 stage, and when sending the physical downlink control channel (Physical Downlink Control Channel, PDCCH for short) in the subsequent random access process, the aggregation level of PDCCH can be set according to the identity, connection frequency, cell information, VIP authorized cell information, service type, etc., so as to improve the robustness of the downlink control information.
[0086] In this embodiment, based on the existing protocol and on the basis thereof, the user information tag of the terminal is carried in Msg3 interacted between the terminal and the network side, and the network side performs a competition solution based on identity and connection frequency according to the user information tag and finally reports HARQ-ACK feedback to the terminal through msg4 for further communication with the network side. The steps are as follows:
[0087] 1) The terminal transmits the random access preamble Msg1 to the network side, i.e. the base station, on the random access channel. The terminal obtains random access resources from the system broadcast message SIB1 of the cell. The main parameters of SIB1 include the preamble index, the SCS of the preamble, the transmit power of the preamble, and the position of the PRACH resource in the time and frequency domain.
[0088] 2) After receiving MSG1, the base station determines the RA-RNTI according to the time-frequency position of MSG1, and sends a MAC layer random access response (RAR) message (MSG2) on the DL-SCH. The RAR response carries the TA adjustment and uplink authorization instructions and the cell radio network temporary identifier T-CRNTI (CRNTI is Cell-RadioNetworkTemporaryIdentifier).
[0089] The terminal monitors the Physical Downlink Control Channel (PDCCH) / Physical Downlink Shared Channel (PDSCH) and receives a Random Access Response (RAR) message (ie, MSG2) sent from the base station (network side) to complete the uplink synchronization process.
[0090] By parsing the random access response, the base station can know the distance of the terminal from itself and calculate the TA advance so that the terminal can send data in advance, ensuring that the data sent by terminals at different distances fall into the time slot expected by the base station when they arrive at the base station.
[0091] 3) The terminal sends Msg3 information on the Physical uplink Shared Channel (PUSCH). This mark may be a temporary mark of the cell wireless network or a terminal mark from the core network. The existing technology and protocol do not carry the identity of the user of the relevant terminal or the user usage information frequency mark in the Msg3 information.
[0092] 4) Random access contention resolution: The terminal wins based on the competition rules of its own tag, sends the contention resolution identity tag on the PDSCH channel, and the terminal performs HARQ-ACK (Hybrid Automatic Repeat request-ACKnowledgement) feedback of MSG4 on the Physical Uplink Control Channel (PUCCH).
[0093] In the existing technology and protocol, the competition rule is a first-come, first-served strategy. There is no competition rule calculation rule based on the identity of the user using the terminal or the frequency of the user's information usage as the basic parameter in the Msg3 information. In this application, a strategy for rule judgment is provided for subsequent competition access by adding a marking indicator parameter based on the user identity of the terminal and the frequency of the user's information usage.
[0094] The specific implementation is as follows:
[0095] The terminal obtains user information such as ID card or other user information through the background database statistics SIM card module, such as the cell, company, ID card, name, occupation and other static information, and sends signaling to RRC, RCC, MAC, PHY layer, etc. through the OTA layer through the connection request.
[0096] Among them, the communication principle between SIM card and mobile phone:
[0097] Hardware configuration: SIM card is a chip with a microprocessor. SIM card is used in conjunction with mobile phone. After SIM card is inserted, the mobile phone provides power to each module in SIM card. Each module corresponds to a function. There are 5 modules in it. Its communication with mobile phone is through the contact of serial communication unit and the interface of mobile phone. The data field of communication is ID card mark, which is sent to the network side through mobile phone radio frequency module to obtain the first step of operator authorization to connect to the network. Figure 4 , obtain user identity information through the SIM card.
[0098] Software configuration: The software configuration is mainly on the card setting interface, providing user field information editing input interface fields to obtain the user's occupation, position, geographic location, community, connection frequency display, business type, etc.
[0099] The basic indicator parameter design can be as follows:
[0100] Base_ConfigInfo::=
[0101] ConnectionTimeStart:everyday
[0102] ConnectionFreq: low, high, mid
[0103] identity: leader, member, other
[0104] location: vipdesignated area approved, vipundesignated area approved
[0105] business: work, video call, payment, game
[0106] Mobile phone manufacturers can use the system to count the usage time of users' cells, and other data can be entered into the mobile phone software backend database by users through the mobile phone interface.
[0107] On the network side, the connection authorization function is performed after obtaining the scoring information of the following basic parameters.
[0108] After the terminal registers and inputs the user information through the SIM card module setting interface, the terminal sends the priority information obtained according to the user information field to the base station through msg3.
[0109] The basic parameters are shown in Table 1.
[0110] Table 1
[0111]
[0112]
[0113] The following are examples based on Table 1:
[0114] Employee A: attends meetings in the company's VIP area and uses the Internet for 5-8 hours a day. The basic parameter numbers of employee A are 3 (employee), 7 (VIP company area), 11 (office), 12 (meeting), and 18 (5-8 hours). The total score is 5+10+10+10+8=43 points.
[0115] Employer B: Attends meetings in the company's VIP area and uses the Internet for more than 8 hours a day. The basic parameter numbers for employer B are 2, 7, 11, 12, and 18, and the total score is 8+10+10+10+8=46 points.
[0116] Wang: He surfs the Internet in his own neighborhood and usually uses the Internet for 3 hours a day. The basic parameter numbers of Wang are 1, 5, 11, 16, and 19, and the total score is 10+10+10+3+5=38 points.
[0117] Mr. Li: He drives to work and uses the Internet for 4 hours a day. The basic parameter numbers of Mr. Li are 1, 5, 10, 14, and 19, respectively, and the total score is 10+10+8+6+5=39 points.
[0118] The network side obtains the user information of the terminal and its algorithm score index based on the msg3 code sent by the terminal, and determines the PDCCH aggregation level, that is, the channel resource allocation on the network side, according to the scores from high to low, in the order of employer B, employee A, Li and Wang.
[0119] Of course, the priority level of the terminal can also be determined according to the score. Combined with Table 2, it can be seen that employer B has 46 points and a priority level of 1, employee A has 43 points and a priority level of 2, and the priorities of Wang and Li are both 3. According to the priority levels, employer B can be assigned first, followed by employee A. Wang and Li can be assigned according to the specific scores, and can also be set to be assigned on a first-come, first-served basis with the same priority level without restriction.
[0120] Table 2
[0121]
[0122]
[0123] It should be noted that the contents of Table 1 and Table 2 above are for illustration only and do not represent specific restrictions on various parameters. In actual applications, the scoring rules and scores in actual application scenarios can be adjusted without restriction.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0125] Example 2
[0126] In this embodiment, a channel access virtual device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0127] Figure 6 is a structural block diagram of a channel access virtual device according to an embodiment of the present application, which is applied to a terminal, such as Figure 6 As shown, the device comprises:
[0128] A first sending module 602 is configured to send a random access request to a base station, where the random access request carries a target preamble code;
[0129] A first acquisition module 604 is configured to acquire a random access response returned by the base station based on the target preamble code;
[0130] The determination module 606 is used to obtain user characteristic information and determine the priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal;
[0131] The second sending module 608 is used to send a message Msg3 to the base station based on the random access response, and the Msg3 carries the priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, the channel resource allocation of the terminal is determined based on the priority information.
[0132] The device can obtain user characteristic information, and the user characteristic information represents the urgency of the terminal's transaction. Therefore, the priority information of the terminal can be determined, and the priority information is carried in Msg3 sent to the base station based on the random access response. Therefore, when the base station obtains that the target preamble codes of random access requests initiated by multiple terminals at the same time are the same, the channel resources of each terminal can be allocated according to the priority information to ensure that the terminal with high priority information has priority access. Therefore, the problem in the prior art that random access cannot allocate channel resources according to the urgency of the transaction can be solved, and the effect of allocating channel resources according to the urgency of the transaction can be achieved, so as to avoid the situation where the processing of emergency transactions is delayed.
[0133] Figure 7 is a structural block diagram of another channel access virtual device according to an embodiment of the present application, which is applied to a base station, such as Figure 7 As shown, the device comprises:
[0134] A second acquisition module 702 is used to acquire a random access request sent by a terminal, where the random access request carries a target preamble code;
[0135] A generating module 704 is configured to generate a random access response based on the target preamble code, and return the random access response to the terminal;
[0136] The third acquisition module 706 is used to acquire the message Msg3 sent by the terminal, where the Msg3 carries the priority information of the terminal; the priority information is determined by the terminal based on the user characteristic information, where the user characteristic information represents the urgency of the transaction of the terminal;
[0137] The allocation module 708 is configured to determine the channel resource allocation of each terminal based on the priority information of each terminal when the target preamble codes of the random access requests simultaneously initiated by at least two terminals are the same.
[0138] In the device, the base station can obtain the priority information carried in the Msg3 sent by each terminal. When the target preamble code of the random access request is the same, channel resources can be allocated to each terminal based on the priority information to ensure that the terminal with a high priority has priority access. Therefore, it can solve the problem in the prior art that random access cannot allocate channel resources according to the urgency of the transaction, and achieve the effect of allocating channel resources according to the urgency of the transaction, so as to avoid delayed processing of emergency transactions.
[0139] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0140] Example 3
[0141] An embodiment of the present application further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0142] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0143] Sending a random access request to a base station, where the random access request carries a target preamble;
[0144] Acquire a random access response returned by the base station based on the target preamble code;
[0145] Acquire user characteristic information, and determine priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal;
[0146] A message Msg3 is sent to the base station based on the random access response, wherein the Msg3 carries the priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, the channel resource allocation of the terminal is determined based on the priority information.
[0147] Optionally, the storage medium is further configured to store a computer program for performing the following steps:
[0148] Acquire a random access request sent by a terminal, where the random access request carries a target preamble code;
[0149] generating a random access response based on the target preamble, and returning the random access response to the terminal;
[0150] Acquire a message Msg3 sent by the terminal, wherein the Msg3 carries priority information of the terminal; the priority information is determined by the terminal based on user characteristic information, and the user characteristic information represents the urgency of the transaction of the terminal;
[0151] When the target preamble codes of random access requests simultaneously initiated by at least two terminals are obtained to be the same, channel resource allocation for each terminal is determined based on the priority information of each terminal.
[0152] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0153] Example 4
[0154] The embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments. Figure 1 The memory 104 in is taken as an example of a memory in the electronic device.
[0155] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0156] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0157] Sending a random access request to a base station, where the random access request carries a target preamble;
[0158] Acquire a random access response returned by the base station based on the target preamble code;
[0159] Acquire user characteristic information, and determine priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal;
[0160] A message Msg3 is sent to the base station based on the random access response, wherein the Msg3 carries the priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, the channel resource allocation of the terminal is determined based on the priority information.
[0161] Or, perform the following steps:
[0162] Acquire a random access request sent by a terminal, where the random access request carries a target preamble code;
[0163] generating a random access response based on the target preamble, and returning the random access response to the terminal;
[0164] Acquire a message Msg3 sent by the terminal, wherein the Msg3 carries priority information of the terminal; the priority information is determined by the terminal based on user characteristic information, and the user characteristic information represents the urgency of the transaction of the terminal;
[0165] When the target preamble codes of random access requests simultaneously initiated by at least two terminals are obtained to be the same, channel resource allocation for each terminal is determined based on the priority information of each terminal.
[0166] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0167] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0168] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A channel access method, It is characterized in that Applied to terminals, including: Sending a random access request to a base station, where the random access request carries a target preamble; Acquire a random access response returned by the base station based on the target preamble code; Acquire user characteristic information, and determine priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal; A message Msg3 is sent to the base station based on the random access response, wherein the Msg3 carries the priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, the channel resource allocation of the terminal is determined based on the priority information.
2. The method according to claim 1, It is characterized in that The user characteristic information includes user identity information and usage status information; The usage status information includes at least one of cell information, route information, service type and connection frequency.
3. The method according to claim 2, It is characterized in that Obtain user feature information, including: Reading the user identity information through a SIM card module, and / or obtaining the user identity information through an input interface of the terminal; The user's usage status information is obtained through the input interface of the terminal.
4. The method according to claim 1, It is characterized in that Determining the priority information of the terminal based on the user characteristic information includes: Obtaining detailed field information corresponding to each target user feature information and a preset scoring rule; the scoring rule includes a score for each piece of the detailed field information; Determining a score for the target user feature information according to the detailed field information and the scoring rule; The total score of the terminal is determined according to the scores of all the target user feature information, and the total score is used as the priority information of the terminal.
5. A channel access method, It is characterized in that Applied to base stations, including: Acquire a random access request sent by a terminal, where the random access request carries a target preamble code; generating a random access response based on the target preamble, and returning the random access response to the terminal; Acquire a message Msg3 sent by the terminal, wherein the Msg3 carries priority information of the terminal; the priority information is determined by the terminal based on user characteristic information, and the user characteristic information represents the urgency of the transaction of the terminal; When the target preamble codes of random access requests simultaneously initiated by at least two terminals are obtained to be the same, channel resource allocation for each terminal is determined based on the priority information of each terminal.
6. The method according to claim 5, It is characterized in that The priority information includes a score of the terminal determined based on the user characteristic information; Determining channel resource allocation for each of the terminals based on the priority information of each of the terminals includes: Sorting the terminals according to the score of each terminal to obtain a sorting result; The channel resource allocation for each of the terminals is determined according to the sorting result.
7. A channel access virtual device, It is characterized in that Applied to terminals, including: A first sending module, configured to send a random access request to a base station, wherein the random access request carries a target preamble code; A first acquisition module, configured to acquire a random access response returned by the base station based on the target preamble code; A determination module, configured to obtain user characteristic information, and determine the priority information of the terminal based on the user characteristic information; the user characteristic information represents the urgency of the transaction of the terminal; The second sending module is used to send a message Msg3 to the base station based on the random access response, and the Msg3 carries the priority information; so that when the base station obtains the same target preamble code of the random access request initiated by at least two terminals at the same time, the channel resource allocation of the terminal is determined based on the priority information.
8. A channel access virtual device, It is characterized in that Applied to base stations, including: A second acquisition module, configured to acquire a random access request sent by a terminal, wherein the random access request carries a target preamble code; A generating module, configured to generate a random access response based on the target preamble code, and return the random access response to the terminal; A third acquisition module is used to acquire a message Msg3 sent by the terminal, wherein the Msg3 carries priority information of the terminal; the priority information is determined by the terminal based on user characteristic information, and the user characteristic information represents the urgency of the transaction of the terminal; An allocation module is used to determine the channel resource allocation of each terminal based on the priority information of each terminal when the target preamble codes of the random access requests simultaneously initiated by at least two terminals are the same.
9. A storage medium, It is characterized in that The storage medium stores a computer program, wherein the computer program is configured to execute the channel access method described in any one of claims 1 to 6 when running.
10. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to run the computer program to execute the channel access method described in any one of claims 1 to 6.
Citation Information
Cited By
Channel optimization method, computer readable medium and wireless communication equipment
CN119233431A
A channel optimization method, computer readable medium and wireless communication device
CN119233431B
Random access method and device, electronic equipment, storage medium and program product
CN121001210A
