Base station service processing method and device, storage medium and electronic device
By acquiring and utilizing high-priority services to process idle time windows on the base station, segmenting and configuring and executing services, the problem of low efficiency in base station business processing is solved and more efficient service processing is achieved.
Patent Information
- Application Number
- CN202510147696.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-05-13
AI Technical Summary
When processing random access signals from mobile stations, base stations are susceptible to other services with higher priority, resulting in lower overall service processing efficiency.
When the base station currently processes higher priority of services, the time window in which the base station is in an idle state when processing these high priority services is obtained, and the service is divided into multiple operations, and these operations are configured to be executed in the idle time window.
By segmenting the target services with lower business priority and executing them in the idle period of high-priority service processing, the impact of the target services on high-priority service processing is reduced, and the overall service processing efficiency of the base station is improved.
Smart Images

Figure CN119997256A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular, to a method and device for processing base station services, a storage medium, and an electronic device. Background Art
[0002] PRACH (Physical Random Access Channel) is an access channel on the physical layer. It is an access channel specially provided for mobile stations and is used to transmit control information from mobile stations to base stations. The application of PRACH on the physical layer is that when a mobile station (also called a terminal or mobile device) wants to initiate access, it will first send a random access signal (RACH). This signal will be transmitted to the base station. The base station will receive this signal, analyze and process it, and then send an access response signal (RAR) to the mobile station. The current software processing of base stations needs to follow strict timing design. When the base station processes the RACH signal, it is easy to affect the processing of other services with higher priority of the base station, resulting in low overall service processing efficiency of the base station.
[0003] With regard to the problem of low overall service processing efficiency of base stations in related technologies, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method and device for processing base station services, a storage medium, and an electronic device, so as to at least solve the problem of low overall service processing efficiency of the base station in the related art.
[0005] According to one embodiment of the present application, a method for processing base station services is provided, which is applied to a base station, and includes:
[0006] In a case where the service priority of the target service is lower than the service priority of the reference service, a target time window of the base station is obtained, wherein the target service is the service requested by the service processing request currently received by the base station, the reference service is the service currently being processed by the base station, and the target time window is a time window in which the base station is in an operational idle state during the process of processing the reference service; the target service is divided into multiple service operations according to the time window information of the target time window; a target service operation to be executed is configured for each target time window according to the time window information and the operation information of the multiple service operations; and when it is determined that the target time window is reached, the target service operation corresponding to the target time window is executed.
[0007] Optionally, configuring a target business operation to be executed for each target time window based on the time window information and the operation information of the multiple business operations includes: detecting the business information of the base station in the current time window, wherein the business information is used to indicate the business operation carrying status of the reference business at the current moment of the base station; when the business information is used to indicate that the current time window is the target time window, selecting the target business operation for the target time window from the multiple business operations based on the target duration of the current target time window and the operation information, wherein the time window information includes the target duration.
[0008] Optionally, the target business operation is filtered out from multiple business operations for the target time window based on the target duration of the current target time window and the operation information, including: extracting a first business operation that is in a pending execution state from multiple business operations; filtering out a second business operation from multiple first business operations based on operation timing information and operation time information of each of the first business operations, wherein the duration required to execute the second business operation is less than or equal to the target duration, the operation information includes the operation timing information and the operation time information, the operation timing information is used to indicate the execution order of multiple business operations in the target business, the operation time information is used to indicate the time consumption of executing the corresponding business operation, the second business operation is an operation among multiple first business operations that is located at the starting position in the execution order indicated by the operation timing information; the second business operation is determined as the target business operation corresponding to the current target time window.
[0009] Optionally, the filtering out of the second business operation from multiple first business operations based on the operation timing information and the operation time information of each first business operation includes: repeatedly performing the following operations until the target business operation is configured for the target time window: extracting a third business operation from multiple first business operations, wherein the third business operation is the first business operation with the highest execution order among the multiple first business operations; comparing the operation duration of the third business operation with the target duration, wherein the operation time information includes the operation duration; when the operation duration is greater than the target duration, determining that the configuration of the target business operation for the target time window is completed; when the operation duration is less than or equal to the target duration, assigning the third business operation from multiple first business operations to the second business operation, and updating the target duration to the difference between the target duration and the operation duration.
[0010] Optionally, the execution of the target business operation corresponding to the target time window includes: when it is detected that the target time window has been reached, configuring a binding relationship between the target time window and the target business operation corresponding to the target time window on a business state machine, wherein the business state machine is used to execute the business operation according to the binding relationship between the configured time window and the business operation.
[0011] Optionally, dividing the target business into multiple business operations according to the time window information of the target time window, including: calculating the target duration of each target time window according to the start time and end time of each target time window, wherein the time window information includes the start time and the end time; dividing the target business into multiple business operations according to the multiple target durations, wherein the time consumed to execute the business operations matches the target duration.
[0012] Optionally, dividing the target business into multiple business operations according to the multiple target durations includes: detecting a target ratio of candidate time windows in the multiple target time windows, wherein the candidate time window is a time window in the multiple target time windows whose target duration is less than or equal to a target duration threshold; when the target ratio is less than or equal to a reference threshold, dividing the target business according to a first division method to obtain multiple business operations, wherein the first division method is used to indicate that the time consumed by the divided business operation during execution matches the target duration of an initial time window, and the initial time window is a time window in the multiple target time windows other than the candidate time window; when the target ratio is greater than the reference threshold, dividing the target business according to a second division method to obtain multiple business operations, wherein the second division method is used to indicate that the time consumed by the divided business operation during execution matches the target duration of the candidate time window.
[0013] According to another embodiment of the embodiments of the present application, a base station service processing device is also provided, including: an acquisition module, used to acquire the target time window of the base station when the service priority of the target service is lower than the service priority of the reference service, wherein the target service is the service requested to be processed by the service processing request currently received by the base station, the reference service is the service currently being processed by the base station, and the target time window is a time window in an operation idle state during the process of the base station processing the reference service; a segmentation module, used to segment the target service into multiple service operations according to the time window information of the target time window; a configuration module, used to configure the target service operation to be executed for each target time window according to the time window information and the operation information of the multiple service operations; an execution module, used to execute the target service operation corresponding to the target time window when it is determined that the target time window is reached.
[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned base station service processing method when running.
[0015] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the base station service processing method through the computer program.
[0016] In the embodiment of the present application, since the service priority of the target service requested by the service handling request currently received by the base station is lower than the priority of the reference service currently being handled by the base station, the target time window in which the base station is in an operation idle state during the handling of the reference service will be obtained, and the target service will be divided into multiple service operations according to the time window information of the target time window, and then the target service operation to be executed is configured for each target time window according to the time window information of the target time window and the operation information of the multiple service operations, and then the target service operation corresponding to the target time window is executed when it is determined that the target time window has been reached, that is, the base station can divide the target service with a lower service priority into multiple service operations, so that the handling of the target service can be completed in parts during the handling interval of the reference service with a higher service priority, thereby reducing the adverse effects of the handling of the target service on the handling of the reference service, and improving the service processing efficiency of the base station as a whole. The above technical solution solves the problem of low overall service processing efficiency of the base station in the related technology, and achieves the technical effect of improving the overall service processing efficiency of the base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 It is a hardware environment diagram of a method for processing base station services according to an embodiment of the present application;
[0020] Figure 2 is a flowchart of a method for processing base station services according to an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of the operating principle of the state machine according to an embodiment of the present application;
[0022] Figure 4 It is a structural block diagram of a base station service processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a device terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 Schematic diagram of the hardware environment of a method for processing base station services according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (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. In an exemplary embodiment, the computer 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 only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.
[0026] 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 method for sending message push in the embodiment of the present invention. 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 examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 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.
[0027] 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 a computer terminal. 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.
[0028] In this embodiment, a method for processing base station services is provided, which is applied to the base station and can also be applied to the above-mentioned computer terminal. Figure 2 1 is a flow chart of a method for processing base station services according to an embodiment of the present application, the flow includes the following steps:
[0029] Step S202, when the service priority of the target service is lower than the service priority of the reference service, obtaining a target time window of the base station, wherein the target service is a service requested to be processed by a service processing request currently received by the base station, the reference service is a service currently being processed by the base station, and the target time window is a time window in which the base station is in an operation idle state during the process of processing the reference service;
[0030] Step S204, dividing the target business into multiple business operations according to the time window information of the target time window;
[0031] Step S206, configuring a target business operation to be executed for each target time window according to the time window information and operation information of multiple business operations;
[0032] Step S208: When it is determined that the target time window has been reached, a target service operation corresponding to the target time window is executed.
[0033] Through the above steps, since the service priority of the target service requested by the service handling request currently received by the base station is lower than the priority of the reference service currently being handled by the base station, the target time window in which the base station is in an operation idle state during the handling of the reference service will be obtained, and the target service will be divided into multiple service operations according to the time window information of the target time window, and then the target service operation to be executed is configured for each target time window according to the time window information of the target time window and the operation information of the multiple service operations, and then the target service operation corresponding to the target time window is executed when it is determined that the target time window is reached, that is, the base station can divide the target service with a lower service priority into multiple service operations, so that the handling of the target service can be partially completed in the handling gap of the reference service with a higher service priority, thereby reducing the adverse effects of the handling of the target service on the handling of the reference service, and improving the service processing efficiency of the base station as a whole. The above technical solution solves the problem of low overall service processing efficiency of the base station in the related technology, and achieves the technical effect of improving the overall service processing efficiency of the base station.
[0034] In the technical solution provided in the above step S202, the service priority of the service includes but is not limited to indicating the importance of the service of the base station, or indicating the strictness of the execution time requirement of the service of the base station, or indicating the service quality requirement of the service of the base station, including bandwidth, delay, packet loss rate, etc.
[0035] Optionally, in this embodiment, it includes but is not limited to mapping high-priority services to high-priority channels for transmission. For example, data channels PDSCH (Physical Downlink Shared Channel) and PUSCH (Physical Uplink Shared Channel) are used to carry data services, while control channels PDCCH (Physical Downlink Control Channel) and PUCCH (Physical Uplink Control Channel) are used to transmit control information. Usually, the service priority of the base station service that transmits control information is higher than the service priority of the base station service that transmits data information, and the corresponding control channel has a higher priority than the data channel.
[0036] Optionally, in this embodiment, the target time window is a time window in which the base station is in an idle state during the process of handling the reference service, including but not limited to an idle time period in the process of processing a single service, or a connection time period in the process of processing multiple services, during which the base station is in an idle state. The number of target time windows may be one or more, and this application does not make specific limitations on this.
[0037] Optionally, in this embodiment, the base station being in an operational idle state includes but is not limited to the base station not currently performing any service operations, or the base station currently has a large surplus of operating resources, for example, multiple operating resource indicators are greater than corresponding indicator thresholds.
[0038] Optionally, in this embodiment, obtaining the target time window of the base station includes but is not limited to the base station using a real-time monitoring mechanism to continuously monitor the progress and resource occupancy of the reference service currently being processed, and once it is detected that the reference service temporarily enters a low resource occupancy state (such as a data packet gap, a channel idle), immediately identifying this time window as the target time window, and storing its information in the scheduling queue for subsequent segmentation and scheduling of the target service, or the base station predicts its resource requirements and idle periods in the next period of time based on the historical data and current status of the reference service through a prediction algorithm. This method allows the base station to plan the target time window in advance, thereby more efficiently scheduling and configuring the operation of the target service.
[0039] Optionally, in this embodiment, including but not limited to when the base station is processing a reference service and receives a service processing request for a candidate service with a higher service priority than the reference service, the base station may immediately interrupt the reference service currently being processed and instead process the candidate service after executing the reference service, or when the service priority of the candidate service is much higher than the service priority of the reference service.
[0040] In the technical solution provided in the above step S204, the time window information of the target time window may be but is not limited to being used to indicate the start time and end time of the corresponding target time window, or to indicate the start time and duration of the corresponding target time window.
[0041] Optionally, in this embodiment, the target service is divided into multiple service operations according to the time window information of the target time window, including but not limited to fine-grained segmentation of the complete process (filtering, FFT (Fast Fourier Transform), correlation processing, IFFT (Inverse Fast Fourier Transform), and detection) of the target service (such as PRACH processing), and each step or sub-step constitutes a service operation. According to the length of the target time window, a suitable operation is selected for scheduling, or a dynamic segmentation strategy is adopted to dynamically determine the operation part to be performed in each time window based on the complexity and required resources of the target service and the real-time information of the target time window, that is, dynamically segment the target service. For example, if the target time window is very short, only the filtering operation can be performed, and the filtering operation is divided into one service operation; if the time window is long, filtering and FFT operations can be performed, and the filtering operation and FFT operation are divided into one service operation as a whole.
[0042] In the technical solution provided in the above step S206, the operation information of the business operation may be, but is not limited to, used to indicate the time required to execute the corresponding business operation and used to indicate the execution order of the corresponding business operation among the multiple business operations divided from the target business.
[0043] Optionally, in this embodiment, configuring the target business operation to be executed for each target time window includes but is not limited to configuring the corresponding target business operations for all target time windows at once when multiple target time windows are predetermined, or configuring the target business operation to be executed for the current target time window when each target time window is reached.
[0044] Optionally, in this embodiment, it includes but is not limited to configuring a target business operation to be executed for each target time window according to the temporal sequence of multiple target time windows.
[0045] Optionally, in this embodiment, although the target business operation to be executed is configured for each target time window, the final configuration result is not necessarily that all target time windows have the target business operations configured for them. It may happen that no target business operation is configured because the duration of the target time window is too short. It may also happen that multiple business operations are configured because the duration of the target time window is long.
[0046] Optionally, in this embodiment, the target business operation to be executed is configured for each target time window according to the time window information and the operation information of multiple business operations, including but not limited to configuring the target business operation for the target time window of the target business operation to be configured according to the operation timing information of each business operation and the target time window number difference between the target time window of the current target business operation to be configured and the first time window of the target business, wherein the first time window of the target business is configured with the target time window of the business operation with the highest execution order among the multiple business operations obtained by segmenting the target business, and when it is determined that the first time window has not been found, the target time window of the current target business operation to be configured is determined to be the first time window, and the operation timing information of each business operation is used to indicate the execution order of the corresponding business operation among the multiple business operations obtained by segmenting the target business, and the premise of such operation is that the segmentation of the business operation is completely corresponding to the duration of each target time window, so the multiple target time windows are matched one-to-one with the multiple business operations, and each time window can be configured with a target business operation to be executed.
[0047] Optionally, in the present embodiment, configuring a target business operation to be executed for each target time window according to the time window information and the operation information of multiple business operations includes but is not limited to configuring a target business operation to be executed for each target time window according to the operation timing information of each business operation, the operation time information of each business operation and the duration of the target time window, wherein the operation timing information of each business operation is used to indicate the execution order of the corresponding business operation in the multiple business operations obtained by segmentation of the target business, and the operation time information of each business operation is used to indicate the time required to execute the corresponding business operation. In this case, the segmentation of the business operations is more based on the overall situation of the duration of multiple target time windows. Among the multiple target time windows, there may be a target time window that cannot be configured with a target business operation, and there may also be a target time window that is configured with multiple target business operations.
[0048] In the technical solution provided in the above step S208, determining that the target time window is reached includes but is not limited to detecting the start time of the target time window, or detecting a change in the usage status of the internal resources of the base station (such as CPU, memory, bandwidth, etc.). For example, it can be when the resource usage rate drops to a certain threshold, or when it is detected that some resources are idle.
[0049] As an optional embodiment, a target business operation to be executed is configured for each target time window based on time window information and operation information of multiple business operations, including: detecting the business information of the base station in the current time window, wherein the business information is used to indicate the business operation carrying status of the reference business at the current moment of the base station; when the business information is used to indicate that the current time window is the target time window, selecting the target business operation for the target time window from multiple business operations based on the target duration of the current target time window and the operation information, wherein the time window information includes the target duration.
[0050] Optionally, in this embodiment, the service information of the service state machine in the current time window is detected, that is, whether the current time window is a time window in which the base station is in an operational idle state during the process of handling reference services, that is, whether the current time window is a target time window.
[0051] Optionally, in this embodiment, detecting the service information of the base station in the current time window includes but is not limited to detecting the usage parameters of one or more target resource items. When the usage parameters of one or more target resource items are lower than the corresponding parameter thresholds (i.e., one or more resource items in the base station are in an idle state), determining that the service information of the base station in the current time window is detected is used to indicate that the current time window is the target time window.
[0052] As an optional embodiment, a target business operation is screened out from multiple business operations for the target time window based on the target duration of the current target time window and operation information, including: extracting a first business operation in a pending execution state from multiple business operations; screening out a second business operation from multiple first business operations based on operation timing information and operation time information of each first business operation, wherein the duration required to execute the second business operation is less than or equal to the target duration, the operation information includes operation timing information and operation time information, the operation timing information is used to indicate the execution order of multiple business operations in the target business, the operation time information is used to indicate the time consumption of executing the corresponding business operation, the second business operation is an operation in multiple first business operations that is located at the starting position in the execution order indicated by the operation timing information; the second business operation is determined as the target business operation corresponding to the current target time window.
[0053] Optionally, in this embodiment, the first business operation in the pending execution state, that is, the business operation that has not yet been executed, will be executed when the target time window is reached. Therefore, the business operation configured in the current target time window can be completed before the next target time window is detected, and the remaining unexecuted business operations are the business operations that can be configured for the new target time window.
[0054] Optionally, in this embodiment, the second business operation includes but is not limited to zero, one, or more.
[0055] As an optional embodiment, selecting the second business operation from the plurality of first business operations according to the operation timing information and the operation time information of each first business operation includes: repeatedly performing the following operations until the target business operation is configured for the target time window:
[0056] A third business operation is extracted from multiple first business operations, wherein the third business operation is the first business operation with the earliest execution order among the multiple first business operations; an operation duration of the third business operation is compared with a target duration, wherein the operation time information includes the operation duration; when the operation duration is greater than the target duration, it is determined that configuration of the target business operation for the target time window is completed; when the operation duration is less than or equal to the target duration, the third business operation is classified as a second business operation from the multiple first business operations, and the target duration is updated to the difference between the target duration and the operation duration.
[0057] Optionally, in an embodiment of the present application, the third business operation is divided into the second business operation from multiple first business operations, that is, the third business operation is deleted from the first business operation and the third business operation is classified as a second business operation. Through such an operation, the third business operation extracted in each cycle can be the target business operation that is not configured for the target time window, thereby ensuring the smooth configuration.
[0058] As an optional embodiment, executing a target business operation corresponding to a target time window includes: when it is detected that the target time window has been reached, configuring a binding relationship between the target time window and the target business operation corresponding to the target time window on a business state machine, wherein the business state machine is used to execute the business operation according to the binding relationship between the configured time window and the business operation.
[0059] Optionally, in this embodiment, including but not limited to scheduling the execution of business operations with the help of a business state machine, each business operation is executed by switching the states of the business state machine to schedule and finally complete the handling of the target business.
[0060] Optionally, in this embodiment, including but not limited to before the binding relationship between the target time window and the target business operation corresponding to the target time window is configured on the business state machine, the business state machine is in a waiting state. After the binding relationship is configured, the business state machine will execute the corresponding business operation when each target time window is reached, and during the execution of each business operation, the execution status of the current business operation is saved while the current business operation is executed and waiting for the next target time window to arrive, so as to ensure that the target business operation corresponding to the next target time window can be directly connected to continue handling the target business.
[0061] As an optional embodiment, the target business is divided into multiple business operations according to the time window information of the target time window, including: calculating the target duration of each target time window according to the start time and end time of each target time window, wherein the time window information includes the start time and end time; dividing the target business into multiple business operations according to the multiple target durations, wherein the time consumed to execute the business operation matches the target duration.
[0062] Optionally, in this embodiment, the time consumed in executing the business operation matches the target duration, including but not limited to that the time consumed in executing any one of the multiple business operations is less than or equal to the target duration; or the ratio of the number of business operations in which the time consumed in executing the business operation is less than or equal to the target duration among the multiple business operations exceeds the proportion threshold. The former matching method enables each target time window to be utilized, but may bring certain difficulties to the scheduling operation. The latter takes into account the difficulty of the scheduling operation. Although it is possible that some target time windows cannot be effectively utilized, it can avoid the adverse effects of excessive scheduling operations on the operation of the base station.
[0063] As an optional embodiment, the target business is divided into multiple business operations according to multiple target durations, including: detecting a target ratio of candidate time windows in multiple target time windows, wherein the candidate time window is a time window in the multiple target time windows whose target duration is less than or equal to a target duration threshold; when the target ratio is less than or equal to a reference threshold, the target business is divided according to a first division method to obtain multiple business operations, wherein the first division method is used to indicate that the time consumed by the segmented business operations during execution matches the target duration of the initial time window, and the initial time window is a time window in the multiple target time windows other than the candidate time window; when the target ratio is greater than the reference threshold, the target business is divided according to a second division method to obtain multiple business operations, wherein the second division method is used to indicate that the time consumed by the segmented business operations during execution matches the target duration of the candidate time window.
[0064] Optionally, in this embodiment, the first segmentation method includes but is not limited to a segmentation method that adapts to a longer target time window. When the target ratio is less than or equal to the reference threshold, that is, the longer target time window (initial time window) accounts for a higher proportion, the first segmentation method is used to indicate that the execution time of the business operation matches the duration of these initial time windows. The second segmentation method includes but is not limited to a segmentation method that adapts to a shorter target time window. When the target ratio is greater than the reference threshold, that is, the shorter time window (candidate time window) accounts for a higher proportion, the second segmentation method is used to indicate that the execution time of the business operation matches the duration of these candidate time windows.
[0065] Optionally, in this embodiment, including but not limited to, there are multiple default segmentation methods for the services handled by the base station. For example, the target service of RACH processing can be divided into five service operations of filtering-FFT-correlation-IFFT-detection, and this segmentation method can be regarded as the first segmentation method. In order to adapt to a shorter target time window, the three service operations of filtering, correlation, and detection can be further divided into two parts of parameter configuration-symbol level processing for RACH processing, and the parameter configuration of filtering-symbol level processing of filtering-FFT-related parameter configuration-related symbol level processing-IFFT-detection parameter configuration-symbol level processing of detection is obtained, which is a total of eight service operations. This segmentation method can be regarded as the second segmentation method. It can be clearly seen that the segmentation granularity of the second segmentation method is finer than that of the first segmentation method. According to the distribution of the target time window represented by the comparison of the target ratio and the reference threshold value in the duration, when the proportion of the longer target time window is high, the target service of RACH processing is segmented according to the first segmentation method, and when the proportion of the shorter target time window is high, the target service of RACH processing is segmented according to the second segmentation method.
[0066] Optionally, in this embodiment, the first segmentation method is used to indicate that the time consumed by the segmented business operation during execution matches the target duration of the initial time window, including but not limited to that the time consumed by each business operation segmented according to the first segmentation method during execution is greater than the target duration threshold or most of them are greater than the target duration threshold. The second segmentation method is used to indicate that the time consumed by the segmented business operation during execution matches the target duration of the candidate time window, including but not limited to that the time consumed by each business operation segmented according to the second segmentation method during execution is less than or equal to the target duration threshold, or most of them are less than or equal to the target duration threshold. In order to make the best use of the target time window, regardless of whether the first segmentation method or the second segmentation method is used, the time consumed by each business operation finally segmented during execution should be less than or equal to the maximum value of the target durations of multiple target time windows.
[0067] In order to better understand the above process, the above process is described below in conjunction with an optional embodiment, but it is not intended to limit the technical solution of the embodiment of the present application.
[0068] As an optional embodiment, the present application also proposes a method for implementing base station RACH processing based on a state machine, which divides the entire processing flow of the RACH signal (i.e., the target service) into multiple states, each state completes a certain module of RACH signal processing, and completes part of the software processing by reasonably designing the state machine block.
[0069] Generally speaking, the entire RACH processing flow of the base station includes filtering (at the receiving end, the base station will first filter the received signal. This step is mainly to remove noise and unnecessary out-of-band signals to improve signal clarity and reception quality. The design of the filter is usually customized according to the bandwidth of the system operating frequency band and the specific signal characteristics to maximize the extraction of effective signals while suppressing interference), FFT (after filtering, the base station will use FFT to transform the signal in the frequency domain. FFT is an efficient algorithm for converting time domain signals into frequency domain signals, which makes it easier to identify signal characteristics such as frequency components and power spectral density. In random access signal processing, FFT helps the base station identify the preamble sent by the mobile device, which is a key signal in the random access process, used to identify the mobile device and request access), and correlation (i.e. correlation detection, which is a key step in RACH signal processing. At this stage, the base station The station performs correlation analysis on the received FFT result and the known preamble. The purpose of correlation detection is to identify the best matching preamble sequence, so as to determine which mobile device is trying to access the network. Typically, the base station compares the received signal with a set of predefined preamble sequences to find the best match), IFFT (in some cases, in order to further process the signal or to communicate with the mobile device, the base station may need to convert the frequency domain signal back to the time domain signal. IFFT is used to complete this inverse transformation process, which converts the frequency domain signal obtained by FFT back to the time domain for further signal processing or generating a response signal), detection (the last step is detection and decoding, which is a summary of the entire random access signal processing process. In the detection stage, the base station confirms the preamble and access request of the mobile device. In the decoding stage, the base station decodes the random access response signal (such as UE identification, synchronization information, etc.) sent by the mobile device, so that it can respond, such as sending a RAR (Random Access Response) signal to the mobile device to indicate whether the access is successful and the subsequent transmission parameters) these five steps, and a state machine including six states is set for these five steps (i.e., service operations):
[0070] State0: No RACH processing - IDLE;
[0071] State1: Filter——FILTER;
[0072] State2: Fast Fourier Transform - FFT;
[0073] State3: Related - CORR;
[0074] State4: Inverse Fast Fourier Transform - IFFT;
[0075] State5: Detection——DETEC.
[0076] Figure 3 is a schematic diagram of the operating principle of the state machine according to an embodiment of the present application, such as Figure 3 As shown, the operating principle of the state machine is to execute State1-State5 in sequence in the while (TRUE) loop. The Switch case CurState executes the corresponding code block based on the current different states. CurState is used to indicate the current state. After State5 is executed, the RACH processing is completed and the state is set to State0. If the conditions for exiting the state machine are met, the state machine is exited, the current state is maintained, and the state is processed from the state after the next entry into the state machine. The conditions for exiting the state machine are: 1. The state is State0: It means that there is no RACH processing in the current subframe or the RACH processing has been completed. 2. The remaining time window (timeLeft) (i.e. the aforementioned target duration and the difference between the target duration and the operation duration) is less than the time required for the current State processing (timeNeed[CurState]) (i.e. the aforementioned operation duration). This exit condition is to avoid the state machine execution time being too long and affecting the processing timing of other modules of the base station.
[0077] The above embodiment divides six states to complete RACH processing. If you want to use the state machine more flexibly, you can reduce the calculation time of each state and continue to subdivide multiple states. For example: in TDD (Time Division Duplexing) mode, a single subframe can have 6 RACHs to be processed, so the three states of filtering, correlation and detection can each be divided into two states of parameter configuration and symbol level processing. According to the time given when scheduling RACH processing, the processing of 6 RACHs is divided into N times for processing. Assuming that the time given when scheduling RACH processing can meet the processing of all states of 1 RACH, then after processing 1 RACH, wait for the next scheduling to come in RACH processing again, and then process the remaining RACH. If the time given when scheduling RACH processing can only meet the time required to process the filtering state of 1 RACH, then process the filtering process of the first RACH, and wait for the next scheduling to come in RACH processing again, and then process the FFT, CORR, IFFT and DETEC processes of the first RACH. Because the priority of the RACH channel is relatively low and its processing does not need to be completed in the current subframe, PRAC processing is performed by inserting gaps in the entire processing sequence of physical layer service processing according to the processing time of each RACH state, thereby making full use of the processing time and processing resources of the base station, thereby improving the overall efficiency of the base station in handling services.
[0078] 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 and a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an 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, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0079] Figure 4 is a structural block diagram of a base station service processing device according to an embodiment of the present application; Figure 4 As shown, including:
[0080] The acquisition module 402 is used to acquire a target time window of the base station when the service priority of the target service is lower than the service priority of the reference service, wherein the target service is a service requested to be processed by the service processing request currently received by the base station, the reference service is a service currently being processed by the base station, and the target time window is a time window in which the base station is in an operation idle state during the process of processing the reference service;
[0081] A segmentation module 404, configured to segment the target business into a plurality of business operations according to the time window information of the target time window;
[0082] A configuration module 406, configured to configure a target business operation to be executed for each target time window according to the time window information and operation information of multiple business operations;
[0083] The execution module 408 is used to execute the target service operation corresponding to the target time window when it is determined that the target time window has been reached.
[0084] Through the above steps, since the service priority of the target service requested by the service handling request currently received by the base station is lower than the priority of the reference service currently being handled by the base station, the target time window in which the base station is in an operation idle state during the handling of the reference service will be obtained, and the target service will be divided into multiple service operations according to the time window information of the target time window, and then the target service operation to be executed is configured for each target time window according to the time window information of the target time window and the operation information of the multiple service operations, and then the target service operation corresponding to the target time window is executed when it is determined that the target time window is reached, that is, the base station can divide the target service with a lower service priority into multiple service operations, so that the handling of the target service can be partially completed in the handling gap of the reference service with a higher service priority, thereby reducing the adverse effects of the handling of the target service on the handling of the reference service, and improving the service processing efficiency of the base station as a whole. The above technical solution solves the problem of low overall service processing efficiency of the base station in the related technology, and achieves the technical effect of improving the overall service processing efficiency of the base station.
[0085] Optionally, the configuration module includes: a detection unit, used to detect service information of the base station in a current time window, wherein the service information is used to indicate the service operation carrying status of the base station for the reference service at the current moment; a screening unit, used to screen out target service operations for the target time window from multiple service operations according to the target duration of the current target time window and the operation information when the service information is used to indicate that the current time window is a target time window, wherein the time window information includes the target duration.
[0086] Optionally, the screening unit is further used to: extract a first business operation that is in a pending execution state from multiple business operations; screen out a second business operation from multiple first business operations based on the operation timing information and the operation time information of each first business operation, wherein the time required to execute the second business operation is less than or equal to the target time, the operation information includes the operation timing information and the operation time information, the operation timing information is used to indicate the execution order of multiple business operations in the target business, the operation time information is used to indicate the time consumption of executing the corresponding business operation, the second business operation is an operation in the multiple first business operations that is located at the starting position in the execution order indicated by the operation timing information; and determine the second business operation as the target business operation corresponding to the current target time window.
[0087] Optionally, the screening unit is also used to: repeatedly perform the following operations until the target business operation is configured for the target time window: extract a third business operation from multiple first business operations, wherein the third business operation is the first business operation with the earliest execution order among the multiple first business operations; compare the operation duration of the third business operation with the target duration, wherein the operation time information includes the operation duration; when the operation duration is greater than the target duration, determine that the configuration of the target business operation for the target time window is completed; when the operation duration is less than or equal to the target duration, classify the third business operation from the multiple first business operations into the second business operation, and update the target duration to the difference between the target duration and the operation duration.
[0088] Optionally, the execution module includes: a detection unit, used to configure a binding relationship between the target time window and the target business operation corresponding to the target time window on the business state machine when it is detected that the target time window has been reached, wherein the business state machine is used to execute the business operation according to the binding relationship between the configured time window and the business operation.
[0089] Optionally, the segmentation module includes: a calculation unit, used to calculate the target duration of each target time window based on the start time and end time of each target time window, wherein the time window information includes the start time and end time; a segmentation unit, used to segment the target business into multiple business operations according to multiple target durations, wherein the time consumed to execute the business operation matches the target duration.
[0090] Optionally, the segmentation module is also used to: detect a target ratio of candidate time windows in multiple target time windows, wherein the candidate time window is a time window in the multiple target time windows whose target duration is less than or equal to a target duration threshold; when the target ratio is less than or equal to a reference threshold, segment the target business according to a first segmentation method to obtain multiple business operations, wherein the first segmentation method is used to indicate that the time consumed by the segmented business operation during execution matches the target duration of the initial time window, and the initial time window is a time window in the multiple target time windows other than the candidate time window; when the target ratio is greater than the reference threshold, segment the target business according to a second segmentation method to obtain multiple business operations, wherein the second segmentation method is used to indicate that the time consumed by the segmented business operation during execution matches the target duration of the candidate time window.
[0091] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein when the program is run, any of the above-mentioned base station service processing methods is executed.
[0092] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:
[0093] S1, when the service priority of the target service is lower than the service priority of the reference service, obtaining a target time window of the base station, wherein the target service is the service requested by the service handling request currently received by the base station, the reference service is the service currently being handled by the base station, and the target time window is a time window in which the base station is in an operation idle state during the process of handling the reference service;
[0094] S2, dividing the target business into multiple business operations according to the time window information of the target time window;
[0095] S3, configuring a target business operation to be executed for each target time window according to the time window information and operation information of multiple business operations;
[0096] S4: When it is determined that the target time window has been reached, execute the target business operation corresponding to the target time window.
[0097] An 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-mentioned base station service processing method embodiments.
[0098] 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.
[0099] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0100] S1, when the service priority of the target service is lower than the service priority of the reference service, obtaining a target time window of the base station, wherein the target service is the service requested by the service handling request currently received by the base station, the reference service is the service currently being handled by the base station, and the target time window is a time window in which the base station is in an operation idle state during the process of handling the reference service;
[0101] S2, dividing the target business into multiple business operations according to the time window information of the target time window;
[0102] S3, configuring a target business operation to be executed for each target time window according to the time window information and operation information of multiple business operations;
[0103] S4: When it is determined that the target time window has been reached, execute the target business operation corresponding to the target time window.
[0104] 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 program codes.
[0105] 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.
[0106] 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.
[0107] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing base station services, characterized in that: Applied to base stations, including: When the service priority of the target service is lower than the service priority of the reference service, obtaining the target time window of the base station, wherein the target service is the service requested to be handled by the service handling request currently received by the base station, the reference service is the service currently being handled by the base station, and the target time window is a time window in which the base station is in an operation idle state during the process of handling the reference service; Divide the target business into multiple business operations according to the time window information of the target time window; configure the target business operation to be executed for each target time window according to the time window information and the operation information of the multiple business operations; When it is determined that the target time window is reached, the target service operation corresponding to the target time window is executed.
2. The method according to claim 1, characterized in that The configuring a target business operation to be executed for each target time window according to the time window information and the operation information of the plurality of business operations includes: Detecting service information of the base station in a current time window, wherein the service information is used to indicate a service operation bearing status of the base station for a reference service at the current moment; In a case where the business information is used to indicate that the current time window is the target time window, the target business operation is filtered out for the target time window from multiple business operations based on the target duration of the current target time window and the operation information, wherein the time window information includes the target duration.
3. The method according to claim 2, characterized in that The step of selecting the target business operation for the target time window from the plurality of business operations according to the target duration of the current target time window and the operation information includes: Extracting a first business operation in a pending execution state from among the plurality of business operations; Filtering a second business operation from the plurality of first business operations according to the operation timing information and the operation time information of each of the first business operations, wherein the duration required for executing the second business operation is less than or equal to the target duration, the operation information includes the operation timing information and the operation time information, the operation timing information is used to indicate the execution order of the plurality of business operations in the target business, the operation time information is used to indicate the time consumption of executing the corresponding business operation, and the second business operation is an operation located at the starting position in the execution order indicated by the operation timing information among the plurality of first business operations; The second business operation is determined as the target business operation corresponding to the current target time window.
4. The method according to claim 3, characterized in that The step of selecting a second business operation from a plurality of the first business operations according to the operation timing information and the operation time information of each of the first business operations includes: Repeat the following steps until the target business operation is configured for the target time window: extract a third business operation from the plurality of first business operations, wherein the third business operation is the first business operation with the highest execution order among the plurality of first business operations; comparing the operation duration of the third service operation with the target duration, wherein the operation time information includes the operation duration; When the operation duration is greater than the target duration, determining that configuration of the target service operation for the target time window is completed; When the operation duration is less than or equal to the target duration, the third service operation is divided into the second service operation from the plurality of first service operations, and the target duration is updated to the difference between the target duration and the operation duration.
5. The method according to claim 1, characterized in that The executing the target service operation corresponding to the target time window includes: When it is detected that the target time window has been reached, a binding relationship between the target time window and the target business operation corresponding to the target time window is configured on the business state machine, wherein the business state machine is used to execute the business operation according to the binding relationship between the configured time window and the business operation.
6. The method according to claim 1, characterized in that The step of dividing the target service into a plurality of service operations according to the time window information of the target time window includes: Calculate the target duration of each target time window according to the start time and end time of each target time window, wherein the time window information includes the start time and the end time; The target service is divided into a plurality of service operations according to the plurality of target durations, wherein the time consumed in executing the service operations matches the target durations.
7. The method according to claim 6, characterized in that The step of dividing the target service into a plurality of service operations according to the plurality of target durations includes: Detecting a target ratio of candidate time windows among the multiple target time windows, wherein the candidate time window is a time window among the multiple target time windows whose target duration is less than or equal to a target duration threshold; When the target ratio is less than or equal to a reference threshold, segmenting the target business according to a first segmentation method to obtain a plurality of the business operations, wherein the first segmentation method is used to indicate that the time consumed by the segmented business operations during execution matches the target duration of an initial time window, and the initial time window is a time window other than the candidate time window in the plurality of target time windows; When the target ratio is greater than the reference threshold, the target business is segmented according to a second segmentation method to obtain a plurality of business operations, wherein the second segmentation method is used to indicate that the time consumed by the segmented business operations during execution matches the target duration of the candidate time window.
8. A base station service processing device, characterized in that: include: an acquisition module, configured to acquire a target time window of the base station when a service priority of the target service is lower than a service priority of the reference service, wherein the target service is a service requested to be handled by a service handling request currently received by the base station, the reference service is a service currently being handled by the base station, and the target time window is a time window in which the base station is in an operation idle state during handling of the reference service; A segmentation module, used for segmenting the target business into multiple business operations according to the time window information of the target time window; A configuration module, configured to configure a target business operation to be executed for each target time window according to the time window information and operation information of the plurality of business operations; An execution module is used to execute the target business operation corresponding to the target time window when it is determined that the target time window has been reached.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.