Control method and related equipment

By monitoring the power supply module voltage in real time and adjusting the operating mode of the target module, the instability problem of the system when the power supply module restarts was solved, achieving low-cost and high-stability operation and improving the user experience.

CN121887839APending Publication Date: 2026-04-17DAIKIN INDUSTRIES LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
DAIKIN INDUSTRIES LTD
Filing Date
2024-10-17
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

The existing system cannot balance low-cost operation and high stability, especially the system instability caused by power supply module restarts.

Method used

By acquiring the voltage of the power supply module in real time or at regular intervals, the operating mode of the target power supply module is adjusted to keep the voltage of the power supply module higher than the restart voltage, thus preventing the power supply module from restarting. Specific measures include adjusting the data transmission interval of the communication module, switching communication protocols, and reducing power consumption.

Benefits of technology

While reducing system operating costs, we ensure stable system operation, avoid restarts, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121887839A_ABST
    Figure CN121887839A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and related equipment. The method comprises the steps that the voltage of a power supply module is acquired; and in response to voltage drop of the power supply module, adjusting an operation mode of a target module powered by the power supply module, so that the voltage of the power supply module is greater than a restart voltage. In the disclosure, the voltage of the power supply module set by the data transmission system is obtained, and when the voltage of the power supply module drops, the operation mode of the target module powered by the power supply module is adjusted, so that the voltage of the power supply module is greater than the restart voltage, thereby avoiding restart of the data transmission system; the power supply module supplies power to each module in the data transmission system to ensure stable operation of the data transmission system on the premise of reducing the operation cost of the system, so that each function of the data transmission system can be normally used, the user experience is improved, and the user experience is improved. The data transmission system has the advantages of being low in operation cost, high in operation stability and capable of improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure pertains to the field of data transmission, and particularly relates to a control method and related equipment. Background Technology

[0002] The system is equipped with a power supply module and capacitors, which supply power to the various modules within the system, enabling each module to operate normally.

[0003] The power supply module and capacitors in the system supply power to the modules, resulting in high operating costs. Removing the capacitors could reduce costs, but this would cause the power supply module to restart, leading to system restarts and poor operational stability. Therefore, the existing system cannot simultaneously achieve low-cost operation and high operational stability. Summary of the Invention

[0004] This disclosure provides a control method and related equipment to solve the problem that existing systems cannot simultaneously achieve low-cost operation and high operational stability.

[0005] In a first aspect, embodiments of this disclosure provide a control method applied to a data transmission system, the data transmission system being provided with a communication module, the control method comprising:

[0006] Obtain the voltage of the power supply module;

[0007] In response to a voltage drop in the power supply module, the operating mode of the target module powered by the power supply module is adjusted so that the voltage of the power supply module is greater than the restart voltage, which is used to indicate the voltage at which the power supply module switches from the operating state to the restart state.

[0008] In one embodiment, the target module is a communication module in operation, and the step of adjusting the operating mode of the target module powered by the power supply module includes:

[0009] The communication module is controlled to send data at target intervals.

[0010] In another embodiment, the step of controlling the communication module to send data at target intervals includes:

[0011] Obtain the operating mode of the communication module;

[0012] According to the operating mode, the communication module is controlled to send data at target intervals.

[0013] In another embodiment, the step of controlling the communication module to send data at target intervals according to the operating mode includes:

[0014] In response to the operating mode instructing the communication module to connect to the network, the communication module is controlled to send network data packets at target intervals.

[0015] In another embodiment, the step of controlling the communication module to send network data packets at target intervals includes:

[0016] At each target interval, the communication module is controlled to send a target number of network data packets, where the target number is lower than the set number of network data packets sent by the communication module for network connection.

[0017] In another embodiment, the step of controlling the communication module to send network data packets at target intervals includes:

[0018] At each target interval, the communication module is controlled to send one or more network data packets within a first data transmission duration, wherein the first data transmission duration is less than the network upper limit duration associated with the communication module.

[0019] In another embodiment, prior to the step of controlling the communication module to send one or more network data packets within the first data transmission duration for each target interval, the method further includes:

[0020] Obtain the current voltage of the power supply module;

[0021] A first difference between the current voltage and the restart voltage is determined, and the duration of continuous data transmission is determined based on the first difference and the network connection limit duration.

[0022] In another embodiment, the step of controlling the communication module to send network data packets at target intervals includes:

[0023] Obtain the target parameters corresponding to the communication module's network connection, the target parameters including at least one of the number of network connection failures of the communication module and the signal quality parameters of the communication module connecting to the target network;

[0024] In response to the target parameters meeting the set conditions, the communication module is controlled to send network data packets at target intervals. The set conditions include at least one of the following: the number of network failures is greater than a preset number and the signal quality parameter is lower than a preset threshold.

[0025] In another embodiment, after the step of controlling the communication module to send network data packets at target intervals, the method further includes:

[0026] Obtain the first interval duration between the time point when the communication module starts sending data and the current time point;

[0027] In response to the first interval being greater than or equal to the tolerance upper limit, the communication module is controlled to stop sending data.

[0028] In another embodiment, the step of controlling the communication module to send data at target intervals according to the operating mode includes:

[0029] In response to determining that the communication module is sending a large data packet according to the operating mode, the large data packet is divided into multiple sub-data packets, wherein the large data packet is used to indicate a data packet with a capacity greater than a preset capacity;

[0030] At each target interval, the communication module is controlled to send one or more sub-data packets, and the total capacity of the sub-data packets sent each time is less than the capacity of the large-capacity data packet.

[0031] In another embodiment, the step of controlling the communication module to send data at target intervals includes:

[0032] The duration of the second data transmission and the target interval duration are determined by the communication module.

[0033] At each target interval, the duration for which the communication module sends data is controlled to be less than or equal to the duration for which the second data is continuously sent.

[0034] In another embodiment, the step of determining the second data transmission duration of the communication module includes:

[0035] The voltage drop time of the power supply module from the initial voltage to the restart voltage is obtained. The initial voltage is used to indicate the voltage of the power supply module when the communication module is not running, and the restart voltage is used to indicate the voltage of the power supply module when it switches from the running state to the restart state.

[0036] The second data transmission duration is determined based on the voltage drop duration, and the second data transmission duration is less than the voltage drop duration.

[0037] In another embodiment, the step of obtaining the voltage drop time of the power supply module from the initial voltage to the restart voltage includes:

[0038] The protection voltage is determined based on the restart voltage, and the protection voltage is greater than the restart voltage.

[0039] Obtain the voltage drop rate corresponding to the power supply module, and determine the second difference between the initial voltage and the protection voltage;

[0040] The duration of voltage drop is determined based on the ratio between the second difference and the voltage drop rate.

[0041] In another embodiment, the step of determining the target interval duration includes:

[0042] The voltage recovery time of the power supply module from the target voltage to the initial voltage is obtained. The initial voltage is used to indicate the voltage of the power supply module when the communication module is not running. The target voltage is the restart voltage or the protection voltage.

[0043] The target interval duration is determined based on the voltage recovery time, and the target interval duration is longer than the voltage recovery time.

[0044] In another embodiment, the step of obtaining the voltage drop rate corresponding to the power supply module includes:

[0045] Obtain the first voltage and first acquisition time of the power supply module from the previous acquisition, and obtain the second voltage and second acquisition time of the power supply module from the current acquisition.

[0046] Determine the voltage difference between the first voltage and the second voltage, and determine the time difference between the first acquisition time and the second acquisition time;

[0047] The voltage drop rate corresponding to the power supply module is determined based on the ratio between the voltage difference and the time difference.

[0048] In another embodiment, the step of obtaining the voltage recovery time for the power supply module to recover from the target voltage to the initial voltage includes:

[0049] Obtain the voltage recovery rate of the power supply module;

[0050] Determine a third difference between the initial voltage and the target voltage;

[0051] The voltage recovery time is determined based on the ratio between the third difference and the voltage recovery rate.

[0052] In another embodiment, the step of obtaining the voltage recovery rate of the power supply module includes:

[0053] The third and fourth voltages of the power supply module during the voltage recovery process are obtained, wherein the acquisition time of the fourth voltage is later than the acquisition time of the third voltage.

[0054] The voltage recovery rate of the power supply module is determined based on the third voltage, the fourth voltage, and the second interval between the acquisition time points of the third voltage and the fourth voltage.

[0055] In another embodiment, the target module is a communication module in operation, and the step of adjusting the operating mode of the target module powered by the power supply module includes:

[0056] Switch the current communication protocol of the communication module to the target communication protocol.

[0057] In another embodiment, the target module is a communication module in operation, and the step of adjusting the operating mode of the target module powered by the power supply module includes:

[0058] Control the communication module to stop sending data.

[0059] In another embodiment, it further includes:

[0060] In response to the voltage of the power supply module dropping to the protection voltage, the operating mode of the target module is adjusted.

[0061] In another embodiment, it further includes:

[0062] In response to the voltage drop duration of the power supply module exceeding a preset duration, the operating mode of the target module is adjusted.

[0063] In another embodiment, the step of obtaining the voltage of the power supply module includes:

[0064] Obtain the current and rated power of the power supply module;

[0065] The voltage of the power supply module is determined based on the rated power and the current.

[0066] Secondly, embodiments of this disclosure provide a data transmission system, the data transmission system comprising:

[0067] An acquisition module is used to acquire the voltage of the power supply module in the data transmission system;

[0068] A determining module is used to adjust the operating mode of the target module supplied by the power supply module in response to a voltage drop in the power supply module, so that the voltage of the power supply module is greater than the restart voltage, wherein the restart voltage is used to indicate the voltage at which the power supply module switches from the operating state to the restart state.

[0069] Secondly, embodiments of this disclosure provide a data transmission device, which includes a power supply module, a processor, and a memory storing computer program instructions;

[0070] The power supply module is used to supply power to the various modules of the data transmission device;

[0071] When the processor executes the computer program instructions, it implements the method described in any of the above descriptions.

[0072] In one embodiment, the data transmission device further includes an energy storage module connected to the power supply module. The maximum energy storage capacity of the energy storage module is lower than a preset storage capacity. The energy storage module is used to store the electrical energy transmitted by the power supply module so that the energy storage module can provide electrical energy to the modules in the data transmission device.

[0073] Thirdly, embodiments of this disclosure provide an electronic device, which includes a processor, a communication interface, a memory, a communication bus, and a power supply module, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0074] The power supply module is used to supply power to the modules inside the electronic device;

[0075] The memory is used to store computer programs;

[0076] When the processor executes the program stored in the memory, it implements the method described above.

[0077] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the method described above.

[0078] Fifthly, embodiments of this disclosure provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the method described in any of the above embodiments.

[0079] The control method and related equipment of this disclosure acquire the voltage of the power supply module of the data transmission system. When the voltage of the power supply module drops, the operating mode of the target module supplied by the power supply module is adjusted so that the voltage of the power supply module is greater than the restart voltage, thus preventing the power supply module from restarting. This prevents the data transmission system from restarting along with the power supply module. In other words, while reducing the operating cost of the system by supplying power to each module in the data transmission system through the power supply module, the stable operation of the data transmission system is ensured, thereby ensuring that the various functions of the data transmission system can be used normally and improving the user experience. In other words, the data transmission system has the advantages of low-cost operation, high operational stability, and improved user experience. Attached Figure Description

[0080] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments of this disclosure will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0081] Figure 1-1 This is a schematic diagram of the structure of a data transmission system according to an embodiment of this disclosure;

[0082] Figure 1-2 This is another structural schematic diagram of the data transmission system involved in the embodiments of this disclosure;

[0083] Figure 1-3 This is another structural schematic diagram of the data transmission system involved in the embodiments of this disclosure;

[0084] Figure 2 This is a flowchart illustrating the first embodiment of the control method of this disclosure;

[0085] Figure 3 This is a flowchart illustrating the second embodiment of the control method of this disclosure;

[0086] Figure 4 yes Figure 3 A detailed flowchart of step S301 in the illustrated embodiment;

[0087] Figure 5 yes Figure 2 A detailed flowchart of step S201 in the illustrated embodiment;

[0088] Figure 6 yes Figure 5 A detailed flowchart illustrating the process of determining the duration of continuous transmission of the second data in step S501 of the embodiment shown.

[0089] Figure 7 yes Figure 5 A detailed flowchart illustrating the determination of the target interval duration in step S501 of the illustrated embodiment.

[0090] Figure 8 This is a schematic diagram of the functional modules of the data transmission system involved in the embodiments of this disclosure;

[0091] Figure 9 This is a schematic diagram of the structure of a data transmission device / electronic device according to an embodiment of this disclosure. Detailed Implementation

[0092] The features and exemplary embodiments of various aspects of this disclosure will now be described in detail. To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description, in conjunction with the accompanying drawings and specific embodiments, will provide a further detailed description. It should be understood that the specific embodiments described herein are intended only to explain this disclosure and not to limit it. For those skilled in the art, this disclosure can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this disclosure by illustrating examples.

[0093] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0094] It should be noted that in the embodiments disclosed herein, certain software, components, models, and other existing solutions in the industry may be mentioned. These should be considered as exemplary and are intended only to illustrate the feasibility of implementing the technical solutions disclosed herein. However, they do not mean that the applicant has used or necessarily used such solutions.

[0095] Glossary

[0096] Restart voltage: The voltage at which the power supply module switches from the running state to the restart state;

[0097] Current voltage: The voltage of the power supply module at the current point in time;

[0098] Initial voltage: The voltage of the power supply module when the communication module is not running;

[0099] Protection voltage: The voltage when the power supply module is about to restart and is in operation; the protection voltage is greater than the restart voltage.

[0100] Target voltage: The target voltage is the protection voltage or the restart voltage;

[0101] Second voltage: The voltage of the power supply module collected by the data transmission system at the current moment, where the current moment refers to the moment when the voltage drop rate needs to be calculated;

[0102] First voltage: The voltage of the power supply module collected by the data transmission system in the previous moment. The previous moment refers to the moment before the current moment, and the current moment and the previous moment are adjacent in time. In addition, the data transmission system only collects the voltage of the power supply module once between the current moment and the previous moment. Therefore, the second voltage is regarded as the voltage of the power supply module collected at the current moment, and the first voltage is regarded as the voltage of the power supply module collected at the previous moment.

[0103] First acquisition time: refers to the time point at which the first voltage is acquired;

[0104] Second acquisition time: refers to the time point at which the second voltage is acquired;

[0105] The third voltage and the fourth voltage: the voltages at different sampling points during the voltage recovery process of the power supply module. The sampling point of the third voltage is earlier than that of the fourth voltage, and the third voltage is lower than the fourth voltage.

[0106] Target interval duration: The time interval between when the communication module stops sending data and when it starts sending data again;

[0107] First interval duration: The interval between the time point when the communication module starts sending data and the current time point;

[0108] Second interval duration: The interval duration between the acquisition time of the third voltage and the acquisition time of the fourth voltage;

[0109] First data transmission duration: The duration from the start of sending network data packets to the end of sending network data packets by the communication module;

[0110] Second data transmission duration: The duration from the start to the end of data transmission by the communication module;

[0111] Voltage drop duration: The time it takes for the power supply module to drop from the initial voltage to the restart voltage;

[0112] Voltage recovery time: The time it takes for the power supply module to recover from the target voltage to the initial voltage;

[0113] Network connection time limit: refers to the maximum duration that the data transmission system is set to maintain a network connection.

[0114] Tolerance limit duration: refers to the maximum duration that a user can tolerate for the data transmission system to remain connected to the network;

[0115] Preset duration: The duration set in the data transmission system, and the preset duration is less than the voltage drop duration;

[0116] First difference: The difference between the voltage of the power supply module at the current time and the restart voltage;

[0117] Second difference: The difference between the initial voltage and the protection voltage;

[0118] The third difference: the difference between the initial voltage and the target voltage;

[0119] Voltage difference: The difference between the first voltage and the second voltage;

[0120] Time difference: The duration between the first and second data acquisition times;

[0121] Preset capacity: The manually set capacity used to define data packets as large data packets. Data packets with a capacity greater than the manually set capacity are considered large data packets.

[0122] Preset number of attempts: The number of attempts set manually;

[0123] Target count: refers to the number of times the communication module switches from sending data to stopping data;

[0124] Maximum number of attempts: The maximum number of network connection failures allowed, set manually, and the maximum number of attempts must be greater than the preset number of attempts;

[0125] Modify voltage threshold: A manually set voltage threshold is used to determine whether to modify the initial data transmission duration. For example, if the first difference is less than the modified voltage threshold, the initial data transmission duration is reduced. The initial data transmission duration is set by the network upper limit duration.

[0126] Technical concept

[0127] Physical devices such as electronic devices, electronic components, and electronic systems include power supply modules and capacitors. These power supply modules and capacitors provide power to other modules within the physical device besides the power supply module itself.

[0128] The inventors of this disclosure have discovered that configuring a power supply module and capacitors in a physical device to supply power to other modules ensures that the other modules have sufficient power to operate normally, thereby ensuring the stable operation of the physical device. However, configuring a power supply module and capacitors in a physical device increases the cost of the device, meaning that the cost of stable operation of the physical device is higher.

[0129] The power supply module connects to an external power source to supply power to the modules within the physical device, making it an essential component. To reduce the cost of the physical device, the inventors considered removing the capacitors. However, removing the capacitors leaves the other modules powered solely by the power supply module, causing a voltage drop in the power supply module. When the voltage drops to a certain value, the electronic components within the physical device may be damaged due to the low voltage. To prevent this damage, the physical device restarts when the power supply module voltage drops to a certain level.

[0130] Based on this, the inventors of this disclosure conceived of detecting the voltage of the power supply module. If the voltage of the power supply module drops, the operating mode of the target module powered by the power supply module is adjusted so that the voltage of the power supply module is greater than the restart voltage, thereby preventing the physical device where the power supply module is located from restarting. This achieves stable operation of the physical device while reducing the stable operating cost of the physical device, and ensures that users can use the functions of the physical device normally, thus improving the user experience.

[0131] Schematic diagram of the data transmission system

[0132] Reference Figure 1-1 The data transmission system 100 includes a power supply module 110, which connects to multiple other modules 120. These other modules 120 include, but are not limited to, communication modules, display modules, indicator light modules, button modules, HBS (Home Bus System) modules, and alarm modules. Communication modules may be, for example, Wi-Fi modules (mobile hotspot modules), 4G communication modules, or 5G communication modules, and alarm modules may be, for example, buzzers.

[0133] The power supply module 110 includes connecting wires (not shown) and a power converter (not shown). The connecting wires connect to an external power source. When the power supply module 110 supplies power to other modules 120, the power converter converts the current supplied by the external power source into the current required by the other modules 120. For example, if the voltage of the DC power supplied by the external power source is 16V, the 16V DC power is converted by the power converter to obtain the 3V DC power required by the other modules 120.

[0134] Furthermore, refer to Figure 1-2The data transmission system 100' may be equipped with an energy storage module 130. The energy storage module 130 may be a low-capacity energy storage module. A low-capacity energy storage module refers to an energy storage module whose maximum energy storage capacity is lower than the preset storage capacity. For example, a low-capacity energy storage module may be a low-capacity capacitor. Low-capacity capacitors have lower costs. The capacity values ​​of low-capacity capacitors include, but are not limited to, 0.22pF, 0.33pF, 0.47pF, 0.68pF, 2.2pF, 3.3pF, 4.7pF, 6.8pF, 10pF, 15pF, 20pF, 22pF, 33pF, 47pF, 68pF, 85pF, and 100pF. The preset storage capacity can be selected from 0.22pF, 0.33pF, 0.47pF, 0.68pF, 2.2pF, 3.3pF, 4.7pF, 6.8pF, 10pF, 15pF, 20pF, 22pF, 33pF, 47pF, 68pF, 85pF, and 100pF. For example, 22pF can be selected as the preset storage capacity. The power supply module 110' is connected to the energy storage module 130, and the power supply module 110' supplies power to the energy storage module 130, enabling the energy storage module 130 to store electrical energy. The energy storage module 130 is connected to other modules 120', so that both the energy storage module 130 and the power supply module 110' can supply power to the other modules 120'.

[0135] Furthermore, the power supply module includes one or more power converters. If the other modules connected to the power supply module require the same current and voltage, then the power supply module only needs one power converter. If the other modules connected to the power supply module require different current and voltage, then the power supply module needs to have multiple power converters to meet the different current and voltage requirements of the other modules. For details, refer to... Figure 1-3 The communication module 121 requires 3V, the alarm module 122 requires 6V, and the display module 123 requires 12V. The power converter 111 in the power supply module 110 first converts the 16V current provided by the external power supply to 12V, and then transmits the 12V current to the display module 123 and the power converter 112 respectively. The power converter 112 converts the 12V current to 6V, and transmits the 6V current to the alarm module 122 and the power converter 113 respectively. The power converter 113 converts the 6V current to 3V, and then transmits the 3V current to the communication module 121.

[0136] exist Figure 1-1In the data transmission system 100 shown, only the power supply module 110 supplies power to the other modules 120. When the power consumption of the other modules 120 is high, the voltage of the power supply module 110 will drop. When the voltage of the power supply module 110 reaches the restart voltage, the power supply module 110 will restart. The restart of the power supply module 110 will cause the data transmission system 100 to restart along with the restart of the power supply module 110.

[0137] exist Figure 1-2 In the data transmission system 100', since the energy storage module 130 is a low-capacity energy storage module, even when the power supply module 110 and the energy storage module 130 supply power to the other modules 120' while they are running, if the power consumption of the other modules 120' is high, the voltage of the power supply module 110' will be reduced, causing the voltage of the power supply module 110' to reach the restart voltage and restart, resulting in the data transmission system 100' restarting along with the restart of the power supply module 110'.

[0138] To prevent the data transmission system from restarting, the data transmission system obtains the voltage of the power supply module. If the voltage of the power supply module drops, the operating mode of other modules is adjusted so that the voltage of the power supply module is greater than the restart voltage.

[0139] Example

[0140] The following is combined Figure 1-1 , Figure 1-2 as well as Figure 1-3 The control methods disclosed herein are described in detail.

[0141] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the control method disclosed herein. The control method includes the following steps:

[0142] Step S201: Obtain the voltage of the power supply module.

[0143] In this embodiment, the executing entity is a data transmission system. The data transmission system can be any component, device, or apparatus with data transmission functionality. Furthermore, the data transmission system can be a system composed of one or more components, one or more devices, or one or more apparatuses. For ease of description, the term "system" will be used to refer to the data transmission system below.

[0144] The system includes a power supply module that powers other modules. Because the system lacks an energy storage module or uses a low-capacity one, the high power consumption of other modules during operation causes a voltage drop in the power supply module. If the power supply module's voltage drops to the restart voltage, it will restart, causing the entire system to restart. The restart voltage refers to the voltage at which the power supply module transitions from the running state to the restart state. For example, if the power supply module restarts when its voltage drops to 2.5V, the restart voltage is 2.5V.

[0145] It should be noted that when no energy storage module is set in the system, "other modules" refers to any module in the system other than the power supply module; when a low-capacity energy storage module is set in the system, "other modules" refers to any module in the system other than the power supply module and the energy storage module.

[0146] To avoid system restarts, the system acquires the voltage of the power supply module in real time or periodically. In one example, the voltage of the power supply module is detected by the power converter, and the system acquires the voltage of the power supply module transmitted by the power converter. In another example, the system includes a component for current detection of the power supply module. Since the power supply module's power is its rated power, its voltage can be calculated from the current and rated power. For example, given the rated power P = UI, where U is voltage and I is current, after acquiring the current and rated power of the power supply module, the system calculates the voltage U of the power supply module based on P = UI, the rated power P, and the current I.

[0147] In step S202, in response to the voltage drop of the power supply module, the operating mode of the target module supplied by the power supply module is adjusted so that the voltage of the power supply module is greater than the restart voltage.

[0148] The system acquires the voltage of the power supply module in real time or at regular intervals. It can determine whether the voltage of the power supply module has decreased by acquiring multiple voltage readings. Specifically, if the voltage of the power supply module currently acquired by the system is lower than the voltage acquired in the last instance, it can be determined that the voltage of the power supply module has decreased.

[0149] When the system detects a voltage drop in the power supply module, it will adjust the operating mode of the target module supplied by the power supply module to ensure that the voltage of the power supply module is greater than the restart voltage.

[0150] Furthermore, the voltage drop in the power supply module may be small, which will not cause the system to restart, and the system does not need to adjust the operating mode of the target module. Based on this, the operating mode of the target module can be adjusted through the following example.

[0151] In one example, when the voltage of the power supply module drops, the system determines whether the voltage has dropped to the protection voltage. If the voltage drops to the protection voltage, there is a risk of system restart, so the system adjusts the operating mode of the target module. The protection voltage can be set based on the restart voltage; for example, the protection voltage can be obtained by adding a fixed value to the restart voltage, meaning the protection voltage is greater than the restart voltage. For instance, if the restart voltage is 2.5V, the protection voltage can be set to 3V.

[0152] In another example, when the voltage of the power supply module drops, the system obtains the voltage difference between the currently obtained voltage and the previously obtained voltage. If the voltage difference is greater than a preset voltage difference, the voltage drop of the power supply module is significant, and the system is at risk of restarting. Therefore, the operating mode of the target module is adjusted. For example, if the maximum voltage drop of the power supply module per unit time is 0.3V, a preset voltage difference can be set based on 0.3V, for example, setting 0.25V as the preset voltage difference, meaning the preset voltage difference is less than the maximum voltage drop. If the voltage difference calculated by the system for the power supply module is greater than 0.25V, the power supply module is at risk of restarting, and the system is also at risk of restarting. The aforementioned unit time can be any suitable value, such as 2 milliseconds.

[0153] In another example, when the voltage of the power supply module drops, the system obtains the duration of the voltage drop. If the duration of the voltage drop exceeds a preset duration, the system risks restarting, and the system adjusts the operating mode of the target module. The preset duration can be any suitable value; for example, the preset duration is 1 second, meaning that if the voltage drop of the power supply module lasts longer than 1 second, the operating mode of the target module will be adjusted.

[0154] In another example, if the voltage of the power supply module drops, the voltage difference between the currently acquired voltage and the previously acquired voltage is greater than a preset voltage difference, and the duration of the voltage drop is longer than a preset duration, and it is determined that the system is at risk of restarting, then the operating mode of the target module is adjusted.

[0155] The target module mentioned above refers to other modules that are powered by the power supply module. There are several ways to determine the target module; please refer to the following example for details.

[0156] In one example, the target module is any other module that is powered by the power supply module.

[0157] In another example, the system determines the power consumption of each other running module. Modules with higher power consumption cause a significant drop in the power supply module's voltage, thus these modules are identified as target modules. "Modules with higher power consumption" refers to those whose power consumption exceeds a preset power consumption. The power consumption of other modules can be determined through their operating parameters. For example, if the target module is a display module, the display brightness is obtained, and the power consumption of the display module is determined based on the brightness; the higher the brightness, the higher the power consumption of the display module.

[0158] In another example, the system determines other modules that can be stopped from running. These other modules can be those that do not hinder the stable operation of the system. For example, if the indicator light module and the alarm module do not affect the stable operation of the system, then the indicator light module and the alarm module can be used as target modules.

[0159] The system can also adjust the operating mode of the target module by reducing its power consumption. For example, if the target module is a display module and its current operating mode is daytime display, the system can switch the display module from daytime display to nighttime display. In other words, by using nighttime display, the display brightness of the display module is reduced, thereby reducing the power consumption of the display module.

[0160] It should be noted that after the target module's operating mode is adjusted, the voltage changes in the power supply module include several variations, as detailed below:

[0161] The first scenario: After the target module's operating mode is adjusted, the voltage of the power supply module increases;

[0162] The second method: After the target module's operating mode is adjusted, the voltage of the power supply module remains unchanged;

[0163] The third scenario: After the target module's operating mode is adjusted, the power supply module's voltage first drops and then rises, and the minimum value after the voltage drop is greater than the restart voltage.

[0164] The fourth type: After the target module's operating mode is adjusted, the voltage of the power supply module alternately decreases and increases, and the minimum value after each voltage decrease is greater than the restart voltage.

[0165] The control method provided in this embodiment can improve the user experience for the following reasons:

[0166] When the voltage of the power supply module in the system drops, it will cause the power supply module to restart. If the power supply module restarts, the system will also restart. When the system is configured to display the module, a system restart will cause the display module to flicker, degrading the user experience. The method provided in this embodiment ensures that the voltage of the power supply module is greater than the restart voltage, preventing the power supply module from restarting, thereby preventing the system from restarting, and ultimately preventing the display module from flickering, thus improving the user experience.

[0167] In this embodiment, the voltage of the power supply module of the data transmission system is obtained. When the voltage of the power supply module drops, the operating mode of the target module supplied by the power supply module is adjusted so that the voltage of the power supply module is greater than the restart voltage, thus preventing the power supply module from restarting. This prevents the data transmission system from restarting along with the power supply module. In other words, while reducing the operating cost of the system by supplying power to each module in the data transmission system through the power supply module, the stable operation of the data transmission system is ensured. This ensures that all functions of the data transmission system can be used normally, improving the user experience. In other words, the data transmission system has the advantages of low-cost operation, high operational stability, and improved user experience.

[0168] Reference Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the control method disclosed herein, based on Figure 2 In the embodiment shown, step S202 includes:

[0169] In step S301, in response to the voltage drop of the power supply module, the communication module powered by the power supply module is controlled to send data at a target interval to ensure that the voltage of the power supply module is greater than the restart voltage.

[0170] During system operation, data is transmitted to external devices via the communication module. Data transmission consumes electrical energy, causing a voltage drop in the power supply module. Therefore, it is necessary to adjust the operating mode of the communication module. In this embodiment, the target module refers to the communication module in operation.

[0171] When the target module is a communication module, the system controls the communication module to send data at target intervals. The target interval can be any suitable value, for example, 100 milliseconds.

[0172] In this embodiment, by controlling the communication module to send data at target intervals, the voltage of the power supply module will recover during the target interval when no data is sent, thereby ensuring that the voltage of the power supply module is greater than the restart voltage, thus ensuring that the system will not restart and improving the user experience.

[0173] In one embodiment, the reason why the communication module consumes a lot of power when sending data is that the current communication protocol of the communication module has a slow data transmission rate. To address this, the system switches the current communication protocol of the communication module to the target communication protocol. For example, the system can eliminate communication protocols with slow transmission rates from multiple communication protocols, and use the remaining communication protocols as the target communication protocol. Communication protocols with transmission rates lower than a preset rate are considered slow-transmission protocols.

[0174] Furthermore, the network environment in which the system operates may experience network fluctuations. If the network signal is currently weak, the communication module may take too long to transmit data, increasing the communication time and causing the communication module to operate at high power consumption for an extended period, leading to a drop in the power supply module's voltage. Additionally, a weak network signal may prevent the communication module from receiving response messages from the network. The communication module will then retransmit data to the network to obtain a response, resulting in prolonged high power consumption and further reducing the power supply module's voltage. To address this, the system controls the communication module to stop transmitting data to reduce its power consumption and thus increase the power supply module's voltage.

[0175] In addition, after the system switches the current communication protocol of the communication module to the target communication protocol, it controls the communication module to send data at target intervals under the target communication protocol, so that the voltage of the power supply module is greater than the restart voltage.

[0176] In addition, the system includes a viewing function with a corresponding activation password. When an external device connects to the system, it enters an initial password. The external device then generates a usage request for the viewing function based on this initial password and sends the request to the system. The system parses the usage request to obtain the initial password. If the initial password matches the activation password, the system executes the viewing function. The viewing function involves plotting the voltage of the power supply module as a curve and sending the curve to the external device for display, allowing users to observe voltage changes in the power supply module. The curve can also include multiple specific time points, such as the time when the communication module starts and stops sending data. This viewing function allows users to easily monitor voltage changes in the power supply module and the data transmission status of the communication module. By observing these voltage changes and data transmission status, users can perform self-testing for faults in both the power supply and communication modules, improving the user experience.

[0177] In this embodiment, the system ensures that the voltage of the power supply module is greater than the restart voltage by switching the communication protocol of the communication module or controlling the communication module to stop sending data.

[0178] Reference Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the control method disclosed herein, based on Figure 3 In the embodiment shown, step S301 includes:

[0179] Step S401: Obtain the operating mode of the communication module.

[0180] Step S402: According to the operating mode, control the communication module to send data at target intervals.

[0181] In this embodiment, the communication module is equipped with multiple operating modes, including at least a network mode and a data transmission mode.

[0182] Networked mode refers to the connection between the communication module and the network. In networked mode, the system first scans the network channels to attempt to connect to the network access point; once the access point connection is successful, an authentication request is sent to authenticate the system's identity; once authentication is successful, the system then associates with the network gateway device through the communication module. During the association process, the system sends network data packets to the gateway device for a handshake.

[0183] Data transmission mode refers to the system interacting with external devices through the communication module.

[0184] In both network mode and data transmission mode, the communication module needs to send data, which causes a voltage drop in the power supply module. However, the adjustment strategy for the communication module's operation differs depending on the operating mode. Therefore, the system needs to control the communication module to send data at target intervals based on its operating mode. An example of controlling the communication module to send data at target intervals based on its operating mode is as follows:

[0185] In one example, when the communication module operates in networking mode, the system repeatedly sends network data packets to ensure a successful network connection, resulting in high power consumption and a drop in the power supply module's voltage. Therefore, the system controls the communication module to send network data packets at target intervals. Sending network data packets at target intervals interrupts the continuous retransmission of network data packets, reducing power consumption. Sending network data packets at target intervals allows the communication module to attempt multiple network connection attempts, ensuring a successful network connection for the system.

[0186] In another example, when the communication module operates in data transmission mode, the system determines the capacity of the data packet to be sent. If the capacity is greater than the preset capacity, it can be determined that the data packet sent by the communication module is a large-capacity data packet. Sending large-capacity data packets takes a long time, resulting in higher power consumption and a voltage drop in the power supply module. Therefore, the system divides the large-capacity data packet into multiple sub-data packets. The system controls the communication module to send one or more sub-data packets at target intervals, and the total capacity of each sub-data packet sent is less than the capacity of the large-capacity data packet. It can be understood that by dividing the large-capacity data packet into multiple sub-data packets and sending one or more sub-data packets at target intervals, the system ensures that the communication module's data transmission time is not too long in a single session, thus preventing excessive power consumption. The power supply module's voltage rises during the target interval when the communication module is not sending data packets, and the power consumption of the communication module is low during a single data packet transmission. The voltage drop in the power supply module is small or even non-existent, ensuring that the power supply module's voltage is greater than the restart voltage, thereby preventing the system from restarting and ensuring stable system operation.

[0187] In one embodiment, when the operating mode instructs the communication module to connect to the network, the system has multiple ways to control the communication module to send network data packets at target intervals. The specific methods are as follows:

[0188] In one example, the system controls the communication module to send a target number of network data packets at target intervals, where the target number is lower than the set number of network data packets sent by the communication module for network connection. For instance, normally the communication module sends four network data packets to connect to the network. If the system controls the communication module to send network data packets at target intervals, the communication module will send only two network data packets per transmission instead of four. Reducing the number of network data packets sent per transmission lowers the communication module's power consumption. The reduced power requirement of the communication module prevents a drop in the voltage of the power supply module, ensuring that the voltage of the power supply module is greater than the restart voltage and preventing the system from restarting.

[0189] In another example, the system controls the communication module to send one or more network data packets within a first data transmission duration at target intervals. The first data transmission duration is set based on a network connection limit, which refers to the maximum duration the system can stay connected to the network. For example, if the system needs to establish a network connection within 1000 milliseconds, then 1000 milliseconds is the network connection limit. A specific example of setting the first data transmission duration based on the network connection limit is as follows:

[0190] In one sub-example, the duration of the first data transmission is set to be less than the network upper limit duration. For instance, the network upper limit duration is 1000 milliseconds, and the communication module can send 8 network data packets within 1000 milliseconds. Since the first data transmission duration is less than 1000 milliseconds, the number of network data packets sent by the communication module within the first data transmission duration is less than the number sent within the network upper limit duration. This reduces the number of data packets sent by the communication module at a time, resulting in a smaller voltage drop in the power supply module before its subsequent rise, thus ensuring that the power supply module's voltage is greater than the restart voltage. Furthermore, the first data transmission duration cannot be set too small; it must ensure that the communication module sends at least one network data packet within the first data transmission duration, meaning that the communication module performs at least one handshake with the network each time it sends a network data packet. In this sub-example, the duration of the first data transmission can vary each time, but each duration is less than the network upper limit duration.

[0191] In another sub-example, the current voltage of the power supply module is obtained, and a first difference between the current voltage and the restart voltage is determined. Then, a first data transmission duration is determined based on the first difference and the network connection limit duration. For example, an initial data transmission duration is first set based on the network connection limit duration, which is less than the network connection limit duration. Then, the initial data transmission duration is corrected using the first difference to obtain the first data transmission duration. For instance, if the system has a voltage modification threshold, when the first difference is less than the modification threshold, the current voltage is closer to the restart voltage, increasing the probability of the power supply module restarting. In this case, the system needs to reduce the initial data transmission duration to shorten the duration of continuous data transmission by the communication module, thereby reducing the power consumption of the communication module and ensuring that the voltage of the power supply module remains constant or increases. When the first difference is greater than or equal to the modification threshold, the current voltage is slightly greater than the restart voltage, so the probability of the power supply module restarting does not increase, and there is no need to reduce the power consumption of the communication module by decreasing the initial data transmission duration.

[0192] After determining the duration of the first data transmission, the system sets a target number of times the communication module will send data. For example, if the communication module sends data in four batches, these four batches constitute the target number. The duration between two consecutive data transmissions is the target interval. The duration of each data transmission is the duration of the first data transmission. The system controls the communication module to send data only after the target interval. Furthermore, the system sets a maximum tolerance duration for successful network connection. This maximum tolerance duration is the upper limit of tolerance. Therefore, the total duration obtained by multiplying the sum of the target interval and the duration of the first data transmission by the target number of transmissions is less than the maximum tolerance duration. For example, if the target number of transmissions is 10, the upper limit of tolerance is 3000 milliseconds, the target interval is 200 milliseconds, the duration of the first data transmission is 50 milliseconds, and the total duration of the communication module stopping and transmitting data once is 200 milliseconds + 50 milliseconds = 250 milliseconds, the product of the total duration and the target number of transmissions is 2500 milliseconds. 2500 milliseconds is less than the upper limit of tolerance of 3000 milliseconds.

[0193] It should be noted that when the system determines the operating mode and instructs the communication module to connect to the network, the device can directly control the communication module to send network data packets at target intervals. However, sending a network data packet to the network once may complete the connection between the communication module and the network. In this case, sending network data packets again at target intervals would waste the communication module's resources.

[0194] In response, when the operating mode instructs the communication module to connect to the network, the system obtains the target parameters corresponding to this connection. These parameters include the number of network connection failures and the signal quality parameters of the target network to which the communication module connects. If the target parameters meet the set conditions, the system then controls the communication module to send network data packets at target intervals. Meeting these conditions includes at least one of the following: the number of network connection failures exceeding a preset number or the signal quality parameters falling below a preset threshold. The specific explanation for controlling the communication module to send network data packets at target intervals when the number of network connection failures exceeds the preset number or the signal quality parameters fall below the preset threshold is as follows:

[0195] If the number of network connection failures exceeds the preset number, the communication module will continuously and repeatedly send network data packets. Continuous and repeated sending of network data packets will cause the power consumption of the communication module to be high, which may reduce the voltage of the power supply module. In this case, the communication module is controlled to send network data packets at target intervals to interrupt the continuous and repeated sending of network data packets, thereby reducing the power consumption of the communication module and making the voltage of the power supply module higher than the restart voltage, thus preventing the power supply module from restarting.

[0196] It should be noted that during the phase when the communication module sends network data packets at target intervals, the system still records the number of network connection failures. If the currently recorded number of network connection failures reaches the upper limit, it can be determined that a network problem is causing the communication module to fail to connect to the network. The system then controls the communication module to stop sending network data packets and outputs a prompt message. This prompt message is used to instruct the user to check the network device to determine if the network device is malfunctioning. The upper limit is greater than the preset limit.

[0197] If the signal quality parameters are lower than the preset threshold, it can be determined that the network quality of the target network is poor. The communication module needs to connect to the target network multiple times before it can successfully connect. In this case, the communication module is controlled to send network data packets at target intervals to reduce the power consumption of the communication module and make the voltage of the power supply module greater than the restart voltage to avoid restarting the power supply module.

[0198] Furthermore, if the communication module is constantly connected to the network, functions that do not require a network connection will also malfunction, degrading the user experience. To address this, the device obtains the first interval between the time the communication module begins sending data and the current time. If this first interval is greater than or equal to the tolerable upper limit, the device controls the communication module to stop sending data, allowing functions that do not require a network connection to operate normally, thus improving the user experience. The tolerable upper limit is the maximum tolerable duration mentioned above, as detailed in the explanation above, and will not be repeated here.

[0199] It should be noted that when the operating mode instructs the communication module to connect to the network, the system determines whether the system has successfully connected to the network while sending network data packets after each target time interval. If the system has successfully connected to the network, the system controls the communication module to stop sending network data packets and no longer adjusts the operating mode of the communication module, that is, it no longer sends network data packets at each target time interval.

[0200] Reference Figure 5 , Figure 5 This is a flowchart illustrating the fourth embodiment of the control method disclosed herein, based on Figures 2 to 4 In any of the embodiments shown, step S201 includes:

[0201] Step S501: Determine the second data transmission duration and the target interval duration of the communication module.

[0202] Step S502: For each target interval duration, the duration for which the control communication module sends data is less than or equal to the duration for which the second data is continuously sent.

[0203] In this embodiment, the system controls the communication module to send data at each target interval. The target interval and the duration of the second data transmission for each data transmission by the communication module need to be determined by the system.

[0204] For example, the duration of continuous second data transmission varies depending on the operating mode. For instance, if the operating mode instructs the communication module to connect to the network, the system obtains the maximum network connection time corresponding to this time and sets the duration of continuous second data transmission to be less than this maximum time. Conversely, if the operating mode instructs the communication module to send a large data packet, the system obtains the total time required for the communication module to complete sending the large data packet and sets the duration of continuous second data transmission to be less than this total time. For example, if the total time is 20 seconds, the duration of continuous second data transmission can be 1 second.

[0205] When the system needs to determine the target interval duration, it obtains the time required for the power supply module to recover from its lower voltage limit to its upper voltage limit. This time is an empirical value and is defined as the empirical duration. The system sets the target interval duration to be greater than the empirical duration to ensure that the power supply module's voltage recovers to a higher voltage within the target interval during which no data is transmitted, thus preventing the power supply module from restarting. For example, if testing shows that the time required for the power supply module to increase from its lower voltage limit to its upper voltage limit is 3000 milliseconds, then the target interval duration is set to 6000 milliseconds.

[0206] In this embodiment, the system determines the second data transmission duration and the target interval duration of the communication module, and controls the duration of the communication module's data transmission to be less than or equal to the second data transmission duration at each target interval, ensuring that the system will not restart while ensuring that the communication module completes data transmission in advance.

[0207] Reference Figure 6 , Figure 6 This is the fifth embodiment of the control method disclosed herein. Based on the fourth embodiment, the determination of the second data transmission duration in step S501, which involves the communication module transmitting data, includes:

[0208] Step S601: Obtain the voltage drop time of the power supply module from the initial voltage to the restart voltage. The initial voltage is used to indicate the voltage of the power supply module when the communication module is not running.

[0209] In this embodiment, the power supply module provides sufficient power to the communication module, ensuring stable system operation. If the power supply module voltage drops to the restart voltage, the system will restart. Based on this, the system sets a second data transmission duration based on the interval between its normal operation and restart.

[0210] Specifically, the system acquires the voltage drop duration of the power supply module from the initial voltage to the restart voltage. The initial voltage refers to the voltage of the power supply module when the communication module is not running, and the restart voltage refers to the voltage of the power supply module when the system transitions from the running state to the restart state. The voltage drop duration can be acquired in several ways; see the following example for details:

[0211] In one example, the voltage drop duration can be obtained by testing the voltage drop of the power supply module in the system. The obtained drop duration is stored in the system, and the system retrieves the stored drop duration as the voltage drop duration.

[0212] In another example, the system first determines the protection voltage using the restart voltage. The protection voltage refers to the voltage of the power supply module when the system is at the critical restart point, while the restart voltage refers to the voltage of the power supply module when the system transitions from the running state to the restart state. Therefore, the protection voltage is greater than the restart voltage. After obtaining the protection voltage, the system acquires the voltage drop rate corresponding to the power supply module and determines the second difference between the initial voltage and the protection voltage. The system uses the ratio between the second difference and the voltage drop rate as the voltage drop duration. There are several ways to obtain the voltage drop rate. In one sub-example, the voltage drop rate is an empirical value obtained by testing the voltage drop rate of the power supply module. This empirical value is stored in the system, and the system extracts it from the storage area as the voltage drop rate. In another sub-example, the voltage drop rate can be acquired in real time. Specifically, the system acquires the first voltage V1 of the power supply module from the last acquisition and the first acquisition time point t1. The system then acquires the second voltage V2 of the power supply module currently being acquired and the second acquisition time point t2. Therefore, the voltage drop rate = (V1-V2) / (t2-t1).

[0213] Step S602: Determine the second data transmission duration of the communication module based on the voltage drop duration, wherein the second data transmission duration is less than the voltage drop duration.

[0214] The voltage drop duration is a theoretical value. In reality, the time it takes for the initial voltage of the power supply module to drop to the restart voltage may be shorter than the voltage drop duration. Therefore, one way to set the second data continuous transmission duration is to set it to be less than the voltage drop duration. Another way to set the second data continuous transmission duration is to multiply the voltage drop duration by a coefficient less than 1 to obtain the second data continuous transmission duration. For example, the coefficient is 0.25, which means taking one-quarter of the voltage drop duration as the second data continuous transmission duration.

[0215] In this embodiment, the device obtains the voltage drop duration of the power supply module from the initial voltage drop to the restart voltage, and then accurately determines the second data transmission duration of the communication module by using the voltage drop duration.

[0216] Reference Figure 7 , Figure 7 In the sixth embodiment of the control method disclosed herein, based on the fourth or fifth embodiment, determining the target interval duration in step S501 includes:

[0217] Step S701: Obtain the voltage recovery time of the power supply module from the target voltage to the initial voltage. The initial voltage is used to indicate the voltage of the power supply module when the communication module is not running.

[0218] In this embodiment, the data transmission interval of the communication module needs to be set by the voltage recovery time of the power supply module. The interval is the target interval mentioned above, and the voltage recovery time refers to the time it takes for the target voltage to recover to the initial voltage. The target voltage is either the restart voltage or the protection voltage. There are several ways to determine the voltage recovery time; see the following example for details:

[0219] In one example, the voltage recovery time is a test value of the power supply module recovering from the target voltage to the initial voltage, which is stored in the system. The system retrieves the stored test value from the storage area as the voltage recovery time.

[0220] In another example, the system obtains the voltage recovery rate of the power supply module and determines a third difference between the initial voltage and the target voltage. Based on the ratio between the third difference and the voltage recovery rate, the voltage recovery time is determined.

[0221] The voltage recovery rate can be obtained through the following example:

[0222] In one example, the voltage recovery rate can be determined by the voltage drop rate, for example, by multiplying the voltage drop rate by a factor. This factor is obtained as follows:

[0223] Under standard operating conditions, the voltage drop rate and voltage recovery rate of the power supply module are tested, and the ratio of the voltage recovery rate to the voltage drop rate is set as a multiple in the device.

[0224] In another example, the voltage recovery rate can be determined based on the voltage recovery process of the power supply module. Specifically, the system acquires the third and fourth voltages of the power supply module during the voltage recovery process, with the acquisition time of the fourth voltage being later than that of the third voltage. The system determines the voltage recovery rate of the power supply module based on the acquisition time intervals of the third voltage, the fourth voltage, and the third voltage and the fourth voltage. For example, the system stores the voltages of the power supply module after the target module has previously adjusted its operating mode. Each voltage has a corresponding acquisition time point. Based on each acquisition time point, it can be determined that the voltage of the power supply module has recovered from time point x to time point y. Then, two voltages are randomly acquired from time point x to time point y. The earlier acquisition time point of the two voltages is defined as the third voltage V3, and the other voltage is defined as the fourth voltage V4. The acquisition time point of the third voltage is t3, and the acquisition time point of the fourth voltage is t4. Then, the voltage recovery rate = (V4-V3) / (t4-t3).

[0225] Step S702: Determine the target interval duration based on the voltage recovery time, where the target interval duration is longer than the voltage recovery time.

[0226] After obtaining the voltage recovery time, the target interval time can be determined based on the voltage recovery time. Specifically, the voltage recovery time is a theoretical value, and the actual recovery time of the power supply module voltage may be longer than the voltage recovery time. Therefore, the target interval time is set to be longer than the voltage recovery time.

[0227] In this embodiment, the system can accurately determine the target interval duration by measuring the time it takes for the target voltage of the power supply module to recover to the initial voltage.

[0228] Based on the control method provided in the above embodiments, this disclosure also provides specific implementation methods of the data transmission system. Please refer to the following embodiments.

[0229] First see Figure 8 The data transmission system 800 provided in this embodiment includes:

[0230] The acquisition module 810 is used to acquire the voltage of the power supply module in the data transmission system;

[0231] Adjustment module 820 is used to adjust the operating mode of the target module supplied by the power supply module so that the voltage of the power supply module is greater than the restart voltage.

[0232] In one embodiment, the data transmission system 800 is further configured to:

[0233] The control communication module sends data at target intervals.

[0234] In another embodiment, the data transmission system 800 is further used for:

[0235] Obtain the operating mode of the communication module;

[0236] Depending on the operating mode, the control communication module sends data at target intervals.

[0237] In another embodiment, the data transmission system 800 is further used for:

[0238] In response to the operating mode instruction, the communication module connects to the network and controls the communication module to send network data packets at target intervals.

[0239] In another embodiment, the data transmission system 800 is further used for:

[0240] At each target interval, the control communication module sends a target number of network data packets, with the target number being lower than the set number of network data packets sent by the communication module for network connection.

[0241] In another embodiment, the data transmission system 800 is further used for:

[0242] At each target interval, the control communication module sends one or more network data packets within the first data continuous transmission duration, where the first data continuous transmission duration is less than the network upper limit duration associated with the communication module.

[0243] In another embodiment, the data transmission system 800 is further used for:

[0244] Get the current voltage of the power supply module;

[0245] Determine the first difference between the current voltage and the restart voltage, and determine the first data transmission duration based on the first difference and the network connection limit duration.

[0246] In another embodiment, the data transmission system 800 is further used for:

[0247] Obtain the target parameters corresponding to the communication module's network connection. The target parameters include at least one of the following: the number of network connection failures of the communication module and the signal quality parameters of the communication module connecting to the target network.

[0248] In response to the target parameters meeting the set conditions, the control communication module sends network data packets every target interval. Meeting the set conditions includes at least one of the following: the number of network failures is greater than a preset number and the signal quality parameters are lower than a preset threshold.

[0249] In another embodiment, the data transmission system 800 is further used for:

[0250] Get the duration of the first interval between the time the communication module started sending data and the current time.

[0251] In response to a first interval duration being greater than or equal to the tolerance upper limit duration, the control communication module stops sending data.

[0252] In another embodiment, the data transmission system 800 is further used for:

[0253] In response to the determination of the communication module to send a large data packet based on the operating mode, the large data packet is divided into multiple sub-data packets. The large data packet is used to indicate data packets with a capacity greater than the preset capacity.

[0254] At each target interval, the control communication module sends one or more sub-data, with the number of sub-data sent each time being less than the total number of sub-data.

[0255] In another embodiment, the data transmission system 800 is further used for:

[0256] Determine the duration of the second data transmission and the target interval duration of the data sent by the communication module;

[0257] For each target interval, the duration for which the control communication module sends data is less than or equal to the duration for which the second data is continuously sent.

[0258] In another embodiment, the data transmission system 800 is further used for:

[0259] The voltage drop time of the power supply module from the initial voltage to the restart voltage is obtained. The initial voltage is used to indicate the voltage of the power supply module when the communication module is not running, and the restart voltage is used to indicate the voltage of the power supply module when the data transmission system switches from the running state to the restart state.

[0260] The duration of the second data transmission is determined based on the duration of voltage drop, and the duration of the second data transmission is less than the duration of voltage drop.

[0261] In another embodiment, the data transmission system 800 is further used for:

[0262] The protection voltage is determined based on the restart voltage, and the protection voltage is greater than the restart voltage.

[0263] Obtain the voltage drop rate corresponding to the power supply module and determine the second difference between the initial voltage and the protection voltage;

[0264] The voltage drop duration is determined by the ratio between the second difference and the voltage drop rate.

[0265] In another embodiment, the data transmission system 800 is further used for:

[0266] Determine the voltage recovery time for the power supply module to recover from the target voltage to the initial voltage. The initial voltage is used to indicate the voltage of the power supply module when the communication module is not running, and the target voltage is the restart voltage or protection voltage.

[0267] The target interval duration is determined based on the voltage recovery time, and the target interval duration is longer than the voltage recovery time.

[0268] In another embodiment, the data transmission system 800 is further used for:

[0269] Obtain the voltage recovery rate of the power supply module;

[0270] Determine the third difference between the initial voltage and the target voltage;

[0271] The voltage recovery time is determined based on the ratio between the third difference and the voltage recovery rate.

[0272] In another embodiment, the data transmission system 800 is further used for:

[0273] Obtain the first voltage and first acquisition time of the power supply module from the previous acquisition, and obtain the second voltage and second acquisition time of the power supply module from the current acquisition.

[0274] Determine the voltage difference between the first voltage and the second voltage, and determine the time difference between the first acquisition time and the second acquisition time;

[0275] The voltage drop rate of the power supply module is determined based on the ratio between the voltage difference and the time difference.

[0276] In another embodiment, the data transmission system 800 is further used for:

[0277] The third and fourth voltages of the power supply module during the voltage recovery process are obtained, wherein the acquisition time of the fourth voltage is later than the acquisition time of the third voltage.

[0278] The voltage recovery rate of the power supply module is determined based on the third voltage, the fourth voltage, and the second interval between the acquisition time points of the third voltage and the fourth voltage.

[0279] In another embodiment, the data transmission system 800 is further used for:

[0280] Switch the current communication protocol of the communication module to the target communication protocol.

[0281] In another embodiment, the data transmission system 800 is further used for:

[0282] Control the communication module to stop sending data.

[0283] In another embodiment, the data transmission system 800 is further used for:

[0284] In response to the voltage of the power supply module dropping to the target voltage, the operating mode of the target module is adjusted.

[0285] In another embodiment, the data transmission system 800 is further used for:

[0286] In response to a voltage drop in the power supply module lasting longer than a preset duration, the operating mode of the target module is adjusted.

[0287] In another embodiment, the data transmission system 800 is further used for:

[0288] Obtain the current and rated power of the power supply module;

[0289] The voltage of the power supply module is determined based on the rated power and current.

[0290] Reference Figure 9 , Figure 9 This is a schematic diagram of the hardware structure of the data transmission device / electronic device provided in the embodiments of this disclosure.

[0291] The data transmission device / electronic device may include a processor 901, a memory 902 storing computer program instructions, and a power supply module 903.

[0292] Specifically, the processor 901 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this disclosure.

[0293] Memory 902 may include mass storage for data or instructions. For example, and not limitingly, memory 902 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 902 may include removable or non-removable (or fixed) media. Where appropriate, memory 902 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 902 is non-volatile solid-state memory.

[0294] The power supply module 903 supplies power to the modules within the data transmission device 900, which may be communication modules, display modules, etc.

[0295] In a particular embodiment, memory 902 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0296] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.

[0297] The processor 901 implements any of the control methods described in the above embodiments by reading and executing computer program instructions stored in the memory 902.

[0298] In one example, the data transmission device / electronic device may further include a communication interface 904 and a bus 310. Wherein, as... Figure 9 As shown, the processor 901, memory 902, and communication interface 904 are connected through bus 310 and complete communication with each other.

[0299] The communication interface 904 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this disclosure.

[0300] Bus 910 includes hardware, software, or both, that couples components of a data transmission device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 910 may include one or more buses. Although specific buses are described and illustrated in embodiments of this disclosure, this disclosure contemplates any suitable bus or interconnect.

[0301] Furthermore, the data transmission device / electronic device may also include an energy storage module (not indicated), the maximum energy storage capacity of which is lower than a preset storage capacity.

[0302] The control methods described in the above embodiments can be implemented using a computer storage medium provided in this disclosure. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the control methods described in the above embodiments.

[0303] This disclosure also provides a computer program product, including a computer program, which, when executed, implements any of the control methods described in the above embodiments.

[0304] It should also be noted that the exemplary embodiments mentioned in this disclosure describe methods or systems based on a series of steps or apparatus. However, this disclosure is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0305] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of control methods, data transmission systems, data transmission apparatuses, electronic devices, computer storage media, and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to create a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A control method, characterized in that, The control method is applied to a data transmission system, wherein the data transmission system is equipped with a power supply module, and the control method includes: Obtain the voltage of the power supply module; In response to a voltage drop in the power supply module, the operating mode of the target module supplied by the power supply module is adjusted so that the voltage of the power supply module is greater than the restart voltage, which is used to indicate the voltage at which the power supply module switches from the operating state to the restart state.

2. The control method according to claim 1, characterized in that, The target module is a communication module in operation, and the steps for adjusting the operating mode of the target module powered by the power supply module include: The communication module is controlled to send data at target intervals.

3. The control method according to claim 2, characterized in that, The step of controlling the communication module to send data at target intervals includes: Obtain the operating mode of the communication module; According to the operating mode, the communication module is controlled to send data at target intervals.

4. The control method according to claim 3, characterized in that, According to the operating mode, the steps for controlling the communication module to send data at target intervals include: In response to the operating mode instructing the communication module to connect to the network, the communication module is controlled to send network data packets at target intervals.

5. The control method according to claim 4, characterized in that, The step of controlling the communication module to send network data packets at target intervals includes: At each target interval, the communication module is controlled to send a target number of network data packets, where the target number is lower than the set number of network data packets sent by the communication module for network connection.

6. The control method according to claim 4, characterized in that, The step of controlling the communication module to send network data packets at target intervals includes: At each target interval, the communication module is controlled to send one or more network data packets within a first data transmission duration, wherein the first data transmission duration is less than the network upper limit duration associated with the communication module.

7. The control method according to claim 6, characterized in that, Before the step of controlling the communication module to send one or more network data packets within the first data transmission duration, the method described in the target interval duration for each interval further includes: Obtain the current voltage of the power supply module; A first difference between the current voltage and the restart voltage is determined, and the duration of continuous data transmission is determined based on the first difference and the network connection limit duration.

8. The control method according to claim 4, characterized in that, The step of controlling the communication module to send network data packets at target intervals includes: Obtain the target parameters corresponding to the communication module's network connection, the target parameters including at least one of the number of network connection failures of the communication module and the signal quality parameters of the communication module connecting to the target network; In response to the target parameters meeting the set conditions, the communication module is controlled to send network data packets at target intervals. The set conditions include at least one of the following: the number of network failures is greater than a preset number and the signal quality parameter is lower than a preset threshold.

9. The control method according to claim 4, characterized in that, After the step of controlling the communication module to send network data packets at target intervals, the method further includes: Obtain the first interval duration between the time point when the communication module starts sending data and the current time point; In response to the first interval being greater than or equal to the tolerance upper limit, the communication module is controlled to stop sending data.

10. The control method according to claim 3, characterized in that, The step of controlling the communication module to send data at target intervals according to the operating mode includes: In response to determining that the communication module is sending a large data packet according to the operating mode, the large data packet is divided into multiple sub-data packets, wherein the large data packet is used to indicate a data packet with a capacity greater than a preset capacity; At each target interval, the communication module is controlled to send one or more sub-data packets, and the total capacity of the sub-data packets sent each time is less than the capacity of the large-capacity data packet.

11. The control method according to claim 2, characterized in that, The step of controlling the communication module to send data at target intervals includes: The duration of the second data transmission and the target interval duration are determined by the communication module. At each target interval, the duration for which the communication module sends data is controlled to be less than or equal to the duration for which the second data is continuously sent.

12. The control method according to claim 11, characterized in that, The step of determining the second data transmission duration of the communication module includes: The voltage drop time of the power supply module from the initial voltage to the restart voltage is obtained, wherein the initial voltage is used to indicate the voltage of the power supply module when the communication module is not running; The second data transmission duration is determined based on the voltage drop duration, and the second data transmission duration is less than the voltage drop duration.

13. The control method according to claim 12, characterized in that, The step of obtaining the voltage drop time of the power supply module from the initial voltage to the restart voltage includes: The protection voltage is determined based on the restart voltage, and the protection voltage is greater than the restart voltage. Obtain the voltage drop rate corresponding to the power supply module, and determine the second difference between the initial voltage and the protection voltage; The duration of voltage drop is determined based on the ratio between the second difference and the voltage drop rate.

14. The control method according to claim 13, characterized in that, The step of determining the target interval duration includes: Determine the voltage recovery time for the power supply module to recover from the target voltage to the initial voltage, wherein the initial voltage is used to indicate the voltage of the power supply module when the communication module is not running, and the target voltage is the restart voltage or the protection voltage; The target interval duration is determined based on the voltage recovery time, and the target interval duration is longer than the voltage recovery time.

15. The control method according to claim 14, characterized in that, The step of determining the voltage recovery time for the power supply module to recover from the target voltage to the initial voltage includes: Obtain the voltage recovery rate of the power supply module; Determine a third difference between the initial voltage and the target voltage; The voltage recovery time is determined based on the ratio between the third difference and the voltage recovery rate.

16. The control method according to claim 1, characterized in that, The target module is a communication module in operation, and the steps for adjusting the operating mode of the target module powered by the power supply module include: Switch the current communication protocol of the communication module to the target communication protocol.

17. The control method according to claim 1, characterized in that, The target module is a communication module in operation, and the steps for adjusting the operating mode of the target module powered by the power supply module include: Control the communication module to stop sending data.

18. A data transmission system, characterized in that, The data transmission system includes: An acquisition module is used to acquire the voltage of the power supply module in the data transmission system; An adjustment module is used to adjust the operating mode of the target module supplied by the power supply module so that the voltage of the power supply module is greater than the restart voltage, wherein the restart voltage is used to indicate the voltage at which the power supply module switches from the operating state to the restart state.

19. A data transmission device, characterized in that, The data transmission device includes a power supply module, a processor, and a memory storing computer program instructions; The power supply module is used to supply power to the various modules of the data transmission device; When the processor executes the computer program instructions, it implements the method as described in any one of claims 1-17.

20. An electronic device, characterized in that, The electronic device includes a processor, a communication interface, a memory, a communication bus, and a power supply module, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The power supply module is used to supply power to the modules inside the electronic device; The memory is used to store computer programs; When the processor executes the program stored in the memory, it implements the method as described in any one of claims 1-17.

21. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the method as described in any one of claims 1-17.

22. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-17.