Terminal information management method and device, equipment and medium
By pre-establishing the RNTI buffer and decoding state buffer in the new 5G air interface technology, analyzing and updating terminal information, the problem of memory waste in base station information maintenance is solved, the terminal information processing efficiency is improved, and the system is continuously optimized.
Patent Information
- Application Number
- CN202411139836.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-10
AI Technical Summary
In the new 5G air interface technology, base station information maintenance requires storing user frequency deviation information and HARQ information. The existing technology uses the wireless network temporary identification RNTI field as an index, resulting in memory waste and low terminal information processing efficiency.
By pre-establishing and initializing the RNTI buffer and the decoding state buffer, receiving and parsing the terminal's physical layer interface scheduling request, extracting the RNTI field value, updating the decoding state buffer status value, judging and recycling the buffer's storage space. Avoid memory waste.
The memory space of frequency deviation information and HARQ information storage is reduced, the terminal information processing efficiency is improved, memory waste is avoided, and the system is continuously operated and optimized.
Smart Images

Figure CN119110408A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a terminal information management method, device, equipment and medium. Background Art
[0002] With the continuous development of communication technology, the 5G New Radio (NR) communication system, as a complex and highly integrated communication system, has been increasingly used in various fields. The information maintenance of base stations is a continuous and critical process. In the 5GNR system, the information maintenance of base stations is carried out across different time slots to ensure the continuous operation and optimization of the system. In the case of cross-time slots, in order to ensure the uniqueness of the maintained information index, it is necessary to create a cell-level user identifier, which is used to store the user's frequency deviation information and hybrid automatic repeat request (HARQ) information.
[0003] At present, in the related technology, the wireless network temporary identification RNTI field is used as an index to store frequency offset information and HARQ information. This field requires 128k Bytes to store frequency offset information and 422M Bytes to store HARQ information. However, in this solution, the number of UEs that need to be maintained is limited according to the needs of centralized procurement, which can easily cause memory waste and lead to low terminal information processing efficiency. Summary of the invention
[0004] The embodiments of the present application provide a terminal information management method, apparatus, device and medium.
[0005] A first aspect of an embodiment of the present application provides a terminal information management method, including:
[0006] Receive and parse the scheduling request of the physical layer interface of the terminal, and extract the radio network temporary identifier RNTI field value in the scheduling request;
[0007] According to the RNTI field value, determining the physical identification of the terminal from a radio network temporary identification RNTI buffer; the RNTI buffer is pre-established and obtained after initialization processing;
[0008] After decoding of the received signal is completed, the state value of the decoding state buffer is updated according to the decoding result, and it is determined whether the recovery condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and initialized;
[0009] When the recycling condition is met, the target storage location of the RNTI buffer is obtained and recycled.
[0010] In an optional embodiment of the present application, determining the physical identification of the terminal from the RNTI buffer according to the RNTI field value includes:
[0011] Determine whether the RNTI field value exists in the RNTI buffer;
[0012] When present, determining a storage location index of the RNTI field value in the RNTI buffer, and using the storage location index as the physical identifier of the terminal;
[0013] When it does not exist, the position where the initial value of the RNTI buffer first appears is obtained, the RNTI field value is written into the position, and the position index is used as the physical identification of the terminal.
[0014] In an optional embodiment of the present application, updating the status value of the decoding status buffer according to the decoding result includes:
[0015] When the decoding result indicates that the signal is decoded incorrectly, obtaining a physical identifier of a terminal to which the signal belongs and a hybrid automatic repeat request information HARQ identifier;
[0016] According to the physical identifier and the HARQ identifier of the terminal, searching the corresponding first storage location in the decoding state buffer;
[0017] The state value of the first storage location is set to 1.
[0018] In an optional embodiment of the present application, updating the status value of the decoding status buffer according to the decoding result includes:
[0019] When the decoding result indicates that the signal is decoded correctly, obtaining a physical identifier of the terminal to which the signal belongs and the HARQ identifier;
[0020] According to the physical identifier and the HARQ identifier of the terminal, searching the corresponding second storage location in the decoding state buffer;
[0021] The state value of the second storage location is set to 0.
[0022] In an optional embodiment of the present application, determining whether a condition for reclaiming the storage space in the RNTI buffer is met includes:
[0023] Checking the state value of the storage location corresponding to the terminal to which the signal belongs; the state value of the corresponding storage location is used to represent the state information of the terminal to which the signal belongs, and the state value includes two, each of which is used to represent the state of a HARQ process;
[0024] When the state values are all 0, the condition for reclaiming the storage space in the RNTI buffer is met;
[0025] When part of the status values are 0 or none of them are 0, the condition for reclaiming the storage space in the RNTI buffer is not met.
[0026] In an optional embodiment of the present application, when the recycling condition is met, obtaining the target storage location of the RNTI buffer and recycling the RNTI buffer includes:
[0027] When the recycling conditions are met, the physical identification of the terminal that meets the recycling conditions is used as the target physical identification;
[0028] Determining, according to the target physical identifier, a corresponding target storage location in the RNTI buffer;
[0029] The RNTI field value of the target storage location is set to an initial value to recycle the target storage location.
[0030] In an optional embodiment of the present application, the initialization process of the RNTI buffer includes:
[0031] Determining all storage locations in the RNTI buffer;
[0032] The RNTI field values corresponding to all the storage locations are set to initial values.
[0033] A second aspect of an embodiment of the present application provides a terminal information management device, including:
[0034] A receiving module, configured to receive and parse a scheduling request of a physical layer interface of a terminal, and extract a radio network temporary identifier RNTI field value in the scheduling request;
[0035] A determination module, configured to determine the physical identification of the terminal from a radio network temporary identification RNTI buffer according to the RNTI field value; the RNTI buffer is pre-established and obtained after initialization processing;
[0036] A judgment module, used for updating the state value of the decoding state buffer according to the decoding result after the decoding of the received signal is completed, and judging whether the recovery condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and initialized;
[0037] The recycling module is used to obtain the target storage location of the RNTI buffer and perform recycling processing when the recycling conditions are met.
[0038] According to a third aspect of an embodiment of the present application, a computer device is provided, comprising: a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0039] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.
[0040] In the embodiment of the present application, the scheduling request of the physical layer interface of the terminal is received and parsed, and the RNTI field value of the wireless network temporary identifier in the scheduling request is extracted; according to the RNTI field value, the physical identifier of the terminal is determined from the RNTI buffer of the wireless network temporary identifier; the RNTI buffer is pre-established and obtained after initialization processing; when the decoding of the received signal is completed, the state value of the decoding state buffer is updated according to the decoding result, and it is determined whether the recycling condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and obtained after initialization processing; when the recycling condition is met, the target storage position of the RNTI buffer is obtained and recycled. The technical solution in the present application pre-establishes the RNTI buffer and the decoding state buffer, and transfers the storage space of part of the information to the RNTI buffer, thereby reducing the memory space for storing frequency deviation information and HARQ information. When receiving the scheduling request, the physical identifier can be accurately determined in the RNTI buffer according to the extracted RNTI field value, and when the signal decoding is completed, the state value of the decoding state buffer is updated in time, so as to release the storage space corresponding to the RNTI buffer in time when the state value meets the recycling condition, thereby avoiding memory waste and improving the terminal information processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] 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:
[0042] Figure 1 The system structure diagram of the terminal information management provided for this application;
[0043] Figure 2 A schematic diagram of the structure of a computer device provided in one embodiment of the present application;
[0044] Figure 3 A flowchart of a terminal information management method provided by an embodiment of the present application;
[0045] Figure 4 A flowchart of a method for determining a physical identification of a terminal from an RNTI buffer provided in an embodiment of the present application;
[0046] Figure 5 A schematic diagram of a flow chart of a method for determining a physical identification of a terminal from an RNTI buffer provided in another embodiment of the present application;
[0047] Figure 6 A schematic diagram of a cell-level ID generation process of a UE provided in one embodiment of the present application;
[0048] Figure 7 A schematic diagram of a cell-level ID generation process of a UE provided in one embodiment of the present application;
[0049] Figure 8 A flowchart of a method for updating a value of a decoding state buffer according to a decoding result provided by an embodiment of the present application;
[0050] Fig. 9 A flowchart of a method for updating a value of a decoding state buffer according to a decoding result provided by another embodiment of the present application;
[0051] Fig.10 Schematic diagram of the recovery process of the cell-level ID of the UE provided in one embodiment of the present application
[0052] Fig.11 A schematic diagram of a process for recovering a cell-level ID of a UE provided in one embodiment of the present application;
[0053] Fig.12 A schematic diagram of the structure of a terminal information management device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0054] In the process of implementing the present application, the inventors found that the number of UEs that need to be maintained according to the needs of centralized procurement is limited, which can easily cause memory waste and lead to low terminal information processing efficiency.
[0055] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0056] The following is a brief description of the application environment of the terminal information management method provided in the embodiment of the present application:
[0057] See also Figure 1 As shown, the terminal information management method of the present application is applied to a terminal information management system, which includes: a base station 10 and a terminal 20, and the base station 10 establishes a communication connection with the terminal 20.
[0058] The above-mentioned base station 10 may include a macro base station, a micro base station, a pico base station and a flying base station. The macro base station has a strong transmission power and a long communication distance, and can support more users to communicate at the same time; the coverage direction of the micro base station is smaller, the transmission power is lower, and the communication distance is shorter; the pico base station is less well-known than the macro base station and the micro base station. A pico base station is a base station that is smaller than a micro base station and is usually used to cover a smaller area. The pico base station is small in size and coverage area, and the number of users it carries is relatively low. The flying base station is the smallest of the four base stations and is mainly used by home users. The flying base station is smaller in size, similar to a home router, and is mainly used for wireless communication coverage in home or small office environments.
[0059] The terminal 20 may be a mobile phone, a tablet computer, a vehicle-mounted terminal, a portable terminal or other mobile terminals. The terminal may run an operating system, which may include but is not limited to an Android system, an IOS system, a Linux system, a Unix system, a Windows system, etc., and may also include a user interface (UI) layer, which may provide data display to the outside through the UI layer.
[0060] Optionally, the terminal information management system provided by the present application may also include a computer device, and the computer device establishes a communication connection with the base station. After receiving the scheduling request, the base station may send the scheduling request to the computer device, so that the computer device parses and extracts the RNTI field value, and determines the physical identification of the terminal from the RNTI buffer according to the RNTI field value. And when the decoding of the received signal is completed, the status value of the decoding status buffer is updated according to the decoding result, and it is determined whether the recycling conditions of the storage space in the RNTI buffer are met. When the recycling conditions are met, the target storage location of the RNTI buffer is obtained and recycled.
[0061] The above-mentioned computer device may be installed with visualization operation software, and the user may run the visualization operation software to display the RNTI buffer and the decoding status buffer in real time, so as to manage the storage location of the buffer in real time.
[0062] Among them, the solutions in the embodiments of the present application can be implemented using various computer languages, for example, the object-oriented programming language Java and the interpreted scripting language JavaScript.
[0063] See also Figure 2 , a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 2As shown, the computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium can be, for example, a disk. The non-volatile storage medium stores files (which can be files to be processed or processed files), an operating system and a computer program, etc. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a terminal information management method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0064] See also Figure 3 The following embodiments take the above base station as the execution subject and apply the terminal information management method provided in the embodiment of the present application to the above computer device to perform instruction processing as an example for specific description. The terminal information management method provided in the embodiment of the present application includes the following steps 201-204:
[0065] Step 201: Receive and parse a scheduling request from a physical layer interface of a terminal, and extract a Radio Network Temporary Identifier (RNTI) field value in the scheduling request.
[0066] It should be noted that the above scheduling request may be a request corresponding to a physical layer interface (FAPI) sent by the terminal, where the physical layer interface is an interface in the physical layer used to connect and transmit data, ensuring that data can be correctly transmitted between different devices.
[0067] The terminal can send a scheduling request to the base station, so that the base station sends the scheduling request to the computer device after receiving it, and the computer device can parse and process the scheduling request and extract the RNTI field value in the scheduling request. The scheduling request is used to instruct the physical layer interface how to demodulate the received time domain signal. The scheduling request not only contains the RNTI field value, but also contains all the necessary information for demodulating the time domain signal.
[0068] It is understandable that in communication and network systems, RNTI is mainly used to identify specific devices or information tags. RNTI is used as the UE identifier in the signal information between UE and UTRAN. Among them, in LTE, a variety of different RNTIs are defined to identify different UE information, such as P-RNTI, SI-RNTI, RA-RNTI, C-RNTI, T-CRNTI, C-RNTI, T-CRNTI, SPS-C-RNTI.
[0069] Step 202: According to the RNTI field value, determine the physical identifier of the terminal from the radio network temporary identifier RNTI buffer; the RNTI buffer is pre-established and obtained after initialization processing.
[0070] It should be noted that the above base station may include a UCP4008 chip. After obtaining the RNTI field value, the physical identification of the terminal may be determined by a specific hardware instruction of the UCP4008 chip according to the result of whether the RNTI field value exists in the RNTI buffer; or the physical identification of the terminal may be determined by a computer device by determining whether the RNTI field value exists in the RNTI buffer and obtaining the result.
[0071] It is understandable that the physical identification of the terminal can be understood as the cell-level identification of the terminal, that is, the cell-level UEID. BUFFER In computer science, a buffer generally refers to a specific control reserved in the memory for temporarily storing input / output (I / O) data. The benefit of using a buffer is that it can improve the efficiency of data processing and the control of I / O devices. For example, in network communications, a buffer can be used to temporarily store sent or received data to ensure data integrity and transmission reliability.
[0072] RNTI buffer, also known as RNTI storage BUFFER, refers to a memory management technology used to buffer data between the DRAM module and the system memory controller through registers. This technology is called registered memory or buffered memory. Registered memory achieves temporary storage and buffering of data by adding registers between the DRAM module and the system memory controller, thereby optimizing the efficiency and stability of data transmission. This memory management method plays an important role in improving the data processing capability and response speed of the system. Among them, the above-mentioned RNTI buffer can include 2400Bytes, and its space size can be customized according to actual needs.
[0073] Step 203: After decoding of the received signal is completed, the state value of the decoding state buffer is updated according to the decoding result, and it is determined whether the recycling condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and initialized.
[0074] Specifically, after receiving the signal, the base station can perform a decoding operation on the signal and obtain a decoding result after the decoding is completed. The decoding result is used to indicate whether the signal is decoded correctly or incorrectly.
[0075] The above decoding status buffer is used to store the decoding status information of the terminal and initialize the status values, that is, set all spatial positions to the initialization value 0xFFFF. The decoding status buffer can be called UE decoding status BUFFER, which can include 2400Bytes, and its space size can be customized according to actual needs. Different decoding results correspond to different status values of the decoding status buffer. When the decoding result indicates that the signal decoding is correct, the status value can be set to 0 in the decoding status buffer; when the decoding result indicates that the signal decoding is wrong, the status value can be set to 1 in the decoding status buffer.
[0076] After updating the status value of the decoding status buffer, the conditions for reclaiming the storage space in the RNTI buffer can be determined based on the corresponding status values, so that the storage space in the RNTI buffer can be reclaimed when the conditions are met, thereby avoiding wasting memory space.
[0077] Step 204: When the recycling condition is met, the target storage location of the RNTI buffer is obtained and recycled.
[0078] It should be noted that the above target storage location refers to the location index in the RNTI buffer where space needs to be cleared. Before the recycling process is performed, the RNTI field value corresponding to the target storage location may contain data. During the recycling process, the RNTI field value corresponding to the target storage location is set to the initial value.
[0079] Exemplarily, a decoding status buffer is established in the memory in advance, and the status value of each storage location of the decoding status buffer is initialized. After receiving the signal sent by the terminal, the signal is decoded. When the decoding is completed, the decoding result is obtained and the decoding status is maintained. The status value of the decoding status buffer is updated according to the decoding result, and it is determined whether the recycling conditions of the storage space in the RNTI buffer are met. For example, it is checked whether all status values are 0. When they are all 0, the recycling conditions are met, and the target storage position of the RNTI buffer is determined and recycled.
[0080] In the embodiment of the present application, the scheduling request of the physical layer interface of the terminal is received and parsed, and the RNTI field value of the wireless network temporary identifier in the scheduling request is extracted; according to the RNTI field value, the physical identifier of the terminal is determined from the RNTI buffer of the wireless network temporary identifier; the RNTI buffer is pre-established and obtained after initialization processing; when the decoding of the received signal is completed, the state value of the decoding state buffer is updated according to the decoding result, and it is determined whether the recycling condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and obtained after initialization processing; when the recycling condition is met, the target storage position of the RNTI buffer is obtained and recycled. The technical solution in the present application pre-establishes the RNTI buffer and the decoding state buffer, and transfers the storage space of part of the information to the RNTI buffer, thereby reducing the memory space for storing frequency deviation information and HARQ information. When receiving the scheduling request, the physical identifier can be accurately determined in the RNTI buffer according to the extracted RNTI field value, and when the signal decoding is completed, the state value of the decoding state buffer is updated in time, so as to release the storage space corresponding to the RNTI buffer in time when the state value meets the recycling condition, thereby avoiding memory waste and improving the terminal information processing efficiency.
[0081] In an optional embodiment of the present application, the physical identification of the terminal is determined from the RNTI buffer according to the RNTI field value, see Figure 4 As shown, the following method steps may be included:
[0082] Step 301: Determine whether there is an RNTI field value in the RNTI buffer.
[0083] Step 302: If it exists, determine the storage location index of the RNTI field value in the RNTI buffer, and use the storage location index as the physical identifier of the terminal.
[0084] Step 303: If it does not exist, obtain the position where the initial value of the RNTI buffer first appears, write the RNTI field value into the position, and use the position index as the physical identifier of the terminal.
[0085] Specifically, taking the physical identification of the terminal as the cell-level ID of the UE as an example, see Figure 5As shown, the base station needs to pre-establish an RNTI buffer (RNTI storage BUFFER), which can be 2400Bytes, and initialize it, initializing all values to 0xFFFF, then receive the scheduling request sent uplink, parse the RNTI field value in the scheduling request, and query the position of the RNTI field value in the RNTI buffer through hardware to determine whether it exists in the RNTI buffer. If it exists, determine the storage position index of the RNTI field value in the RNTI buffer, and use the storage position index as the cell-level ID of the UE; if it does not exist, obtain the position where the initial value 0xFFFF of the RNTI buffer appears for the first time, write the RNTI field value to the position of the initial value 0xFFFF, and use the position index as the cell-level ID of the UE. Among them, the initial position index refers to the position index corresponding to the position where the initial value 0xFFFF appears for the first time in the RNTI buffer.
[0086] For example, see Figure 6 As shown in the figure, 65000 is the RNTI field value extracted from the scheduling request and needs to be stored, 0-1199 in the upper right part is the position index of the RNTI buffer, and 2000, 352, ..., 65535, 65535, ..., 65535, 65535 are the RNTI field values corresponding to each position index. Among them, 65535 is a decimal number, and its hexadecimal representation is 0xFFFF, that is, the initial value. When the corresponding position is set to 65535, it means that this position can be used.
[0087] When the RNTI field value extracted from the scheduling request that needs to be stored is 65000, check whether the 65000 exists in the RNTI buffer. If it does not exist, obtain the initial value 65535 of the RNTI buffer, and use the first position of the initial value 65535 in the RNTI buffer as the initial position index. The RNTI field value 65000 can be stored in the position corresponding to the initial position index, that is, the initial value 65535 of 300 is rewritten as 65000, and the initial position index 300 is used as the physical identification of the terminal (the cell-level ID of the UE).
[0088] See also Figure 7 As shown, when the RNTI field value to be stored extracted from the scheduling request is 65000, the RNTI buffer is checked to see whether the 65000 exists. If it exists, the storage location index of the RNTI field value 65000 in the RNTI buffer is determined, that is, 300. The storage location index is used as the physical identification of the terminal (the cell-level ID of the UE).
[0089] In this embodiment, it is determined whether there is an RNTI field value in the RNTI buffer, and based on the existence result, the corresponding location index is searched, so as to more accurately determine the physical identification of the terminal based on the location index.
[0090] In an optional embodiment of the present application, see Figure 8 As shown, updating the value of the decoding status buffer according to the decoding result includes the following method steps:
[0091] Step 401: When the decoding result indicates that a signal is decoded incorrectly, a physical identifier and a hybrid automatic repeat request information HARQ identifier of the terminal to which the signal belongs are obtained.
[0092] Step 402: Search the corresponding first storage location in the decoding status buffer according to the physical identifier and the HARQ identifier of the terminal.
[0093] Step 403: Set the status value of the first storage location to 1.
[0094] It should be noted that the above decoding status buffer may include 2400Bytes, with every 2 Bytes used for status recording of a terminal, and each bit in the 2 Bytes corresponding to a HARQ process. The first storage location is the corresponding storage location in the decoding status buffer when a decoding error occurs. The above decoding result may be to compare the decoding result with the preset result. When the comparison is inconsistent, the decoding result is characterized as an error in decoding the signal; when the comparison is consistent, the decoding result is characterized as correct decoding of the signal. The terminal to which the signal belongs is the terminal that sends the signal.
[0095] It is understood that the above HARQ (Hybrid Automatic Repeat Request) is an error control technology used to improve the reliability of data transmission in wireless communications. When an error occurs in data transmission, HARQ allows the sender to resend the data until the receiver successfully decodes it. HARQ information, that is, information indicating whether the data transmission is successful or needs to be retransmitted, is transmitted through a specific channel.
[0096] Taking the cell-level ID of the UE as an example, when a decoding error occurs, the corresponding first storage position Bit is searched in the decoding status buffer according to the cell-level ID and HARQ identifier of the UE to which the signal belongs, and the status value of the first storage position Bit is set to 1.
[0097] In this embodiment, when a signal decoding error occurs, the corresponding first storage position is searched in the decoding status buffer and set to 1 according to the physical identifier and HARQ identifier of the terminal to which the signal belongs. This can improve the recognition of the terminal status and more comprehensively and accurately determine whether the storage space in the RNTI buffer needs to be recovered.
[0098] In an optional embodiment of the present application, see Fig. 9 As shown, the above-mentioned updating of the value of the decoding status buffer according to the decoding result includes the following method steps:
[0099] Step 501: When the decoding result indicates that the signal is decoded correctly, a physical identifier and a HARQ identifier of the terminal to which the signal belongs are obtained.
[0100] Step 502: Search the corresponding second storage location in the decoding status buffer according to the physical identifier and the HARQ identifier of the terminal.
[0101] Step 503: Set the status value of the second storage location to 0.
[0102] It should be noted that the second storage location is the corresponding storage location in the decoding status buffer when the decoding is correct. In the process of obtaining the physical identification and HARQ identification of the terminal to which the signal belongs, it can be obtained based on a preset relationship table, or it can be obtained by importing from an external device, or it can be obtained from a database or blockchain. The preset relationship table can be a correspondence between the physical identification and the HARQ identification of the terminal to which the signal belongs, which is pre-established according to the signal.
[0103] Exemplarily, taking the cell-level ID of the UE as an example, when the decoding is correct, the corresponding second storage position Bit is searched in the decoding status buffer according to the cell-level ID and HARQ identifier of the UE to which the signal belongs, and the status value of the second storage position Bit is set to 0.
[0104] In this embodiment, when the signal is decoded correctly, the corresponding second storage location is searched in the decoding status buffer and set to 0 according to the physical identifier and HARQ identifier of the terminal to which the signal belongs. This can improve the recognition of the terminal status, so as to more comprehensively and accurately determine whether the storage space in the RNTI buffer needs to be recovered, and improve the utilization rate of the storage space.
[0105] In an optional embodiment of the present application, the above-mentioned determination of whether the conditions for reclaiming the storage space in the RNTI buffer are met includes the following method steps:
[0106] Check the status value of the storage location corresponding to the terminal to which the signal belongs; the status value of the corresponding storage location is used to represent the status information of the terminal to which it belongs, and the status value includes two, each of which is used to represent the status of a HARQ process.
[0107] When the status values are all 0, the conditions for reclaiming the storage space in the RNTI buffer are met.
[0108] When some of the status values are 0 or none of them are 0, the conditions for reclaiming the storage space in the RNTI buffer are not met.
[0109] It should be noted that, taking the example of 1200 UEs to be maintained according to the centralized procurement requirements, in order to ensure that the 1200 16-bit RNTI storage BUFFERs are not exhausted during long-term use, the storage space of the RNTI storage BUFFER needs to be recycled. Before recycling, it is necessary to determine whether the recycling conditions of the storage space in the RNTI buffer are met.
[0110] Specifically, taking the cell-level ID of the UE as an example, when the decoding result indicates that the signal is decoded correctly, after the status value of the second storage position determined in the decoding status buffer is set to 0, the corresponding storage position Bit can be found according to the cell-level ID of the UE and the HARQ process, and then the status value of the 2Bytes corresponding to the terminal is checked. If all the storage position bits are 0, it indicates that all HARQ processes of the terminal are decoded correctly, that is, the storage space recovery conditions in the RNTI buffer are met; if all the storage position bits are not 0 or partially 0, it indicates that all HARQ processes of the terminal are not decoded correctly, that is, the storage space recovery conditions in the RNTI buffer are not met.
[0111] When the recycling conditions of the storage space in the RNTI buffer are not met, there is no need to process the storage space in the RNTI buffer; when the recycling conditions of the storage space in the RNTI buffer are met, the storage space in the RNTI buffer can be cleared.
[0112] In this embodiment, by checking the status value of the storage location corresponding to the terminal to which the signal belongs, it is possible to more comprehensively determine whether the conditions for recycling the storage space in the RNTI buffer are met, thereby facilitating timely clearing of the storage space in the RNTI buffer that meets the recycling conditions, thereby avoiding memory waste.
[0113] In an optional embodiment of the present application, when the recycling condition is met, the target storage location of the RNTI buffer is obtained and recycled, including the following method steps:
[0114] When the recycling conditions are met, the physical identifier of the terminal that meets the recycling conditions is used as the target physical identifier; according to the target physical identifier, the corresponding target storage location is determined in the RNTI buffer; the RNTI field value of the target storage location is set to the initial value to recycle the target storage location.
[0115] It should be noted that the above-mentioned target physical identifier is the physical identifier of the terminal that meets the recycling conditions, and the target storage location is the corresponding storage space in the RNTI buffer.
[0116] Specifically, see Fig.10 As shown, a decoding status buffer BUFFER is first established and initialized. After decoding is completed, decoding status maintenance is required. Then, a status value is set in the decoding status buffer BUFFER according to the cell-level ID and HARQ ID of the UE, and it is determined whether the decoding of the signal is successful. When the decoding fails, the cell-level ID and HARQ identifier of the UE to which the signal belongs are obtained, and according to the cell-level ID and HARQ identifier of the UE, the corresponding first storage position Bit is found, and then the first storage position Bit is set to 1.
[0117] When the decoding is successful, check the cell-level ID and HARQ identifier of all UEs to which the acquired signal belongs, and find the corresponding second storage position Bit according to the cell-level ID and HARQ identifier of the UE, and then set the second storage position Bit to 0. Check the status value of the storage position Bit corresponding to the UE to which the signal belongs, and then determine whether all status values of the corresponding storage position Bit are 0. When they are not 0, the conditions for recycling the storage space in the RNTI buffer are not met. When all are 0, the conditions for recycling the storage space in the RNTI buffer are met, and the cell-level ID of the UE that meets the recycling conditions is used as the target physical identifier, and according to the target physical identifier, the corresponding target storage position is determined in the RNTI buffer, and the RNTI buffer is initialized. The target storage position is recycled by setting the RNTI field value of the target storage position to the initial value.
[0118] See also Fig.11 As shown, Fig.11 A schematic diagram of the recovery process of the cell-level ID of the UE provided in an embodiment of the present application, where 65000 is the RNTI field value. After the base station completes decoding of the received signal of the current time slot, if the decoding is correct, it checks the status value of the 2Bytes corresponding to the UE. If all bits are 0, it indicates that all HARQ processes of the UE are decoded correctly, and the storage position in the RNTI buffer is allowed to be recovered. According to the cell-level ID of the UE that is allowed to be recovered, the target storage position of the RNTI field value 65000 of the UE is directly indexed in the RNTI buffer, and the target storage position is 300. Then, the RNTI field value of the target storage position is set to the initial value 65535, thereby completing the recovery process of the target storage position.
[0119] In this embodiment, when the recycling conditions are met, the physical identifier of the terminal that meets the recycling conditions is used as the target physical identifier, and the corresponding target storage location is determined in the RNTI buffer, and then the target storage location is recycled in a timely manner based on the target storage location, thereby solving the problem of RNTI storage BUFFER being exhausted when used for a long time, saving memory space and avoiding memory waste.
[0120] In an optional embodiment of the present application, the above-mentioned initialization process of the RNTI buffer includes the following method steps:
[0121] Determine all storage locations in the RNTI buffer; and set the RNTI field values corresponding to all storage locations to initial values.
[0122] Specifically, the base station can establish an RNTI buffer in the memory according to actual needs, and the space size of the RNTI buffer can be customized according to actual needs, for example, it can be 2400Bytes. Each storage location in the RNTI buffer stores a corresponding RNTI field value.
[0123] After the RNTI buffer is established, all storage locations in the RNTI buffer can be determined and the RNTI buffer can be initialized, specifically, the RNTI field values corresponding to all storage locations are set to the initial value. The initial value can be 65535, which is a decimal number and its hexadecimal representation is 0xFFFF. If the storage location in the RNTI buffer is not occupied, the RNTI field value of the location can be set to the initial value to indicate whether each storage location in the RNTI buffer is occupied.
[0124] In this embodiment, by determining all storage locations in the RNTI buffer and setting the RNTI field values corresponding to all storage locations to initial values, it is possible to more clearly display whether each storage location in the RNTI buffer is occupied, so as to accurately determine the free locations and improve the storage efficiency of data in the RNTI buffer.
[0125] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0126] In another embodiment provided in the present application, a terminal information management device is also provided, see Fig.12 As shown, the device comprises:
[0127] The receiving module 810 is used to receive and parse the scheduling request of the physical layer interface of the terminal, and extract the value of the radio network temporary identifier RNTI field in the scheduling request;
[0128] The determination module 820 is used to determine the physical identification of the terminal from the radio network temporary identification RNTI buffer according to the RNTI field value; the RNTI buffer is pre-established and obtained after initialization processing;
[0129] The judgment module 830 is used to update the state value of the decoding state buffer according to the decoding result after the decoding of the received signal is completed, and to judge whether the recovery condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and initialized;
[0130] The recycling module 840 is used to obtain the target storage location of the RNTI buffer and perform recycling processing when the recycling conditions are met.
[0131] Optionally, the determination module 820 is specifically configured to:
[0132] Determine whether there is an RNTI field value in the RNTI buffer;
[0133] When it exists, determine the storage location index of the RNTI field value in the RNTI buffer, and use the storage location index as the physical identifier of the terminal;
[0134] If it does not exist, obtain the position where the initial value of the RNTI buffer first appears, write the RNTI field value to the position, and use the position index as the physical identification of the terminal.
[0135] Optionally, the determination module 830 is specifically configured to:
[0136] When the decoding result indicates that the signal decoding is wrong, a physical identifier of the terminal to which the signal belongs and a hybrid automatic repeat request information HARQ identifier are obtained;
[0137] According to the physical identifier and the HARQ identifier of the terminal, searching for a corresponding first storage location in the decoding state buffer;
[0138] Set the state value of the first storage location to 1.
[0139] Optionally, the determination module 830 is specifically configured to:
[0140] When the decoding result indicates that the signal is decoded correctly, a physical identifier and a HARQ identifier of the terminal to which the signal belongs are obtained;
[0141] According to the physical identifier and the HARQ identifier of the terminal, searching for a corresponding second storage location in the decoding state buffer;
[0142] The state value of the second storage location is set to 0.
[0143] Optionally, the determination module 830 is further configured to:
[0144] Check the status value of the storage location corresponding to the terminal to which the signal belongs; the status value of the corresponding storage location is used to represent the status information of the terminal to which it belongs, and the status value includes two, each of which is used to represent the status of a HARQ process;
[0145] When the status values are all 0, the conditions for reclaiming the storage space in the RNTI buffer are met;
[0146] When some of the status values are 0 or none of them are 0, the conditions for reclaiming the storage space in the RNTI buffer are not met.
[0147] Optionally, the recovery module 840 is specifically used for:
[0148] When the recycling conditions are met, the physical identification of the terminal that meets the recycling conditions is used as the target physical identification;
[0149] According to the target physical identifier, determine the corresponding target storage location in the RNTI buffer;
[0150] The RNTI field value of the target storage location is set to an initial value to recycle the target storage location.
[0151] Optionally, the above device is also used for:
[0152] Determine all storage locations in the RNTI buffer;
[0153] The RNTI field values corresponding to all storage locations are set to initial values.
[0154] For the specific definition of the terminal information management device, please refer to the definition of the terminal information management method above, which will not be repeated here. Each module in the terminal information management device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the modules above.
[0155] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 2 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a terminal information management method as described above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the terminal information management method as described above is implemented.
[0156] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above terminal information management method can be implemented.
[0157] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0158] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0160] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0161] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0162] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A terminal information management method, characterized in that: The terminal information management method comprises: Receive and parse the scheduling request of the physical layer interface of the terminal, and extract the radio network temporary identifier RNTI field value in the scheduling request; According to the RNTI field value, determining the physical identification of the terminal from a radio network temporary identification RNTI buffer; the RNTI buffer is pre-established and obtained after initialization processing; After decoding of the received signal is completed, the state value of the decoding state buffer is updated according to the decoding result, and it is determined whether the recovery condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and initialized; When the recycling condition is met, the target storage location of the RNTI buffer is obtained and recycled.
2. The method according to claim 1, characterized in that Determining the physical identification of the terminal from the RNTI buffer according to the RNTI field value includes: Determine whether the RNTI field value exists in the RNTI buffer; When present, determining a storage location index of the RNTI field value in the RNTI buffer, and using the storage location index as the physical identifier of the terminal; When it does not exist, the position where the initial value of the RNTI buffer first appears is obtained, the RNTI field value is written into the position, and the position index is used as the physical identification of the terminal.
3. The method according to claim 1, characterized in that: Update the status value of the decoding status buffer according to the decoding result, including: When the decoding result indicates that the signal is decoded incorrectly, obtaining a physical identifier of a terminal to which the signal belongs and a hybrid automatic repeat request information HARQ identifier; According to the physical identifier and the HARQ identifier of the terminal, searching the corresponding first storage location in the decoding state buffer; The state value of the first storage location is set to 1.
4. The method according to claim 3, characterized in that Update the status value of the decoding status buffer according to the decoding result, including: When the decoding result indicates that the signal is decoded correctly, obtaining a physical identifier of the terminal to which the signal belongs and the HARQ identifier; According to the physical identifier and the HARQ identifier of the terminal, searching the corresponding second storage location in the decoding state buffer; The state value of the second storage location is set to 0.
5. The method according to claim 1, characterized in that Determining whether a condition for reclaiming the storage space in the RNTI buffer is met includes: Checking the state value of the storage location corresponding to the terminal to which the signal belongs; the state value of the corresponding storage location is used to represent the state information of the terminal to which the signal belongs, and the state value includes two, each of which is used to represent the state of a HARQ process; When the state values are all 0, the condition for reclaiming the storage space in the RNTI buffer is met; When part of the status values are 0 or none of them are 0, the condition for reclaiming the storage space in the RNTI buffer is not met.
6. The method according to claim 1, characterized in that When the recycling condition is met, the target storage location of the RNTI buffer is obtained and recycled, including: When the recycling conditions are met, the physical identification of the terminal that meets the recycling conditions is used as the target physical identification; Determining, according to the target physical identifier, a corresponding target storage location in the RNTI buffer; The RNTI field value of the target storage location is set to an initial value to recycle the target storage location.
7. The method according to claim 1, characterized in that The initialization processing of the RNTI buffer includes: Determining all storage locations in the RNTI buffer; The RNTI field values corresponding to all the storage locations are set to initial values.
8. A terminal information management device, characterized in that: The device comprises: A receiving module, configured to receive and parse a scheduling request of a physical layer interface of a terminal, and extract a radio network temporary identifier RNTI field value in the scheduling request; A determination module, configured to determine the physical identification of the terminal from a radio network temporary identification RNTI buffer according to the RNTI field value; the RNTI buffer is pre-established and obtained after initialization processing; A judgment module, used for updating the state value of the decoding state buffer according to the decoding result after the decoding of the received signal is completed, and judging whether the recovery condition of the storage space in the RNTI buffer is met; the decoding state buffer is pre-established and initialized; The recycling module is used to obtain the target storage location of the RNTI buffer and perform recycling processing when the recycling conditions are met.
9. A computer device comprising: A memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
