Data transmission control method, control system and electronic device
By precisely controlling the maximum allowable continuous time and duty cycle of data transmission through hardware-level counters and computing modules, the overheating problem of miniaturized electronic devices is solved, and precise control of average power consumption and heat dissipation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHUHAI HUGE IC CO LTD
- Filing Date
- 2026-06-01
- Publication Date
- 2026-07-31
AI Technical Summary
Existing technologies cannot precisely control the data transmission duty cycle of electronic devices, leading to overheating, especially in miniaturized devices where heat dissipation is insufficient, affecting device and user safety.
By configuring counters and calculation modules at the hardware level, the maximum allowed continuous data transmission time and duty cycle are precisely controlled, including the cumulative count of transmitted time and pause time. The transmission time is calculated in combination with the communication protocol requirements, and precise data transmission control is achieved at the hardware level.
It achieves precise control over the maximum allowable continuous time and duty cycle of data transmission without improving the manufacturing process, keeping the chip temperature within a reasonable range, reducing average power consumption, and meeting heat dissipation requirements.
Smart Images

Figure CN122496532A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of data interaction control technology, specifically relating to control methods, control systems, and corresponding electronic devices when electronic devices perform data transmission. Background Technology
[0002] Most existing electronic devices have data transmission and reception capabilities, and with the increasing integration of main control chips, more and more electronic devices are becoming miniaturized. However, with the miniaturization of electronic devices, the requirements for average power consumption and heat dissipation are also increasing. For example, handheld visual ear picks have a particularly small PCB area and poor heat dissipation capabilities; if the RF chip operates for a long time, it can easily exceed 100°C, causing adverse effects on users and the device.
[0003] To effectively manage or minimize overheating caused by data transmission, existing technologies primarily rely on software to roughly control transmission time (including software statistics on transmission time and data volume). This approach fails to meet the requirement of precisely controlling the transmission duty cycle. For example, accumulating transmission time through MAC layer software and forcing a fixed-duration silence after reaching a threshold; while this method ensures the transmission time does not exceed the maximum allowed time, it cannot precisely control the transmission duty cycle. Another example is using the MAC layer to count the number of bytes or frames transmitted, limiting the rate (pausing transmission) when the number exceeds a threshold; this method, also software-based, has extremely low duty cycle control precision and cannot guarantee that the transmitted content will not exceed the maximum transmission time. Summary of the Invention
[0004] This invention provides a data transmission control method, control system, and electronic device, aiming to precisely control the maximum allowable continuous transmission time and duty cycle of the data transmission process through the hardware layer. This invention is achieved through the following technical solutions:
[0005] In a first aspect, the present invention provides a data transmission control method, comprising:
[0006] S100, Set the maximum allowed continuous transmission duration T during the data transmission process. MAX and maximum duty cycle D MAX ;Configuration used to calculate the cumulative sent time T F The sent time cumulative counter is configured to count the cumulative paused time T. Z The paused time cumulative counter is configured to calculate the required pause time T. T The pause transmission time calculation module;
[0007] S200. Monitor whether there is data to be sent. If so, retrieve the data to be sent and calculate the required transmission time T for the data to be sent according to the corresponding communication protocol requirements. D ;
[0008] S300, Determine the remaining allowed transmission time T. Y Is it greater than the required sending time T? D T Y =T MAX -T F If yes, proceed to step S400; otherwise, proceed to steps S510 and S520.
[0009] S400: Stop the counting of the paused time accumulation counter, send the data to be sent, and add the actual sending time T of the data to be sent to the sent time accumulation counter. S Return to step S200;
[0010] S510, Start the pause and transmit time calculation module, according to formula T T =T F *(1 / D MAX -1)–T Z The calculated pause time T is as follows T And pause the transmission for the pause time T. T Duration of data transmission;
[0011] S520: Reset the sent time accumulation counter and the paused time accumulation counter, and return to step S200.
[0012] As a preferred technical solution, step S100 is also configured with a duty cycle calculation module. When step S200 detects that there is no data to be sent, the following steps are executed:
[0013] S610. Determine whether the cumulative time counter for sent data is 0. If yes, return to step S200; otherwise, execute step S620.
[0014] S620. Determine whether the paused time accumulation counter is started. If yes, proceed directly to step S630. Otherwise, start the paused time accumulation counter and then proceed to step S630.
[0015] S630. Start the duty cycle calculation module, according to formula D. C =T F / (T) F +T Z Get the current duty cycle D C ;
[0016] S640. Determine the current duty cycle D CIs it less than or equal to the maximum duty cycle D? MAX If yes, proceed to step S520; otherwise, return to step S200.
[0017] As a preferred technical solution, each increment of the accumulated transmission time counter is the unit of measurement required for the current data transmission to be completed.
[0018] As a specific technical solution, the paused time accumulation counter increments by one whenever the paused time reaches a unit of measurement.
[0019] In a second aspect, the present invention provides a data transmission control system, comprising:
[0020] The threshold setting module is used to set the maximum allowed continuous transmission duration T during the data transmission process. MAX and maximum duty cycle D MAX ;
[0021] The cumulative sent time counter is used to count the cumulative sent time T. F ;
[0022] A cumulative pause time counter is used to count the cumulative pause time T. Z ;
[0023] The pause transmission time calculation module is used to calculate the transmission time based on formula T. T =T F *(1 / D MAX -1)–T Z Calculate the required pause time T for sending. T ;
[0024] The monitoring module is used to monitor whether there is data to be sent;
[0025] The transmission time calculation module is used to retrieve the data to be transmitted and calculate the required transmission time T of the data to be transmitted according to the corresponding communication protocol requirements. D ;
[0026] The allow-to-send module is used to determine the remaining allowable sending time T. Y Is it greater than the required sending time T? D T Y =T MAX -T F If yes, the data transmission control module is triggered; otherwise, the pause transmission control module is triggered.
[0027] The data transmission control module is used to determine the remaining allowed transmission time T when the allowed transmission determination module determines that... Y Greater than the required sending time T DWhen the paused time accumulator counter stops counting, the data to be sent is transmitted, and the actual transmission time T of the data to be sent is added to the transmitted time accumulator counter. S Then the monitoring module is triggered;
[0028] The pause transmission control module is used when the allow transmission determination module determines the remaining allowable transmission time T. Y Not greater than the required sending time T D When the pause transmission time calculation module is activated, the required pause transmission time T is calculated. T The pause transmission time T is paused. T The reset module is triggered after a certain duration of data transmission;
[0029] The reset module controls the reset of the sent time accumulation counter and the paused time accumulation counter, and then triggers the monitoring module.
[0030] As a preferred technical solution, the data transmission control system further includes:
[0031] The sent time cumulative count judgment module is used to determine whether the sent time cumulative counter is 0 when the monitoring module detects that there is no data to be sent. If it is, the monitoring module is triggered; otherwise, the paused time cumulative count judgment module is triggered.
[0032] The paused time cumulative counter judgment module is used to determine whether the paused time cumulative counter has been started. If it has, the duty cycle calculation module is triggered. Otherwise, the paused time cumulative counter is started and then the duty cycle calculation module is triggered.
[0033] The duty cycle calculation module obtains the current duty cycle D according to the following formula. C :
[0034] D C = T F / (T) F +T Z );
[0035] Duty cycle determination module, determines the current duty cycle D C Is it less than or equal to the maximum duty cycle D? MAX If yes, the reset module is triggered; otherwise, the monitoring module is triggered.
[0036] As a preferred technical solution, each increment of the accumulated transmission time counter is the unit of measurement required for the current data transmission to be completed.
[0037] As a specific technical solution, the paused time accumulation counter increments by one whenever the paused time reaches a unit of measurement.
[0038] Thirdly, the present invention also provides an electronic device, including the data transmission control system described above.
[0039] As a preferred technical solution, the threshold setting module, the transmitted time accumulation counter, the paused time accumulation counter, the paused transmission time calculation module, the monitoring module, the transmission time calculation module, the allow transmission judgment module, the data transmission control module, the paused transmission control module, the reset module, the transmitted time accumulation count judgment module, the paused time accumulation count judgment module, the duty cycle calculation module, and the duty cycle judgment module in the data transmission control system are integrated into the main control chip of the electronic device in the form of digital logic modules.
[0040] The data transmission control method, control system, and electronic device provided by this invention have the following advantages: Through hardware-implemented counters and calculation modules, the transmission and pause times are accurately counted, and the maximum allowable continuous transmission time is precisely controlled. This allows for simultaneous satisfaction of average power consumption and heat control requirements without improving process technology. Furthermore, by precisely controlling the maximum allowable continuous transmission time and duty cycle, the chip temperature can be maintained within a reasonable range, and average power consumption can also be accurately controlled. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a flowchart of the data transmission control method provided in an embodiment of the present invention.
[0043] Figure 2 This is a block diagram of the data transmission control system provided in an embodiment of the present invention.
[0044] Figure 3 This is a block diagram of the electronic device provided in the embodiments of the present invention. Detailed Implementation
[0045] To make the technical solution of the present invention clearer and its technical advantages more apparent, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of the present invention.
[0046] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, components, features, and elements with the same names in different embodiments of this application may have the same meaning or different meanings, the specific meaning of which must be determined by its interpretation in that specific embodiment or further in conjunction with the context of that specific embodiment.
[0047] It should be understood that although the steps in the flowcharts of this application's embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0048] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0049] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0050] Combination Figure 1As shown, as a basic implementation method, this embodiment provides a data transmission control method, including:
[0051] S100, Set the maximum allowed continuous transmission duration T during the data transmission process. MAX and maximum duty cycle D MAX ;Configuration used to calculate the cumulative sent time T F The sent time cumulative counter is configured to count the cumulative paused time T. Z The paused time cumulative counter is configured to calculate the required pause time T. T The pause transmission time calculation module;
[0052] S200. Monitor whether there is data to be sent. If so, retrieve the data to be sent and calculate the required transmission time T for the data to be sent according to the corresponding communication protocol requirements. D ;
[0053] S300, Determine the remaining allowed transmission time T. Y Is it greater than the required sending time T? D T Y =T MAX -T F If yes, proceed to step S400; otherwise, proceed to steps S510 and S520.
[0054] S400: Stop the counting of the paused time accumulation counter, send the data to be sent, and add the actual sending time T of the data to be sent to the sent time accumulation counter. S Return to step S200;
[0055] S510, Start the pause and transmit time calculation module, according to formula T T =T F *(1 / D MAX -1)–T Z The calculated pause time T is as follows T And pause the transmission for the pause time T. T Duration of data transmission;
[0056] S520: Reset the sent time accumulation counter and the paused time accumulation counter, and return to step S200.
[0057] Among them, the maximum allowed continuous transmission duration T MAX Generally not less than 20ms; maximum duty cycle D MAXThe effective value is 0% to 100%, and it is generally set to a value between 20% and 95%. Furthermore, each increment of the transmitted time accumulator counter is the unit of measurement required for the completion of one data transmission (e.g., if 100.5 µs is required for one data transmission, the counter increments by 101). Additionally, the paused time accumulator counter increments by one whenever the paused time reaches a unit of measurement (e.g., 1 µs).
[0058] See also Figure 1 In a preferred embodiment, step S100 of the data transmission control method described above is further configured with a duty cycle calculation module. Furthermore, when step S200 detects that no data is to be transmitted, the following steps are executed:
[0059] S610. Determine whether the cumulative time counter for sent data is 0. If yes, return to step S200; otherwise, execute step S620.
[0060] S620. Determine whether the paused time accumulation counter is started. If yes, proceed directly to step S630. Otherwise, start the paused time accumulation counter and then proceed to step S630.
[0061] S630. Start the duty cycle calculation module, according to the following D C =T F / (T) F +T Z Get the current duty cycle D C ;
[0062] S640. Determine the current duty cycle D C Is it less than or equal to the maximum duty cycle D? MAX If yes, proceed to step S520; otherwise, return to step S200.
[0063] Combination Figure 2 As shown, as a basic implementation, this embodiment also provides a data transmission control system, including: a threshold setting module, a transmission time accumulation counter, a pause time accumulation counter, a pause transmission time calculation module, a monitoring module, a transmission time calculation module, a transmission permission judgment module, a data transmission control module, a pause transmission control module, and a reset module.
[0064] The threshold setting module is used to set the maximum allowed continuous transmission duration T during the data transmission process. MAX and maximum duty cycle D MAX The cumulative sent time counter is used to count the cumulative sent time T. F The paused time cumulative counter is used to count the cumulative paused time T. Z The pause transmission time calculation module is used to calculate the pause transmission time based on formula T.T =T F *(1 / D MAX -1)–T Z Calculate the required pause time T for sending. T The monitoring module is used to monitor whether there is data to be sent; the transmission time calculation module is used to retrieve the data to be sent and calculate the required transmission time T of the data to be sent according to the corresponding communication protocol requirements. D The allow-to-send module is used to determine the remaining allowable sending time T. Y Is it greater than the required sending time T? D T Y =T MAX -T F If the condition is met, the data transmission control module is triggered; otherwise, the pause transmission control module is triggered. The data transmission control module is used to determine the remaining allowed transmission time T when the allowed transmission judgment module determines the current allowed transmission time. Y Greater than the required sending time T D When the paused time accumulator counter stops counting, the data to be sent is transmitted, and the actual transmission time T of the data to be sent is added to the transmitted time accumulator counter. S Then the monitoring module is triggered; the pause transmission control module is used when the allow transmission judgment module determines the remaining allow transmission time T. Y Not greater than the required sending time T D When the pause transmission time calculation module is activated, the required pause transmission time T is calculated. T The pause transmission time T is paused. T After the duration of data is sent, the reset module is triggered; the reset module controls the reset of the sent time accumulation counter and the paused time accumulation counter, and then triggers the monitoring module.
[0065] Among them, the maximum allowed continuous transmission duration T MAX Generally not less than 20ms; maximum duty cycle D MAX The effective value is 0% to 100%, and it is generally set to a value between 20% and 95%. Furthermore, each increment of the transmitted time accumulator counter is the unit of measurement required for the completion of one data transmission (e.g., if 100.5 µs is required for one data transmission, the counter increments by 101). Additionally, the paused time accumulator counter increments by one whenever the paused time reaches a unit of measurement (e.g., 1 µs).
[0066] See also Figure 2 As a preferred embodiment, the data transmission control system described above further includes: a cumulative count judgment module for transmitted time, a cumulative count judgment module for paused time, a duty cycle calculation module, and a duty cycle judgment module.
[0067] The module for determining the cumulative sent time count is used to determine whether the cumulative sent time counter is 0 when the monitoring module detects that there is no data to be sent. If it is, the monitoring module is triggered; otherwise, the module for determining the cumulative paused time count is triggered. The module for determining the cumulative paused time count is used to determine whether the cumulative paused time counter is started. If it is, the duty cycle calculation module is triggered; otherwise, the cumulative paused time counter is started before the duty cycle calculation module is triggered. The duty cycle calculation module calculates according to formula D. C = T F / (T) F +T Z Get the current duty cycle D C The duty cycle determination module is used to determine the current duty cycle D. C Is it less than or equal to the maximum duty cycle D? MAX If yes, the reset module is triggered; otherwise, the monitoring module is triggered.
[0068] Combination Figure 3 As shown, this embodiment of the invention also provides an electronic device, including the data transmission control system described above. Preferably, as a preferred technical solution, the threshold setting module, the transmitted time accumulation counter, the paused time accumulation counter, the paused transmission time calculation module, the monitoring module, the transmission time calculation module, the allow transmission judgment module, the data transmission control module, the paused transmission control module, the reset module, the transmitted time accumulation count judgment module, the paused time accumulation count judgment module, the duty cycle calculation module, and the duty cycle judgment module in the data transmission control system are integrated into the main control chip of the electronic device in the form of digital logic modules.
[0069] The data transmission control method, control system, and electronic device provided by this invention offer the following advantages: By using hardware-implemented counters and calculation modules, the transmission and pause times are precisely counted. Upon reaching the transmission time limit, transmission is forcibly paused for a specific duration before resuming. This precisely controls the maximum allowable continuous transmission time and duty cycle, simultaneously meeting the requirements for average power consumption and heat control without improving process technology. Furthermore, by precisely controlling the maximum allowable continuous transmission time and duty cycle, the chip temperature can be maintained within a reasonable range, and average power consumption can also be accurately controlled. This invention not only ensures 100% that the continuous transmission duration does not exceed the threshold but also precisely controls the duty cycle. This method is crucial for small devices, primarily because: 1. Precisely controlling the maximum transmission duration ensures that the device's heat generation is kept within acceptable limits; 2. Precisely controlling the duty cycle ensures that the average power consumption of the device during continuous operation is within acceptable limits.
[0070] The above description discloses only preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Therefore, equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.
Claims
1. A data transmission control method, characterized in that, include: S100、set the maximum continuous sending time T allowed by the data sending process MAX and the maximum duty cycle D MAX ; configure a sent time accumulation counter for counting the accumulated sent time T F ; configure a paused time accumulation counter for counting the accumulated paused time T Z ; configure a pause sending time calculation module for calculating the required pause sending time T T ; S200. Monitor whether there is data to be sent. If so, retrieve the data to be sent and calculate the required transmission time T for the data to be sent according to the corresponding communication protocol requirements. D ; S300, Determine the remaining allowed transmission time T. Y Is it greater than the required sending time T? D T Y =T MAX -T F If yes, proceed to step S400; otherwise, proceed to steps S510 and S520. S400: Stop the counting of the paused time accumulation counter, send the data to be sent, and add the actual sending time T of the data to be sent to the sent time accumulation counter. S Return to step S200; S510, Start the pause and transmit time calculation module, according to formula T T =T F *(1 / D MAX -1)–T Z The calculated pause time T is as follows T And pause the transmission for the pause time T. T Duration of data transmission; S520: Reset the sent time accumulation counter and the paused time accumulation counter, and return to step S200.
2. The data transmission control method according to claim 1, characterized in that, Step S100 also configures a duty cycle calculation module. When step S200 detects that there is no data to be sent, the following steps are executed: S610. Determine whether the cumulative time counter for sent data is 0. If yes, return to step S200; otherwise, execute step S620. S620. Determine whether the paused time accumulation counter is started. If yes, proceed directly to step S630; otherwise, start the paused time accumulation counter and then proceed to step S630. S630. Start the duty cycle calculation module, according to formula D. C =T F / (T) F +T Z Get the current duty cycle D C ; S640. Determine the current duty cycle D C Is it less than or equal to the maximum duty cycle D? MAX If yes, proceed to step S520; otherwise, return to step S200.
3. The data transmission control method according to claim 1, characterized in that, Each increment of the accumulated transmission time counter represents the unit of measurement required for the current data transmission to complete.
4. The data transmission control method according to claim 1, characterized in that, The paused time cumulative counter increments by one whenever the paused time reaches a unit of measurement.
5. A data transmission control system, characterized in that, include: The threshold setting module is used to set the maximum allowed continuous transmission duration T during the data transmission process. MAX and maximum duty cycle D MAX ; The cumulative sent time counter is used to count the cumulative sent time T. F ; A cumulative pause time counter is used to count the cumulative pause time T. Z ; The pause transmission time calculation module is used to calculate the transmission time based on formula T. T =T F *(1 / D MAX -1)–T Z Calculate the required pause time T for sending. T ; The monitoring module is used to monitor whether there is data to be sent; The transmission time calculation module is used to retrieve the data to be transmitted and calculate the required transmission time T of the data to be transmitted according to the corresponding communication protocol requirements. D ; The allow-to-send module is used to determine the remaining allowable sending time T. Y Is it greater than the required sending time T? D T Y =T MAX -T F If yes, the data transmission control module is triggered; otherwise, the pause transmission control module is triggered. The data transmission control module is used to determine the remaining allowed transmission time T when the allowed transmission determination module determines that... Y Greater than the required sending time T D When the paused time accumulator counter stops counting, the data to be sent is transmitted, and the actual transmission time T of the data to be sent is added to the transmitted time accumulator counter. S Then the monitoring module is triggered; The pause transmission control module is used when the allow transmission determination module determines the remaining allow transmission time T. Y Not greater than the required sending time T D When the pause transmission time calculation module is activated, the required pause transmission time T is calculated. T The pause transmission time T is paused. T The reset module is triggered after a certain duration of data transmission; The reset module controls the reset of the sent time accumulation counter and the paused time accumulation counter, and then triggers the monitoring module.
6. The data transmission control system according to claim 5, characterized in that, Also includes: The sent time cumulative count judgment module is used to determine whether the sent time cumulative counter is 0 when the monitoring module detects that there is no data to be sent. If it is, the monitoring module is triggered; otherwise, the paused time cumulative count judgment module is triggered. The paused time cumulative counter judgment module is used to determine whether the paused time cumulative counter has been started. If it has, the duty cycle calculation module is triggered. Otherwise, the paused time cumulative counter is started and then the duty cycle calculation module is triggered. The duty cycle calculation module obtains the current duty cycle D according to the following formula. C : D C = T F / (T F +T Z ); Duty cycle determination module, determines the current duty cycle D C Is it less than or equal to the maximum duty cycle D? MAX If yes, the reset module is triggered; otherwise, the monitoring module is triggered.
7. The data transmission control system according to claim 5, characterized in that, Each increment of the accumulated transmission time counter represents the unit of measurement required for the current data transmission to complete.
8. The data transmission control system according to claim 5, characterized in that, The paused time cumulative counter increments by one whenever the paused time reaches a unit of measurement.
9. An electronic device, characterized in that, Includes the data transmission control system according to any one of claims 5-8.
10. The electronic device according to claim 9, characterized in that, The threshold setting module, the accumulated counter for transmitted time, the accumulated counter for paused time, the paused transmission time calculation module, the monitoring module, the transmission time calculation module, the allow transmission judgment module, the data transmission control module, the paused transmission control module, the reset module, the accumulated count judgment module for transmitted time, the accumulated count judgment module for paused time, the duty cycle calculation module, and the duty cycle judgment module in the data transmission control system are integrated into the main control chip of the electronic device in the form of digital logic modules.