Timer interrupt control method and apparatus

By determining the cumulative jitter time and symbol duration of timer interrupts in 5G millimeter-wave base stations, and re-dividing the interrupt intervals and time periods, the system clock disorder caused by timer interrupt jitter was resolved, and stable communication of the base station platform was achieved.

CN123164546APending Publication Date: 2026-11-24BUSINESS-INTELLIGENCE OF ORIENTAL NATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611516062.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In 5G millimeter-wave base stations, timer interrupt jitter can cause configuration timing points to fail, leading to system clock chaos or even crashes. Especially in high mobility and high bandwidth scenarios, the existing timer interrupt frequency is too high and cannot effectively avoid delay faults caused by jitter.

Method used

By determining the cumulative jitter time and single symbol duration of the timer interrupt under the target subcarrier interval, and setting the target interrupt interval to be greater than N times the cumulative jitter time, the time slot is divided into M interrupt time periods, and physical layer processing tasks are executed in each time period to ensure that the interrupt interval is sufficient to accommodate jitter.

Benefits of technology

It effectively avoids interruption delay, improves the anti-jitter capability and reliability of the timer interrupt mechanism, and ensures accurate synchronization and stable operation of the communication system timing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164546A_ABST
    Figure CN123164546A_ABST
Patent Text Reader

Abstract

This application relates to the field of wireless communication technology, specifically to a timer interrupt control method and apparatus. The method includes: determining the cumulative jitter time of a timer interrupt on a target base station platform under a target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; determining a target interrupt interval based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time; triggering a timer interrupt based on the target interrupt interval to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods; and executing a corresponding physical layer processing task in each interrupt time period. The timer interrupt control method provided in this application improves the anti-jitter capability and reliability of the timer interrupt mechanism, and ensures that the base station platform can still orderly schedule underlying tasks after time domain re-division, thereby guaranteeing the accurate synchronization and stable operation of the entire communication system's timing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a timer interrupt control method and apparatus. Background Technology

[0002] With the development of 5G millimeter-wave base stations, existing base station platforms, such as the Bicoch PC802 platform, typically use logic that triggers a timer interrupt once per symbol to meet the system timing requirements under conventional subcarrier spacing. However, in scenarios with higher subcarrier spacing to adapt to high bandwidth and high mobility requirements, the duration of a single symbol is significantly shortened. If the original single-symbol triggering logic is directly reused, not only will the interrupt frequency increase exponentially, exceeding the platform's resource capacity, but more importantly, the timer interrupt at the base station platform's underlying layer naturally has random jitter characteristics. When the cumulative jitter time of multiple interrupt delays approaches or even exceeds the shortened duration of a single symbol, it will cause the time point configured for the next timer interrupt to become a historical value. Consequently, the counter must run through the entire bit field cycle before it can reverse and trigger, ultimately resulting in severe second-level interrupt delays.

[0003] Therefore, how to reasonably divide time slots into new interrupt time periods, so as to effectively avoid delay faults caused by interrupt jitter without modifying the underlying driver, and ensure the stable operation of physical layer processing tasks and communication links, is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a timer interrupt control method and apparatus to solve the technical problem in the prior art where timer interrupt jitter causes configuration timing point failure, leading to system clock chaos or even crash.

[0005] This application provides a timer interrupt control method, including the following steps: Determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The target interrupt interval is determined based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, and N is a positive integer; According to the target interrupt interval, the timer interrupt is triggered to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The corresponding physical layer processing task is executed during each interruption period.

[0006] According to a timer interrupt control method provided in this application, determining the target interrupt interval based on the accumulated jitter time and the duration of a single symbol includes: Determine the total number of symbols contained within the time slot; Determine the minimum number of target symbols for which the target interrupt interval is greater than the cumulative jitter time, wherein the total number of symbols is an integer multiple of the minimum number of target symbols; The duration corresponding to the minimum number of target symbols is determined as the target interruption interval.

[0007] According to the timer interrupt control method provided in this application, the minimum number of target symbols is 2.

[0008] According to a timer interrupt control method provided in this application, the target subcarrier spacing is 120kHz.

[0009] According to a timer interrupt control method provided in this application, triggering the timer interrupt according to the target interrupt interval includes: Determine the target configuration parameters based on the target interruption interval; Update the initial configuration parameters of the trigger register that controls the timer interrupt in the target base station platform to the target configuration parameters.

[0010] According to a timer interrupt control method provided in this application, determining the target configuration parameters based on the target interrupt interval includes: The target configuration parameters are determined based on the following formula: y = n * 2 * T; Where y is the target configuration parameter, n is the index of the interrupt time period, and 2*T is the target interrupt interval.

[0011] This application provides a timer interrupt control device, including the following modules: The first determining module is used to determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The second determining module is used to determine a target interrupt interval based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, and N is a positive integer; The triggering module is used to trigger the timer interrupt according to the target interrupt interval, so as to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The execution module is used to execute the corresponding physical layer processing task during each interruption time period.

[0012] According to the timer interrupt control device provided in this application, the second determining module is specifically used for: Determine the total number of symbols contained within the time slot; Determine the minimum number of target symbols for which the target interrupt interval is greater than the cumulative jitter time, wherein the total number of symbols is an integer multiple of the minimum number of target symbols; The duration corresponding to the minimum number of target symbols is determined as the target interruption interval.

[0013] According to the timer interrupt control device provided in this application, the minimum number of target symbols is 2.

[0014] According to the timer interrupt control device provided in this application, the target subcarrier spacing is 120kHz.

[0015] According to the timer interrupt control device provided in this application, the trigger module is specifically used for: Determine the target configuration parameters based on the target interruption interval; Update the initial configuration parameters of the trigger register that controls the timer interrupt in the target base station platform to the target configuration parameters.

[0016] According to the timer interrupt control device provided in this application, the trigger module is further used for: The target configuration parameters are determined based on the following formula: y = n * 2 * T; Where y is the target configuration parameter, n is the index of the interrupt time period, and 2*T is the target interrupt interval.

[0017] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the timer interrupt control methods described above.

[0018] This application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the timer interrupt control method as described above.

[0019] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the timer interrupt control methods described above.

[0020] This application provides a timer interrupt control method and apparatus that accurately grasps the underlying timing boundary conditions of the system by determining the cumulative jitter time and single symbol duration of the timer interrupt under the target subcarrier interval. Based on this, the target interrupt interval is set to be greater than N times the cumulative jitter time, reserving sufficient fault tolerance space for the timer interrupt from the root, effectively avoiding configuration timing failure or interrupt delay caused by the interrupt interval being too small and unable to accommodate random jitter. Finally, the time slot is re-divided into M interrupt time periods by the target interrupt interval, and physical layer processing tasks are matched and executed in each time period. This not only improves the anti-jitter capability and reliability of the timer interrupt mechanism, but also ensures that the base station platform can still schedule underlying tasks in an orderly manner after the time domain is re-divided, thereby ensuring the accurate synchronization and stable operation of the timing of the entire communication system. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is one of the flowcharts of the timer interrupt control method provided in this application.

[0023] Figure 2A This is a schematic diagram of the normal triggering timing of the timer interrupt provided in an embodiment of this application.

[0024] Figure 2B This is a timing diagram illustrating the timer interrupt negative jitter exception provided in an embodiment of this application.

[0025] Figure 3 This is a schematic diagram of the timer interrupt control device provided in this application.

[0026] Figure 4 A schematic diagram of the physical structure of an electronic device is provided. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] Figure 1This is a flowchart illustrating the timer interrupt control method provided in this application, as shown below. Figure 1 As shown, the method includes the following: Step 101: Determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval.

[0029] The target base station platform can be, for example, the Bikoch PC802 platform.

[0030] The target subcarrier spacing is the frequency spacing between adjacent subcarriers.

[0031] The timer is a hardware counter inside the base station's central processing unit (CPU) used to maintain system time. It triggers interrupts at preset time intervals to provide a reference clock for physical layer processing.

[0032] Among them, the timer interrupt is a hardware notification signal sent to the CPU when the Timer counter reaches the preset trigger time, which is used to trigger the CPU to execute the corresponding physical layer processing task.

[0033] Among them, the cumulative jitter time is the maximum value reached after multiple accumulations of the deviation between the actual trigger time and the theoretical trigger time of the Timer interrupt; in this application, this value is the peak value of the cumulative delay of multiple interrupts, reflecting the cumulative time error of the Timer interrupt.

[0034] The duration of a single symbol is the duration of an Orthogonal Frequency Division Multiplexing (OFDM) symbol, which is uniquely determined by the subcarrier spacing.

[0035] In this embodiment, determining the cumulative jitter time of the timer interrupt on the target base station platform under the target subcarrier interval can be achieved by configuring the target subcarrier interval on the target base station platform and setting the trigger condition for the Timer interrupt to "trigger an interrupt once per symbol". The system is started, and the actual trigger times of multiple Timer interrupts are continuously captured using an oscilloscope or system log recording module, recording the current timestamp each time an interrupt is triggered. The deviation between the actual trigger time and the theoretical trigger time for each interrupt is calculated. The deviation values ​​of multiple consecutive interrupts (e.g., 1000 times) are accumulated, and the maximum value of the accumulated value is taken as the cumulative jitter time.

[0036] After determining the target subcarrier spacing, the duration of a single symbol can be calculated based on the target subcarrier spacing: T_symbol = 1 / (target subcarrier spacing × 2048 × 10^25) -3 ).

[0037] Optionally, in some embodiments, the target subcarrier spacing is 120 kHz.

[0038] Reference is made to Figure 2A , Figure 2B , Figure 2A which is a schematic diagram of a normal trigger timing sequence of a timer interrupt provided by an embodiment of the present application, Figure 2B which is a schematic diagram of an abnormal negative jitter timing sequence of a timer interrupt provided by an embodiment of the present application. It can be seen from Figure 2A that, under a 30 kHz subcarrier spacing, a Timer counter performs incremental counting from 0 based on a local time reference. After a current interrupt is triggered, a CPU configures a Timer register to y at time x, where y=x+symbol_duration, that is, time y is a position one symbol duration after time x. The Timer counter continues incrementing, and when the count value reaches y, a next interrupt is triggered, an operation of clearing an interrupt state is performed in interrupt response, and then a next interrupt configuration cycle is entered.

[0039] With reference to Figure 2B , under a 120 kHz subcarrier spacing, since a single symbol duration is only 8.93 μs, the accumulated jitter of a Timer interrupt can reach 8.6 μs. When negative jitter occurs, an actual trigger moment of the interrupt is greatly advanced, and the CPU configures the Timer register to a trigger moment y of a next interrupt at time x, where y=x+symbol_duration. Due to the impact of the negative jitter, the value of y is already less than the current count value x (that is, y<x), and a configuration time point becomes a historical value. The Timer counter cannot trigger an interrupt at time y, and needs to increment from a current value to a maximum count value, then reverse back to 0, and increment again to the value y to trigger an interrupt, resulting in an interrupt delay as long as 1 second.

[0040] That is to say, the 120 kHz subcarrier spacing has become an industry mainstream configuration due to adaptation to core requirements of large bandwidth and high mobility. Compared with the 30 kHz subcarrier spacing, the symbol duration of the 120 kHz subcarrier spacing is shortened to one quarter (from 35.7 μs to 8.93 μs), which puts higher requirements on interrupt processing capability. The present application is exactly a solution proposed for the interrupt jitter problem in this specific scenario.

[0041] In an example, a target base station platform is a Picocom pc802 platform, and the target subcarrier spacing is 120 kHz. Under the 120 kHz subcarrier spacing, the system is operated in a manner of triggering an interrupt every 1 symbol, actual trigger moments of 1000 consecutive interrupts are captured, and recorded data is shown in Table 1 below: Table 1 Interrupted Index Offset jitter N 0.1us N+1 3.8us N+2 4.2us N+3 -8us After repeated testing, the cumulative delay from multiple interruptions reached a maximum of 8.6 μs, and the cumulative jitter time was determined to be 8.1 μs to 8.6 μs. Meanwhile, the duration of a single symbol corresponding to a 120 kHz subcarrier spacing was determined to be approximately 8.93 μs.

[0042] Alternatively, in other embodiments, the target base station platform may be pre-tested under laboratory conditions using a timer interruption timing test, covering test scenarios with different temperatures, loads, and subcarrier intervals. The cumulative jitter time data obtained during the test is stored in a database. When executing this method, the database is directly queried, and the corresponding cumulative jitter time record is matched according to the current target base station platform model and target subcarrier interval. Then, the duration of a single symbol corresponding to the target subcarrier interval is determined by reading system configuration parameters or querying protocol specifications.

[0043] Step 102: Determine the target interrupt interval based on the cumulative jitter time and the duration of a single symbol, where the target interrupt interval is greater than N times the cumulative jitter time, and N is a positive integer.

[0044] The target interrupt interval is the adjusted Timer interrupt triggering cycle, i.e. how often an interrupt is triggered; this value is greater than the cumulative jitter time to ensure the reliability of interrupt triggering.

[0045] Optionally, in some embodiments, the target interrupt interval is determined based on the cumulative jitter time and the duration of a single symbol, including: Determine the total number of symbols contained within a time slot; Determine the minimum number of target symbols for which the target interrupt interval is greater than the cumulative jitter time, where the total number of symbols is an integer multiple of the minimum number of target symbols; The duration corresponding to the minimum number of target symbols is determined as the target interrupt interval.

[0046] In other words, in this embodiment, we can start with a positive integer K=1 and try each symbol one by one to calculate the sum of the durations of K individual symbols (K×T_symbol), and then compare this sum with the cumulative jitter time. The smallest K value that satisfies the following condition is selected as the minimum target number of symbols: (1) K×T_symbol>N×cumulative jitter time; (2) The total number of symbols S contained in the time slot is divisible by K, that is, S÷K is an integer.

[0047] In this embodiment of the application, after determining the minimum number of target symbols, K×T_symbol can be determined as the target interrupt interval.

[0048] Optionally, in some embodiments, the minimum number of target symbols is 2.

[0049] In one example, the total number of symbols in a time slot is S=14 (each time slot contains a fixed 14 symbols at 120kHz), the cumulative jitter time is 8.6μs, the duration of a single symbol is T_symbol=8.93μs, and N=1.

[0050] Then, when K=1, it can be determined that 1×8.93μs=8.93μs>8.6μs, but 14÷1=14 is an integer, satisfying the condition. However, it is only 0.33μs larger than the cumulative jitter time, and the engineering margin is seriously insufficient; when K=2: 2×8.93μs=17.85μs>8.6μs, and 14÷2=7 is an integer, satisfying the condition; since K=2 is the minimum value that satisfies all conditions, K=2 is selected as the minimum number of target symbols, and the target interruption interval = 2×8.93μs=17.85μs.

[0051] In this embodiment, the minimum target number of symbols is 2. On the one hand, the sum of the durations of the two symbols (17.85 μs) is greater than the cumulative jitter time (8.6 μs), reserving a fault tolerance margin of approximately 9.25 μs, which can fully absorb the random jitter of the Timer interrupt and avoid configuration time point failure. On the other hand, 2 is divisible by 14, which evenly divides each time slot into 7 interrupt time periods, each containing 2 symbols. This even division method maintains timing alignment with the 120kHz frame structure, does not disrupt frame synchronization and symbol synchronization logic, and facilitates mapping the processing flow based on 14 symbols under a 30kHz subcarrier interval to this scheme. Finally, the duration of 2 symbols is also the minimum among all candidate values ​​greater than the cumulative jitter time, ensuring stability while minimizing the interrupt frequency and maximizing the release of CPU computing power.

[0052] Step 103: Trigger a timer interrupt according to the target interrupt interval to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer.

[0053] The time slot corresponding to the target subcarrier interval is the basic scheduling time unit. Under a 120kHz subcarrier interval, each time slot contains a fixed 14 symbols.

[0054] The interrupt time period is each time segment obtained by dividing the time slot equally according to the target interrupt interval; each interrupt time period corresponds to one timer interrupt trigger, and the corresponding physical layer processing task is executed within each interrupt time period.

[0055] In this embodiment, the target interrupt interval is converted into a register configuration value that the target base station platform's Timer hardware can recognize. The count value is equal to the target interrupt interval divided by the clock cycle of the Timer counter. The count value is written to the Timer interrupt trigger register, and the Timer counter increments from 0. Whenever the count reaches the count value, the Timer hardware sends an interrupt signal to the CPU. After the CPU responds to the interrupt, the Timer counter automatically resets and restarts counting, thereby achieving periodic interrupt triggering according to the target interrupt interval.

[0056] In one example, the Timer counter clock frequency of the Bicoch PC802 platform is 100MHz, and the clock period is 0.01μs. The target interrupt interval is 17.85μs, so the target configuration parameter = 17.85μs ÷ 0.01μs = 1785 (count value). 1785 is written to the Timer interrupt trigger register. The Timer counter starts counting from 0, triggering an interrupt every time it counts to 1785, with the interrupt interval remaining stable at 17.85μs. The total duration of the time slot at 120kHz = 14 × 8.93μs = 125μs, M = 125μs ÷ 17.85μs ≈ 7 (since 17.85μs = 2 × 8.93μs, the exact value is 7). Each time slot is divided into 7 interrupt time periods, with 7 interrupt trigger points from Irq0 to Irq6.

[0057] Optionally, in some embodiments, a timer interrupt is triggered based on the target interrupt interval, including: Determine the target configuration parameters based on the target interruption interval; Update the initial configuration parameters of the trigger register that controls the timer interrupt in the target base station platform to the target configuration parameters.

[0058] In other words, in this embodiment, the target interrupt interval can be converted into a target configuration parameter and written to the trigger register. The initial configuration parameter is the default interrupt interval configuration value of the target base station platform. After updating the initial configuration parameter to the target configuration parameter, the Timer hardware will operate according to the new interrupt interval. This method does not require modification of the platform's underlying driver and the core logic of the Timer counter, resulting in low adaptation costs.

[0059] Optionally, in some embodiments, the target configuration parameters are determined based on the target interruption interval, including: The target configuration parameters are determined based on the following formula: y = n * 2 * T; Where y is the target configuration parameter, n is the index of the interrupt time period, and 2*T is the target interrupt interval.

[0060] In other words, the target configuration parameters for each interrupt trigger can be calculated using the above formula. This formula precisely correlates the interrupt trigger time with the symbol position within the time slot, ensuring that each interrupt is triggered at the correct position within the time slot.

[0061] Step 104: Execute the corresponding physical layer processing task during each interruption period.

[0062] Physical layer processing tasks are the processing operations that the base station physical layer needs to perform when receiving or sending data, including but not limited to time slot boundary updates, FAPI message scheduling, channel estimation, and equalization.

[0063] In this embodiment, a fixed physical layer processing task may be assigned to each interrupt time period, and a mapping relationship may be established between the interrupt time period index n and the physical layer processing task. When a Timer interrupt is triggered, the CPU reads the index n of the current interrupt time period, determines the physical layer processing task to be executed for the current interrupt time period according to the mapping relationship, executes the task, and then enters an idle state, waiting for the next interrupt trigger. The tasks corresponding to different interrupt time periods may be the same, different, or both may be idle.

[0064] In one example, with a subcarrier spacing of 120kHz, each time slot is divided into 7 interrupt time periods (M=7), corresponding to interrupt trigger points Irq0 to Irq6 respectively. The mapping relationship is established as shown in Table 2 below: Table 2 Interruption period Index n Corresponding interrupt trigger point Physical layer processing tasks Section 1 (Symbol 0~1) 0 Irq0 Perform time slot boundary updates; perform FAPI message scanning and parameter updates; perform time slot-level scheduling and schedule channels. Section 2 (Symbol 2~3) 1 Irq1 Idle (no physical layer processing tasks are executed) Section 3 (Symbol 4~5) 2 Irq2 idle Section 4 (Symbol 6~7) 3 Irq3 idle Section 5 (Symbol 8~9) 4 Irq4 idle Section 6 (Symbol 10~11) 5 Irq5 Start channel estimation Section 7 (Symbol 12~13) 6 Irq6 Trigger Equalization As shown in Table 2 above, when the Timer interrupt is triggered, the CPU reads the current interrupt time period index n=5, determines the task to be executed based on the mapping relationship, which is to start channel estimation, and waits for the next interrupt after execution.

[0065] In this embodiment, by assigning a fixed task to each interrupt time period, the CPU can directly execute the corresponding task without performing complex state judgments when an interrupt is triggered, thus improving interrupt response efficiency. The time slot boundary update and FAPI scheduling tasks are placed in the first interrupt time period (Irq0) of each time slot, aligned with the start time of the new time slot, ensuring accurate frame synchronization. The channel estimation and equalization tasks are placed in Irq5 and Irq6 respectively, and these two tasks are triggered one symbol earlier than the original scheme. This allows the system to perform preprocessing work before the data arrives, ensuring the corresponding data is available after preprocessing. This provides more flexibility in the receiver system's timing, reserving computational space for more complex receiver algorithms.

[0066] The timer interrupt control method in this application accurately grasps the underlying timing boundary conditions of the system by determining the cumulative jitter time and single symbol duration of the timer interrupt under the target subcarrier interval. Based on this, the target interrupt interval is set to be greater than N times the cumulative jitter time, which reserves sufficient fault tolerance space for the timer interrupt from the root, effectively avoiding configuration timing failure or interrupt delay caused by the interrupt interval being too small and unable to accommodate random jitter. Finally, the time slot is re-divided into M interrupt time periods by the target interrupt interval, and physical layer processing tasks are matched and executed in each time period. This not only greatly improves the anti-jitter capability and reliability of the timer interrupt mechanism, but also ensures that the base station platform can still schedule underlying tasks in an orderly manner after the time domain is re-divided, thereby ensuring the accurate synchronization and stable operation of the timing of the entire communication system.

[0067] The timer interrupt control device provided in this application is described below. The timer interrupt control device described below can be referred to in correspondence with the timer interrupt control method described above.

[0068] Figure 3 This is a schematic diagram of the timer interrupt control device provided in this application, as shown below. Figure 3 As shown, the device includes the following: The first determining module 301 is used to determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The second determining module 302 is used to determine the target interrupt interval based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, and N is a positive integer; Trigger module 303 is used to trigger timer interrupt according to the target interrupt interval, so as to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The execution module 304 is used to execute the corresponding physical layer processing task during each interruption period.

[0069] According to the timer interrupt control device provided in this application, the second determining module 302 is specifically used for: Determine the total number of symbols contained within a time slot; Determine the minimum number of target symbols for which the target interrupt interval is greater than the cumulative jitter time, where the total number of symbols is an integer multiple of the minimum number of target symbols; The duration corresponding to the minimum number of target symbols is determined as the target interrupt interval.

[0070] According to the timer interrupt control device provided in this application, the minimum number of target symbols is 2.

[0071] According to the timer interrupt control device provided in this application, the target subcarrier spacing is 120kHz.

[0072] According to the timer interrupt control device provided in this application, the trigger module 303 is specifically used for: Determine the target configuration parameters based on the target interruption interval; Update the initial configuration parameters of the trigger register that controls the timer interrupt in the target base station platform to the target configuration parameters.

[0073] According to the timer interrupt control device provided in this application, the trigger module 303 is further used for: The target configuration parameters are determined based on the following formula: y = n * 2 * T; Where y is the target configuration parameter, n is the index of the interrupt time period, and 2*T is the target interrupt interval.

[0074] The timer interrupt control device in this application accurately grasps the underlying timing boundary conditions of the system by determining the cumulative jitter time and single symbol duration of the timer interrupt under the target subcarrier interval. Based on this, the target interrupt interval is set to be greater than N times the cumulative jitter time, which reserves sufficient fault tolerance space for the timer interrupt from the root, effectively avoiding configuration timing failure or interrupt delay caused by the interrupt interval being too small and unable to accommodate random jitter. Finally, the time slot is re-divided into M interrupt time periods by the target interrupt interval, and physical layer processing tasks are matched and executed in each time period. This not only greatly improves the anti-jitter capability and reliability of the timer interrupt mechanism, but also ensures that the base station platform can still schedule underlying tasks in an orderly manner after the time domain is re-divided, thereby ensuring the accurate synchronization and stable operation of the timing of the entire communication system.

[0075] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4 As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communications interface 420, and the memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a timer interrupt control method, which includes: Determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The target interrupt interval is determined based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, where N is a positive integer; Based on the target interrupt interval, a timer interrupt is triggered to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The corresponding physical layer processing task is executed during each interruption period.

[0076] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0077] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the timer interrupt control method provided by the above methods, the method including: Determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The target interrupt interval is determined based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, where N is a positive integer; Based on the target interrupt interval, a timer interrupt is triggered to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The corresponding physical layer processing task is executed during each interruption period.

[0078] In another aspect, this application also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, is implemented to perform the timer interrupt control method provided by the methods described above, the method comprising: Determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The target interrupt interval is determined based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, where N is a positive integer; Based on the target interrupt interval, a timer interrupt is triggered to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The corresponding physical layer processing task is executed during each interruption period.

[0079] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0080] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A timer interrupt control method, characterized in that, include: Determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The target interrupt interval is determined based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, and N is a positive integer; According to the target interrupt interval, the timer interrupt is triggered to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The corresponding physical layer processing task is executed during each interruption period.

2. The method according to claim 1, characterized in that, The step of determining the target interrupt interval based on the cumulative jitter time and the duration of a single symbol includes: Determine the total number of symbols contained within the time slot; Determine the minimum number of target symbols for which the target interrupt interval is greater than the cumulative jitter time, wherein the total number of symbols is an integer multiple of the minimum number of target symbols; The duration corresponding to the minimum number of target symbols is determined as the target interruption interval.

3. The method according to claim 2, characterized in that, The minimum number of target symbols is 2.

4. The method according to claim 1, characterized in that, The target subcarrier spacing is 120 kHz.

5. The method according to claim 4, characterized in that, The step of triggering the timer interrupt according to the target interrupt interval includes: Determine the target configuration parameters based on the target interruption interval; Update the initial configuration parameters of the trigger register that controls the timer interrupt in the target base station platform to the target configuration parameters.

6. The method according to claim 5, characterized in that, The step of determining the target configuration parameters based on the target interruption interval includes: The target configuration parameters are determined based on the following formula: y = n * 2 * T; Where y is the target configuration parameter, n is the index of the interrupt time period, and 2*T is the target interrupt interval.

7. A timer interrupt control device, characterized in that, include: The first determining module is used to determine the cumulative jitter time of the timer interrupt of the target base station platform under the target subcarrier interval, and the duration of a single symbol corresponding to the target subcarrier interval; The second determining module is used to determine a target interrupt interval based on the cumulative jitter time and the duration of a single symbol, wherein the target interrupt interval is greater than N times the cumulative jitter time, and N is a positive integer; The triggering module is used to trigger the timer interrupt according to the target interrupt interval, so as to divide the time slot corresponding to the target subcarrier interval into M identical interrupt time periods, where M is a positive integer; The execution module is used to execute the corresponding physical layer processing task during each interruption time period.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the timer interrupt control method as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the timer interrupt control method as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the timer interrupt control method as described in any one of claims 1 to 6.