Radio frequency front end control method and device, terminal and chip

The proposed control method for the radio frequency front end uses pre-generated templates to streamline task configuration in 5G URLLC scenarios, reducing complexity and latency, thus enhancing communication performance.

CN113708905BActive Publication Date: 2024-12-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110949251.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-18
Publication Date
2024-12-10
Estimated Expiration
2041-08-18

AI Technical Summary

Technical Problem

The complexity and time constraints of radio frequency front end scheduling in 5G ultra-reliable and low latency communications (URLLC) scenarios limit efficient task configuration and communication performance due to the need for dynamic modification and conflict resolution of scheduling tasks at microsecond-level granularity.

Method used

A control method for the radio frequency front end that utilizes pre-generated working templates for time domain symbols, allowing for efficient task configuration by updating these templates based on scheduling tasks, thereby omitting the need for complex task sorting and rearrangement.

Benefits of technology

This approach reduces task configuration complexity and latency, enabling fast and efficient processing of radio frequency front end tasks, particularly in symbol-level UE uplink scheduling, thereby improving communication performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113708905B_ABST
    Figure CN113708905B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a control method and device, a terminal and a chip for a radio frequency front end, the method comprising: determining a target time slot corresponding to a scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task; in the target time slot, controlling the working state of the radio frequency front end according to the working template of one or more time domain symbols.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication task configuration, and in particular to a control method and device for a radio frequency front end, a terminal and a chip. Background Art

[0002] With the evolution of the fifth-generation wireless communication technology (5G) protocol, especially for the ultra-reliable and low latency communications (URLLC) scenario, the uplink of user equipment (UE) requires a scheduling design with more flexible time granularity.

[0003] During the uplink preparation process, the UE needs to complete preparatory operations such as hardware design and software design. Among them, the UE needs to dynamically modify, merge or cancel the transmission of the prepared configuration based on the current real-time configuration message, and process the relevant operations after each message is received. There are too many scenario combinations and complex logic, which limits the scheduling of upper-layer services on smaller time particles. Summary of the invention

[0004] The embodiments of the present application provide a control method and device for a radio frequency front end, a terminal and a chip, which can reduce the complexity of task configuration, shorten the time of task configuration, realize fast and efficient task configuration processing, and improve communication performance.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for controlling a radio frequency front end, the method comprising:

[0007] Determine a target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template;

[0008] adjusting a working template of one or more time domain symbols in the target time slot according to the scheduling task;

[0009] In the target time slot, the working state of the radio frequency front end is controlled according to the working template of the one or more time domain symbols.

[0010] In a second aspect, an embodiment of the present application provides a control device, the control device comprising: a processing unit and a control unit,

[0011] The processing unit is used to determine a target time slot corresponding to a scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; and the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task;

[0012] The control unit is used to control the working state of the radio frequency front end in the target time slot according to the working template of the one or more time domain symbols.

[0013] In a third aspect, an embodiment of the present application provides a terminal, comprising a processor and a memory storing instructions executable by the processor, wherein when the instructions are executed by the processor, the control method of the RF front end as described in the first aspect is implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a chip, the chip comprising a processor and an interface, the processor obtaining program instructions through the interface, and the processor being used to run the program instructions to execute the control method of the RF front end as described in the first aspect.

[0015] The embodiment of the present application provides a control method and device, terminal and chip of a radio frequency front end, which determines the target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; in the target time slot, the working state of the radio frequency front end is controlled according to the working template of one or more time domain symbols. That is to say, in the embodiment of the present application, based on the pre-generated working template of one or more time domain symbols in the target time slot, after generating a new scheduling task of the target time slot, it is only necessary to update the corresponding working template according to the configuration parameters of the scheduling task to realize the addition of new tasks and the modification of scheduled tasks that conflict with the new tasks, that is, the control of the working state of the radio frequency front end can be completed through the working template, and different tasks of the target time slot can be triggered based on the order of the time domain symbols in the target time slot, and the process of sorting different tasks is omitted. It can be seen that the control method of the radio frequency front end proposed in the embodiment of the present application greatly reduces the complexity of task configuration, shortens the time of task configuration, and thus realizes fast and efficient control processing of the radio frequency front end, and improves communication performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the interval time;

[0017] Figure 2 Schematic diagram of the process of preparing for the uplink;

[0018] Figure 3 It is a scheduling diagram;

[0019] Figure 4 Schematic diagram of the scenario configured for the task;

[0020] Figure 5 Schematic diagram of the implementation framework configured for common tasks;

[0021] Figure 6 Schematic diagram of the implementation process of the control method of the RF front end Figure 1 ;

[0022] Figure 7 Schematic diagram of the control method for realizing the RF front end Figure 1 ;

[0023] Figure 8 Schematic diagram of the control method for realizing the RF front end Figure 2 ;

[0024] Fig. 9 Schematic diagram of the implementation process of the control method of the RF front end Figure 2 ;

[0025] Fig.10 A schematic diagram of a working template;

[0026] Fig.11 Schematic diagram of the implementation process of the control method of the RF front end Figure 3 ;

[0027] Fig.12 A schematic diagram of the implementation framework of the task configuration proposed in this application;

[0028] Fig.13 It is a schematic diagram of the composition structure of the control device;

[0029] Fig.14 A schematic diagram of the terminal structure. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the related applications, rather than to limit the applications. It should also be noted that, for ease of description, only the parts related to the related applications are shown in the drawings.

[0031] In the current 4th-Generation wireless communication technology (4G) / 5th-Generation wireless communication technology (5G) mobile communication system, the uplink radio frequency of the user equipment (UE) needs to open / close the path or update parameters within the configuration time window according to the 3rd Generation Partnership Project (3GPP) protocol requirements. With the evolution of the 5G protocol, especially for the ultra-reliable and low latency communications (URLLC) scenario, the uplink of the UE requires a more flexible scheduling design with time granularity.

[0032] In the 4G Long Term Evolution (LTE) era, the time granularity of uplink scheduling is in subframes, and the interval of this scheduling is at the millisecond level. However, in the 5G New Radio (NR) era, URLLC needs to consider symbol-level scheduling, that is, microsecond-level scheduling. The problem with microsecond-level scheduling is that the control system of the modem (Modulator-Demodulator, Modem) needs to be scheduled in real time, compactly, and quickly, otherwise the entire scheduling sequence will not be in time, and thus cannot meet the 3GPP specifications.

[0033] In the LTE protocol, the location of downlink control information (DCI) and the corresponding physical downlink control channel (PDCCH) / physical uplink shared channel (PUSCH) are relatively fixed. For downlink, DCI and PDSCH are definitely on the same subframe; and for most uplinks, PUSCH appears in the 4 subframes after the corresponding DCI. For example, the worst case analysis is the PUSCH transmission of the next subframe under the DCI scheduling of the current subframe. The scheduling interval is in subframes, that is, milliseconds.

[0034] NR supports more flexible resource scheduling. In the time domain, the relative position of PUSCH and DCI is no longer fixed. NR indicates the time domain distance between PUSCH and DCI through K2 (value range is 0 to 32). K2 = 0 means that PUSCH and DCI are in the same time slot, K2 = 1 means that PUSCH is in the slot after DCI, and so on. For example, Figure 1 is a schematic diagram of the interval time, such as Figure 1 As shown, the interval time T between PDCCH and PUSCH scheduled by the PDCCH proc,2 The shortest scheduling interval is 196us (5.5 symbols). The 3GPP 38.214 (6.4) protocol stipulates that the interval time from receiving the PDCCH to scheduling the PUSCH transmission can be expressed as the following formula:

[0035] T proc,2 =max((N2+d 2,1 +d2)(2048+144)·κ2 -μ ·T C +T ext +T switch ,d 2,2 ) (1)

[0036] Among them, the PUSCH preparation time (PUSCH preparation time) N2 is related to the subcarrier spacing μ and UE capability. Specifically, Table 1 shows the correspondence between N2 and μ under UE capability 1 (capability1). Among them, for the case where the UE capability is capability1, when the subcarrier spacing μ is 0, N2 is 10, when the subcarrier spacing μ is 1, N2 is 12, when the subcarrier spacing μ is 2, N2 is 23, and when the subcarrier spacing μ is 3, N2 is 36.

[0037] Table 2 shows the correspondence between N2 and μ under UE capability 2 (capability2), where, for the case where the UE capability is capability2, when the subcarrier spacing μ is 0, N2 is 5, when the subcarrier spacing μ is 1, N2 is 5.5, and when the subcarrier spacing μ is 2, N2 for the frequency range 1 is 11.

[0038] It can be seen from Table 1 and Table 2 that N2 is the smallest when capability2, μ is 1.

[0039] Table 1

[0040] μ <![CDATA[PUSCH preparation timen2]]> 0 10 1 12 2 23 3 36

[0041] Table 2

[0042] μ <![CDATA[PUSCH preparation timen2]]> 0 5 1 5.5 2 11for frequency range 1

[0043] If the first symbol of PUSCH has only the demodulation reference signal (DMRS), then d 2,1 =0, otherwise d 2,1 =1; d2 is related to the priority of PUSCH and PUCCH, and the minimum value is 0; κ is defined as 64 in the protocol 3GPP 38.211; T ext When sharing spectrum, the value is determined according to the protocol, and the minimum value is 0; T switch The minimum value is 0; d 2,2 Related to the switching of the bandwidth part (Bandwidth Part, BWP), the value is determined according to the protocol, and the minimum value is 0.

[0044] It can be seen that the time required for the uplink preparation process is mainly related to N2, and the minimum value is 5.5 symbols (μ=1). When the cyclic prefix (CP) is normal, 5.5 symbols is approximately equal to 196us.

[0045] Figure 2 A schematic diagram of the process of preparing for uplink, such as Figure 2 As shown, the uplink preparation process is configured as UE capability 2 (capability 2), frequency range (frequency range, FR) is FR 1, and PDCCH sub-carrier spacing (sub-carrier space, SCS) is 60 kilohertz (KHZ).

[0046] During the uplink preparation process, the UE needs to complete the following preparations:

[0047] 1. PDCCH decoding (decoder). The current decoder time is about 1.5 symbols, or 53us. This is a delay caused by hardware design (HW) and is difficult to shorten.

[0048] 2. L1C parses DCI, UL Grant (physical control information) and other configuration actions, which belong to software design (SW) operations.

[0049] 3. L1C notifies the transport (TX) module to prepare to send data and notifies the radio frequency control module (Radio Frequency controller, RF controller) to prepare to turn on the uplink radio frequency, which is a SW operation.

[0050] 4. The RF controller configures the RF and stabilizes the phase locked loop (PLL) before sending the PUSCH. The stabilization time of most current models of this device is about 100us; this time is the time required by the HW and is difficult to shorten.

[0051] 5. After receiving the configuration request, the RF controller calculates and obtains the parameters required for configuration, merges and processes with existing configuration tasks, generates configuration tasks according to the device interface requirements, etc.; this is a SW operation.

[0052] As shown in the figure above, the shortest scheduling time interval determined by the 3GPP specification is 196us, and the HW operation time is 53+100=153us, so the time left for all SW is 196-153=43us. Considering the processing of various sub-module SW and the message interaction of sub-modules, the time left for the RF controller will be less than 43us.

[0053] The existing technical solution is that the RF controller module dynamically modifies, merges or cancels the transmission that has been prepared according to the current real-time message received. Figure 3 is a scheduling diagram, such as Figure 3 As shown in the figure, for URLLC scenarios, the common scheduling process is:

[0054] S1. RF controller receives the message.

[0055] S2. Calculate and obtain the parameters required to configure the link.

[0056] S3. Conduct task arbitration.

[0057] S4. Arrange the task execution order according to the scheduling requirements and configure the links.

[0058] Specifically, after receiving the message, the RF controller can first calculate all the parameters required to configure the link based on the received message, and then perform task arbitration processing. For example, query the existing task and determine whether it is related to the current task. If there is a conflict between the existing task and the current task, the existing task needs to be revoked (S31), otherwise, it needs to be merged with the existing task (S32) or a new task needs to be generated (S33). After completing the task arbitration processing, the task execution order can be arranged according to the scheduling requirements; then the link configuration can be started.

[0059] Among them, if there is a conflict between the existing task and the current task, you can first operate the task list and delete the conflicting existing task from the task list; then convert it into a new configuration task according to the driver format based on all the parameters obtained, so that the new task can be added to the task queue. If there is an association between the existing task and the current task but there is no conflict, you can directly update the new configuration parameters to the corresponding task according to the driver format. If there is no association between the existing task and the current task, you can first convert it into a new configuration task according to the driver format based on all the parameters obtained, and then you can operate the task list and add the new task to the task queue.

[0060] It can be seen that for the current scheduling scheme, after each message is received, the above-mentioned related operations must be processed again, which limits the scheduling of upper-layer services at a smaller time granularity, affecting user experience. Especially for the scenario where N2 is equal to 5.5 symbols, the configuration timing will be more tight.

[0061] For example, Figure 4 A schematic diagram of the scenario configured for the task, such as Figure 4 As shown, it is assumed that the implementation of task configuration can be based on the following scenario conditions: two configuration messages Msg, namely Msg1 and Msg2, are received in slot N, and one Msg, namely Msg3, is received in slot (N+1), wherein Msg1, Msg2 and Msg3 are all scheduled for transmission in slot (N+1). Specifically, the slot N timeslot header Msg1 indicates that there is an uplink transmission request for symbols 4-8 of slot (N+1); Msg2 indicates that there is also an uplink transmission request for symbols 2 and 3 of slot (N+1); and Msg3 indicates that there is a transmission request for symbols 12 and 13.

[0062] Figure 5 Schematic diagram of the implementation framework configured for common tasks, such as Figure 5 As shown above, Figure 4 In the scenario conditions shown, when configuring tasks, the following parts can be processed based on the message sending list, task creation module, task scheduling module, etc.:

[0063] (1) Receive Msg1:

[0064] a) Create task Task4, which is used to open and configure the uplink path before symbol 4;

[0065] b) Create task Task8, which is used to close the upstream path when symbol 8 ends.

[0066] (2) Receive Msg2:

[0067] a) Check the existing tasks Task4 and Task8 to determine if the channel opening time conflicts with Task4;

[0068] b) Cancel Task4;

[0069] c) Create task Task2, which is used to open and configure the uplink path before symbol 2;

[0070] d) Task sorting, notifying the task scheduling module to execute Task2 and Task8 in order.

[0071] (3) Receive Msg3:

[0072] a) Check existing tasks Task2 and Task8 to make sure there is no task conflict;

[0073] b) Create task Task12, which is used to open and configure the uplink path before symbol 12;

[0074] c) Create task Task13, which is used to close the uplink path when symbol 13 ends;

[0075] d) Task sorting, notifying the task scheduling module to execute in the order of Task2, Task8, Task12, and Task13.

[0076] It can be seen that the existing scheduling scheme is a passive scheduling method with too many scene combinations and complex logic.

[0077] If the RF controller can complete the task quickly, more processing time can be left for other sub-modules; or the HW clock can be reduced to save power.

[0078] Specifically, in order to solve the above problems, in an embodiment of the present application, based on a pre-generated working template of one or more time domain symbols in the target time slot, after generating a new scheduling task for the target time slot, it is only necessary to update the corresponding working template according to the configuration parameters of the scheduling task to realize the addition of new tasks and the modification of scheduled tasks that conflict with the new tasks. That is, the working state of the RF front end can be controlled through the working template, and different tasks of the target time slot can be triggered based on the order of the time domain symbols in the target time slot, thereby omitting the process of sorting different tasks. It can be seen that the control method of the RF front end proposed in the embodiment of the present application greatly reduces the complexity of task configuration, shortens the time of task configuration, and thereby realizes fast and efficient control processing of the RF front end, thereby improving communication performance.

[0079] That is to say, in response to the requirement of fast completion of the RF controller, the present application proposes a control method for the RF front end, which is a normalized control method. The control method is stable, reliable, and has low latency, and is particularly suitable for symbol-level UE uplink RF scheduling in URLLC scenarios.

[0080] It should be noted that the control method of the RF front end proposed in this application takes the uplink direction of a wireless communication terminal (such as a mobile phone, etc.) as an example to describe the scheme. However, it does not mean that the control method of the RF front end is limited to this scenario. The control method of the RF front end proposed in this application can also be applied to any other scenario. This application does not make specific limitations on this.

[0081] The technical solutions 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.

[0082] An embodiment of the present application provides a control method for a radio frequency front end, Figure 6 Schematic diagram of the implementation process of the control method of the RF front end Figure 1 ,like Figure 6 As shown, in an embodiment of the present application, the method for controlling the radio frequency front end may include the following steps:

[0083] Step 101: determine a target time slot corresponding to a scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template.

[0084] In an embodiment of the present application, the control device may first determine the target time slot corresponding to the scheduling task. In an embodiment of the present application, the target time slot is the time slot in which the RF front end sends the uplink signal corresponding to the scheduling task, and the target time slot may be the time slot in which the scheduling task is received; or, the target time slot may be the time slot after the scheduling task is received. That is, in an embodiment of the present application, a scheduling task acting on a time slot may be received in a time slot, and a scheduling task acting on other time slots after the time slot may be received in a time slot.

[0085] Specifically, one or more time domain symbols in the target time slot are respectively configured with corresponding working templates. It should be noted that in the embodiment of the present application, the working templates corresponding to one or more time domain symbols in the target time slot are pre-configured according to the interface parameters and scenario parameters of the RF front end.

[0086] Exemplarily, in an embodiment of the present application, the interface parameters of the RF front end can be used to determine the device interface format, wherein the device may include a switch, an amplifier, a filter, etc. The scenario parameters can be used to determine the service scenario of the current physical layer, wherein the service scenario of the physical layer includes a measurement scenario, a transmission scenario, etc.

[0087] Further, in an embodiment of the present application, the interface parameters and the scene parameters may be determined in a time slot before the target time slot. Then, a working template corresponding to one or more time domain symbols in the target time slot may be generated according to the interface parameters and the scene parameters, that is, a working template corresponding to one or more time domain symbols in the target time slot may be generated.

[0088] It should be noted that, in an embodiment of the present application, each time slot includes 14 time domain symbols, that is, 14 symbols, wherein each time domain symbol may be the starting point or the ending point of data transmission, for example, each symbol may be a potential start or end of transmission.

[0089] Further, in an embodiment of the present application, the working template corresponds to the time domain symbol in the target time slot. Specifically, for the target time slot, the terminal may pre-generate at least one working template corresponding to at least one time domain symbol among the 14 time domain symbols in the target time slot. For example, the terminal may generate 5 working templates corresponding to the first 5 time domain symbols in the target time slot.

[0090] It is understandable that in the embodiment of the present application, in order to establish a working template for the target time slot in advance, it is necessary to first determine the interface parameters and scenario parameters. Among them, the interface parameters can be used to determine the device interface format, and the scenario parameters can be used to determine the business scenario of the physical layer.

[0091] It should be noted that, in the embodiment of the present application, the working template corresponding to one or more time domain symbols in the target time slot is pre-generated, that is, the working template is generated before the target time slot. Generally speaking, since the working parameters of the RF chip in each time slot may be different, the configuration of the working parameters of the RF chip in each time slot by the baseband chip can be performed in other time slots before the time slot.

[0092] Further, in an embodiment of the present application, each working template includes an enabling parameter, wherein the enabling parameter is used to indicate whether the RF front end is enabled in the time domain symbol corresponding to each working template; wherein the enabling parameter in each pre-configured working template is configured to be disabled. Step 102: Adjust the working template of one or more time domain symbols in the target time slot according to the scheduling task.

[0093] In an embodiment of the present application, after determining the target time slot corresponding to the scheduling task, the working template of one or more time domain symbols in the target time slot may be further adjusted according to the scheduling task.

[0094] It should be noted that, in an embodiment of the present application, it is possible to first determine whether there is a scheduled task in the target time slot. If there is a scheduled task and the scheduled task conflicts with the received scheduled task, it is necessary to modify the working template of one or more time domain symbols in the target time slot; if there is no scheduled task or the scheduled task does not conflict with the received scheduled task, then it is only necessary to add the configuration parameters corresponding to the scheduled task to the corresponding working template.

[0095] It is understandable that in the embodiment of the present application, if the scheduled task existing in the target time slot is of the same task type as the received scheduled task and corresponds to the same time domain symbol in the target time slot, then it can be considered that the scheduled task and the received scheduled task are in conflict. For example, when the scheduled task existing in the target time slot includes uplink transmission on time domain symbol 8, and the received scheduled task also includes uplink transmission on time domain symbol 8, then it can be determined that the scheduled task and the received scheduled task are in conflict.

[0096] Accordingly, in the present application, if the scheduled task in the target time slot is of a different task type from the received scheduled task, or the two correspond to different time domain symbols in the target time slot, then it can be considered that there is no conflict between the scheduled task and the received scheduled task.

[0097] It should be noted that in an embodiment of the present application, after configuring the scheduling task through a working template of at least one time domain symbol in the target time slot, for the working template with task configuration parameters of the new task added, the enable parameter corresponding to the working template can be set to enable.

[0098] It can be understood that in an embodiment of the present application, if the enabling parameter of the working template of at least one time domain symbol in the target time slot is enabled, then it can be determined that there is a scheduled task in the target time slot, and at the same time, the task corresponding to at least one time domain symbol can be determined as the scheduled task of the target time slot; correspondingly, if the enabling parameters of the working template of one or more time domain symbols in the target time slot are all disabled, then it can be determined that there is no scheduled task in the target time slot. Service .

[0099] Optionally, in an embodiment of the present application, when adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task, when the scheduling task conflicts with the scheduled task in the target time slot, the enabling parameter in the working template of the time domain symbol corresponding to the scheduled task can be updated and configured to be disabled; then the scheduling task can be added to the working template of the time domain symbol corresponding to the scheduling task according to the configuration parameters of the scheduling task, and the enabling parameter of the working template of the time domain symbol corresponding to the scheduling task can be updated and configured to be enabled.

[0100] Optionally, in an embodiment of the present application, when adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task, when the scheduling task does not conflict with the scheduled task in the target time slot, or when there is no scheduled task in the target time slot, then the scheduling task can be directly added to the working template of the time domain symbol corresponding to the scheduling task according to the configuration parameters of the scheduling task, and the enable parameters of the working template of the time domain symbol corresponding to the scheduling task can be updated and configured to be enabled.

[0101] Further, in an embodiment of the present application, the configuration parameters of the scheduling task can be generated according to the received configuration message. The configuration parameters of the scheduling task are used to configure the RF chip in the target time slot to control the working state of the RF interface, that is, the configuration parameters of the scheduling task can be used for link configuration.

[0102] Exemplarily, in an embodiment of the present application, the configuration parameters of the scheduling task may be at least one of the following parameters: hardware switch, power parameter, link parameter, frequency parameter, filter bandwidth, channel parameter, trigger time.

[0103] Step 103: In the target time slot, the working state of the RF front end is controlled according to the working template of one or more time domain symbols.

[0104] In an embodiment of the present application, after adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task, the working state of the RF front end can be further controlled according to the working template of one or more time domain symbols in the target time slot.

[0105] It can be understood that in the embodiments of the present application, since the trigger time of the working template is determined by the corresponding time domain symbol, when implementing the control of the working state of the RF front end, the tasks of the corresponding working template can be directly triggered in sequence according to the sequence of the time domain symbols in the target time slot, thereby ensuring that the scheduling tasks are processed in the correct time sequence.

[0106] That is to say, in an embodiment of the present application, based on the work template corresponding to the pre-generated time domain symbol, after each new scheduling task is generated, it is no longer necessary to rearrange the different tasks. Instead, the tasks of the corresponding work template are triggered in the order of the time domain symbols, which simplifies the task scheduling process and saves control time.

[0107] Furthermore, the control method of the RF front end proposed in the embodiment of the present application can be applied to a control device or a terminal, wherein the control device or the terminal can be provided with a baseband chip and a RF chip.

[0108] For example, in the present application, a method for controlling a radio frequency front end is described by taking a terminal as an example. Figure 7 Schematic diagram of the control method for realizing the RF front end Figure 1 ,like Figure 7 As shown in the figure, the baseband chip transmits the data to be sent to the RF chip, and the RF chip transmits the data to the outside, thus completing the data transmission process; the RF chip receives the data sent from the outside, and then transmits the data to the baseband chip, thus completing the data reception process. Among them, the time slot for transmitting data is called the transmission time slot, that is, the working time period for the RF chip to transmit data; the time slot for receiving data is called the reception time slot, that is, the working time period for the RF chip to receive data.

[0109] Specifically, in the present application, before the data transmission process is performed, the baseband chip first starts the transmission phase-locked loop PLL, and after the transmission PLL is stable, the power amplifier (PA) is turned on, and then the transmission circuit of the RF chip is configured with parameters, specifically, the baseband chip reads and writes the relevant registers on the RF chip; before the data reception process is performed, a similar process is also required, that is, the baseband chip starts the transmission PLL and PA, and then configures the parameters of the receiving circuit of the RF chip. Therefore, the communication between the baseband chip and the RF chip, in addition to the data itself that needs to be sent and received, also includes the parameter configuration of the RF chip by the baseband chip, that is, the data generated when the baseband chip reads and writes the relevant registers of the RF chip, so that the task configuration of data transmission in the time slot can be realized.

[0110] It can be understood that in the present application, the RF front end includes the RF chip and the RF control module in the baseband chip, and the configuration parameters in the configuration template include not only the configuration parameters of the RF chip, but also the configuration parameters of the RF control module in the baseband chip.

[0111] Optionally, the control method of the RF front end proposed in the present application can be specifically applied to the baseband chip in the terminal, that is, it can be applied to the parameter configuration process of the baseband chip to the RF chip.

[0112] Furthermore, in the embodiments of the present application, Figure 8 Schematic diagram of the control method for realizing the RF front end Figure 2 ,like Figure 8 As shown, a radio frequency control module may be provided in the baseband chip in the terminal, wherein the radio frequency control module is used to control the radio frequency chip. Accordingly, the terminal can complete the parameter configuration process of the baseband chip to the radio frequency chip through the radio frequency control module.

[0113] Fig. 9 Schematic diagram of the implementation process of the control method of the RF front end Figure 2 ,like Fig. 9 As shown, in an embodiment of the present application, the method for controlling the radio frequency front end may include the following steps:

[0114] Step 201: Obtain a configuration message in a current time slot, and generate configuration parameters of a scheduling task corresponding to a target time slot according to the configuration message.

[0115] In an embodiment of the present application, the terminal obtains a configuration message in a current time slot, and then may generate configuration parameters of a scheduling task corresponding to a target time slot according to the configuration message.

[0116] It can be understood that in the embodiments of the present application, the terminal can be various electronic devices with communication functions, including but not limited to mobile electronic devices such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), vehicle-mounted electronic devices (such as vehicle-mounted navigation electronic devices), etc., as well as fixed electronic devices such as digital televisions (TVs), desktop computers, etc.

[0117] It should be noted that, in an embodiment of the present application, a configuration message may be used to schedule data transmission in a target time slot. The target time slot may be a current time slot or a time slot after the current time slot. For example, a terminal may receive a configuration message in time slot N (current time slot), and the configuration message is used to schedule data transmission in time slot N (target time slot); or, a terminal may receive a configuration message in time slot N (current time slot), and the configuration message is used to schedule data transmission in time slot M (target time slot). N is an integer greater than 0, and M is an integer greater than N.

[0118] Further, in the embodiment of the present application, the configuration message may be a request message received by a radio frequency control module provided in the terminal and used to request a configuration task.

[0119] It can be understood that in an embodiment of the present application, after the terminal obtains the configuration message in the current time slot, it can generate the configuration parameters of the corresponding scheduling task according to the configuration message, wherein the configuration parameters of the scheduling task are used to configure the RF chip in the target time slot so that the RF chip performs the scheduling task, that is, the configuration parameters of the scheduling task can be used for link configuration.

[0120] Further, in an embodiment of the present application, before obtaining a configuration message in the current time slot and generating configuration parameters of a scheduling task corresponding to the target time slot according to the configuration message, that is, before step 201, the method for controlling the radio frequency front end may further include the following steps:

[0121] Step 205: Determine interface parameters and scene parameters in the time slot before the target time slot.

[0122] Step 206: Generate a working template corresponding to one or more time domain symbols in the target time slot according to the interface parameters and the scenario parameters.

[0123] In an embodiment of the present application, the terminal may first determine the interface parameters and the scenario parameters in the time slot before the target time slot, and then generate a working template corresponding to one or more time domain symbols in the target time slot according to the interface parameters and the scenario parameters.

[0124] Furthermore, in an embodiment of the present application, when generating a working template corresponding to one or more time domain symbols in a target time slot according to interface parameters and scenario parameters, the terminal can first perform task configuration on the time domain symbols in the target time slot based on the interface parameters and scenario parameters, and determine the initial configuration parameters of the initial task corresponding to the time domain symbols; then the enabling parameters corresponding to the initial task can be set to disabled, thereby generating a working template.

[0125] The initial task may be understood as a task corresponding to a target time slot that can be predetermined by the terminal based on interface parameters and scenario parameters.

[0126] Specifically, in an embodiment of the present application, after acquiring the interface parameters and the scene parameters, the terminal can use the known information such as the interface parameters and the scene parameters to perform task configuration processing on some or all of the time domain symbols in the target time slot, so as to determine the initial configuration parameters corresponding to the initial tasks corresponding to some or all of the time domain symbols. Among them, the terminal can directly use some parameters in the interface parameters and the scene parameters as the initial configuration parameters, and can also calculate and obtain the initial configuration parameters according to the interface parameters and the scene parameters.

[0127] Optionally, in the present application, the initial configuration parameters are used to configure the RF chip in the target time slot so that the RF chip performs the initial task, that is, the initial configuration parameters can perform link configuration for the initial task. The initial configuration parameters can be at least one of the following parameters: hardware switch, power parameter, link parameter, frequency parameter, filter bandwidth, channel parameter, trigger time.

[0128] Specifically, in an embodiment of the present application, the initial configuration parameters and the configuration parameters of the scheduling task may be non-overlapping and non-conflicting configuration parameters. That is, the initial configuration parameters may be a part of the configuration parameters used to configure the RF front end, and the configuration parameters of the scheduling task may be another part of the parameters used to configure the RF front end.

[0129] It should be noted that, in the embodiment of the present application, based on the working template corresponding to the time domain symbol, each working template is provided with an enabling parameter, wherein the enabling parameter can be used to indicate whether the RF front end is enabled in the time domain symbol corresponding to the working template. For example, the value of the enabling parameter is set to a first value, that is, the enabling parameter is set to enable, and the corresponding task is executed to enable the RF front end; the value of the enabling parameter is set to a second value, that is, the enabling parameter is set to disable, and the corresponding task is not executed, that is, the RF front end is not enabled.

[0130] Optionally, in the present application, the first value may be 1 or true, and the second value may be 0 or false, which is not specifically limited in the present application.

[0131] That is to say, in the embodiment of the present application, for each time domain symbol (such as symbol) in the target time slot, it can be considered that the action of the RF switch is the same, the difference is that the trigger time of the switch is different and the transmitted power is different; therefore, the terminal can generate different working templates for different time domain symbols in advance in the time slot before the target time slot. Specifically, according to the interface parameters and scenario parameters of the current service, part of the information required to configure the RF front end corresponding to any time domain symbol, that is, the initial configuration information, can be obtained and / or calculated, and then this part of the initial configuration information is added to the working template of the corresponding time domain symbol, and the enabling parameter of the working template is set to disabled, thereby completing the generation of the working template.

[0132] For example, in the embodiments of the present application, Fig.10 A schematic diagram of a working template is shown in FIG. Fig.10 As shown, for the 14 time domain symbols of the target time slot (such as symbol1 to symbol14), 14 corresponding working templates are pre-generated, wherein the initial values ​​of the enabling parameters in the working templates are all 0, that is, the enabling parameters are not enabled; for different time domain symbols, different initial configuration information is written accordingly, such as the power parameter corresponding to time domain symbol 1 (sym 1) is power P1, and the power parameter corresponding to time domain symbol 3 (sym 3) is P3, etc.; for the working template corresponding to each time domain symbol of the target time slot, the transmission time parameter corresponding to the initial task is set, that is, the trigger time, such as the trigger time of the initial task of time domain symbol 0 (sym 0) to time domain symbol 13 (sym13) is T0 to T13 respectively.

[0133] Step 202: If the scheduling task conflicts with the scheduled task in the target time slot, the enabling parameters in the working template of the time domain symbol corresponding to the scheduled task are updated and configured to be disabled; the scheduling task is added to the working template of the time domain symbol corresponding to the scheduling task according to the configuration parameters of the scheduling task, and the enabling parameters of the working template of the time domain symbol corresponding to the scheduling task are updated and configured to be enabled.

[0134] Step 203: If the scheduling task does not conflict with the scheduled task in the target time slot, or there is no scheduled task in the target time slot, add the scheduling task to the working template of the time domain symbol corresponding to the scheduling task according to the configuration parameters of the scheduling task, and update the enable parameters of the working template of the time domain symbol corresponding to the scheduling task to enable.

[0135] In an embodiment of the present application, after obtaining a configuration message in the current time slot and generating configuration parameters of a scheduling task corresponding to a target time slot according to the configuration message, the terminal can adjust and update a working template corresponding to the first or more time domain symbols in the target time slot in combination with the current scheduling task based on whether there is a scheduled task in the target time slot.

[0136] It can be understood that in the embodiments of the present application, the terminal needs to first determine whether there is a scheduled task in the target time slot. If there is a scheduled task configured earlier in the target time slot, the terminal needs to further judge whether the scheduled task and the scheduled task conflict with each other, and then further adjust the working template corresponding to the first or more time domain symbols in the target time slot according to the judgment result.

[0137] Further, in an embodiment of the present application, if there is a scheduled task in the target time slot that conflicts with the scheduled task, it can be determined that the working template corresponding to the first or more time domain symbols in the target time slot needs to be modified; if there is no scheduled task in the target time slot that conflicts with the scheduled task, or there is no scheduled task in the target time slot, it is determined that only the scheduled task needs to be added to the corresponding working template.

[0138] It should be noted that in an embodiment of the present application, when a scheduled task conflicts with a scheduled task, it can be considered that the process of configuring the scheduling task will have an impact on the scheduled task. Therefore, it is necessary to first modify the specific configuration parameters or enabling parameters corresponding to the scheduled task in the work template.

[0139] Accordingly, in the present application, when there is no conflict between a scheduled task and a scheduling task, it can be considered that the process of configuring the scheduling task will not affect any of the scheduled tasks. Therefore, there is no need to modify the specific configuration parameters or enable parameters corresponding to the scheduled task in the work template. You only need to add the configuration parameters of the scheduling task to the corresponding work template.

[0140] Accordingly, in the present application, when there is no scheduled task in the target time slot, the terminal can add the configuration parameters of the scheduled task to the corresponding work template.

[0141] It should be noted that in the present application, the terminal needs to first determine whether there is a scheduled task in the target time slot. Specifically, when the terminal determines whether there is a scheduled task in the target time slot, if the enabling parameter corresponding to the working template in the target time slot is enabled, then the terminal can determine that there is a scheduled task in the target time slot, and at the same time, the task corresponding to the working template with the enabling parameter enabled can be determined as the scheduled task of the target time slot; accordingly, if the enabling parameters corresponding to the working template in the target time slot are all disabled, then the terminal can determine that there is no scheduled task in the target time slot.

[0142] That is to say, in the present application, the terminal may also use the work template corresponding to one or more time domain symbols in the generated target time slot to determine whether there is a scheduled task. Specifically, if the enabling parameter in the work template corresponding to one or more time domain symbols in the target time slot is enabled, it can be determined that there is a scheduled task; if the enabling parameters in all work templates corresponding to all time domain symbols in the target time slot are disabled, it can be determined that there is no scheduled task.

[0143] It should be noted that in an embodiment of the present application, if there is a conflict between the scheduled task and the scheduled task in the target time slot, in order to resolve the conflict between the scheduled task and the scheduled task, the terminal can choose to set the enable parameter of the working template of the time domain symbol corresponding to the scheduled task to disabled in the working template; and then add the scheduled task to the working template of the time domain symbol according to the configuration parameters of the scheduling task, and set the enable parameter of the time domain symbol corresponding to the scheduling task to enabled.

[0144] It can be seen that in this application, if there is a conflict between a scheduled task and a scheduled task, the terminal needs to first set the enabling parameter corresponding to the conflicting scheduled task to disabled in the work template corresponding to the scheduled task, that is, control the conflicting scheduled task not to be executed. Then, the configuration parameters of the scheduled task are stored in the corresponding work template to complete the addition of the scheduled task, and at the same time, the enabling parameter corresponding to the scheduled task needs to be set to enabled, that is, control the scheduled task to be executed.

[0145] It should be noted that in an embodiment of the present application, if the scheduling task does not conflict with the scheduled task in the target time slot, or there is no scheduled task in the target time slot, then the terminal can choose to directly add the scheduling task to the working template of the time domain symbol according to the configuration parameters of the scheduling task, and set the enable parameters of the working template of the time domain symbol corresponding to the scheduling task to enable.

[0146] It can be seen that in the present application, if there is no scheduled task, or there is no conflict between the scheduled task and the scheduled task, then the terminal does not need to modify the parameters in the working template of the time domain symbol corresponding to the scheduled task, but can directly store the configuration parameters of the scheduled task to the working template of the corresponding time domain symbol to complete the addition of the scheduled task. At the same time, the enable parameter of the time domain symbol corresponding to the scheduled task needs to be set to enable, that is, to control the execution of the scheduled task.

[0147] It should be noted that in an embodiment of the present application, when the terminal establishes a work template corresponding to one or more time domain symbols in the target time slot, the trigger time of the time domain symbol can be added to the corresponding work template. Therefore, based on different trigger times corresponding to different time domain symbols, the terminal can trigger different tasks according to the sequence of trigger times through the work template, that is, the work template can be used to trigger tasks according to a preset sequence. Among them, the preset sequence is the sequence of time domain symbols in the target time slot.

[0148] It can be understood that in the embodiments of the present application, since the work template can be used to trigger tasks in a preset order, after each task configuration is performed according to the acquired configuration message, the terminal does not need to repeat the task sorting process, thereby greatly reducing the complexity of the task configuration.

[0149] Step 204: Based on the working template of one or more time domain symbols in the target time slot, control the working state of the RF front end in a preset order.

[0150] In an embodiment of the present application, since the working template can be used to trigger tasks in a preset order, the terminal can perform link configuration in a corresponding preset order based on the working template of one or more time domain symbols in the target time slot to achieve control of the working status of the RF front end.

[0151] It should be noted that in an embodiment of the present application, a corresponding task trigger time can be set for a working template corresponding to any time domain symbol. Therefore, after completing the task configuration for the target time slot, the terminal can trigger different tasks based on the working template according to the trigger time and enable parameters corresponding to different tasks, without the need to repeatedly sort the tasks after each task configuration process.

[0152] In summary, through the control method of the RF front end proposed in the above steps 101 to 103 and the above steps 201 to 206, in the time slot before the target time slot, the terminal can pre-generate a working template for the target time slot, including the generation and addition of initial configuration parameters of the initial task and the initialization of the enable parameters of the initial task, thereby reducing the amount of task processing when subsequent upper-layer scheduling instructions arrive, so that RF resources can be allocated at a finer time granularity.

[0153] It can be understood that in an embodiment of the present application, based on a pre-generated working template of one or more time domain symbols in a target time slot, since the corresponding initial configuration parameters have been generated according to known information (such as interface parameters, scene parameters, etc.), after the terminal obtains the configuration message, it only needs to generate other configuration parameters other than the initial configuration parameters, and no longer needs to process all the configuration parameters required by the device interface, thereby reducing the complexity of the task configuration.

[0154] Furthermore, in an embodiment of the present application, based on a pre-generated working template of one or more time domain symbols in a target time slot, each time the terminal obtains a configuration message and generates a new task, when merging or adding a new task, it is not necessary to write the entire configuration information for the new task, but only writes new partial configuration information; if there is a conflict between the new configured task and the scheduled task, the terminal does not need to delete the entire configuration information of the conflicting task, but only modifies the enabling parameters of the conflicting task, thereby further reducing the complexity of the task configuration.

[0155] It can be understood that in an embodiment of the present application, based on a pre-generated working template of one or more time domain symbols in a target time slot, after each time the terminal obtains a configuration message and generates a new task, it no longer needs to rearrange different tasks, but triggers the tasks in the order of the trigger time in the working template, thereby simplifying the task scheduling and saving execution time.

[0156] It should be noted that the control method of the RF front end proposed in the embodiment of the present application is a normalized process, which is not limited to the application scenario of the RF link configuration, nor is it limited to the baseband chip and the RF chip, but is also applicable to other scenarios, devices or modules. A unified scheduling strategy can be used for different scenarios, reducing the complexity of SW.

[0157] The embodiment of the present application provides a control method for a radio frequency front end, which determines the target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; in the target time slot, the working state of the radio frequency front end is controlled according to the working template of one or more time domain symbols. That is to say, in the embodiment of the present application, based on the pre-generated working template of one or more time domain symbols in the target time slot, after generating a new scheduling task of the target time slot, it is only necessary to update the corresponding working template according to the configuration parameters of the scheduling task to realize the addition of new tasks and the modification of scheduled tasks that conflict with the new tasks, that is, the control of the working state of the radio frequency front end can be completed through the working template, and different tasks of the target time slot can be triggered based on the order of the time domain symbols in the target time slot, and the process of sorting different tasks is omitted. It can be seen that the control method of the radio frequency front end proposed in the embodiment of the present application greatly reduces the complexity of task configuration, shortens the time of task configuration, and thus realizes fast and efficient control processing of the radio frequency front end, and improves communication performance.

[0158] Based on the above embodiments, in another embodiment of the present application, the control method of the RF front end proposed in the present application is an active task scheduling method. Since each slot has 14 time domain symbols, each symbol may be a potential start or end of transmission, and for each symbol, the action of the RF switch is the same, the difference is that the switching time is different and the transmitted power is different; therefore, in the embodiment of the present application, for each slot, the terminal can pre-establish an RF switch template, that is, generate a corresponding working template for the time domain symbol, wherein the terminal can generate a corresponding working template for each of the 14 symbols, or only generate at least one corresponding working template for at least one of the symbols.

[0159] It is understandable that in the embodiment of the present application, since each symbol is potentially transmit-received, the difference between different symbols is that the transmission time (i.e., trigger time) and transmission power will be different when transmitting. Among them, the terminal can calculate the trigger time corresponding to each symbol in advance, and the transmission power can be calculated in advance, or calculated or updated in real time after receiving the trigger message.

[0160] Furthermore, in an embodiment of the present application, based on a pre-generated working template corresponding to a time domain symbol in a target time slot, the terminal can, after obtaining the configuration information, generate a scheduling task for the target time slot according to the configuration information, and then update the working template based on the configuration parameters of the scheduling task. Specifically, it can enable or disable the sending of a symbol corresponding to the working template, thereby realizing rapid configuration of the scheduling task.

[0161] That is to say, in the embodiments of the present application, because the terminal can prepare for each symbol in the target time slot in advance and establish a corresponding work template, after obtaining the configuration message of L1C, it only needs to enable / disable the task of the corresponding symbol according to the configuration parameters of the scheduling task generated by the configuration information, thereby greatly saving configuration time.

[0162] Fig.11 Schematic diagram of the implementation process of the control method of the RF front end Figure 3 ,like Fig.11 As shown, in an embodiment of the present application, the method for controlling the radio frequency front end may include the following steps:

[0163] Step 301: Determine initial configuration parameters corresponding to time domain symbols in a target time slot according to interface parameters and scenario parameters.

[0164] In an embodiment of the present application, the terminal may select, in a time slot before the target time slot, to predetermine the initial configuration parameters corresponding to the time domain symbols in the target time slot according to the interface parameters and the scenario parameters. The initial configuration parameters may be used to configure the RF chip in the target time slot so that the RF chip performs the initial task, that is, the initial configuration parameters may perform link configuration for the initial task.

[0165] Optionally, in the present application, based on the interface parameters and the scenario parameters, the terminal may choose to determine initial configuration parameters for some or all of the time domain symbols in the target time slot, wherein one time domain symbol corresponds to a set of initial configuration parameters.

[0166] Step 302: Generate a working template corresponding to the time domain symbol in the target time slot according to the initial configuration parameters.

[0167] In an embodiment of the present application, after determining the initial configuration parameters corresponding to the time domain symbols in the target time slot according to the interface parameters and the scenario parameters, the terminal can generate a work template corresponding to the time domain symbols in the target time slot according to the initial configuration parameters. The work template is used to trigger tasks in a preset order.

[0168] Optionally, in an embodiment of the present application, after completing the generation of the initial configuration parameters, the terminal may write the initial configuration parameters corresponding to a certain time domain symbol into the working template corresponding to the time domain symbol, and set the enabling parameter corresponding to the working template to be disabled, thereby completing the generation of the working template corresponding to the time domain symbol. The enabling parameter may be used to indicate whether to execute a task.

[0169] Step 303: Receive a first configuration message in a first time slot, and generate a first configuration parameter corresponding to the first task according to the first configuration message.

[0170] In an embodiment of the present application, after generating a working template corresponding to a time domain symbol in a target time slot according to an initial configuration parameter, the terminal may receive a first configuration message in a first time slot, and then may generate a first configuration parameter corresponding to a first task according to the first configuration message. The first time slot may be a time slot before the target time slot, or may be a target time slot.

[0171] It should be noted that, in the embodiment of the present application, the first configuration parameter is used to configure the RF chip in the target time slot so that the RF chip performs the scheduling task, that is, the first configuration parameter can perform link configuration for the scheduling task. Among them, the first configuration parameter and the initial configuration parameter can be non-overlapping and non-conflicting configuration parameters. In other words, the initial configuration parameter can be a part of the parameters used to configure the RF chip, and the first configuration parameter can be another part of the parameters used to configure the RF chip.

[0172] Step 304: Add the first task to the work template according to the first configuration parameter.

[0173] In an embodiment of the present application, after the terminal receives the first configuration message in the first time slot and generates the first configuration parameters corresponding to the first task according to the first configuration message, the first task can be added to the work template according to the first configuration parameters.

[0174] It should be noted that, in an embodiment of the present application, since the first configuration message can be the first configuration message obtained after the terminal generates a working template, there is no scheduled task in the working template corresponding to one or more time domain symbols in the target time slot at this time, that is, it can be considered that there is no scheduled task in the target time slot that conflicts with the first task. Therefore, the terminal can directly write the first configuration parameter into the corresponding working template, and at the same time set the enable parameter corresponding to the first task in the working template to enable, thereby completing the addition processing of the first task.

[0175] Step 305: Receive a second configuration message in a second time slot, and generate second configuration parameters corresponding to the second task according to the second configuration message.

[0176] In an embodiment of the present application, after adding the first task to the work template according to the first configuration parameter, the terminal may receive a second configuration message in a second time slot, and then may generate a second configuration parameter corresponding to the second task according to the second configuration message. The second time slot may be a time slot before the target time slot, or may be a target time slot.

[0177] It should be noted that, in the embodiment of the present application, the second configuration parameter is used to configure the RF chip in the target time slot so that the RF chip performs the scheduling task, that is, the second configuration parameter can perform link configuration for the scheduling task. Among them, the second configuration parameter and the initial configuration parameter can be non-overlapping and non-conflicting configuration parameters. In other words, the initial configuration parameter can be a part of the parameters used to configure the RF chip, and the first configuration parameter can be another part of the parameters used to configure the RF chip.

[0178] Step 306: If the first task conflicts with the second task, the first task is deleted from the work template, and the second task is added to the work template according to the second configuration parameter.

[0179] In an embodiment of the present application, the terminal receives a second configuration message in a second time slot, and after generating second configuration parameters corresponding to the second task according to the second configuration message, it is necessary to first determine whether the scheduled task (first task) of the target time slot conflicts with the second task. If the first task conflicts with the second task, the terminal needs to first delete the first task in the preset template, and then add the second task to the working template according to the second configuration parameters.

[0180] It should be noted that, in an embodiment of the present application, since the second configuration message is not the first configuration message obtained by the terminal after generating the working template, there is a scheduled task in the working template corresponding to one or more time domain symbols in the target time slot. Therefore, the terminal needs to first determine whether the scheduled task in the target time slot conflicts with the second task, that is, determine whether the first task conflicts with the second task. If the first task conflicts with the second task, the terminal needs to first delete the first task by setting the enable parameter corresponding to the first task in the working template to disabled, and then write the second configuration parameter into the corresponding working template, and at the same time set the enable parameter corresponding to the second task in the working template to enabled, thereby completing the addition of the second task.

[0181] Step 307: If the first task does not conflict with the second task, add the second task to the work template according to the second configuration parameter.

[0182] In an embodiment of the present application, the terminal receives a second configuration message in a second time slot, and after generating second configuration parameters corresponding to the second task according to the second configuration message, it is necessary to first determine whether the scheduled task (first task) of the target time slot conflicts with the second task. If the first task does not conflict with the second task, the terminal can directly write the second configuration parameters into the corresponding work template, and at the same time set the enable parameter corresponding to the second task in the work template to enable, thereby completing the addition process of the second task.

[0183] Step 308: trigger tasks in a preset order based on the work template corresponding to the time domain symbol in the target time slot.

[0184] In an embodiment of the present application, the terminal can trigger tasks in a preset order after completing the addition or modification of different tasks according to different configuration messages based on the work template corresponding to one or more time domain symbols in the target time slot. The order is the order of triggering times corresponding to different time domain symbols in the target time slot.

[0185] To summarize, through the control method of the RF front end proposed in the above steps 301 to 308, since each time domain symbol (symbol) in each time slot may have configuration requirements, the terminal can calculate or directly obtain the initial configuration information according to the device interface format (interface parameters) and the current business scenario (scenario parameters), and then write the initial configuration information into the corresponding work template, that is, configure the initial task in each work template, so as to realize the pre-setting of the work template corresponding to each time domain symbol in the target time slot (such as the next slot), for example, 14 work templates corresponding to 14 symbols in the target time slot are pre-generated, wherein each work template can determine the configuration requirements of the corresponding symbol.

[0186] Further, in an embodiment of the present application, for each task corresponding to each time domain symbol, a state flag (enable parameter) may be set in the work template to indicate whether the corresponding task will be sent to the hardware. When generating the work template, the initial state corresponding to the initial task is set to disabled, that is, the initial task is not executed.

[0187] It should be noted that in an embodiment of the present application, the configuration time (trigger time) of each work template corresponding to each time domain symbol can be calculated and set in advance. Based on the sequence of multiple trigger times corresponding to multiple work templates, the corresponding preset order for triggering different tasks can be determined.

[0188] It is understandable that in the embodiment of the present application, after the terminal obtains the configuration message each time, it only needs to calculate the other configuration parameters of the target time slot other than the initial configuration parameters according to the configuration message, without repeatedly determining the initial configuration parameters that have been obtained in advance. At the same time, if there is a scheduled task in the target time slot, the terminal can determine whether the scheduled task in the target time slot conflicts with the scheduled task, and determine the corresponding task configuration type (such as task modification or task addition) according to the determination result, and then based on the task configuration type, some parameters in the work template can be updated according to the configuration parameters, so as to realize the rapid configuration of the task.

[0189] The embodiment of the present application provides a control method for a radio frequency front end, which determines the target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; in the target time slot, the working state of the radio frequency front end is controlled according to the working template of one or more time domain symbols. That is to say, in the embodiment of the present application, based on the pre-generated working template of one or more time domain symbols in the target time slot, after generating a new scheduling task of the target time slot, it is only necessary to update the corresponding working template according to the configuration parameters of the scheduling task to realize the addition of new tasks and the modification of scheduled tasks that conflict with the new tasks, that is, the control of the working state of the radio frequency front end can be completed through the working template, and different tasks of the target time slot can be triggered based on the order of the time domain symbols in the target time slot, and the process of sorting different tasks is omitted. It can be seen that the control method of the radio frequency front end proposed in the embodiment of the present application greatly reduces the complexity of task configuration, shortens the time of task configuration, and thus realizes fast and efficient control processing of the radio frequency front end, and improves communication performance.

[0190] Based on the above embodiments, in the embodiments of the present application, based on the above Figure 4 The implementation scenario conditions of the provided task configuration are: two configuration messages Msg, Msg1 and Msg2, are received in slot N, and one Msg, Msg3, is received in slot (N+1), where Msg1, Msg2 and Msg3 are all scheduled for transmission in slot (N+1). Specifically, the slot N timeslot header Msg1 indicates that there is an uplink transmission request for symbols 4-8 of slot (N+1); Msg2 indicates that there is also an uplink transmission request for symbols 2 and 3 of slot (N+1); and Msg3 indicates that there is a transmission request for symbols 12 and 13.

[0191] Fig.12 The implementation framework diagram of the task configuration proposed in this application is as follows: Fig.12 As shown above, Figure 4According to the scenario conditions shown, according to the control method of the RF front end proposed in the embodiment of the present application, when configuring the task, slot (N+1) can be considered as the target time slot, and the following parts can be processed mainly based on the upper layer scheduling request, the task creation module, the template update module, and the task scheduling module:

[0192] (1) Receive a pre-configuration request:

[0193] a) According to the current business (including interface parameters and scenario parameters, etc.), directly obtain and / or calculate part of the configuration information (initial configuration information), and fill the initial configuration information into the corresponding work template, that is, each work template generates a corresponding initial task;

[0194] b) The parameter status in each initial task is set to disable(0);

[0195] Among them, the terminal can fill in the trigger time T of each initial task into the corresponding work template, so that when scheduling tasks subsequently, it only needs to trigger the tasks according to the sequence of trigger times corresponding to the work templates and the enable status corresponding to the work templates.

[0196] (2) Receive Msg1:

[0197] a) Add the configuration information corresponding to Task4 to the corresponding work template, and enable the enable parameter of Task4 to enable(1);

[0198] b) Add the configuration information corresponding to Task8 to the corresponding work template, and enable the enable parameter of Task8 to enable(1).

[0199] (3) Receive Msg2:

[0200] a) Check the enabled tasks Task4 and Task8 to determine if the channel opening time conflicts with Task4;

[0201] b) In the corresponding work template, change the enable parameter of Task4 to disable(0);

[0202] c) Add the configuration information corresponding to Task2 to the corresponding work template, and enable the enable parameter of Task2 to enable(1).

[0203] (4) Receive Msg3:

[0204] a) Check the scheduled tasks Task2 and Task8 to make sure there is no task conflict;

[0205] b) Add the configuration information corresponding to Task12 to the corresponding work template, and enable the enable parameter of Task12 to enable(1);

[0206] c) Add the configuration information corresponding to Task13 to the corresponding work template, and enable the enable parameter of Task13 to enable(1).

[0207] It can be seen from this that Figure 5 Compared with the prior art shown, the control method of the RF front end proposed in the present application, on the one hand, can generate initial configuration parameters according to known interface parameters and scenario parameters in loosely scheduled tasks, and realize the distribution of task configuration processing, that is, avoid centralized task configuration processing through pre-generated work templates, and no longer have the phenomenon of being very busy at peak times and very idle at other times; on the other hand, in tight-schedule tasks, more flexible task scheduling with smaller time granularity can be achieved based on pre-generated work templates.

[0208] That is to say, the control method of the RF front-end proposed in the present application is a normalized control scheme, which can reduce the complexity of SW; leave more processing time for other sub-modules other than the RF controller; at the same time, it can also provide more processing time for the HW, thereby reducing the complexity of the HW, reducing the chip size (die size), and reducing the HWclock, so as to achieve the purpose of power saving.

[0209] The embodiment of the present application provides a control method for a radio frequency front end, which determines the target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; in the target time slot, the working state of the radio frequency front end is controlled according to the working template of one or more time domain symbols. That is to say, in the embodiment of the present application, based on the pre-generated working template of one or more time domain symbols in the target time slot, after generating a new scheduling task of the target time slot, it is only necessary to update the corresponding working template according to the configuration parameters of the scheduling task to realize the addition of new tasks and the modification of scheduled tasks that conflict with the new tasks, that is, the control of the working state of the radio frequency front end can be completed through the working template, and different tasks of the target time slot can be triggered based on the order of the time domain symbols in the target time slot, and the process of sorting different tasks is omitted. It can be seen that the control method of the radio frequency front end proposed in the embodiment of the present application greatly reduces the complexity of task configuration, shortens the time of task configuration, and thus realizes fast and efficient control processing of the radio frequency front end, and improves communication performance.

[0210] Based on the above embodiment, in another embodiment of the present application, Fig.13It is a schematic diagram of the composition structure of the control device, such as Fig.13 The control device 10 proposed in the embodiment of the present application may include: a processing unit 11, a control unit 12,

[0211] The processing unit 11 is used to determine a target time slot corresponding to a scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; and the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task;

[0212] The control unit 12 is configured to control the working state of the RF front end in the target time slot according to the working template of the one or more time domain symbols.

[0213] In the embodiments of the present application, further, Fig.14 It is a schematic diagram of the terminal structure, such as Fig.14 As shown, the terminal 20 proposed in the embodiment of the present application may include a processor 21 and a memory 22 storing executable instructions of the processor 21. Further, the terminal 20 may also include a communication interface 23 and a bus 24 for connecting the processor 21, the memory 22 and the communication interface 23.

[0214] In the embodiment of the present application, the processor 21 can be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to implement the function of the processor can also be other, and the embodiment of the present application is not specifically limited. The terminal 20 can also include a memory 22, which can be connected to the processor 21, wherein the memory 22 is used to store executable program code, the program code includes computer operation instructions, and the memory 22 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least two disk memories.

[0215] In the embodiment of the present application, the bus 24 is used to connect the communication interface 23, the processor 21 and the memory 22, and the mutual communication between these devices.

[0216] In the embodiment of the present application, the memory 22 is used to store instructions and data.

[0217] Further, in an embodiment of the present application, the above-mentioned processor 21 is used to determine a target time slot corresponding to a scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; in the target time slot, the working state of the RF front end is controlled according to the working template of the one or more time domain symbols.

[0218] In practical applications, the memory 22 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 21.

[0219] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.

[0220] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0221] The embodiment of the present application provides a control device and a terminal to determine the target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; in the target time slot, the working state of the RF front end is controlled according to the working template of one or more time domain symbols. That is to say, in the embodiment of the present application, based on the pre-generated working template of one or more time domain symbols in the target time slot, after generating a new scheduling task of the target time slot, it is only necessary to update the corresponding working template according to the configuration parameters of the scheduling task to realize the addition of new tasks and the modification of scheduled tasks that conflict with the new tasks, that is, the control of the working state of the RF front end can be completed through the working template, and different tasks of the target time slot can be triggered based on the order of the time domain symbols in the target time slot, and the process of sorting different tasks is omitted. It can be seen that the control method of the RF front end proposed in the embodiment of the present application greatly reduces the complexity of task configuration, shortens the time of task configuration, and thus realizes fast and efficient control processing of the RF front end, and improves communication performance.

[0222] In a specific example, the processor 21 may be a baseband chip. The terminal 20 may also include a transceiver (RF chip), and the RF front end includes a RF control module and a RF chip in the baseband chip. The baseband chip enables the terminal 20 to implement the control method of the RF front end provided in the present application by running program instructions.

[0223] The embodiment of the present application provides a chip, which includes a processor and an interface, wherein the processor obtains program instructions through the interface, and the processor is used to run the program instructions to implement the control method of the radio frequency front end as described above. Specifically, the control method of the radio frequency front end includes the following steps:

[0224] Determine a target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template;

[0225] adjusting a working template of one or more time domain symbols in the target time slot according to the scheduling task;

[0226] In the target time slot, the working state of the radio frequency front end is controlled according to the working template of the one or more time domain symbols.

[0227] Exemplarily, the chip provided in the present application may be a baseband chip, a modem chip, or other integrated circuits with radio frequency control functions.

[0228] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0229] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0230] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0231] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0232] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A control method for a radio frequency front end, characterized in that: include: Determine a target time slot corresponding to the scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; Adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task; and controlling the working state of the RF front end in the target time slot according to the working template of the one or more time domain symbols; The step of adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task includes: If the enabling parameter of the working template of at least one time domain symbol in the target time slot is enabled, it is determined that there is a scheduled task in the target time slot, and the task corresponding to the at least one time domain symbol is determined as the scheduled task of the target time slot; if the enabling parameters of the working template of one or more time domain symbols in the target time slot are all disabled, it is determined that there is no scheduled task in the target time slot; If the scheduled task exists and the scheduled task conflicts with the received scheduled task, modify the working template of the one or more time domain symbols in the target time slot; If the scheduled task does not exist or the scheduled task does not conflict with the received scheduled task, adding the configuration parameters corresponding to the scheduled task to the working template of the time domain symbol corresponding to the scheduled task; The step of generating the work template includes: determining interface parameters and scene parameters in a time slot preceding the target time slot; The terminal performs task configuration on the time domain symbols in the target time slot based on the interface parameters and the scenario parameters, determines the initial configuration parameters of the initial task corresponding to the time domain symbols; sets the enabling parameters corresponding to the initial task to disabled, and generates the working template.

2. The method according to claim 1, characterized in that Each working template includes the enabling parameter, and the enabling parameter is used to indicate whether the RF front end is enabled in the time domain symbol corresponding to each working template; wherein the enabling parameter in each pre-configured working template is configured to be disabled.

3. The method according to claim 2, characterized in that The step of adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task includes: When the scheduled task conflicts with a scheduled task in the target time slot, updating and configuring the enabling parameter in the working template of the time domain symbol corresponding to the scheduled task to be disabled; The scheduling task is added to the working template of the time domain symbol corresponding to the scheduling task according to the configuration parameters of the scheduling task, and the enabling parameter of the working template of the time domain symbol corresponding to the scheduling task is updated and configured to be enabled.

4. The method according to claim 2, characterized in that: The step of adjusting the working template of one or more time domain symbols in the target time slot according to the scheduling task includes: When the scheduling task does not conflict with the scheduled task in the target time slot, or when there is no scheduled task in the target time slot, the scheduling task is added to the working template of the time domain symbol corresponding to the scheduling task according to the configuration parameters of the scheduling task, and the enabling parameters in the working template of the time domain symbol corresponding to the scheduling task are updated and configured to be enabled.

5. The method according to claim 3 or 4, wherein: The method further comprises: If the enabling parameter of the working template of at least one time domain symbol in the target time slot is enabled, determining the task corresponding to the at least one time domain symbol as the scheduled task of the target time slot; If the enabling parameters of the working templates of one or more time domain symbols in the target time slot are all disabled, it is determined that the scheduled task does not exist in the target time slot.

6. The method according to claim 1, wherein: In the target time slot, controlling the working state of the radio frequency front end according to the working template of the one or more time domain symbols includes: The scheduling task is triggered based on the order of one or more time domain symbols in the target time slot to control the working state of the radio frequency front end.

7. The method according to claim 1, characterized in that The target time slot is the time slot for receiving the scheduling task; or, The target time slot is the time slot after receiving the scheduling task.

8. A control device, characterized in that: The control device comprises: a processing unit and a control unit, The processing unit is used to determine a target time slot corresponding to a scheduling task; wherein one or more time domain symbols in the target time slot are respectively configured with a working template; the working template of one or more time domain symbols in the target time slot is adjusted according to the scheduling task; the working template is configured by the terminal for the time domain symbols in the target time slot based on interface parameters and scenario parameters, and the initial configuration parameters of the initial task corresponding to the time domain symbols are determined, and the enabling parameters corresponding to the initial task are set to disable generation; the interface parameters and the scenario parameters are determined in the time slot before the target time slot; The control unit is used to control the working state of the radio frequency front end according to the working template of the one or more time domain symbols in the target time slot; The processing unit is specifically used to determine that there is a scheduled task in the target time slot if the enabling parameter of the working template of at least one time domain symbol in the target time slot is enabled, and determine the task corresponding to the at least one time domain symbol as the scheduled task of the target time slot; if the enabling parameters of the working template of one or more time domain symbols in the target time slot are all disabled, determine that there is no scheduled task in the target time slot; if the scheduled task exists and the scheduled task conflicts with the received scheduled task, modify the working template of the one or more time domain symbols in the target time slot; if the scheduled task does not exist or the scheduled task does not conflict with the received scheduled task, add the configuration parameters corresponding to the scheduled task to the working template of the time domain symbol corresponding to the scheduled task.

9. A terminal, characterized in that: The terminal includes a processor and a memory storing instructions executable by the processor. When the instructions are executed by the processor, the method according to any one of claims 1 to 7 is implemented.

10. A chip, characterized in that: The chip includes a processor and an interface, the processor obtains program instructions through the interface, and the processor is used to run the program instructions to execute the method according to any one of claims 1-7.