Timing control method, device, storage medium and equipment
By dynamically adjusting the channel calculation reservation time of the RF control system, the delay and resource waste caused by fixed reservation time are solved, and more efficient timing control and signal transmission are achieved.
Patent Information
- Application Number
- CN202510276862.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-03-10
AI Technical Summary
In existing RF control systems, the fixed channel computing reservation time leads to a long control delay and low resource utilization, which is prone to problems such as signal output, jamming or crashing.
By obtaining the channel calculation reservation time set by the user and the current user operation actions, dynamically adjusting the channel calculation reservation time to ensure that the total channel calculation time meets the needs and sending the control radio frequency signal for the current cycle.
Reduce control delay, improve resource utilization, avoid signal chaos and system failures, and ensure timing control efficiency and accuracy.
Smart Images

Figure CN119781362B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless control, and particularly to a timing control method, device, storage medium and equipment. Background Art
[0002] In the field of wireless or radio frequency (RF) control technology, an RF control system is a key device for controlling controlled models such as model airplanes, unmanned aerial vehicles, and unmanned vehicles. The control accuracy of the RF control system is crucial for the safety and maneuverability of the launched model. Users or operators usually operate the controls of the RF control system (such as various buttons, joysticks, and sliders) according to the real-time state of the controlled model to control the controlled models such as model airplanes, unmanned aerial vehicles, and unmanned vehicles to perform various functions, such as taking off, landing, hovering, moving forward, moving backward, turning left, and turning right. The RF control system usually realizes each control function through control channels. Specifically, the RF control system collects user operation actions, performs channel operations according to the user operation actions to obtain control channel signals, modulates the control channel signals into control radio frequency signals and sends them to the RF receiving system. After receiving the control radio frequency signals, the RF receiving system analyzes the control radio frequency signals and outputs them to the controlled device, so that the controlled device performs corresponding actions. In order to implement signal processing steps such as the above-mentioned collection, channel operation, or radio frequency transmission, the RF control system usually configures certain system resources.
[0003] Currently, when performing timing control of the RF control system, timing control is usually performed based on the fixed channel operation reserved time configured in the RF control system. That is, a fixed channel operation time is reserved in the factory settings of the RF control system, and in any case, timing control is performed based on this fixed channel operation reserved time. However, if the above method is used for timing control, when the fixed channel operation reserved time is relatively long, it is easy to cause a long waiting time before sending the control radio frequency signal to the RF receiving system after the actual channel operation of the RF control system, resulting in a long control delay of the RF control system, low system resource utilization rate of the RF control system, and thus waste of the system resources of the RF control system. Summary of the Invention
[0004] The main object of the present invention is to provide a resource configuration method, device, storage medium and equipment, aiming to solve the problem of how to reduce the control delay of the RF control system, improve the system resource utilization rate of the RF control system, and avoid waste of the system resources of the RF control system.
[0005] To achieve the above object, the present invention provides a timing control method applied to an RF control system, including:
[0006] Obtain the reserved time for channel operation set by the user, as well as the user operation actions currently made by the user for the RF control system. Among them, the reserved time for channel operation set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user;
[0007] Based on the user operation actions, determine the total duration of channel operation required for the current cycle;
[0008] When the total duration of channel operation is greater than or equal to the reserved time for channel operation, adjust and increase the reserved time for channel operation;
[0009] When the total duration of channel operation is less than the reserved time for channel operation, send the control RF signal obtained by channel operation for the current cycle to the RF receiving system.
[0010] Further, the determining the total duration of channel operation required for the current cycle based on the user operation actions includes:
[0011] Based on the control value corresponding to the user operation action and the preset channel operation rules, determine the participation operation status of the channel operation function; based on the participation operation status of the channel operation function, determine the total duration of channel operation required for the current cycle; or,
[0012] Determine the start time point and end time point of the control RF signal obtained by channel operation for the current cycle according to the user operation actions, and based on the start time point and the end time point, determine the total duration of channel operation required for the current cycle.
[0013] Further, the determining the total duration of channel operation required for the current cycle based on the participation operation status of the channel operation function includes:
[0014] Determine the first channel operation function used in the channel operation process of the current cycle and the number of operations participated by the first channel operation function; according to the sum of the products of the operation duration of the first channel operation function and the number of operations participated, determine the total duration of channel operation required for the current cycle;
[0015] The determining the start time point and end time point of the control RF signal obtained by channel operation for the current cycle according to the user operation actions, and based on the start time point and the end time point, determine the total duration of channel operation required for the current cycle includes:
[0016] When the RF control system does not have the function of real-time recording and saving specific time points but has the function of recording time differences, determine the start time reference point and end time reference point of the control RF signal for the current cycle through channel operation according to the user operation action; determine the total duration required for channel operation in the current cycle based on the difference between the start time reference point and the end time reference point; or
[0017] When the RF control system has the function of real-time recording and saving specific time points, determine the specific start time point and specific end time point of the control RF signal for the current cycle through channel operation according to the user operation action; determine the total duration required for channel operation in the current cycle based on the difference between the specific start time point and the specific end time point.
[0018] Further, the method further includes: when the total duration of channel operation is greater than or equal to the reserved time for channel operation, keep transmitting the control RF signal of the previous cycle in case of timeout;
[0019] The adjustment of increasing the reserved time for channel operation when the total duration of channel operation is greater than or equal to the reserved time for channel operation includes:
[0020] When the total duration of channel operation is greater than or equal to the reserved time for channel operation, output an alarm message for increasing the reserved time for channel operation, or automatically extend the reserved time for channel operation.
[0021] Further, the method further includes:
[0022] When the total duration of channel operation is less than the reserved time for channel operation, calculate the percentage of the total duration of channel operation in the reserved time for channel operation and display it;
[0023] If the percentage of the total duration of channel operation in the reserved time for channel operation is greater than a preset percentage threshold, trigger a safety protection mechanism.
[0024] Further, the safety protection mechanism includes but is not limited to: outputting an alarm message for restricting and increasing user operations; or automatically extending the reserved time for channel operation based on a preset adjustment ratio; or keeping transmitting the control RF signal of the previous cycle in case of timeout.
[0025] Further, the method further includes:
[0026] Obtain the RF control system parameters set by the user, and analyze the participation operation status of the channel operation function under the user settings according to the RF control system parameters;
[0027] Determine the total duration required for channel operation of the RF control system under the user settings according to the participation operation status of the channel operation function;
[0028] Configure the channel operation reserved time of the RF control system under the user settings according to the total duration of the required channel operation.
[0029] Further, the method further includes:
[0030] Obtain the preset RF transmission time set by the user;
[0031] Based on the preset RF transmission time, trigger the start instruction of user operation action sampling and the start instruction of channel operation.
[0032] Further, the triggering of the start instruction of user operation action sampling and the start instruction of channel operation based on the preset RF transmission time includes: before the preset RF transmission time, adaptively trigger the start instruction of user operation action sampling and the start instruction of channel operation based on the configuration of the channel operation reserved time.
[0033] To achieve the above object, the present invention further provides a resource configuration device, including:
[0034] An acquisition unit, configured to acquire the channel operation reserved time set by the user, and the user operation action currently made by the user for the RF control system, wherein the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user;
[0035] A determination unit, configured to determine the total duration of the channel operation required for the current cycle based on the user operation action;
[0036] An adjustment unit, configured to adjust and increase the channel operation reserved time when the total duration of the channel operation is greater than or equal to the channel operation reserved time;
[0037] A sending unit, configured to send the control RF signal obtained by the channel operation for the current cycle to the RF receiving system when the total duration of the channel operation is less than the channel operation reserved time.
[0038] Further, the determination unit is specifically configured to determine the participation operation state of the channel operation function based on the control value corresponding to the user operation action and the preset channel operation rule; determine the total duration of the channel operation required for the current cycle based on the participation operation state of the channel operation function; or determine the start time point and the end time point of the control RF signal obtained by the channel operation for the current cycle according to the user operation action, and determine the total duration of the channel operation required for the current cycle based on the start time point and the end time point.
[0039] Further, the determining unit is specifically further configured to determine the first channel operation function used in the channel operation process of the current cycle and the number of operations participated by the first channel operation function; determine the total channel operation duration required for the current cycle according to the sum of the products of the operation duration and the number of operations participated by the first channel operation function; or, when the RF control system does not have the function of real-time recording and saving specific time points but has the function of recording time differences, determine the start time reference point and the end time reference point of the control RF signal obtained by channel operation for the current cycle according to the user operation action; determine the total channel operation duration required for the current cycle based on the difference between the start time reference point and the end time reference point; or, when the RF control system has the function of real-time recording and saving specific time points, determine the specific start time point and the specific end time point of the control RF signal obtained by channel operation for the current cycle according to the user operation action; determine the total channel operation duration required for the current cycle based on the difference between the specific start time point and the specific end time point. Further, the sending unit is further configured to, when the total channel operation duration is greater than or equal to the reserved channel operation time, keep sending the control RF signal of the previous cycle in case of timeout;
[0040] The adjustment unit is specifically configured to, when the total channel operation duration is greater than or equal to the reserved channel operation time, output an alarm message for increasing the reserved channel operation time, or automatically extend the reserved channel operation time.
[0041] Further, the device further includes: a calculation unit;
[0042] The calculation unit is configured to calculate and display the percentage of the total channel operation duration in the reserved channel operation time when the total channel operation duration is less than the reserved channel operation time.
[0043] The adjustment unit is further configured to, if the percentage of the total channel operation duration in the reserved channel operation time is greater than a preset percentage threshold, output an alarm message for restricting the increase of operation actions, or automatically extend the reserved channel operation time based on a preset adjustment ratio.
[0044] Further, the device further includes: an analysis unit and a configuration unit;
[0045] The obtaining unit is further configured to obtain the RF control system parameters set by the user;
[0046] The analysis unit is configured to analyze the participation operation status of the channel operation function under the user setting according to the RF control system parameters;
[0047] The determining unit is further configured to determine the total channel operation duration required for the RF control system under the user setting according to the participation operation status of the channel operation function under the user setting;
[0048] A configuration unit is used to configure the channel operation reserved time of the RF control system according to the total channel operation duration required by the RF control system under user settings.
[0049] To achieve the above object, the present invention provides a storage medium, on which a timing control program is stored. When the program is executed by a processor, the steps of the timing control method as described above are implemented.
[0050] To achieve the above object, the present invention provides a timing control device, which includes: a memory, a processor, and a timing control program stored on the memory and operable on the processor. When the program is executed by the processor, the steps of the timing control method as described above are implemented.
[0051] The present invention provides a timing control method, device, storage medium, and equipment. The present invention can obtain the channel operation reserved time set by the user and the user operation actions currently made by the user for the RF control system. Among them, the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user; it can determine the total channel operation duration required for the current cycle based on the user operation actions; then, when the total channel operation duration is greater than or equal to the channel operation reserved time, it can adjust and increase the channel operation reserved time; when the total channel operation duration is less than the channel operation reserved time, it can send the control radio frequency signal obtained by channel operation for the current cycle to the RF receiving system. That is, compared with the prior art that performs timing control with a fixed channel operation reserved time, the present invention can enable the user to set the channel operation reserved time, and then adjust the channel operation reserved time and send the control radio frequency signal according to the comparison result between the channel operation reserved time set by the user and the total channel operation duration of the current cycle, so as to ensure that the channel operation reserved time of the RF control system is dynamically adjusted according to the actual total channel operation duration, so that the channel operation reserved time of the RF control system meets the actual requirements, that is, it can reduce the control delay of the RF control system and increase the data update frequency, thereby avoiding waste of system resources and ensuring that the channel operation of the current cycle is completed, ensuring that the control radio frequency signal sent by the RF control system to the RF receiving system is generated in the current cycle, and ensuring that the internal logic processing of the current cycle of the RF control system is completed, thereby avoiding phenomena such as signal timing chaos, card machine, or dead machine in the RF control system, and further ensuring the timing control efficiency and accuracy of the RF control system. At the same time, it can also reduce the control delay of the RF control system and increase the data update frequency. Description of the Drawings
[0052] To more clearly illustrate the solutions in the present invention, the following will briefly introduce the drawings required for the description of the embodiments of the present invention. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. Figure 1 is a timing control schematic diagram of an RF control system in the prior art;
[0053] Figure 2 is a flowchart of a timing control method provided by an embodiment of the present invention;
[0054] Figure 3 is a schematic diagram of the channel operation process provided by an embodiment of the present invention;
[0055] Figure 4 is a flowchart of another timing control method provided by an embodiment of the present invention;
[0056] Figure 5 is a schematic structural diagram of a timing control device provided by an embodiment of the present invention;
[0057] Figure 6 is a schematic structural diagram of a timing control device provided by an embodiment of the present invention. Detailed implementation manners
[0058] The resource allocation method provided by the embodiments of the present invention is applied to a resource allocation device. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs; the terms used in the description of the present application in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the description and claims of the present invention and the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the description and claims of the present invention or the above drawings are used to distinguish different objects and are not used to describe a specific order.
[0059] In the field of emission technology, an RF control system is a key device for controlling controlled models such as model aircraft, unmanned aerial vehicles, and unmanned vehicles. The control accuracy of the RF control system is crucial for the safety and maneuverability of the controlled models. Users or operators usually operate the RF control system controls (such as various buttons, joysticks, and sliders) according to the real-time state of the model to be controlled, so as to control the model to be controlled, such as model aircraft, unmanned aerial vehicles, and unmanned vehicles, to perform various functions, such as takeoff, landing, hovering, forward, backward, left turn, right turn, etc. The RF control system usually realizes various control functions through control channels. For example, operating the right joystick left and right can control control channel 1 of the model aircraft or vehicle, realizing the roll of the model aircraft or the steering of the vehicle. Operating the left joystick left and right can control channel 2, realizing the pitch of the model aircraft or the throttle of the vehicle, or the switch mode change button, controlling control channel 3 of the model aircraft or vehicle, realizing the mode change of the model aircraft, etc. Specifically, such as Figure 1 , the process of the RF control system realizing various control functions includes: acquisition stage: acquiring the user operation actions made by the user for the RF control system controls (which can be represented by simulating control values), and converting the user operation actions into digital signals; channel operation stage: performing channel operations on the digital signals to obtain control channel signals (which can be represented by channel values); radio frequency stage: modulating the control channel signals into control radio frequency signals and sending them to the RF receiving system. After receiving the control radio frequency signals, the RF receiving system demodulates the control radio frequency signals into control channel signals, generates channel carrying signals from the control channel signals and sends them to the controlled device, so that the controlled device performs corresponding actions. In order to implement the above signal processing steps such as acquisition, channel operation, or radio frequency transmission, the RF control system usually configures certain system resources.
[0060] Currently, when performing timing control of the RF control system, the timing control is usually based on the fixed channel operation reserved time configured in the RF control system. That is, when the RF control system leaves the factory, a fixed and unchangeable channel operation time is reserved. In any case, the channel operation is carried out according to this fixed channel operation reserved time. However, if the above method is used for timing control, when a very long time is configured as the fixed channel operation reserved time in order to ensure channel operation, it is easy to cause a long waiting time before sending the control radio frequency signal to the RF receiving system after the actual channel operation of the RF control system, resulting in a long control delay of the RF control system and a low resource utilization rate of the RF control system, causing waste of the system resources of the RF control system.
[0061] In the prior art, in order to avoid waste of system resources, the average channel operation time of historical channel operations is configured as a fixed channel operation reservation time. When there are more channel operations to be performed, the fixed channel operation reservation time is shorter, which easily results in insufficient actual channel operation time of the RF control system, causing the actual channel operation to be incomplete. The RF control system then sends a control radio frequency signal to the RF receiving system, and this control radio frequency signal may be generated by the control channel signal of the previous cycle, resulting in chaotic signal output of the RF control system, or causing the internal logic of the RF control system to keep performing channel operations, leading to problems such as the RF control system getting stuck or crashing. For example Figure 1 The "①" in Figure 1 represents normal signal output, that is, after the channel operation in the current cycle (or the current operation cycle) ends or is completed, the control channel signal obtained in the current operation cycle is sent.
[0062] Such as in the appendix Figure 2 , to achieve the above objectives, an embodiment of the present invention provides a timing control method, which is applied to an RF control system and specifically applied to a timing control device deployed in the RF control system, including:
[0063] Step 101, obtain the channel operation reservation time set by the user, and the user operation action currently made by the user for the RF control system.
[0064] Among them, the channel operation reservation time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user. The RF control system parameters can be: RF control system control parameters, RF control system radio frequency parameters, antenna parameters, temperature parameters, humidity parameters, working mode parameters, etc. The radio frequency parameters can specifically be: the frequency range of the RF control system transmitting signal, the power magnitude of the output radio frequency signal, the temperature degree of the output frequency, the signal modulation method (amplitude modulation, frequency modulation, phase modulation, and various digital modulation methods), etc. The working mode can specifically be: continuous emission mode, pulse emission mode, frequency hopping mode, etc. The RF control system parameters specifically include parameters that do not affect channel operations and parameters that affect channel operations. Different values of the RF control system control parameters may correspond to different control channels and different implemented control functions. It should be noted that there are many types or categories of RF control system parameters, and the embodiments of the present invention do not limit them here.
[0065] Step 102: Determine the total channel operation duration required for the current cycle based on the user's operation actions.
[0066] For the embodiments of the present invention, under the current RF control system parameters, based on the control values corresponding to the user's operation actions and the preset channel operation rules, the participation operation status of the channel operation function can be determined; then, based on the participation operation status of the channel operation function, the total channel operation duration required for the current cycle can be determined.
[0067] Among them, the preset channel operation rule is a rule for calculating the control channel signal by the RF control system according to the RF control system parameters, each channel operation function of the RF control system, and each judgment threshold. For the user's operation actions, in the actual channel operation process, the RF control system needs to use one or more channel operation functions. That is, compare the RF control system parameters with the initial judgment threshold results, select the first channel operation function for the first-level channel operation; compare the first-level channel operation results with the first-level judgment threshold, select the second channel operation function for the second-level channel operation; compare the second-level channel operation results with the second-level judgment threshold, select the second channel operation function for the second-level channel operation; and so on, until the control channel signal is calculated and the channel operation is completed.
[0068] In the embodiments of the present invention, the participation operation status of the channel operation function can be the participation operation status of each channel operation function used by the RF control system. Among them, the channel operation function can include: reverse operation, dead zone operation, curve operation, extreme value limit operation, etc. Specifically, the participation operation status of each channel operation function used by the RF control system can include: each channel operation function used by the RF control system in the current user operation action, the operation duration of each channel operation function used by the channel operation, and the number of operations participated in.
[0069] It should be noted that for different user operation actions, the various channel operation functions used by the RF control system during the channel operation process may be different, the operation sequence of each channel operation function may be different, the parameter times of each channel operation function may be different, and ultimately the channel operation paths corresponding to different user operation actions may also be different. During the channel operation process of the RF control system for a single user operation action, which specific channel operation functions are used, how many times these channel operation functions participate in the operation, which channel operation path is passed through, and which channel operation functions are used under which channel operation path are determined based on the control value corresponding to the current user operation action and / or other parameters currently set by the RF control system, the channel operation results of the channel operation functions used at all levels, and the judgment thresholds at all levels. That is to say, the participation operation state of the channel operation function is determined according to the RF control system parameters and the various channel operation functions and various judgment thresholds in the budget channel operation rules.
[0070] The embodiments of the present invention provide Figure 3 , to assist in understanding the control, the user operation actions of the user on the control ( Figure 3 represented by the control value in), the channel operation function, the channel operation path ( Figure 3 abbreviated as path in), the control channel signal ( Figure 3 represented by the channel value in), and the relationship between the control channels. In Figure 3 , for the control value 1 of the RF control system, a first-level channel operation can be first performed through the channel operation function A, and then based on the first-level channel operation result and the first-level judgment threshold, the channel operation function B is selected for the second-level channel operation, and then based on the second-level channel operation result and the second-level judgment threshold, the channel operation function A is selected for the third-level channel operation, and then based on the third-level channel operation result and the third-level judgment threshold, the channel value is obtained, that is, the channel operation under this channel path is completed. Similarly, the control value 2 of the RF control system and the control value 3 of the RF control system can also complete the channel operation according to the preset channel operation rules in the same way to obtain the channel value.
[0071] In the embodiments of the present invention, the specific process of the step "determine the total channel operation duration required for the current cycle based on the participation operation state of the channel operation function" includes: according to the operation duration and the number of operations participated by each channel operation function used in the overall channel operation of the RF control system in the current cycle; or, determine the start time point and the end time point of the control radio frequency signal obtained by channel operation for the current cycle according to the user operation action, and based on the start time point and the end time point, determine the total channel operation duration required for the current cycle".
[0072] Step 103, when the total channel operation duration is greater than or equal to the reserved channel operation time, adjust and increase the reserved channel operation time.
[0073] In an embodiment of the present invention, the additional channel operation reserved time can be adjusted by outputting or displaying an alarm message for increasing the channel operation reserved time to the user, or by the RF control system automatically extending the channel operation reserved time. By adjusting the additional channel operation reserved time, it can be ensured that the channel operation of the current cycle is completed, ensuring that the control radio frequency signal sent by the RF control system to the RF receiving system is generated in the current cycle, and ensuring that the internal logic processing of the RF control system in the current cycle is completed, thereby avoiding phenomena such as signal timing chaos, card machine or crash of the RF control system, and further ensuring the timing control efficiency and accuracy of the RF control system. In addition, in order to prevent the RF control system from getting stuck or being in a state of continuously performing channel operations, when the total channel operation duration is greater than or equal to the channel operation reserved time, the timing control method further includes: sending the control radio frequency signal of the current cycle obtained by the channel operation to the RF receiving system.
[0074] Step 104: When the total channel operation duration is less than the channel operation reserved time, send the control radio frequency signal of the current cycle obtained by the channel operation to the RF receiving system.
[0075] In an embodiment of the present invention, when the total channel operation duration is less than the channel operation reserved time, after waiting for the channel operation reserved time to elapse, the control radio frequency signal of the current cycle obtained by the channel operation is sent to the RF receiving system, or the control radio frequency signal of the current cycle obtained by the channel operation can also be directly sent to the RF receiving system.
[0076] A timing control method provided by an embodiment of the present invention can obtain the channel operation reserved time set by the user and the user operation actions currently made by the user for the RF control system. Among them, the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user. It can determine the total channel operation duration required for the current cycle based on the user operation actions. Then, when the total channel operation duration is greater than or equal to the channel operation reserved time, it can adjust and increase the channel operation reserved time. When the total channel operation duration is less than the channel operation reserved time, it can send the control RF signal obtained by channel operation for the current cycle to the RF receiving system. That is, compared with the prior art that performs timing control with a fixed channel operation reserved time, the present invention can enable the user to set the channel operation reserved time, and then adjust the channel operation reserved time and send the control RF signal according to the comparison result between the channel operation reserved time set by the user and the total channel operation duration of the current cycle, so as to ensure that the channel operation reserved time of the RF control system is dynamically adjusted according to the actual total channel operation duration, making the channel operation reserved time of the RF control system meet the actual requirements, that is, it can reduce the control delay of the RF control system and improve the data update frequency, thereby avoiding waste of system resources and ensuring the completion of the channel operation in the current cycle, ensuring that the control RF signal sent by the RF control system to the RF receiving system is generated in the current cycle, and ensuring that the internal logic processing of the RF control system in the current cycle is completed, so as to avoid phenomena such as signal timing chaos, freezing, or crashing of the RF control system, and further ensure the timing control efficiency and accuracy of the RF control system.
[0077] As shown in the appendix Figure 4 , to achieve the above invention objectives, an embodiment of the present invention provides another timing control method, which is applied to the RF control system and specifically applied to the timing control device deployed in the RF control system, including:
[0078] Step 201, obtain the RF control system parameters set by the user, and analyze the participation operation status of the channel operation function under the user settings according to the RF control system parameters.
[0079] Among them, under the RF control system parameters set by the user, different RF control system control values can be corresponded, and different user operation actions can also be simulated. Among them, the channel operations of different user operation actions can be regarded as a whole or as corresponding to a separate channel operation path. Therefore, the participation operation status of each channel operation function used by the RF control system can include: each channel operation function used in the overall channel operation of the RF control system, the operation duration of each channel operation function used in the overall channel operation, and the number of operations participated; or, the participation operation status of each channel operation function used by the RF control system can include: each channel operation path involved in the RF control system, each channel operation function used respectively under each channel operation path, the operation duration of each channel operation function used respectively under each channel operation path, and the number of operations participated.
[0080] In a specific embodiment of the present disclosure, when the participation operation status of the channel operation function includes: the second channel operation function used in the overall channel operation and the number of operations participated by the second channel operation function, step 201 may specifically include: analyzing, according to the RF control system parameters, the second channel operation function used in the overall channel operation of the RF control system under the user setting, and the number of operations participated by the second channel operation function. More specifically, the second channel operation function and the number of operations participated by the second channel operation function can be determined according to the RF control system parameters and each channel operation function and each judgment threshold in the preset channel operation rules.
[0081] In another specific embodiment of the present disclosure, when the participation operation status of the channel operation function includes: each channel operation path of the transmitter and the third channel operation function used respectively under each channel operation path, step 201 may specifically include: analyzing, according to the RF control system parameters, each channel operation path corresponding to the transmitter under the user setting, and the third channel operation function used respectively under each channel operation path. More specifically, each channel operation path and the third channel operation function used respectively under each channel operation path can be determined according to the RF control system parameters and each channel operation function and each judgment threshold in the budget channel operation rules.
[0082] It should be noted that under a user setting, there may be multiple RF control system parameters / (input values) to be channel-operated, and multiple control radio frequency signals or channel values (output values) are obtained. The operation path from one or a group of input value channels to obtain one output value is denoted as or regarded as a channel operation path; while the complete process of obtaining all output values from all RF control system parameters is denoted as the overall channel operation. Therefore, the overall channel operation can be denoted as including multiple channel operation paths, and the participation operation states of the channel operation functions used in each channel operation path will be different from those of the channel operation functions used in the overall channel operation.
[0083] For example, under a user setting, from the perspective of the overall channel operation, channel operation functions A, B, C, and C are used; the number of participation operations xA, xB, xC, and xD corresponding to channel operation functions A, B, C, and C can be 10 times, 20 times, 20 times, or 30 times respectively. From the perspective of the channel operation path, channel operation path 1 may use channel operation functions A, B, and C; channel operation path 1 may only use channel operation functions A, B, and D.
[0084] In the embodiments of the present invention, the RF control system parameters set by the user are different. According to the budget channel operation rules, the channel operation process of the RF control system is different, the participation operation states of the channel operation functions corresponding to the RF control system are also different, and the total channel operation duration corresponding to the RF control system is also different. Since the preset channel operation rules for the RF control system are relatively complex, only examples and schematic descriptions are given here, and no enumeration and specific limitations are made.
[0085] Step 202: Determine the total channel operation duration required for the RF control system under the user setting according to the participation operation state of the channel operation function under the user setting.
[0086] In the embodiments of the present invention, step 202 may specifically include "determine the total channel operation duration required for the RF control system under the user setting according to each channel operation function used in the overall channel operation of the RF control system under the user setting, the operation duration of each channel operation function used in the overall channel operation, and the number of participation operations; or, according to each channel operation path involved in the RF control system under the user setting, each channel operation function used respectively under each channel operation path, the operation duration of each channel operation function used respectively under each channel operation path, and the number of participation operations".
[0087] For example, under user setting 1, the corresponding parameter values of the RF control system parameters are: RF control system parameters 1 - 100. According to the RF control system parameter values 1 - 100 and the preset channel operation rules, it is analyzed that channel operation functions A, B, and C are used in the overall channel operation process of the RF control system. And according to the number of participation operations and operation durations of channel operation functions A, B, and C respectively under the overall channel operation, the total channel operation duration of the RF control system under user setting 1 is determined.
[0088] For another example, under user setting 2, the RF control system parameters include: RF control system parameters 1 - 100. According to the RF control system parameters 1 - 100 and the preset channel operation rules, it is analyzed that channel operation functions A, C, and D are used in the overall channel operation process of the RF control system. Then, according to the participation operation status of channel operation functions A, C, and D, the total channel operation duration of the RF control system under user setting 2 is determined.
[0089] In a specific embodiment of the present disclosure, when the participation operation status of the channel operation function includes: the second channel operation function used by the RF control system in the overall channel operation and the number of operations participated by the second channel operation function, step 202 may specifically include: obtaining the operation duration of the second channel operation function; determining the total channel operation duration required under the user setting according to the operation duration of the second channel operation function and the number of operations participated.
[0090] More specifically, the sum of the products of the operation duration of the second channel operation function and the number of operations can be determined as the total channel operation duration required under the user setting. For example, the third channel operation function includes: channel operation functions 1, 2, 3, and 4, and the corresponding number of participation operations are: x1, x2, x3, x4, and the corresponding operation durations are: t1, t2, t3, and t4 respectively. Then, the total channel operation duration T required under the user setting is determined as T = t1 * x1 + t2 * x2 + t3 * x3 + t4 * x4.
[0091] In another specific embodiment of the present disclosure, when the participation operation status of the channel operation function includes: each channel operation path of the RF control system and the third channel operation function used under each channel operation path respectively, step 202 may specifically include: obtaining the operation duration of the third channel operation function; determining the total channel operation duration corresponding to each channel operation path under each channel operation path respectively according to the operation duration of the third channel operation function; determining the total channel operation duration required by the RF control system under the user setting according to the longest total channel operation duration.
[0092] More specifically, the total duration of each channel operation path corresponding to each channel operation path can be determined respectively according to the sum of the operation durations of each channel operation function in the third channel operation function; or the total duration of each channel operation path corresponding to each channel operation path can be determined respectively according to the sum of the products of the operation durations and the number of operations participated in by each channel operation function in the third channel operation function. For example, the existing channel operation paths are: channel operation path 1, channel operation path 2, channel operation path i,..., channel operation path N. The third channel operation functions used on channel operation path i include: channel operation function 2, channel operation function 2, channel operation function 3, channel operation function 4, and channel operation function 4, channel operation function 2, channel operation function 3, channel operation function 4. The corresponding operation durations are: t2, t3, t4. The number of operations participated in by channel operation function 2, channel operation function 3, and channel operation function 4 are: x2 = 2, x3 = 1, x4 = 2 respectively. Then the total channel duration Ti of channel operation path i is Ti = t2 + t3 + t4 + t4 + t2; or Ti = t2 * x2 + t3 * x3 + t4 * x4. The total channel operation duration T required by the RF control system under user settings is T = max(T1...Ti...TN).
[0093] Step 203: Configure the channel operation reserved time of the RF control system under user settings according to the total channel operation duration required by the RF control system under user settings.
[0094] In a specific embodiment of the present disclosure, step 203 may specifically include: configuring the required channel operation duration as the channel operation reserved time of the RF control system under user settings; or, obtaining the preset channel operation duration set by the user; when the preset channel operation duration is less than the required channel operation duration, outputting an alarm message to increase the preset channel operation duration; or configuring the required channel operation duration as the channel operation reserved time of the RF control system under user settings; when the preset channel operation duration is greater than or equal to the required channel operation duration, configuring the preset channel operation duration as the channel operation reserved time of the RF control system under user settings.
[0095] In an embodiment of the present invention, the specific process of configuring the required channel operation duration as the channel operation reserved time set by the user in the RF control system may be as follows: Display the required channel operation duration on the setting interface, so that the user can input and set the preset channel operation duration on the setting interface according to the required channel operation duration, so as to configure it as the channel operation reserved time set by the user in the RF control system. In addition, when the preset channel operation duration is less than the required channel operation duration, by outputting an alarm message to increase the preset channel operation duration, the user can be made to re-enter or increase the preset channel operation duration, so as to ensure the rationality and safety of the configured channel operation reserved time.
[0096] For the embodiment of the present invention, by configuring the channel operation reserved time of the RF control system according to the total channel operation duration required by the user setting in the RF control system, it is possible to achieve different user settings, calculate different total required channel operation durations, and configure different channel operation reserved times. That is, it realizes that the channel operation reserved time changes with the user setting and the actual total required channel operation duration, so that the channel operation reserved time can adaptively change. When the total required channel operation duration is long, a longer channel operation reserved time can be configured, and when the total required channel operation duration is short, a shorter channel operation reserved time can be configured. Thus, it is possible to reduce the control delay of the RF control system, avoid waste of system resources of the RF control system, and at the same time avoid phenomena such as the RF control system getting stuck or crashing.
[0097] Step 204: Obtain the user operation action currently made by the user for the RF control system.
[0098] Among them, the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user.
[0099] Step 205: Based on the user operation action, determine the total channel operation duration required for the current cycle.
[0100] In a specific embodiment of the present disclosure, step 205 "Based on the user operation action, determine the total channel operation duration required for the current cycle" may specifically include: Based on the control value corresponding to the user operation action and the preset channel operation rule, determine the first channel operation function used in the channel operation process of the current cycle and the number of operations participated by the first channel operation function; According to the operation duration of the first channel operation function and the number of operations participated, determine the total channel operation duration required for the current cycle.
[0101] In another specific embodiment of the present disclosure, step 205 may further specifically include: determining, according to the user operation action, the start time point and the end time point of the control radio frequency signal for the current cycle obtained through channel operation, and determining the total duration required for channel operation in the current cycle. More specifically, step 205 may further include: when the RF control system does not have the function of real-time recording and saving specific time points but has the function of recording time differences, determining, according to the user operation action, the start time reference point and the end time reference point of the control radio frequency signal for the current cycle obtained through channel operation; based on the difference between the start time reference point and the end time reference point, determining the total duration required for channel operation in the current cycle; or when the RF control system has the function of real-time recording and saving specific time points, determining, according to the user operation action, the specific start time point and the specific end time point of the control radio frequency signal for the current cycle obtained through channel operation; based on the difference between the specific start time point and the specific end time point, determining the total duration required for channel operation in the current cycle.
[0102] Step 206: When the total duration of channel operation is greater than or equal to the reserved time for channel operation, adjust and increase the reserved time for channel operation.
[0103] In a specific embodiment of the present disclosure, step 206 "When the total duration of channel operation is greater than or equal to the reserved time for channel operation, adjust and increase the reserved time for channel operation" may specifically include: when the total duration of channel operation is greater than or equal to the reserved time for channel operation, output an alarm message for increasing the reserved time for channel operation, or automatically extend the reserved time for channel operation, or keep transmitting the control radio frequency signal of the previous cycle in case of timeout.
[0104] Step 207: When the total duration of channel operation is less than the reserved time for channel operation, send the control radio frequency signal obtained through channel operation in the current cycle to the RF receiving system.
[0105] In an alternative embodiment of the present disclosure, the timing control method further includes: when the total duration of channel operation is less than the reserved time for channel operation, calculate the percentage of the total duration of channel operation in the reserved time for channel operation and display it; if the percentage of the total duration of channel operation in the reserved time for channel operation is greater than a preset percentage threshold, trigger a safety protection mechanism. The safety protection mechanism includes but is not limited to: outputting an alarm message for restricting and increasing user operations; or automatically extending the reserved time for channel operation based on a preset adjustment ratio; or keeping transmitting the control radio frequency signal of the previous cycle in case of timeout.
[0106] For example, the preset percentage threshold can be 90% or 95%. The embodiments of the present invention do not limit this here. That is, when the total operation duration of the channel in actual use accounts for 90% or 95% of the reserved operation duration of the channel, the user is reminded to add the reserved operation duration of the channel or reduce the user operation action, or control the control radio frequency signal in the previous cycle. The preset adjustment ratio can be 10% or 20%. The embodiments of the present invention do not limit this here. That is, if 90% or 95% of the reserved channel operation time has been used, the RF control system can automatically delay by 10% or 20%. If the reserved channel operation time is 100 ms, it can be automatically extended by 10 ms or 20 ms.
[0107] In another alternative embodiment of the present disclosure, the timing control method further includes: obtaining a preset radio frequency transmission time set by the user; triggering a start instruction for sampling the user operation action and a start instruction for channel operation based on the preset radio frequency transmission time. Specifically, the start instruction for sampling the user operation action and the start instruction for channel operation can be triggered at the preset radio frequency transmission time. By providing a new timing control method, the embodiments of the present invention can start sampling and channel operation based on the preset radio frequency transmission time set by the user. That is, by determining the radio frequency transmission time in a manner that can be set by the user and indicating the start of sampling and channel operation, the coordination of each module or each processing link of the RF control system can be ensured.
[0108] In another specific embodiment of the present disclosure, the step of "triggering a start instruction for sampling the user operation action and a start instruction for channel operation based on the preset radio frequency transmission time" may specifically further include: before the preset radio frequency transmission time, adaptively triggering the start instruction for sampling the user operation action and the start instruction for channel operation based on the configuration of the reserved channel operation time. Through the embodiments of the present invention, the reserved channel operation time can be shortened. Therefore, in the timing control method based on the radio frequency transmission time, the sampling or channel operation frequency that can be performed will increase, and thus the data update frequency can be increased.
[0109] The timing control method of the prior art is as follows: The sampling module first performs sampling according to the sampling period (1.3 s), then the channel operation module performs channel operations according to the channel operation period (1.3 s), and finally the RF module performs RF processing according to the RF period (1.4 s). Sampling, channel operations, and RF are independent of each other. The sampling value (control value) is stored in the RF control system, and a newly sampled control value will replace the historical control value. The RF processing value (channel value) is stored in the RF control system, and a new channel value will replace the historical channel value; this results in relatively poor system coordination of the RF control system. Compared with the prior art, the embodiment of the present invention can, by providing a new timing control method, use the preset RF transmission time set by the user as a reference to indicate the start of sampling and channel operations, that is, determine the RF transmission time through the user-set method and indicate the start of sampling and channel operations, which can ensure the coordination of each module or each processing link of the RF control system.
[0110] Another resource allocation method provided by the embodiment of the present invention can obtain the reserved time for channel operations set by the user and the user operation actions currently made by the user for the RF control system. Among them, the reserved time for channel operations set by the user is input by the user through the RF control system setting interface or configured by the RF control system based on the RF control system parameters set by the user; it can determine the total duration of channel operations required for the current period based on the user operation actions; then, when the total duration of channel operations is greater than or equal to the reserved time for channel operations, it can adjust and increase the reserved time for channel operations; when the total duration of channel operations is less than the reserved time for channel operations, it can send the control RF signal obtained by channel operations for the current period to the RF receiving system. That is, compared with the prior art that performs timing control with a fixed reserved time for channel operations, the present invention can enable the user to set the reserved time for channel operations, and then adjust the reserved time for channel operations and send the control RF signal according to the comparison result between the reserved time for channel operations set by the user and the total duration of channel operations for the current period, so as to ensure that the reserved time for channel operations of the RF control system is dynamically adjusted according to the actual total duration of channel operations, making the reserved time for channel operations of the RF control system meet the actual requirements, that is, it can reduce the control delay of the RF control system and increase the data update frequency, thereby avoiding system resource waste and ensuring the completion of channel operations for the current period, ensuring that the control RF signal sent by the RF control system to the RF receiving system is generated in the current period, and ensuring the completion of the internal logic processing of the RF control system for the current period, so as to avoid phenomena such as signal timing chaos, freezing, or crashing of the RF control system, and thus ensure the timing control efficiency and accuracy of the RF control system. At the same time, it can also reduce the control delay of the RF control system and increase the data update frequency.
[0111] As attachedFigure 5 , to achieve the above object, an embodiment of the present invention provides a timing control device deployed in an RF control system, including:
[0112] An acquisition unit 31, which can be used to acquire the channel operation reserved time set by the user and the user operation actions currently made by the user for the RF control system. Among them, the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user.
[0113] A determination unit 32, which can be used to determine the total channel operation duration required for the current cycle based on the user operation actions.
[0114] An adjustment unit 33, which can be used to adjust and increase the channel operation reserved time when the total channel operation duration is greater than or equal to the channel operation reserved time.
[0115] A sending unit 34, which can be used to send the control RF signal obtained by channel operation for the current cycle to the RF receiving system when the total channel operation duration is less than the channel operation reserved time.
[0116] In a specific embodiment of the present disclosure, the determination unit 32 can specifically determine the participation operation status of the channel operation function based on the control value corresponding to the user operation action and the preset channel operation rule; determine the total channel operation duration required for the current cycle based on the participation operation status of the channel operation function; or determine the start time point and end time point of the control RF signal obtained by channel operation for the current cycle according to the user operation action, and determine the total channel operation duration required for the current cycle based on the start time point and the end time point.
[0117] In another specific embodiment of the present disclosure, the determining unit 32 may specifically be further configured to determine the first channel operation function used in the channel operation process of the current cycle and the number of operations participated by the first channel operation function; determine the total channel operation duration required for the current cycle according to the sum of the products of the operation duration of the first channel operation function and the number of operations participated; or, when the RF control system does not have the function of recording and saving specific time points in real time but has the function of recording time differences, determine, according to the user operation action, the start time reference point and the end time reference point of the control RF signal obtained by channel operation in the current cycle; determine the total channel operation duration required for the current cycle based on the difference between the start time reference point and the end time reference point; or, when the RF control system has the function of recording and saving specific time points in real time, determine, according to the user operation action, the specific start time point and the specific end time point of the control RF signal obtained by channel operation in the current cycle; determine the total channel operation duration required for the current cycle based on the difference between the specific start time point and the specific end time point.
[0118] In yet another specific embodiment of the present disclosure, the sending unit 34 is further configured to, when the total channel operation duration is greater than or equal to the reserved channel operation time, keep sending the control RF signal of the previous cycle in an overtime manner.
[0119] The adjusting unit 33 may specifically be configured to, when the total channel operation duration is greater than or equal to the reserved channel operation time, output an alarm message for increasing the reserved channel operation time, or automatically extend the reserved channel operation time.
[0120] In an alternative embodiment of the present disclosure, the timing control device further includes: a calculating unit.
[0121] The calculating unit may be configured to, when the total channel operation duration is less than the reserved channel operation time, calculate the percentage of the total channel operation duration in the reserved channel operation time and display it.
[0122] The adjusting unit 33 may further be configured to, if the percentage of the total channel operation duration in the reserved channel operation time is greater than a preset percentage threshold, output an alarm message for restricting the increasing operation action, or automatically extend the reserved channel operation time based on a preset adjustment ratio.
[0123] In an alternative embodiment of the present disclosure, the timing control device further includes: an analyzing unit and a configuring unit.
[0124] The obtaining unit 31 is further configured to obtain the RF control system parameters set by the user.
[0125] The analyzing unit is configured to analyze the participation operation status of the channel operation function under the user setting according to the RF control system parameters.
[0126] The determination unit 32 is further configured to determine the total channel operation duration required for the RF control system under the user settings according to the participation operation status of the channel operation function under the user settings.
[0127] The configuration unit is configured to configure the channel operation reserved time of the RF control system under the user settings according to the total channel operation duration required for the RF control system under the user settings.
[0128] In a specific embodiment of the present disclosure, the analysis unit may specifically be configured to, when the participation operation status of the channel operation function includes: the second channel operation function used by the RF control system in the overall channel operation and the number of operations participated in by the second channel operation function, analyze the second channel operation function used by the RF control system in the overall channel operation under the user settings and the number of operations participated in by the second channel operation function according to the RF control system parameters.
[0129] Correspondingly, the determination unit 32 may specifically be configured to obtain the operation duration of the second channel operation function; determine the total channel operation duration required under the user settings according to the operation duration and the number of operations participated in by the third channel operation function.
[0130] In another specific embodiment of the present disclosure, the analysis unit may specifically further be configured to, when the participation operation status of the channel operation function includes: each channel operation path of the RF control system and the third channel operation function used respectively under each channel operation path, analyze each channel operation path corresponding to the RF control system under the user settings and the third channel operation function used respectively under each channel operation path according to the RF control system parameters.
[0131] Correspondingly, the determination unit 32 may specifically be configured to obtain the operation duration of the third channel operation function; determine the total duration of each corresponding channel operation path under each channel operation path respectively according to the operation duration of the third channel operation function; determine the total channel operation duration required for the RF control system under the user settings according to the longest total channel operation path duration.
[0132] In yet another specific embodiment of the present disclosure, the configuration unit may specifically be configured to configure the required channel operation duration as the channel operation reserved time of the RF control system under the user settings; or; obtain the preset channel operation duration set by the user; output an alarm message for increasing the preset channel operation duration when the preset channel operation duration is less than the required channel operation duration; or configure the required channel operation duration as the channel operation reserved time of the RF control system under the user settings; when the preset channel operation duration is greater than or equal to the required channel operation duration, configure the preset channel operation duration as the channel operation reserved time of the RF control system under the user settings.
[0133] In an alternative embodiment of the present disclosure, the resource allocation device may further include: a trigger unit.
[0134] The acquisition unit 31 may also be used to acquire a preset RF transmission time set by the user.
[0135] The trigger unit is used to trigger the start instruction for sampling the user operation action and the start instruction for channel operation based on the preset RF transmission time.
[0136] A timing control device provided by an embodiment of the present invention. The embodiment of the present invention can acquire the channel operation reserved time set by the user and the user operation action currently made for the RF control system. Among them, the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user; it can determine the total duration of channel operation required for the current cycle based on the user operation action; then when the total duration of channel operation is greater than or equal to the channel operation reserved time, it can adjust and increase the channel operation reserved time; when the total duration of channel operation is less than the channel operation reserved time, it can send the control RF signal obtained by channel operation for the current cycle to the RF receiving system. That is, compared with the prior art that performs timing control with a fixed channel operation reserved time, the present invention can implement the user to set the channel operation reserved time, and then adjust the channel operation reserved time and send the control RF signal according to the comparison result between the channel operation reserved time set by the user and the total duration of channel operation for the current cycle, so as to ensure that the channel operation reserved time of the RF control system is dynamically adjusted according to the actual total duration of channel operation, so that the channel operation reserved time of the RF control system meets the actual requirements, that is, it can reduce the control delay of the RF control system and increase the data update frequency, thereby avoiding waste of system resources, and ensuring that the channel operation for the current cycle is completed, ensuring that the control RF signal sent by the RF control system to the RF receiving system is generated in the current cycle, and ensuring that the internal logic processing of the RF control system for the current cycle is completed, thereby avoiding phenomena such as signal timing chaos, freezing or crashing of the RF control system, and thus ensuring the timing control efficiency and accuracy of the RF control system. At the same time, it can also reduce the control delay of the RF control system and increase the data update frequency.
[0137] To achieve the above object, the present invention provides a storage medium, on which a timing control program is stored. When the program is executed by a processor, the steps of the timing control method as described above are implemented.
[0138] To achieve the above object, the present invention provides a timing control device, which includes: a memory, a processor, and a timing control program stored on the memory and executable on the processor. When the program is executed by the processor, the steps of the timing control method as described above are implemented.
[0139] The timing control method of the embodiments of the present invention can be implemented in the form of hardware, or in the form of software instructions, or in a combination of hardware and software modules. Specifically, each step of the timing control method of the embodiments of the present invention can be completed by the integrated logic circuit in the hardware of the processor and / or software instructions. Combining the steps of the timing control method of the embodiments of the present invention can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by the combination of the hardware and software modules in the decoding processor. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps in the embodiments of the above timing control method.
[0140] Figure 6 It is a schematic block diagram of a timing control device 400 according to an embodiment provided by the present invention.
[0141] As Figure 6 shown, the timing control device 400 may include:
[0142] A memory 410 and a processor 420. The memory 410 is used to store a computer program and transmit the program code to the processor 420. In other words, the processor 420 can call and run the computer program from the memory 410 to implement the method in the embodiments of the present invention.
[0143] For example, the processor 420 can be used to execute the above method embodiments according to the instructions in the computer program.
[0144] In some embodiments of the present invention, the processor 420 may include, but is not limited to:
[0145] A general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and so on.
[0146] In some embodiments of the present invention, the memory 410 includes, but is not limited to:
[0147] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be a Read-Only Memory (ROM), Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory. The volatile memory can be a Random Access Memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double DataRate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synch link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
[0148] In some embodiments of the present invention, the computer program can be divided into one or more modules, and the one or more modules are stored in the memory 410 and executed by the processor 420 to complete the method provided by the present invention. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the controller.
[0149] As Figure 6 shown, the timing control device 400 may further include:
[0150] A transceiver 430, and the transceiver 430 can be connected to the processor 420 or the memory 410.
[0151] Among them, the processor 420 can control the transceiver 430 to communicate with other devices. Specifically, it can send data or data to other devices, or receive data or data sent by other devices. The transceiver 430 can include an RF control system and an RF receiving system. The transceiver 430 may further include an antenna, and the number of antennas can be one or more.
[0152] It should be understood that each component in the timing control device is connected through a bus system. Among them, in addition to the data bus, the bus system also includes a power bus, a control bus, and a status signal bus.
[0153] The present invention provides a timing control method, device, storage medium, and device. Embodiments of the present invention can obtain the channel operation reserved time set by the user and the user operation actions currently made by the user for the RF control system. Among them, the channel operation reserved time set by the user is input by the user through the RF control system setting interface, or the RF control system configures it based on the RF control system parameters set by the user; it can determine the total channel operation duration required for the current cycle based on the user operation actions; then, when the total channel operation duration is greater than or equal to the channel operation reserved time, it can adjust and increase the channel operation reserved time; when the total channel operation duration is less than the channel operation reserved time, it can send the control radio frequency signal obtained by the channel operation for the current cycle to the RF receiving system. That is, compared with the prior art that performs timing control through a fixed channel operation reserved time, the present invention can implement the user to set the channel operation reserved time, and then adjust the channel operation reserved time and send the control radio frequency signal according to the comparison result between the channel operation reserved time set by the user and the total channel operation duration of the current cycle, so as to ensure that the channel operation reserved time of the RF control system is dynamically adjusted according to the actual total channel operation duration, so that the channel operation reserved time of the RF control system meets the actual requirements, that is, it can reduce the control delay of the RF control system and increase the data update frequency, thereby avoiding waste of system resources and ensuring that the channel operation of the current cycle is completed, ensuring that the control radio frequency signal sent by the RF control system to the RF receiving system is generated in the current cycle, and ensuring that the internal logic processing of the current cycle of the RF control system is completed, thereby avoiding phenomena such as signal timing chaos, freezing, or crashing of the RF control system, and then ensuring the timing control efficiency and accuracy of the RF control system. At the same time, it can also reduce the control delay of the RF control system and increase the data update frequency.
[0154] Referring to "embodiments" herein means that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0155] In order to enable those skilled in the art of the present technology to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
Claims
1. A timing control method, characterized in that, Applied to an RF control system, including: Obtain the channel operation reserved time set by the user and the user operation actions currently made by the user for the RF control system. Among them, the channel operation reserved time set by the user is: input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user; Based on the user operation actions, determine the total channel operation duration required for the current cycle; When the total channel operation duration is greater than or equal to the channel operation reserved time, adjust and increase the channel operation reserved time so that the channel operation reserved time of the RF control system meets the actual requirements, ensuring that the control RF signal sent by the RF control system to the RF receiving system is generated in the current cycle; When the total channel operation duration is less than the channel operation reserved time, send the control RF signal obtained by channel operation for the current cycle to the RF receiving system.
2. The method according to claim 1, wherein The determining the total channel operation duration required for the current cycle based on the user operation actions includes: Based on the control value corresponding to the user operation action and the preset channel operation rules, determine the participation operation status of the channel operation function; based on the participation operation status of the channel operation function, determine the total channel operation duration required for the current cycle; or, Determine the start time point and end time point at which the control RF signal for the current cycle is obtained by channel operation according to the user operation action, and based on the start time point and the end time point, determine the total channel operation duration required for the current cycle.
3. The method according to claim 2, wherein The determining the total channel operation duration required for the current cycle based on the participation operation status of the channel operation function includes: Determine the first channel operation function used in the channel operation process of the current cycle and the number of operations participated by the first channel operation function; according to the sum of the products of the operation duration of the first channel operation function and the number of operations participated, determine the total channel operation duration required for the current cycle; The determining the start time point and end time point at which the control RF signal for the current cycle is obtained by channel operation according to the user operation action, and based on the start time point and the end time point, determine the total channel operation duration required for the current cycle includes: When the RF control system does not have the function of real-time recording and saving specific time points but has the function of recording time differences, determine the start time reference point and end time reference point of the control RF signal for the current cycle obtained by channel operation according to the user operation action; based on the difference between the start time reference point and the end time reference point, determine the total channel operation duration required for the current cycle; or When the RF control system has the function of real-time recording and saving specific time points, determine the specific start time point and specific end time point of the control RF signal for the current cycle obtained by channel operation according to the user operation action; based on the difference between the specific start time point and the specific end time point, determine the total channel operation duration required for the current cycle.
4. The method according to claim 1, characterized in that, The method further includes: When the total channel operation duration is greater than or equal to the reserved channel operation time, keep sending the control RF signal of the previous cycle in case of timeout. When the total channel operation duration is greater than or equal to the reserved channel operation time, adjusting and increasing the reserved channel operation time includes: When the total channel operation duration is greater than or equal to the reserved channel operation time, output an alarm message for increasing the reserved channel operation time, or automatically extend the reserved channel operation time.
5. The method according to claim 1, wherein The method further includes: When the total channel operation duration is less than the reserved channel operation time, calculate the percentage of the total channel operation duration in the reserved channel operation time and display it. If the percentage of the total channel operation duration in the reserved channel operation time is greater than a preset percentage threshold, trigger a safety protection mechanism, where the safety protection mechanism includes: output an alarm message for restricting increased user operations; or automatically extend the reserved channel operation time based on a preset adjustment ratio; or keep sending the control RF signal of the previous cycle in case of timeout.
6. The method according to claim 1, characterized in that, The method further includes: Obtain the RF control system parameters set by the user, and based on the RF control system parameters, analyze the participation operation status of the channel operation function under the user settings. Based on the participation operation status of the channel operation function, determine the total channel operation duration required by the RF control system under the user settings. Based on the required total channel operation duration, configure the reserved channel operation time of the RF control system under the user settings.
7. The method according to claim 1, wherein The method further includes: Obtain the preset RF transmission time set by the user. Based on the preset RF transmission time, trigger the start instruction for user operation action sampling and the start instruction for channel operation.
8. A timing control device, characterized in that, It includes: An acquisition unit, configured to acquire the reserved channel operation time set by the user and the user operation actions currently made by the user on the RF control system, where the reserved channel operation time set by the user is input by the user through the RF control system setting interface, or configured by the RF control system based on the RF control system parameters set by the user. A determination unit, configured to determine the total channel operation duration required for the current cycle based on the user operation actions. An adjustment unit, configured to adjust and increase the reserved channel operation time when the total channel operation duration is greater than or equal to the reserved channel operation time, so that the reserved channel operation time of the RF control system meets the actual requirements and ensure that the control RF signal sent by the RF control system to the RF receiving system is generated in the current cycle. A sending unit, configured to send the control RF signal of the current cycle obtained by channel operation to the RF receiving system when the total channel operation duration is less than the reserved channel operation time.
9. A storage medium, characterized in that, A timing control program is stored on the storage medium, and when the program is executed by a processor, it implements the timing control method according to any one of claims 1 - 7.
10. A timing control device, characterized in that, The timing control device includes: a memory, a processor, and a timing control program stored on the memory and running on the processor, and when the program is executed by the processor, it implements the timing control method according to any one of claims 1 - 7.
Citation Information
Patent Citations
Time difference measurement-based antenna switching type radio frequency positioning method
CN102892140A
Method, device and equipment for adjusting time slice of protocol stack process
CN118138668A