CN115663952A - Control method and device for intelligent power-off data line - Google Patents

Control method and device for intelligent power-off data line Download PDF

Info

Publication number
CN115663952A
CN115663952A CN202211316080.2A CN202211316080A CN115663952A CN 115663952 A CN115663952 A CN 115663952A CN 202211316080 A CN202211316080 A CN 202211316080A CN 115663952 A CN115663952 A CN 115663952A
Authority
CN
China
Prior art keywords
power
target value
value
preset
judgment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211316080.2A
Other languages
Chinese (zh)
Inventor
陈龙扣
黄清淑
刘明俭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Baseus Technology Co Ltd
Original Assignee
Shenzhen Baseus Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Baseus Technology Co Ltd filed Critical Shenzhen Baseus Technology Co Ltd
Priority to CN202211316080.2A priority Critical patent/CN115663952A/en
Publication of CN115663952A publication Critical patent/CN115663952A/en
Priority to PCT/CN2023/103383 priority patent/WO2024087698A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The embodiment of the application relates to the field of data lines, and provides a control method and a control device for an intelligent power-off data line, wherein the control method for the intelligent power-off data line comprises the steps of acquiring electric signal data of the data line in real time, determining a corresponding target value according to the electric signal data, and determining whether the target value is smaller than a first preset value; when the target value is smaller than a first preset value, determining a plurality of judgment durations from the current time point, and sequentially determining whether the target value in each judgment duration meets the corresponding power-off condition; and when the target value in each judgment duration meets the corresponding power-off condition, controlling the data line to perform power-off operation. The method and the device can avoid misjudgment caused by sudden current change during charging short message prompt or temporary use, and can improve the satisfaction degree of consumers.

Description

Control method and device for intelligent power-off data line
Technical Field
The invention relates to the field of data lines, in particular to a control method and device of an intelligent power-off data line.
Background
At present, there is more data line that includes the intelligence outage function in the market, and when battery charging outfit was full of, the intelligence outage data line will automatic cutout data line and battery charging outfit between the contact to avoid battery charging outfit overcharge, not only can prolong battery charging outfit's life, can also energy-concerving and environment-protective, reduce unnecessary electric quantity loss.
However, the existing intelligent power-off data line is not accurate enough for detecting whether the charging equipment is fully charged, and the normal charging of the charging equipment is influenced due to the fact that misjudgment is usually caused, so that the consumption experience of consumers is influenced.
Disclosure of Invention
The invention aims to provide a control method and a control device for an intelligent power-off data line.
In a first aspect, the present invention provides a method for controlling an intelligent power-off data line, the method including:
s100: acquiring electrical signal data of a data line in real time, determining a corresponding target value according to the electrical signal data, and determining whether the target value is smaller than a first preset value;
s200: when the target value is smaller than the first preset value, determining a plurality of judgment durations from the current time point, and sequentially determining whether the target value in each judgment duration meets the corresponding power-off condition;
s300: and when the target value in each judgment duration meets the corresponding power-off condition, controlling the data line to perform power-off operation.
In an optional embodiment, the determining whether the target value in each determination duration satisfies the corresponding power outage condition sequentially includes:
determining whether the target value in the first judgment duration meets a corresponding first power-off condition;
if the target value in the first judgment duration meets the first power-off condition, determining whether the target value in the second judgment duration meets a corresponding second power-off condition;
if the target value in the second judgment duration meets the second power-off condition, determining whether the target value in the third judgment duration meets a corresponding third power-off condition;
and if the target value in the third judgment duration meets the third power-off condition, determining that the target value in each judgment duration meets the corresponding power-off condition, wherein the first judgment duration, the second judgment duration and the second judgment duration are sequentially increased.
In an optional embodiment, the determining whether the target value within the first determination period satisfies a corresponding first power-off condition includes:
determining whether the target value corresponding to each time point in the first judgment duration from the current time point is smaller than the first preset value;
if the target value corresponding to each time point is smaller than the first preset value, determining that the target value in the first judgment duration meets a corresponding first power-off condition;
and if the target value corresponding to any time point in the first judgment duration is greater than or equal to the first preset value, starting timing and clearing operation from the current time point, and executing the step S100.
In an alternative embodiment, the determining whether the target value within the second judgment period satisfies a corresponding second power-off condition includes:
determining whether the target value corresponding to each time point in the second judgment duration from the current time point is smaller than a second preset value;
if the target value corresponding to each time point is smaller than the second preset value, determining that the target value in the second judgment duration meets a corresponding second power-off condition;
and if the target value corresponding to any time point in the second judgment duration is greater than or equal to the second preset value, starting timing and clearing operation from the current time point, and executing the step S100.
In an optional embodiment, the determining whether the target value within the third determination period satisfies a corresponding third power-off condition includes:
determining whether the target value of each time point in the third judgment duration from the current time point is smaller than a third preset value;
if the target value corresponding to each time point is smaller than the third preset value, determining that the target value in the third judgment duration meets a corresponding third power-off condition;
if the target value corresponding to any time point in the third judgment time length is greater than or equal to the third preset value, recording the time length from the current time point when the target value is greater than or equal to the third preset value as an actual interference time length, and determining whether the actual interference time length is less than a preset interference time length;
when the actual interference duration is less than the preset interference duration, continuously determining whether the target value corresponding to each time point in the remaining duration of the third judgment duration is less than the third preset value; if the target value of each time point in the remaining time length is smaller than the third preset value, determining that the target value in the third judgment time length meets the third power-off condition;
and when the actual interference duration is greater than or equal to the preset interference duration, performing the determination of whether the target value of each time point in the third judgment duration from the current time point is smaller than a third preset value.
In an alternative embodiment, the determining whether the target value within the third determination period satisfies a corresponding third power-off condition includes:
dividing a third judgment time length from the current time point into a plurality of time periods, and determining the number of the time periods, corresponding to each time point, of which the target value is smaller than a third preset value in the plurality of time periods, as the number of times of meeting the power failure;
determining whether the satisfied power-off times are smaller than preset satisfied times;
and when the power outage meeting times are larger than or equal to the preset meeting times, determining that the target value in the third judgment duration meets a corresponding third power outage condition.
In an optional embodiment, the determining the corresponding target value according to the electrical signal data when the target value is the power value includes:
and determining a corresponding power value according to the current value and the voltage value.
In an alternative embodiment, the data line includes an indication unit, the method further comprising:
determining whether the power value is greater than a preset power value;
when the power value is larger than the preset power value, controlling the indicating unit to generate a corresponding indicating signal;
and when the power value is less than or equal to the preset power value, controlling the indication signal to be closed after keeping a preset holding time length from the current time point.
In an optional embodiment, the indicating unit is an indicator light, and an indicating signal of the indicator light comprises a normally-on state;
when the power value is larger than the preset power value, controlling the indicator lamp to keep on normally;
and when the power value is less than or equal to the preset power value, controlling the indicator lamp to keep the preset holding time to be normally on and then to be turned off.
In a second aspect, the present invention provides a control device for an intelligent power-off data line, the control device comprising:
the acquisition unit is used for acquiring the electric signal data of the data line in real time, determining a corresponding target value according to the electric signal data and determining whether the target value is smaller than a first preset value;
the judging unit is used for determining a plurality of judging durations from the current time point when the target value is smaller than the first preset value, and sequentially determining whether the target value in each judging duration meets the corresponding power-off condition;
and the power-off unit is used for controlling the data line to perform power-off operation when the target value in each judgment duration meets the corresponding power-off condition.
The embodiment of the invention has the beneficial effects that:
the embodiment of the application provides a control method of an intelligent power-off data line, which comprises the steps of acquiring electric signal data of the data line in real time, determining a corresponding target value according to the electric signal data, and determining whether the target value is smaller than a first preset value; when the target value is smaller than a first preset value, determining a plurality of judgment durations from the current time point, and sequentially determining whether the target value in each judgment duration meets the corresponding power-off condition; and when the target value in each judgment duration meets the corresponding power-off condition, controlling the data line to perform power-off operation. The method and the device can avoid misjudgment caused by current mutation during charging short message prompt or temporary use, and can improve the satisfaction degree of consumers.
In order to make the aforementioned objects, features and advantages of the present application comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 shows a schematic structural diagram of an intelligent power-off data line according to an embodiment of the present application;
fig. 2 shows a first flowchart of a control method for an intelligent power-off data line according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a first power-off condition determination method in an intelligent power-off data line control method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a first process of determining a third power-off condition in a control method for an intelligent power-off data line according to an embodiment of the present application;
fig. 5 is a second flowchart illustrating a third power outage condition determination process in the control method for an intelligent power outage data line according to the embodiment of the present application;
fig. 6 shows a schematic structural diagram of a control device of an intelligent outage data line according to an embodiment of the present application.
Description of the main element symbols:
10-intelligent power-off data line; 11-protocol acquisition module; 12-a micro control module; 13-a power-off switch module; 14-an electrical signal data acquisition module; 15-insertion recognition module; 100-control device of intelligent power-off data line; 110-an acquisition unit; 120-a judgment unit; 130-a power-down unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are intended to indicate only specific features, numerals, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the presence of or adding to one or more other features, numerals, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
Referring to fig. 1, an intelligent power-off data line 10 includes a micro control module 12, a power-off switch module 13, a protocol acquisition module 11, an electrical signal data acquisition module 14, and an insertion identification module 15. The micro control module may be an MCU (micro controller Unit) or the like, and is configured to receive and process information input by the protocol acquisition module, the electrical signal data acquisition module, and the insertion identification module, and send a control instruction to the power-off switch module. The electric signal data acquisition module is used for acquiring electric signal data flowing through the intelligent power-off data line. The power-off switch module is arranged in the intelligent power-off data line and used for receiving a control command sent by the micro control module so as to control the power-on and power-off of the intelligent power-off data line. The plug-in identification module is used for detecting whether to plug in the equipment to be charged, and the protocol acquisition module is used for acquiring the communication protocol type of the equipment to be charged.
Exemplarily, as shown in fig. 2, the method for controlling the smart power down data line includes steps S100 to S300.
Step S100: and acquiring the electric signal data of the data line in real time, determining a corresponding target value according to the electric signal data, and determining whether the target is smaller than a first preset value.
It can be understood that, when the insertion identification module of the intelligent power-off data line detects that the intelligent power-off data line is inserted into the corresponding device to be charged, and on the intelligent power-off data line, the electric signal data on the data line is collected in real time by the electric signal data collection module of the intelligent power-off data line, and a corresponding target value is determined according to the collected electric signal data, wherein the electric signal data may be any one or more of a voltage value and a current value. When the acquired electric signal data is a current value, the corresponding target value is the current value; when the acquired electric signal data are a current value and a voltage value, a corresponding power value is calculated according to the acquired voltage value and the acquired current value, namely the power value is a target value.
After determining the target value, it is determined whether the target value is smaller than a first preset value, in other words, whether the current value or the power value is smaller than a corresponding first preset current value or a first preset power value is determined. When the target value is smaller than the first preset value, executing step S200; and when the target value is greater than or equal to the first preset value, continuously acquiring the electric signal data of the intelligent power-off data line in real time.
Step S200: determining a plurality of judgment durations from the current time point, and sequentially determining whether the target value in each judgment duration meets the corresponding power-off condition.
In the present application, each determination duration includes a plurality of time points, and each time point corresponds to one electrical signal data, that is, corresponds to one target value. When the target value is smaller than the first preset value, timing is started from a time point corresponding to the target value smaller than the first preset value, namely the current time point, whether the target values in the multiple judgment durations from the current time point meet the corresponding power-off conditions or not is determined, when the target values in each judgment duration meet the corresponding power-off conditions, the step S300 is executed, and when the judgment durations with the target values not meeting the corresponding power-off conditions exist in the multiple judgment durations, the corresponding steps are executed.
In one embodiment, as shown in FIG. 3, step S200 includes substeps S210-S230.
Substep S210: and determining whether the target value in the first judgment time length meets the corresponding first power-off condition.
It can be understood that the plurality of determination durations may include a first determination duration, a second determination duration, and a third determination duration, and the first determination duration, the second determination duration, and the third determination duration are sequentially increased, in other words, the first determination duration is shorter than the second determination duration and shorter than the third determination duration. The set shorter first judgment duration not only can accurately judge and circularly count the target value of the data line, but also can improve the judgment efficiency; the second judgment time length is relatively long so as to further judge the target value; the third judgment duration is longer, and the target value of the data line can be judged more accurately. For example, the first determination period is set to 5 seconds, the second determination period is set to 20 seconds, and the third determination period is set to 45 minutes. According to the method and the device, the judgment durations are set according to the hierarchical progressive relation, so that not only can the target value of the data line be judged more accurately, but also the condition that the normal charging is influenced due to misjudgment can be avoided.
And when the determined target value is smaller than the first preset value, continuously acquiring the electric signal data of the data line in real time, and determining a corresponding target value. Timing from the current time point of which the target value is smaller than the first preset value, determining whether the target value corresponding to each time point in a first judgment time length from the current time point is smaller than the first preset value, if the target value corresponding to each time point in the first judgment time length is smaller than the first preset value, determining that the target value in the first judgment time length meets a first power-off condition, executing a substep S220, and keeping the intelligent power-off data line in a charging state; if it is determined that the target value at any time point in the first determination duration from the current time point is greater than or equal to the first preset value, that is, if the target value greater than or equal to the first preset value exists in the first determination duration, the intelligent power-off data line is determined to be in a charging state, the intelligent power-off data line is controlled to be kept charged, and a timing zero clearing operation is started from the current time point, that is, the first determination duration timed from the target value being less than the first preset value is cleared, and step S100 is executed.
For example, when the target value is a current value, the first preset value is 200 milliamperes, the first judgment duration is 5 seconds, if the current value is determined to be less than 200 milliamperes, the current time point is marked as a, and whether the current value corresponding to each time point within 5 seconds from the current time point a is less than 200 milliamperes is judged. If the current value of each time point within 5 seconds is less than 200 milliamperes, determining that the current value within 5 seconds of the intelligent power-off data line meets a first power-off condition, controlling the intelligent power-off data line to keep charging at the moment, and continuously judging a second power-off condition; and if the current value at any time point within 5 seconds is greater than or equal to 200 milliamperes, determining that the data line is in a charging state, keeping the charging operation at the moment, performing zero clearing operation on the timing from the current time point, namely not timing, and restarting timing until the next target value is smaller than the first preset value.
Substep S220: it is determined whether the target value within the second determination period satisfies the corresponding second power cutoff condition.
In the present application, when the target value in the first determination duration satisfies the first power-off condition, it is determined whether the target value corresponding to each time point in the second determination duration, which is measured from the current time point, is smaller than a second preset value, and if the target value of each time point in the second determination duration is smaller than the second preset value, it is determined that the target value in the second determination duration satisfies the second power-off condition, and substep S230 is performed; if the target value at any time point in the second judgment duration is greater than or equal to the second preset value, the time counting and clearing operation is started from the time point at which the target value is greater than or equal to the second preset value, that is, from the current time point, and step S100 is executed.
For example, when the second determination time period is 20 seconds, and the second preset value is 200 ma, after it is determined that the target value of each time point in the first determination time period is smaller than the first preset value, the current time point is marked as B, and it is determined whether the target value of each time point in 20 seconds starting from the current time point B is smaller than 200 ma. If the target values within 20 seconds are all smaller than 200 milliamperes, the data line is determined to meet a second power-off condition, the intelligent power-off data line still keeps charging, and a third power-off condition is continuously judged; and if the target value of any time point within 20 seconds is more than or equal to 200 milliamperes, determining that the intelligent power-off data line is in a charging state, and starting timing and zero clearing operation from the current time point.
Substep S230: and determining whether the target value in the third judgment time length meets a corresponding third power-off condition.
It is to be understood that when the target value in the second determination period satisfies the second power-off condition, it is further determined whether the target value in the third determination period from the current time point corresponds to a third power-off condition, when the target value in the third determination period satisfies the third power-off condition, it is determined that the target value in each determination period satisfies the corresponding power-off condition, step S300 is performed, and when the target value in the third determination period does not satisfy the third power-off condition, sub-step S230 is performed.
In one embodiment, as shown in FIG. 4, sub-step S230 includes sub-steps S231-S233.
Substep S231: and determining whether the target value corresponding to each time point in a third judgment duration from the current time point is smaller than a third preset value.
It can be understood that, starting from a time point when the target value in the second determination duration satisfies the second power-off condition, that is, starting to time from the current time point, it is determined whether the target value at each time point in the third determination duration is smaller than a third preset value, and if the target value at each time point in the third determination duration is smaller than the third preset value, it is determined that the target value in the third determination duration satisfies the corresponding third power-off condition, and step S300 is performed; if the target value at any time point in the corresponding third determination duration is greater than or equal to the third preset value, the substep S232 is executed.
Substep S232: and recording the time length of which the target value from the current time point is greater than or equal to a third preset value as an actual interference time length, and determining whether the actual interference time length is less than the preset interference time length.
When the target value of any time point in the third judgment time length is greater than or equal to the third preset value, timing is started from the time point corresponding to the target value which is greater than or equal to the third preset value, namely, the time length of which the target value is greater than or equal to the third preset value is recorded as the actual interference time length from the current time point, and whether the recorded actual interference time length is smaller than the preset interference time length or not is judged. When the actual interference duration is less than the preset interference duration, the substep S233 is executed, and when the actual interference duration is greater than or equal to the preset interference duration, the operation of zeroing the timing from the current time point, that is, the operation of zeroing the timing statistics from the time point corresponding to the actual interference duration greater than or equal to the preset interference duration, is executed, and the substep S231 is executed again.
Exemplarily, the third determination time period may be further divided into a plurality of time periods, the target values in the plurality of time periods are detected, when a time point when the target value is greater than or equal to the third preset value exists in one of the time periods, timing is started from the time point corresponding to the target value which is greater than or equal to the third preset value, and the time period when the target value is greater than or equal to the third preset value is recorded as the actual interference time period.
Substep S233: and continuously determining whether the target value of each time point in the residual time length of the third judgment time length is smaller than a third preset value.
It can be understood that, if the actual interference duration is less than the preset interference duration, the actual interference duration is determined as the time of the information interference, for example, when the user receives a short message prompt or temporarily uses the current, a current mutation will be generated. And when the actual interference duration is determined to be the information interference, continuously judging whether the target value corresponding to each time point in the remaining duration of the third judgment duration is smaller than a third preset value. In this application, the first preset value, the second preset value, and the third preset value may be the same or different, and a user may set the first preset value, the second preset value, and the third preset value by himself or herself according to an actual situation, where the first preset value, the second preset value, and the third preset value all use 200 milliamperes.
If the target value corresponding to each time point in the remaining duration of the third determination duration is smaller than the third preset value, determining that the target value in the third determination duration meets the third power-off condition, that is, it can be determined that the charging equipment charged through the intelligent power-off data line is fully charged, and executing step S300; if the target value of any time point in the remaining time duration in the third determination time duration is greater than or equal to the third preset value, the substep S231 is executed again.
In one embodiment, as shown in FIG. 5, step S230 further includes sub-steps S234-S235.
Substep S234: and dividing a third judgment time length from the current time point into a plurality of time periods, and determining the number of the time periods in which the target value corresponding to each time point in the plurality of time periods is smaller than a third preset value as the number of times of meeting the power failure.
It is to be understood that, after it is determined that the target value of each time point within the second determination period satisfies the second power-off condition, a third determination period that is counted from the current time point is determined, and the third determination period is divided into a plurality of time segments, each of which includes at least one time point. And determining the time periods when the target value corresponding to each time point in the plurality of time periods is smaller than a third preset value, and recording the corresponding number as the number of times of meeting the power failure.
Substep S235: and determining whether the satisfied power-off times are less than the preset satisfied times.
After the corresponding power outage satisfaction times are recorded, whether the power outage satisfaction times are smaller than the preset power outage times is judged, and when the power outage satisfaction times are greater than or equal to the preset power outage satisfaction times, the step S236 is executed: determining that the target value in the third judgment duration meets the corresponding third power-off condition, and executing step S300; when the power-off times are less than the preset power-off times, the zero clearing operation is started from the current time point, and the substep S234 is executed again.
For example, if the third determination time is 45 minutes and each time period is 20 seconds, the 45 minutes are divided into 135 time periods of 20 seconds, the 135 time periods are detected, and if the target value within one time period satisfying 20 seconds is less than 200 ma, the time period is regarded as satisfying power outage, and the recorded number of times of satisfying power outage is increased by one. And when the power-off times are more than or equal to the preset power-off times or the probability that the power-off times account for the total time period is more than or equal to the preset probability, such as 90%, determining that the target value in the third judgment time length meets the third power-off condition.
Step S300: and when the target value in each judgment duration meets the corresponding power-off condition, controlling the data line to perform power-off operation.
It can be understood that when the target value in each judgment duration meets the corresponding power-off condition, it is determined that the device to be charged is fully charged, and a control command is sent to the power-off switch to control the data line to perform power-off operation.
In one embodiment, the intelligent power-off data line further comprises an indication unit.
It is understood that, when the target value is a power value, it is determined whether the power value is greater than a preset power value; when the power value is larger than the preset power value, the indicating unit is controlled to generate a corresponding indicating signal; and when the power value is less than or equal to the preset power value, the control indication signal is closed after keeping the preset holding time from the current time point. When the indicating unit is an indicating lamp and an indicating signal of the indicating lamp is normally on, if the power value is greater than the preset power value, controlling the indicating lamp to be normally on; and if the power value is less than or equal to the preset power value, the indicator lamp is controlled to be turned off after keeping the preset holding time. For example, when the power value is more than 1W, the data line keeps the charging state, the control indicating signal lamp keeps on normally, and after the charging is finished and the power is cut off, namely when the power value is less than or equal to 1W, the indicating lamp is turned off after being delayed for 1-5 minutes.
When the indicating unit is an indicating lamp, the indicating signal may also be a first preset color or a first flashing frequency, when the power value is greater than the preset power value, the indicating lamp is controlled to display the first preset color or the first flashing frequency, when the power value is less than or equal to the preset power value, the indicating lamp is controlled to display the first preset color or the first flashing frequency for a preset holding duration and then is turned off, or the indicating lamp is controlled to display the first preset color or the first flashing frequency for the preset holding duration and then displays a corresponding second preset color or a corresponding second flashing frequency. The first flashing frequency and the second flashing frequency are obviously different, and the first preset color and the second preset color are also obviously different, for example, the first flashing frequency flashes once every second, the second flashing frequency flashes once every minute, the first preset color can be green, purple, etc., and the second preset color can be yellow, red, etc.
In this application, through setting up a plurality of outage conditions, judge through the outage condition to a plurality of judgement time lengths promptly, the misjudgement that the electric current sudden change caused when can having avoided short message suggestion or interim use when charging to can improve consumer's satisfaction.
Based on the control method of the intelligent power-off data line in the foregoing embodiment, fig. 6 shows a schematic structural diagram of a control device 100 of the intelligent power-off data line provided in the embodiment of the present application. The control device 100 of the intelligent power-off data line includes:
the acquisition unit 110 is configured to acquire electrical signal data of a data line in real time, determine a corresponding target value according to the electrical signal data, and determine whether the target value is smaller than a first preset value;
a determining unit 120, configured to determine, when the target value is smaller than the first preset value, multiple determination durations starting from a current time point, and sequentially determine whether the target value in each determination duration satisfies a corresponding power-off condition;
a power-off unit 130, configured to control the data line to perform a power-off operation when the target value in each determination duration satisfies a corresponding power-off condition.
The control device 100 of the intelligent power-off data line of this embodiment is used for executing the control method of the intelligent power-off data line of the above embodiment, and the implementation and the beneficial effects related to the above embodiment are also applicable in this embodiment, and are not described again here.
The embodiment of the application also provides terminal equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the control method of the intelligent power-off data line when running on the processor.
The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed on a processor, the method for controlling the intelligent power-off data line is implemented.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the present invention or a part thereof which contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention.

Claims (10)

1. A control method of an intelligent power-off data line is characterized by comprising the following steps:
s100: acquiring electrical signal data of a data line in real time, determining a corresponding target value according to the electrical signal data, and determining whether the target value is smaller than a first preset value;
s200: when the target value is smaller than the first preset value, determining a plurality of judgment durations from the current time point, and sequentially determining whether the target value in each judgment duration meets the corresponding power-off condition;
s300: and when the target value in each judgment duration meets the corresponding power-off condition, controlling the data line to perform power-off operation.
2. The method according to claim 1, wherein the plurality of determination durations include a first determination duration, a second determination duration, and a third determination duration, and the sequentially determining whether the target value in each determination duration satisfies the corresponding power outage condition comprises:
determining whether the target value in the first judgment duration meets a corresponding first power-off condition;
if the target value in the first judgment duration meets the first power-off condition, determining whether the target value in the second judgment duration meets a corresponding second power-off condition;
if the target value in the second judgment duration meets the second power-off condition, determining whether the target value in the third judgment duration meets a corresponding third power-off condition;
and if the target value in the third judgment time length meets the third power-off condition, determining that the target value in each judgment time length meets the corresponding power-off condition, wherein the first judgment time length, the second judgment time length and the second judgment time length are sequentially increased.
3. The method for controlling the smart power-off data line according to claim 2, wherein the determining whether the target value within the first determination period satisfies the corresponding first power-off condition includes:
determining whether the target value corresponding to each time point in the first judgment duration from the current time point is smaller than the first preset value;
if the target value corresponding to each time point is smaller than the first preset value, determining that the target value in the first judgment duration meets a corresponding first power-off condition;
and if the target value corresponding to any time point in the first judgment duration is greater than or equal to the first preset value, starting timing zero clearing operation from the current time point, and executing the step S100.
4. The method for controlling an intelligent power-off data line according to claim 2, wherein the determining whether the target value within the second determination period satisfies a corresponding second power-off condition includes:
determining whether the target value corresponding to each time point in the second judgment duration from the current time point is smaller than a second preset value;
if the target value corresponding to each time point is smaller than the second preset value, determining that the target value in the second judgment duration meets a corresponding second power-off condition;
and if the target value corresponding to any time point in the second judgment duration is greater than or equal to the second preset value, starting timing zero clearing operation from the current time point, and executing the step S100.
5. The method for controlling an intelligent power-off data line according to claim 2, wherein the determining whether the target value in the third determination duration satisfies a corresponding third power-off condition includes:
determining whether the target value of each time point in the third judgment duration from the current time point is smaller than a third preset value;
if the target value corresponding to each time point is smaller than the third preset value, determining that the target value in the third judgment duration meets a corresponding third power-off condition;
if the target value corresponding to any time point in the third judgment time length is greater than or equal to the third preset value, recording the time length from the current time point when the target value is greater than or equal to the third preset value as an actual interference time length, and determining whether the actual interference time length is smaller than a preset interference time length;
when the actual interference duration is less than the preset interference duration, continuously determining whether the target value corresponding to each time point in the remaining duration of the third judgment duration is less than the third preset value; if the target value of each time point in the remaining time length is smaller than the third preset value, determining that the target value in the third judgment time length meets the third power-off condition;
and when the actual interference duration is greater than or equal to the preset interference duration, performing the determination of whether the target value of each time point in the third judgment duration from the current time point is smaller than a third preset value.
6. The method for controlling an intelligent power-off data line according to claim 2, wherein the determining whether the target value in the third determination duration satisfies a corresponding third power-off condition includes:
dividing a third judgment time length from the current time point into a plurality of time periods, and determining the number of the time periods, corresponding to each time point, of which the target value is smaller than a third preset value in the plurality of time periods, as the number of times of meeting the power failure;
determining whether the satisfied power-off times are less than preset satisfied times;
and when the power outage meeting times are larger than or equal to the preset meeting times, determining that the target value in the third judgment duration meets a corresponding third power outage condition.
7. The method for controlling the smart power-off data line according to claim 1, wherein the electrical signal data is a current value and/or a voltage value, the target value is a power value or a current value, and when the target value is the power value, the determining a corresponding target value according to the electrical signal data includes:
and determining a corresponding power value according to the current value and the voltage value.
8. The method of claim 7, wherein the data line includes an indication unit, the method further comprising:
determining whether the power value is greater than a preset power value;
when the power value is larger than the preset power value, controlling the indicating unit to generate a corresponding indicating signal;
and when the power value is less than or equal to the preset power value, controlling the indication signal to be closed after keeping a preset holding time length from the current time point.
9. The control method of the intelligent power-off data line as claimed in claim 8, wherein the indicating unit is an indicating lamp, and an indicating signal of the indicating lamp comprises a normally-on state;
when the power value is larger than the preset power value, controlling the indicator lamp to keep on normally;
and when the power value is less than or equal to the preset power value, controlling the indicator lamp to keep the preset holding time to be normally on and then to be turned off.
10. A control device of an intelligent power-off data line, the control device comprising:
the acquisition unit is used for acquiring the electric signal data of the data line in real time, determining a corresponding target value according to the electric signal data and determining whether the target value is smaller than a first preset value;
the judging unit is used for determining a plurality of judging time lengths from the current time point when the target value is smaller than the first preset value, and sequentially determining whether the target value in each judging time length meets the corresponding power-off condition;
and the power-off unit is used for controlling the data line to perform power-off operation when the target value in each judgment duration meets the corresponding power-off condition.
CN202211316080.2A 2022-10-26 2022-10-26 Control method and device for intelligent power-off data line Pending CN115663952A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211316080.2A CN115663952A (en) 2022-10-26 2022-10-26 Control method and device for intelligent power-off data line
PCT/CN2023/103383 WO2024087698A1 (en) 2022-10-26 2023-06-28 Control method and apparatus for intelligent power-off data line, and device, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211316080.2A CN115663952A (en) 2022-10-26 2022-10-26 Control method and device for intelligent power-off data line

Publications (1)

Publication Number Publication Date
CN115663952A true CN115663952A (en) 2023-01-31

Family

ID=84991189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211316080.2A Pending CN115663952A (en) 2022-10-26 2022-10-26 Control method and device for intelligent power-off data line

Country Status (2)

Country Link
CN (1) CN115663952A (en)
WO (1) WO2024087698A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087698A1 (en) * 2022-10-26 2024-05-02 深圳市倍思科技有限公司 Control method and apparatus for intelligent power-off data line, and device, medium and product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301547B (en) * 2014-10-15 2016-03-02 深圳市中兴移动通信有限公司 The management method of battery electric quantity and mobile terminal
CN106654739B (en) * 2016-11-25 2018-12-07 大连鼎创科技开发有限公司 A kind of socket and housed device intelligence power-off implementation method of band intelligence power down function
CN209311656U (en) * 2018-11-13 2019-08-27 上海艾为电子技术股份有限公司 Battery full charge testing circuit, electronic device
CN110098647A (en) * 2019-04-18 2019-08-06 合肥德通科贸有限公司 A kind of power supply smart monitoring management control system when charging
CN111186333B (en) * 2019-12-25 2021-08-13 深圳猛犸电动科技有限公司 Electric vehicle charging identification method and device, terminal equipment and storage medium
CN114487644A (en) * 2021-12-17 2022-05-13 未来穿戴技术股份有限公司 Charging state detection method and device, electronic equipment and storage medium
CN115663952A (en) * 2022-10-26 2023-01-31 深圳市倍思科技有限公司 Control method and device for intelligent power-off data line

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087698A1 (en) * 2022-10-26 2024-05-02 深圳市倍思科技有限公司 Control method and apparatus for intelligent power-off data line, and device, medium and product

Also Published As

Publication number Publication date
WO2024087698A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
CN109932661B (en) Battery state monitoring method and device
CN106877442B (en) Battery management method
CN115663952A (en) Control method and device for intelligent power-off data line
CN108627773B (en) Battery power consumption control method and device and unmanned aerial vehicle
CN111361452A (en) Vehicle battery management method and system
CN115514064A (en) Battery management system for lithium battery power supply system
CN108767929B (en) Unmanned aerial vehicle battery safety processing method and device
CN115480171A (en) Battery voltage acquisition fault early warning method and system
CN111211596B (en) Method and device for monitoring power utilization state of charging cabinet
CN110877585A (en) Power management device and method
CN112087771A (en) Communication control method and device, electronic equipment and computer readable storage medium
CN110112794A (en) The distant prison terminal of battery cell monitoring method, apparatus, elevator, system and storage medium
CN109617167B (en) Battery overdischarge warning method and device, battery and aircraft
CN117081185A (en) Charging control method, device, equipment and storage medium
CN110901472A (en) Battery management system balancing capability matching method and device and computer equipment
CN113820605A (en) Battery SOC correction method and device and computer readable storage medium
WO2021077798A1 (en) Charging method and charging apparatus
CN109100654A (en) A kind of battery loss based reminding method and mobile terminal
CN114643898B (en) Method, device, system and storage medium for determining battery disconnection
CN114336796A (en) Electric quantity calculation method, electric quantity calculation device, network system, electric equipment and storage medium
CN111897252A (en) Load detection method, system and equipment
CN113947827A (en) Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
CN116545075B (en) Battery charging method, device, charging equipment and storage medium
JP2004361313A (en) Remaining capacity arithmetic unit and remaining capacity computing method of secondary battery
EP4386933A1 (en) Master-slave linkage capacity expansion method and apparatus for mobile battery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination