WO2024087698A1 - Control method and apparatus for intelligent power-off data line, and device, medium and product - Google Patents

Control method and apparatus for intelligent power-off data line, and device, medium and product Download PDF

Info

Publication number
WO2024087698A1
WO2024087698A1 PCT/CN2023/103383 CN2023103383W WO2024087698A1 WO 2024087698 A1 WO2024087698 A1 WO 2024087698A1 CN 2023103383 W CN2023103383 W CN 2023103383W WO 2024087698 A1 WO2024087698 A1 WO 2024087698A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
value
target value
judgment
preset
Prior art date
Application number
PCT/CN2023/103383
Other languages
French (fr)
Chinese (zh)
Inventor
陈龙扣
黄清淑
刘明俭
Original Assignee
深圳市倍思科技有限公司
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 深圳市倍思科技有限公司 filed Critical 深圳市倍思科技有限公司
Publication of WO2024087698A1 publication Critical patent/WO2024087698A1/en

Links

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

Definitions

  • the present application relates to the field of data lines, and in particular to a control method, device, equipment, medium and product for an intelligent power-off data line.
  • the intelligent power-off data cable will automatically cut off the connection between the data cable and the charging device to avoid overcharging of the charging device. This can not only extend the service life of the charging device, but also save energy and protect the environment, and reduce unnecessary power loss.
  • the existing smart power-off data cables are not accurate enough in detecting whether the charging device is fully charged, and usually there are misjudgments, which affect the normal charging of the charging device and thus affect the consumer's consumption experience.
  • the purpose of the present application is to provide a control method, device, equipment, medium and product for an intelligent power-off data line.
  • the present application provides a control method for an intelligent power-off data line, the method comprising:
  • S100 collecting 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 less than a first preset value;
  • the present application provides a control device for an intelligent power-off data line, the control device comprising:
  • a collection unit configured to collect electrical signal data of the data line in real time, determine a corresponding target value according to the electrical signal data, and determine whether the target value is less than a first preset value
  • a judgment unit configured to, when the target value is less than the first preset value, determine a plurality of judgment durations starting from a current time point, and determine in sequence whether the target value within each judgment duration satisfies a corresponding power-off condition
  • the power-off unit is configured to control the data line to perform a power-off operation when the target values within each judgment time period meet the corresponding power-off conditions.
  • the present application also provides a control device for an intelligent power-off data line, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the control method for the intelligent power-off data line is executed.
  • the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program When the computer program is executed on a processor, the control method of the intelligent power-off data line is implemented.
  • the present application also provides a computer program product, which includes a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code.
  • a computer program product which includes a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code.
  • the embodiment of the present application provides a control method for an intelligent power-off data line, which collects the electrical signal data of the data line in real time, determines the corresponding target value according to the electrical signal data, and determines whether the target value is less than a first preset value; when the target value is less than the first preset value, determines multiple judgment durations starting from the current time point, and determines in turn whether the target value within each judgment duration satisfies the corresponding power-off condition; when the target value within each judgment duration satisfies the corresponding power-off condition, controls the data line to perform a power-off operation.
  • the present application can not only avoid misjudgment caused by SMS reminders during charging or sudden current changes during temporary use, but also improve consumer satisfaction.
  • FIG1 shows a schematic structural diagram of an intelligent power-off data line proposed in an embodiment of the present application
  • FIG2 shows a first flow chart of a method for controlling an intelligent power-off data line proposed in an embodiment of the present application
  • FIG3 is a schematic diagram showing a flow chart of determining a first power-off condition in a method for controlling an intelligent power-off data line proposed in an embodiment of the present application;
  • FIG4 is a schematic diagram showing a first flow chart of determining a third power-off condition in a method for controlling an intelligent power-off data line provided in an embodiment of the present application;
  • FIG5 is a schematic diagram showing a second flow chart of determining a third power-off condition in a method for controlling an intelligent power-off data line provided in an embodiment of the present application;
  • FIG6 shows a schematic structural diagram of a control device for an intelligent power-off data line provided in an embodiment of the present application.
  • the embodiment of the present application proposes a control method for an intelligent power-off data line.
  • the intelligent power-off data line 10 includes a microcontroller 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 microcontroller module can be an MCU (Microcontroller Unit) or the like, 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 control instructions to the power-off switch module.
  • the electrical signal data acquisition module is configured to collect electrical 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 is configured to receive a control command issued by the microcontroller module to control the power on and off of the intelligent power-off data line.
  • the insertion identification module is configured to detect whether a device to be charged is inserted, and the protocol acquisition module is configured to collect the communication protocol type of the device to be charged.
  • control method of the intelligent power-off data line includes steps S100 to S300 .
  • Step S100 collecting electrical signal data of the data line in real time, determining a corresponding target value according to the electrical signal data, and determining whether the target value is less than a first preset value.
  • 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 the intelligent power-off data line
  • the electrical signal data on the data line will be collected in real time through the electrical signal data collection module of the intelligent power-off data line, and the corresponding target value will be determined according to the collected electrical signal data, wherein the electrical signal data can be any one or more of the voltage value and the current value.
  • the corresponding target value is the current value
  • the corresponding power value will be calculated according to the collected voltage value and the current value, that is, the power value is the target value.
  • step S200 is executed; when the target value is greater than or equal to the first preset value, the electrical signal data of the intelligent power-off data line is continuously collected in real time.
  • Step S200 determining a plurality of judgment time periods starting from the current time point, and determining in turn whether a target value within each judgment time period satisfies a corresponding power-off condition.
  • each judgment duration includes multiple time points, each time point corresponds to an electrical signal data, that is, corresponds to a target value.
  • the timing starts from the time point corresponding to the target value being less than the first preset value, that is, the current time point, and it is determined whether the target values within the multiple judgment durations starting from the current time point all meet the corresponding power-off conditions.
  • step S300 is executed.
  • the corresponding steps will be executed.
  • step S200 includes sub-steps S210 to S230 .
  • Sub-step S210 Determine whether the target value within the first judgment time period satisfies the corresponding first power-off condition.
  • the multiple judgment durations may include a first judgment duration, a second judgment duration, and a third judgment duration, and the first judgment duration, the second judgment duration, and the third judgment duration increase successively.
  • the first judgment duration is less than the second judgment duration, which is less than the third judgment duration.
  • the first judgment duration is the shortest. Setting a shorter first judgment duration can not only make a more accurate judgment and cyclic statistics of the target value of the data line, but also improve the judgment efficiency; the second judgment duration is relatively long 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.
  • the first judgment duration is set to 5 seconds
  • the second judgment duration is set to 20 seconds
  • the third judgment duration is set to 45 minutes.
  • the various judgment durations are set according to a hierarchical progressive relationship, which can not only make the target value of the data line more accurately judged, but also avoid misjudgment and affect normal charging.
  • the electrical signal data of the data line will continue to be collected in real time, and the corresponding target value will be determined.
  • the timing starts from the current time point when the target value is less than the first preset value, and it is determined whether the target value corresponding to each time point in the first judgment time length starting from the current time point is less than the first preset value. If the target value corresponding to each time point in the first judgment time length is less than the first preset value, it is determined that the target value in the first judgment time length meets the first power-off condition, and sub-step S220 will be executed.
  • the smart power-off data line will remain in the charging state; if it is determined that the target value at any time point in the first judgment time length starting from the current time point is greater than or equal to the first preset value, that is, if there is a target value greater than or equal to the first preset value in the first judgment time length, it is determined that the smart power-off data line is in the charging state, and the smart power-off data line is controlled to remain charged, and the timing reset operation starts from the current time point, that is, the first judgment time length started from the target value being less than the first preset value is reset, and step S100 is executed.
  • the target value is the current value
  • the first preset value is 200 mA
  • the first judgment time is 5 seconds
  • the current time point is marked as A, and it is determined whether the current value corresponding to each time point within 5 seconds starting from the current time point A is less than 200 mA. If the current value at each time point within 5 seconds is less than 200 mA, it is determined that the current value of the smart power-off data line within 5 seconds meets the first power-off condition.
  • the smart power-off data line will be controlled to keep charging, and the second power-off condition will continue to be judged; if the current value at any time point within 5 seconds is greater than or equal to 200 mA, it is determined that the data line is in a charging state, and the charging operation will be maintained at this time, and the timing will be reset from the current time point, that is, no timing will be performed until the next target value is less than the first preset value, and the timing will be restarted.
  • Sub-step S220 Determine whether the target value within the second judgment time period satisfies the corresponding second power-off condition.
  • the target value within the first judgment time period meets the first power-off condition
  • the current time point is marked as B, and it is determined whether the target value at each time point within 20 seconds starting from the current time point B is less than 200 mA.
  • the smart power-off data line will still keep charging, and continue to judge the third power-off condition; if the target value at any time point within 20 seconds is greater than or equal to 200 mA, it is determined that the smart power-off data line is in a charging state, and the timing reset operation will start from the current time point.
  • Sub-step S230 Determine whether the target value within the third judgment time period satisfies the corresponding third power-off condition.
  • step S300 When the target value within the third judgment period meets the third power-off condition, it is determined that the target value within each judgment period meets the corresponding power-off condition, and step S300 will be executed. When the target value within the third judgment period does not meet the third power-off condition, sub-step S230 will be executed.
  • sub-step S230 includes sub-steps S231 - S233 .
  • Sub-step S231 Determine whether the target value corresponding to each time point within the third judgment time length starting from the current time point is less than the third preset value.
  • step S300 is executed; if the target value at any time point within the corresponding third judgment period is greater than or equal to the third preset value, sub-step S232 is executed.
  • Sub-step S232 Record the duration from the current time point during which the target value is greater than or equal to the third preset value as the actual interference duration, and determine whether the actual interference duration is less than the preset interference duration.
  • the time will be counted from the time point corresponding to the target value being greater than or equal to the third preset value, that is, from the current time point, the duration of time when the target value is greater than or equal to the third preset value will be recorded as the actual interference duration, and it will be determined whether the recorded actual interference duration is less than the preset interference duration.
  • sub-step S233 is executed; when the actual interference duration is greater than or equal to the preset duration, sub-step S234 is executed.
  • the interference duration is set, the timing will be reset from the current time point, that is, the timing statistics will be reset from the time point corresponding to the actual interference duration being greater than or equal to the preset interference duration, and sub-step S231 will be executed again.
  • the third judgment duration can also be divided into multiple time periods, and the target values in the multiple time periods are detected.
  • the timing will start from the time point corresponding to the target value being greater than or equal to the third preset value, and the time duration when the target value is greater than or equal to the third preset value will be recorded as the actual interference duration.
  • Sub-step S233 Continue to determine whether the target value at each time point within the remaining duration of the third judgment duration is less than the third preset value.
  • the actual interference duration is judged to be the time of information interference. For example, when the user receives a text message reminder or temporarily uses it, a current mutation will occur. When it is determined that the actual interference duration is information interference, it will continue to judge whether the target value corresponding to each time point within the remaining duration of the third judgment duration is less than the third preset value.
  • the first preset value, the second preset value and the third preset value can be the same or different, and the user can set it according to the actual situation. In the embodiment of the present application, the first preset value, the second preset value and the third preset value all use 200 mA.
  • step S300 If the target value corresponding to each time point within the remaining time of the third judgment time is less than the third preset value, it is determined that the target value within the third judgment time satisfies the third power-off condition, that is, it can be determined that the charging device charged through the smart power-off data cable is fully charged at this time, and step S300 will be executed; if the target value at any time point within the remaining time of the third judgment time is greater than or equal to the third preset value, sub-step S231 will be re-executed.
  • step S230 further includes sub-steps S234 to S235 .
  • Sub-step S234 Divide the third judgment duration starting from the current time point into multiple time periods, and determine the number of time periods in which the target value corresponding to each time point in the multiple time periods is less than the third preset value as the number of power outages that meet the requirements.
  • a third judgment time period starting from the current time point is determined, and the third judgment time period is divided into multiple time periods, each of which includes at least one time point.
  • a time period in which the target value corresponding to each time point in the multiple time periods is less than the third preset value is determined, and the corresponding number is recorded as the number of power-off times satisfied.
  • Sub-step S235 Determine whether the number of power-off times is less than a preset number of times.
  • step S236 determines that the target value within the third judgment time period meets the corresponding third power-off condition, and execute step S300; when the number of power-off conditions is less than the preset number of power-off conditions, execute step S237: determine that the target value within the third judgment time period meets the corresponding third power-off condition, and execute step S300; When the number is counted, the timing from the current time point will be reset to zero and sub-step S234 will be executed again.
  • the third judgment duration is 45 minutes and each time period is 20 seconds, then 45 minutes is divided into 135 time periods of 20 seconds, and the 135 time periods are tested. If a time period meets the target value within 20 seconds and is less than 200 mA, then the time period is deemed to meet the power-off condition, and the recorded number of power-off conditions will be increased by 1.
  • the number of power-off conditions is greater than or equal to the preset number of power-off conditions, or when the probability of the number of power-off conditions accounting for the total number of time periods is greater than or equal to the preset probability, such as 90%, it is determined that the target value within the third judgment duration meets the third power-off condition.
  • Step S300 When the target values within each determination time period satisfy the corresponding power-off conditions, the data line is controlled to perform a power-off operation.
  • the intelligent power-off data line further includes an indication unit.
  • the control indicator unit when the target value is a power value, it will be determined whether the power value is greater than the preset power value; when the power value is greater than the preset power value, the control indicator unit generates a corresponding indication signal; when the power value is less than or equal to the preset power value, the control indication signal is kept for a preset holding time from the current time point and then turned off.
  • the indication unit is an indicator light, and the indicator light's indication signal is always on, if the power value is greater than the preset power value, the control indicator light is kept always on; if the power value is less than or equal to the preset power value, the control indicator light is kept always on for a preset holding time and then turned off.
  • the data cable remains in the charging state, and the control indicator light remains always on.
  • the indicator light is turned off after a delay of 1-5 minutes.
  • the indicating signal can also be a first preset color or a first flashing frequency.
  • the indicator light is controlled to display the first preset color or the first flashing frequency.
  • the indicator light is controlled to display the first preset color or the first flashing frequency for a preset duration and then turn off.
  • the indicator light is controlled to display the first preset color or the first flashing frequency for a preset duration and then display the corresponding second preset color or the second flashing frequency.
  • the first flashing frequency flashes once per second
  • the second flashing frequency flashes once per minute.
  • the first preset color can be green, purple, etc.
  • the second preset color can be yellow, red, etc.
  • FIG6 shows a schematic structural diagram of a control device 100 of an intelligent power-off data line provided by an 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 the data line in real time, determine a corresponding target value according to the electrical signal data, and determine whether the target value is less than a first preset value;
  • the judgment unit 120 is configured to determine a plurality of judgment durations starting from a current time point when the target value is less than the first preset value, and determine in sequence whether the target value within each judgment duration satisfies a corresponding power-off condition;
  • the power-off unit 130 is configured to control the data line to perform a power-off operation when the target values within each judgment time period meet the corresponding power-off conditions.
  • the multiple judgment durations include a first judgment duration, a second judgment duration, and a third judgment duration
  • the judgment unit 120 is further configured to:
  • the target value within the third judgment time period satisfies the third power-off condition, it is determined that the target value within each judgment time period satisfies the corresponding power-off condition, wherein the first judgment time period, the second judgment time period and the third judgment time period increase sequentially.
  • the determining unit 120 is further configured to:
  • the timing reset operation starts from the current time point and the step S100 is executed.
  • the determining unit 120 is further configured to:
  • the second judgment time is determined. The target value within satisfies the corresponding second power-off condition
  • the timing reset operation starts from the current time point and the step S100 is executed.
  • the determining unit 120 is further configured to:
  • the target value corresponding to any time point within the third judgment duration is greater than or equal to the third preset value
  • the duration during which the target value is greater than or equal to the third preset value starting from the current time point is recorded as the actual interference duration, and it is determined whether the actual interference duration is less than the preset interference duration
  • the actual interference duration is less than the preset interference duration, continue to determine whether the target value corresponding to each time point within the remaining duration of the third judgment duration is less than the third preset value; if the target value at each time point within the remaining duration is less than the third preset value, determine that the target value within the third judgment duration meets the third power-off condition;
  • the step of determining whether the target value at each time point within the third judgment duration starting from the current time point is less than a third preset value is performed.
  • the determining unit 120 is further configured to:
  • the electrical signal data is a current value and/or a voltage value
  • the target value is a power value or a current value.
  • the acquisition unit 110 is further configured as follows:
  • a corresponding power value is determined according to the current value and the voltage value.
  • the data line includes an indication unit
  • the device further includes a control unit, and the control unit is configured to:
  • the indication signal is controlled to be kept for a preset holding time from the current time point and then turned off.
  • the indicating unit is an indicator light, and the indication signal of the indicator light includes being always on; the control unit is further configured as follows:
  • the indicator light is controlled to remain on for the preset duration and then turn off.
  • the control device 100 of the intelligent power-off data line of this embodiment is configured to execute the control method of the intelligent power-off data line of the above embodiment.
  • the implementation schemes and beneficial effects involved in the above embodiment are also applicable to this embodiment and will not be described in detail here.
  • An embodiment of the present application also provides a control device for an intelligent power-off data line, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the control method for the intelligent power-off data line is executed.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program, which implements the above-mentioned intelligent power-off data line control method when executed on a processor.
  • the present application also provides a computer program product, which includes a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, and when the computer-readable code runs in a processor of an electronic device, the processor in the electronic device implements the control method of the intelligent power-off data line as described in any of the above items when executed.
  • each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions configured to implement the specified logical function.
  • the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings.
  • each box in the structure diagram and/or the flow diagram, and the combination of boxes in the structure diagram and/or the flow diagram can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
  • the functional modules or units in various embodiments of the present application can be integrated together to form an independent
  • the components can be separate parts, or each module can exist independently, or two or more modules can be integrated to form an independent part.
  • the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art.
  • the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a smart phone, personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
  • the present application provides a control method, device, equipment, medium and product for an intelligent power-off data line.
  • the control method for the intelligent power-off data line collects electrical signal data of the data line in real time, determines a corresponding target value according to the electrical signal data, and determines whether the target value is less than a first preset value; when the target value is less than the first preset value, determines multiple judgment time periods starting from the current time point, and determines in turn whether the target value within each judgment time period meets the corresponding power-off condition; when the target value within each judgment time period meets the corresponding power-off condition, controls the data line to perform a power-off operation.

Landscapes

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

Abstract

The embodiments of the present application relate to the field of data lines. Provided are a control method and apparatus for an intelligent power-off data line, and a device, a medium and a product. The control method for an intelligent power-off data line comprises: collecting 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 less than a first preset value; when the target value is less than the first preset value, determining a plurality of determination durations starting from the current time point, and sequentially determining whether a target value in each determination duration meets a corresponding power-off condition; and when the target value in each determination duration meets the corresponding power-off condition, controlling the data line to perform a power-off operation. By means of the present application, misjudgment caused by a sudden current change resulting from a short message prompt or a temporary usage during charging can be avoided, and the degree of consumer satisfaction can also be improved.

Description

智能断电数据线的控制方法、装置、设备、介质及产品Control method, device, equipment, medium and product of intelligent power-off data line
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202211316080.2、申请日为2022年10月26日的中国专利申请提出,申请人为:深圳市倍思科技有限公司,申请名称为“一种智能断电数据线的控制方法和装置”的技术方案,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with application number 202211316080.2 and application date October 26, 2022. The applicant is Shenzhen Baseus Technology Co., Ltd. The application name is "A control method and device for an intelligent power-off data line" for the technical solution, and the priority of the Chinese patent application is claimed. The entire content of the Chinese patent application is hereby introduced into this application as a reference.
技术领域Technical Field
本申请涉及数据线领域,具体而言,涉及一种智能断电数据线的控制方法、装置、设备、介质及产品。The present application relates to the field of data lines, and in particular to a control method, device, equipment, medium and product for an intelligent power-off data line.
背景技术Background technique
目前,市面上存在较多包含有智能断电功能的数据线,当充电设备充满时,智能断电数据线将自动切断数据线和充电设备之间的联系,以避免充电设备过充,不仅可以延长充电设备的使用寿命,还可以节能环保,减少非必要电量损失。At present, there are many data cables on the market that include intelligent power-off functions. When the charging device is fully charged, the intelligent power-off data cable will automatically cut off the connection between the data cable and the charging device to avoid overcharging of the charging device. This can not only extend the service life of the charging device, but also save energy and protect the environment, and reduce unnecessary power loss.
但是现有的智能断电数据线对于充电设备是否满充检测不够精准,通常会存在误判的情况而影响充电设备的正常充电,从而影响消费者的消费体验。However, the existing smart power-off data cables are not accurate enough in detecting whether the charging device is fully charged, and usually there are misjudgments, which affect the normal charging of the charging device and thus affect the consumer's consumption experience.
发明内容Summary of the invention
本申请的目的在于提供一种智能断电数据线的控制方法、装置、设备、介质及产品。The purpose of the present application is to provide a control method, device, equipment, medium and product for an intelligent power-off data line.
本申请提供一种智能断电数据线的控制方法,所述方法包括:The present application provides a control method for an intelligent power-off data line, the method comprising:
S100:实时采集数据线的电信号数据,根据所述电信号数据确定相应的目标值,并确定所述目标值是否小于第一预设值;S100: collecting 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 less than a first preset value;
S200:当所述目标值小于所述第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的所述目标值是否满足对应的断电条件;S200: When the target value is less than the first preset value, determine a plurality of judgment time periods starting from the current time point, and determine in turn whether the target value within each judgment time period satisfies a corresponding power-off condition;
S300:当所述每个判断时长内的所述目标值均满足对应的断电条件时,控制所述数据线进行断电操作。S300: When the target values within each judgment time period satisfy the corresponding power-off conditions, control the data line to perform a power-off operation.
本申请提供一种智能断电数据线的控制装置,所述控制装置包括:The present application provides a control device for an intelligent power-off data line, the control device comprising:
采集单元,配置为实时采集数据线的电信号数据,根据所述电信号数据确定相应的目标值,并确定所述目标值是否小于第一预设值; a collection unit configured to collect electrical signal data of the data line in real time, determine a corresponding target value according to the electrical signal data, and determine whether the target value is less than a first preset value;
判断单元,配置为当所述目标值小于所述第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的所述目标值是否满足对应的断电条件;a judgment unit, configured to, when the target value is less than the first preset value, determine a plurality of judgment durations starting from a current time point, and determine in sequence whether the target value within each judgment duration satisfies a corresponding power-off condition;
断电单元,配置为当所述每个判断时长内的所述目标值均满足对应的断电条件时,控制所述数据线进行断电操作。The power-off unit is configured to control the data line to perform a power-off operation when the target values within each judgment time period meet the corresponding power-off conditions.
本申请还提供了一种智能断电数据线的控制设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序在处理器上运行时执行上述的智能断电数据线的控制方法。The present application also provides a control device for an intelligent power-off data line, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the control method for the intelligent power-off data line is executed.
本申请还提供了一种计算机可读存储介质,其存储有计算机程序,计算机程序在处理器上执行时,实施上述的智能断电数据线的控制方法。The present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed on a processor, the control method of the intelligent power-off data line is implemented.
本申请还提供了一种计算机程序产品,所述计算机程序产品包括计算机可读代码,或者承载所述计算机可读代码的非易失性计算机可读存储介质,在所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行时实现如前任意一项所述的智能断电数据线的控制方法。The present application also provides a computer program product, which includes a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device implements the control method of the intelligent power-off data line as described in any of the above items when executing.
本申请实施例的有益效果是:The beneficial effects of the embodiments of the present application are:
本申请实施例提供一种智能断电数据线的控制方法,该智能断电数据线的控制方法通过实时采集数据线的电信号数据,根据电信号数据确定相应的目标值,并确定目标值是否小于第一预设值;当目标值小于第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的目标值是否满足对应的断电条件;当每个判断时长内的目标值均满足对应的断电条件时,控制数据线进行断电操作。本申请不仅可以避免了充电时短信提示或临时使用时电流突变造成的误判,还可以提高消费者的满意度。The embodiment of the present application provides a control method for an intelligent power-off data line, which collects the electrical signal data of the data line in real time, determines the corresponding target value according to the electrical signal data, and determines whether the target value is less than a first preset value; when the target value is less than the first preset value, determines multiple judgment durations starting from the current time point, and determines in turn whether the target value within each judgment duration satisfies the corresponding power-off condition; when the target value within each judgment duration satisfies the corresponding power-off condition, controls the data line to perform a power-off operation. The present application can not only avoid misjudgment caused by SMS reminders during charging or sudden current changes during temporary use, but also improve consumer satisfaction.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对本申请保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.
图1示出了本申请实施例提出的一种智能断电数据线的结构示意图;FIG1 shows a schematic structural diagram of an intelligent power-off data line proposed in an embodiment of the present application;
图2示出了本申请实施例提出的一种智能断电数据线的控制方法的第一流程示意图;FIG2 shows a first flow chart of a method for controlling an intelligent power-off data line proposed in an embodiment of the present application;
图3示出了本申请实施例提出的一种智能断电数据线的控制方法中确定第一断电条件的流程示意图; FIG3 is a schematic diagram showing a flow chart of determining a first power-off condition in a method for controlling an intelligent power-off data line proposed in an embodiment of the present application;
图4示出了本申请实施例提出的一种智能断电数据线的控制方法中确定第三断电条件的第一流程示意图;FIG4 is a schematic diagram showing a first flow chart of determining a third power-off condition in a method for controlling an intelligent power-off data line provided in an embodiment of the present application;
图5示出了本申请实施例提出的一种智能断电数据线的控制方法中确定第三断电条件的第二流程示意图;FIG5 is a schematic diagram showing a second flow chart of determining a third power-off condition in a method for controlling an intelligent power-off data line provided in an embodiment of the present application;
图6示出了本申请实施例提供的一种智能断电数据线的控制装置的结构示意图。FIG6 shows a schematic structural diagram of a control device for an intelligent power-off data line provided in an embodiment of the present application.
主要元件符号说明:
10-智能断电数据线;11-协议采集模块;12-微控制模块;13-断电开关模块;14-电
信号数据采集模块;15-插入识别模块;100-智能断电数据线的控制装置;110-采集单元;120-判断单元;130-断电单元。
Description of main component symbols:
10-intelligent power-off data line; 11-protocol acquisition module; 12-microcontroller module; 13-power-off switch module; 14-electrical signal data acquisition module; 15-insertion identification module; 100-control device of the intelligent power-off data line; 110-acquisition unit; 120-judgment unit; 130-power-off unit.
具体实施方式Detailed ways
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
在下文中,可在本申请的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing items.
此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本申请的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本申请的各种实施例中被清楚地限定。 Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
实施例1Example 1
本申请实施例提出一种智能断电数据线的控制方法,请参考图1,该智能断电数据线10包括微控制模块12、断电开关模块13、协议采集模块11、电信号数据采集模块14和插入识别模块15。微控制模块可以为MCU(Microcontroller Unit,微控制单元)等,配置为接收并处理协议采集模块、电信号数据采集模块和插入识别模块输入的信息,并向断电开关模块发送控制指令。电信号数据采集模块配置为采集流过该智能断电数据线的电信号数据。断电开关模块设置于智能断电数据线中,配置为接收微控制模块发出的控制命令,以控制该智能断电数据线的通断电。插入识别模块配置为检测是否插入待充电设备,协议采集模块配置为采集待充电设备的通信协议类型。The embodiment of the present application proposes a control method for an intelligent power-off data line. Please refer to Figure 1. The intelligent power-off data line 10 includes a microcontroller 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 microcontroller module can be an MCU (Microcontroller Unit) or the like, 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 control instructions to the power-off switch module. The electrical signal data acquisition module is configured to collect electrical 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 is configured to receive a control command issued by the microcontroller module to control the power on and off of the intelligent power-off data line. The insertion identification module is configured to detect whether a device to be charged is inserted, and the protocol acquisition module is configured to collect the communication protocol type of the device to be charged.
示范性地,如图2所示,该智能断电数据线的控制方法包括步骤S100~S300。Exemplarily, as shown in FIG. 2 , the control method of the intelligent power-off data line includes steps S100 to S300 .
步骤S100:实时采集数据线的电信号数据,根据电信号数据确定相应的目标值,并确定目标值是否小于第一预设值。Step S100: collecting electrical signal data of the data line in real time, determining a corresponding target value according to the electrical signal data, and determining whether the target value is less 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 the intelligent power-off data line, the electrical signal data on the data line will be collected in real time through the electrical signal data collection module of the intelligent power-off data line, and the corresponding target value will be determined according to the collected electrical signal data, wherein the electrical signal data can be any one or more of the voltage value and the current value. When the collected electrical signal data is the current value, the corresponding target value is the current value; when the collected electrical signal data is the current value and the voltage value, the corresponding power value will be calculated according to the collected voltage value and the current value, that is, the power value is the target value.
在确定目标值后,判断该目标值是否小于第一预设值,换言之,将判断电流值或功率值是否小于相应的第一预设电流值或第一预设功率值。当目标值小于第一预设值时,执行步骤S200;当目标值大于等于第一预设值时,则继续实时采集智能断电数据线的电信号数据。After determining the target value, it is determined whether the target value is less than the first preset value, in other words, it is determined whether the current value or the power value is less than the corresponding first preset current value or the first preset power value. When the target value is less than the first preset value, step S200 is executed; when the target value is greater than or equal to the first preset value, the electrical signal data of the intelligent power-off data line is continuously collected in real time.
步骤S200:确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的目标值是否满足对应的断电条件。Step S200: determining a plurality of judgment time periods starting from the current time point, and determining in turn whether a target value within each judgment time period satisfies a corresponding power-off condition.
在本申请中,每个判断时长包括多个时间点,每个时间点对应一个电信号数据,即对应一个目标值。当目标值小于第一预设值时,从目标值小于第一预设值对应的时间点,即当前时间点开始计时,确定从当前时间点开始的多个判断时长内的目标值是否均满足对应的断电条件,当每个判断时长内的目标值均满足对应的断电条件,执行步骤S300,当多个判断时长内存在目标值不满足对应断电条件的判断时长,则将执行相应的步骤。In the present application, each judgment duration includes multiple time points, each time point corresponds to an electrical signal data, that is, corresponds to a target value. When the target value is less than the first preset value, the timing starts from the time point corresponding to the target value being less than the first preset value, that is, the current time point, and it is determined whether the target values within the multiple judgment durations starting from the current time point all meet the corresponding power-off conditions. When the target values within each judgment duration meet the corresponding power-off conditions, step S300 is executed. When there is a judgment duration in which the target value does not meet the corresponding power-off conditions among the multiple judgment durations, the corresponding steps will be executed.
在一种实施方式中,如图3所示,步骤S200包括子步骤S210~S230。 In one implementation, as shown in FIG3 , step S200 includes sub-steps S210 to S230 .
子步骤S210:确定第一判断时长内的目标值是否满足对应的第一断电条件。Sub-step S210: Determine whether the target value within the first judgment time period satisfies the corresponding first power-off condition.
可以理解的是,多个判断时长可以包括第一判断时长、第二判断时长和第三判断时长,第一判断时长、第二判断时长和第三判断时长依次增大,换言之,第一判断时长小于第二判断时长小于第三判断时长。其中,各个判断时长之间存在较大差异,第一判断时长最短,设置较短的第一判断时长不仅可以对数据线的目标值进行更精准地判断和循环统计,还可以提高判断效率;第二判断时长相对较长,以对目标值进行进一步判断;第三判断时长更长,可以更加准确对数据线的目标值进行判断。例如,将第一判断时长设置为5秒,第二判断时长设置为20秒,将第三判断时长设置为45分钟。本申请中各个判断时长之间按照层级递进关系设置,不仅可以对数据线的目标值判断更加精准,还可以避免误判而影响正常充电的情况。It is understandable that the multiple judgment durations may include a first judgment duration, a second judgment duration, and a third judgment duration, and the first judgment duration, the second judgment duration, and the third judgment duration increase successively. In other words, the first judgment duration is less than the second judgment duration, which is less than the third judgment duration. Among them, there are large differences between the various judgment durations. The first judgment duration is the shortest. Setting a shorter first judgment duration can not only make a more accurate judgment and cyclic statistics of the target value of the data line, but also improve the judgment efficiency; the second judgment duration is relatively long 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 judgment duration is set to 5 seconds, the second judgment duration is set to 20 seconds, and the third judgment duration is set to 45 minutes. In this application, the various judgment durations are set according to a hierarchical progressive relationship, which can not only make the target value of the data line more accurately judged, but also avoid misjudgment and affect normal charging.
当确定的目标值小于第一预设值时,将继续实时采集数据线的电信号数据,并确定相应的目标值。从目标值小于第一预设值的当前时间点开始计时,确定从当前时间点开始的第一判断时长内每个时间点对应的目标值是否小于第一预设值,若第一判断时长内每个时间点对应的目标值均小于第一预设值,则确定第一判断时长内的目标值满足第一断电条件,将执行子步骤S220,此时智能断电数据线将保持充电状态;若确定从当前时间点开始的第一判断时长内任意时间点的目标值大于等于第一预设值,即若第一判断时长内存在大于等于第一预设值的目标值,则确定该智能断电数据线处于充电状态,控制该智能断电数据线保持充电,并从当前时间点开始计时清零操作,即对从目标值小于第一预设值开始计时的第一判断时长进行清零,并执行步骤S100。When the determined target value is less than the first preset value, the electrical signal data of the data line will continue to be collected in real time, and the corresponding target value will be determined. The timing starts from the current time point when the target value is less than the first preset value, and it is determined whether the target value corresponding to each time point in the first judgment time length starting from the current time point is less than the first preset value. If the target value corresponding to each time point in the first judgment time length is less than the first preset value, it is determined that the target value in the first judgment time length meets the first power-off condition, and sub-step S220 will be executed. At this time, the smart power-off data line will remain in the charging state; if it is determined that the target value at any time point in the first judgment time length starting from the current time point is greater than or equal to the first preset value, that is, if there is a target value greater than or equal to the first preset value in the first judgment time length, it is determined that the smart power-off data line is in the charging state, and the smart power-off data line is controlled to remain charged, and the timing reset operation starts from the current time point, that is, the first judgment time length started from the target value being less than the first preset value is reset, and step S100 is executed.
例如,当目标值为电流值,第一预设值为200毫安,第一判断时长为5秒,若确定电流值小于200毫安,则将当前时间点标记为A,判断从当前时间点A开始计时的5秒内每个时间点对应的电流值是否小于200毫安。若5秒内每个时间点的电流值均小于200毫安,则确定该智能断电数据线的5秒内的电流值满足第一断电条件,此时将控制该智能断电数据线保持充电,并继续对第二断电条件进行判断;若5秒内的任意时间点的电流值大于等于200毫安,则确定该数据线处于充电状态,此时将保持充电操作,并且将从当前时间点后对计时清零操作,即不进行计时,直至下一次目标值小于第一预设值时,将重新开始计时。For example, when the target value is the current value, the first preset value is 200 mA, and the first judgment time is 5 seconds, if it is determined that the current value is less than 200 mA, the current time point is marked as A, and it is determined whether the current value corresponding to each time point within 5 seconds starting from the current time point A is less than 200 mA. If the current value at each time point within 5 seconds is less than 200 mA, it is determined that the current value of the smart power-off data line within 5 seconds meets the first power-off condition. At this time, the smart power-off data line will be controlled to keep charging, and the second power-off condition will continue to be judged; if the current value at any time point within 5 seconds is greater than or equal to 200 mA, it is determined that the data line is in a charging state, and the charging operation will be maintained at this time, and the timing will be reset from the current time point, that is, no timing will be performed until the next target value is less than the first preset value, and the timing will be restarted.
子步骤S220:确定第二判断时长内的目标值是否满足对应的第二断电条件。Sub-step S220: Determine whether the target value within the second judgment time period satisfies the corresponding second power-off condition.
在本申请中,在第一判断时长内的目标值满足第一断电条件时,将判断从当前时间点开始计时的第二判断时长内每个时间点对应的目标值是否小于第二预设值,若第二判 断时长内每个时间点的目标值均小于第二预设值,则确定第二判断时长内的目标值满足第二断电条件,将执行子步骤S230;若第二判断时长内任意时间点的目标值大于等于第二预设值,则将从目标值大于等于第二预设值的时间点,即从当前时间点开始计时清零操作,并执行步骤S100。In the present application, when the target value within the first judgment time period meets the first power-off condition, it is determined whether the target value corresponding to each time point within the second judgment time period starting from the current time point is less than the second preset value. If the target value at each time point within the power-off duration is less than the second preset value, it is determined that the target value within the second judgment duration meets the second power-off condition, and sub-step S230 will be executed; if the target value at any time point within the second judgment duration is greater than or equal to the second preset value, the timing will be reset from the time point when the target value is greater than or equal to the second preset value, that is, from the current time point, and step S100 will be executed.
例如,当第二判断时长为20秒,第二预设值为200毫安时,在确定第一判断时长内每个时间点的目标值均小于第一预设值后,将当前时间点标记为B,确定从当前时间点B开始计时的20秒内每个时间点的目标值是否小于200毫安。若20秒内的目标值均小于200毫安,则确定数据线满足第二断电条件,智能断电数据线将仍旧保持充电,并继续对第三断电条件进行判断;若20秒内任意时间点的目标值大于等于200毫安,则确定该智能断电数据线处于充电状态,将从当前时间点开始计时清零操作。For example, when the second judgment time is 20 seconds and the second preset value is 200 mA, after determining that the target value at each time point within the first judgment time is less than the first preset value, the current time point is marked as B, and it is determined whether the target value at each time point within 20 seconds starting from the current time point B is less than 200 mA. If the target values within 20 seconds are all less than 200 mA, it is determined that the data line meets the second power-off condition, the smart power-off data line will still keep charging, and continue to judge the third power-off condition; if the target value at any time point within 20 seconds is greater than or equal to 200 mA, it is determined that the smart power-off data line is in a charging state, and the timing reset operation will start from the current time point.
子步骤S230:确定第三判断时长内的目标值是否满足对应的第三断电条件。Sub-step S230: Determine whether the target value within the third judgment time period satisfies the corresponding third power-off condition.
可以理解的是,当第二判断时长内的目标值满足第二断电条件时,将进一步判断从当前时间点开始的第三判断时长内的目标值是否对应的第三断电条件,当第三判断时长内的目标值满足第三断电条件时,则确定每个判断时长内的目标值均满足对应的断电条件,将执行步骤S300,当第三判断时长内的目标值不满足第三断电条件时,则将执行子步骤S230。It can be understood that when the target value within the second judgment period meets the second power-off condition, it will be further judged whether the target value within the third judgment period starting from the current time point corresponds to the third power-off condition. When the target value within the third judgment period meets the third power-off condition, it is determined that the target value within each judgment period meets the corresponding power-off condition, and step S300 will be executed. When the target value within the third judgment period does not meet the third power-off condition, sub-step S230 will be executed.
在一种实施方式中,如图4所示,子步骤S230包括子步骤S231~S233。In one implementation, as shown in FIG. 4 , sub-step S230 includes sub-steps S231 - S233 .
子步骤S231:确定从当前时间点开始的第三判断时长内每个时间点对应的目标值是否小于第三预设值。Sub-step S231: Determine whether the target value corresponding to each time point within the third judgment time length starting from the current time point is less than the third preset value.
可以理解的是,从第二判断时长内的目标值满足第二断电条件的时间点开始,即从当前时间点开始计时,判断第三判断时长内每个时间点的目标值是否小于第三预设值,若第三判断时长内每个时间点的目标值均小于第三预设值,则确定第三判断时长内的目标值满足对应的第三断电条件,将执行步骤S300;若对应的第三判断时长内任意时间点的目标值大于等于第三预设值,则执行子步骤S232。It can be understood that starting from the time point when the target value within the second judgment period meets the second power-off condition, that is, starting from the current time point, it is determined whether the target value at each time point within the third judgment period is less than the third preset value. If the target value at each time point within the third judgment period is less than the third preset value, it is determined that the target value within the third judgment period meets the corresponding third power-off condition, and step S300 is executed; if the target value at any time point within the corresponding third judgment period is greater than or equal to the third preset value, sub-step S232 is executed.
子步骤S232:记录从当前时间点开始的目标值大于等于第三预设值的时长作为实际干扰时长,并确定实际干扰时长是否小于预设干扰时长。Sub-step S232: Record the duration from the current time point during which the target value is greater than or equal to the third preset value as the actual interference duration, and determine whether the actual interference duration is less than the preset interference duration.
当第三判断时长内任意一时间点的目标值大于等于第三预设值时,将从目标值大于等于第三预设值对应的时间点开始计时,即从当前时间点开始,记录目标值大于等于第三预设值的时长作为实际干扰时长,并判断记录的实际干扰时长是否小于预设干扰时长。当实际干扰时长小于预设干扰时长时,执行子步骤S233,当实际干扰时长大于等于预 设干扰时长时,则将把从当前时间点开始计时清零操作,即从实际干扰时长大于或等于预设干扰时长时对应的时间点开始计时统计清零,并重新执行子步骤S231。When the target value at any time point within the third judgment duration is greater than or equal to the third preset value, the time will be counted from the time point corresponding to the target value being greater than or equal to the third preset value, that is, from the current time point, the duration of time when the target value is greater than or equal to the third preset value will be recorded as the actual interference duration, and it will be determined whether the recorded actual interference duration is less than the preset interference duration. When the actual interference duration is less than the preset interference duration, sub-step S233 is executed; when the actual interference duration is greater than or equal to the preset duration, sub-step S234 is executed. When the interference duration is set, the timing will be reset from the current time point, that is, the timing statistics will be reset from the time point corresponding to the actual interference duration being greater than or equal to the preset interference duration, and sub-step S231 will be executed again.
示范性地,本申请中还可以将第三判断时长划分为多个时间段,对多个时间段内的目标值进行检测,当其中一个时间段中存在目标值大于等于第三预设值的时间点时,将从目标值大于等于第三预设值对应的时间点开始计时,将目标值大于等于第三预设值的时长记为实际干扰时长。Exemplarily, in the present application, the third judgment duration can also be divided into multiple time periods, and the target values in the multiple time periods are detected. When there is a time point in one of the time periods when the target value is greater than or equal to the third preset value, the timing will start from the time point corresponding to the target value being greater than or equal to the third preset value, and the time duration when the target value is greater than or equal to the third preset value will be recorded as the actual interference duration.
子步骤S233:继续确定第三判断时长的剩余时长内每个时间点的目标值是否小于第三预设值。Sub-step S233: Continue to determine whether the target value at each time point within the remaining duration of the third judgment duration is less than the third preset value.
可以理解的是,若实际干扰时长小于预设干扰时长,则判断该实际干扰时长为信息干扰的时间,例如,当用户接收到短信提示或是临时使用时,将产生电流突变。在确定实际干扰时长为信息干扰时,将继续对第三判断时长的剩余时长内每个时间点对应的目标值是否小于第三预设值进行判断。在本申请中,第一预设值、第二预设值和第三预设值可以相同,也可以不同,用户可以根据实际情况自行设置,本申请实施例中第一预设值、第二预设值和第三预设值均使用200毫安。It is understandable that if the actual interference duration is less than the preset interference duration, the actual interference duration is judged to be the time of information interference. For example, when the user receives a text message reminder or temporarily uses it, a current mutation will occur. When it is determined that the actual interference duration is information interference, it will continue to judge whether the target value corresponding to each time point within the remaining duration of the third judgment duration is less than the third preset value. In the present application, the first preset value, the second preset value and the third preset value can be the same or different, and the user can set it according to the actual situation. In the embodiment of the present application, the first preset value, the second preset value and the third preset value all use 200 mA.
若第三判断时长的剩余时长内每个时间点对应的目标值均小于第三预设值,则确定第三判断时长内的目标值满足第三断电条件,即可以确定此时通过该智能断电数据线进行充电的充电设备电已充满,将执行步骤S300;若第三判断时长内剩余时长内任意时间点的目标值大于等于第三预设值,则重新执行子步骤S231。If the target value corresponding to each time point within the remaining time of the third judgment time is less than the third preset value, it is determined that the target value within the third judgment time satisfies the third power-off condition, that is, it can be determined that the charging device charged through the smart power-off data cable is fully charged at this time, and step S300 will be executed; if the target value at any time point within the remaining time of the third judgment time is greater than or equal to the third preset value, sub-step S231 will be re-executed.
在一种实施方式中,如图5所示,步骤S230还包括子步骤S234~S235。In one implementation, as shown in FIG5 , step S230 further includes sub-steps S234 to S235 .
子步骤S234:将从当前时间点开始的第三判断时长划分为多个时间段,确定多个时间段中每个时间点对应的目标值均小于第三预设值的时间段的数量,作为满足断电次数。Sub-step S234: Divide the third judgment duration starting from the current time point into multiple time periods, and determine the number of time periods in which the target value corresponding to each time point in the multiple time periods is less than the third preset value as the number of power outages that meet the requirements.
可以理解的是,在确定第二判断时长内每个时间点的目标值满足第二断电条件后,确定从当前时间点开始计时的第三判断时长,并将第三判断时长划分为多个时间段,每个时间段包括至少一个时间点。确定多个时间段中每个时间点对应的目标值均小于第三预设值的时间段,并对相应的数量进行记录,作为满足断电次数。It is understandable that after determining that the target value at each time point within the second judgment time period satisfies the second power-off condition, a third judgment time period starting from the current time point is determined, and the third judgment time period is divided into multiple time periods, each of which includes at least one time point. A time period in which the target value corresponding to each time point in the multiple time periods is less than the third preset value is determined, and the corresponding number is recorded as the number of power-off times satisfied.
子步骤S235:确定满足断电次数是否小于预设满足次数。Sub-step S235: Determine whether the number of power-off times is less than a preset number of times.
在记录得到相应的满足断电次数后,判断满足断电次数是否小于预设断电次数,当满足断电次数大于等于预设满足断电次数时,执行步骤S236:确定第三判断时长内的目标值满足对应的第三断电条件,将执行步骤S300;当满足断电次数小于预设断电次 数时,将把从当前时间点开始计时清零操作,并重新执行子步骤S234。After recording the corresponding number of power-off conditions, determine whether the number of power-off conditions is less than the preset number of power-off conditions. When the number of power-off conditions is greater than or equal to the preset number of power-off conditions, execute step S236: determine that the target value within the third judgment time period meets the corresponding third power-off condition, and execute step S300; when the number of power-off conditions is less than the preset number of power-off conditions, execute step S237: determine that the target value within the third judgment time period meets the corresponding third power-off condition, and execute step S300; When the number is counted, the timing from the current time point will be reset to zero and sub-step S234 will be executed again.
例如,第三判断时长为45分钟,每个时间段为20秒,则将45分钟划分为135个20秒的时间段,针对135个时间段进行检测,如果一个时间段满足20秒内的目标值都小于200毫安,则该时间段视为满足断电,已记录的满足断电次数将进行加一。当满足断电次数大于等于预设断电次数时,或者是满足断电次数占总时间段数量的概率大于等于预设概率时,如90%时,确定第三判断时长内的目标值满足第三断电条件。For example, if the third judgment duration is 45 minutes and each time period is 20 seconds, then 45 minutes is divided into 135 time periods of 20 seconds, and the 135 time periods are tested. If a time period meets the target value within 20 seconds and is less than 200 mA, then the time period is deemed to meet the power-off condition, and the recorded number of power-off conditions will be increased by 1. When the number of power-off conditions is greater than or equal to the preset number of power-off conditions, or when the probability of the number of power-off conditions accounting for the total number of time periods is greater than or equal to the preset probability, such as 90%, it is determined that the target value within the third judgment duration meets the third power-off condition.
步骤S300:当每个判断时长内的目标值均满足对应的断电条件时,控制数据线进行断电操作。Step S300: When the target values within each determination time period satisfy the corresponding power-off conditions, the data line is controlled to perform a power-off operation.
可以理解的是,当每个判断时长内的目标值均满足对应的断电条件时时,则确定此时待充电的设备已充满电,则将通过发送控制命令至断电开关以控制数据线进行断电操作。It can be understood that when the target values within each judgment time meet the corresponding power-off conditions, it is determined that the device to be charged is fully charged at this time, and a control command will be sent to the power-off switch to control the data line to perform a power-off operation.
在一种实施方式中,该智能断电数据线还包括指示单元。In one embodiment, the intelligent power-off data line further includes an indication unit.
可以理解的是,当目标值为功率值时,将判断该功率值是否大于预设功率值;当功率值大于预设功率值时,控制指示单元产生相应的指示信号;当功率值小于等于预设功率值时,控制指示信号从当前时间点开始保持预设保持时长后关闭。当指示单元为指示灯,指示灯的指示信号为常亮时,若功率值大于预设功率值,则控制指示灯保持常亮;若功率值小于等于预设功率值时,则控制指示灯保持预设保持时长后熄灭。例如,功率值大于1W时,该数据线保持充电状态,控制指示信号灯保持常亮,在充电完成断电后,即功率值小于等于1W时,指示灯延时1-5分钟后熄灭。It is understandable that when the target value is a power value, it will be determined whether the power value is greater than the preset power value; when the power value is greater than the preset power value, the control indicator unit generates a corresponding indication signal; when the power value is less than or equal to the preset power value, the control indication signal is kept for a preset holding time from the current time point and then turned off. When the indication unit is an indicator light, and the indicator light's indication signal is always on, if the power value is greater than the preset power value, the control indicator light is kept always on; if the power value is less than or equal to the preset power value, the control indicator light is kept always on for a preset holding time and then turned off. For example, when the power value is greater than 1W, the data cable remains in the charging state, and the control indicator light remains always on. After the charging is completed and the power is cut off, that is, when the power value is less than or equal to 1W, the indicator light is turned off after a delay of 1-5 minutes.
当指示单元为指示灯时,指示信号还可以为第一预设颜色或第一闪烁频率,当功率值大于预设功率值时,将控制指示灯显示第一预设颜色或第一闪烁频率,当功率值小于等于预设功率值时,将控制指示灯显示第一预设颜色或第一闪烁频率保持预设保持时长后熄灭,或是控制指示灯显示第一预设颜色或第一闪烁频率保持预设保持时长后,显示相应的第二预设颜色或第二闪烁频率。其中,第一闪烁频率和第二闪烁频率存在明显差异,第一预设颜色和第二预设颜色也存在明显差异,例如,第一闪烁频率为每一秒闪烁一次,第二闪烁频率为每一分钟闪烁一次,第一预设颜色可以为绿色、紫色等,第二预设颜色可以为黄色、红色等。When the indicating unit is an indicator light, the indicating signal can also be a first preset color or a first flashing frequency. When the power value is greater than the preset power value, the indicator light 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 indicator light is controlled to display the first preset color or the first flashing frequency for a preset duration and then turn off. Or the indicator light is controlled to display the first preset color or the first flashing frequency for a preset duration and then display the corresponding second preset color or the second flashing frequency. There is a significant difference between the first flashing frequency and the second flashing frequency, and there is also a significant difference between the first preset color and the second preset color. For example, the first flashing frequency flashes once per second, and the second flashing frequency flashes once per minute. The first preset color can be green, purple, etc., and the second preset color can be yellow, red, etc.
在本申请中,通过设置多个断电条件,即通过对多个判断时间长内的断电条件进行判断,可以避免了充电时短信提示或临时使用时电流突变造成的误判,从而可以提高消费者的满意度。 In the present application, by setting multiple power-off conditions, that is, by judging multiple power-off conditions within a long judgment time, misjudgment caused by text message prompts during charging or sudden current changes during temporary use can be avoided, thereby improving consumer satisfaction.
基于上述实施例的智能断电数据线的控制方法,图6示出了本申请实施例提供的一种智能断电数据线的控制装置100的结构示意图。该智能断电数据线的控制装置100包括:Based on the control method of the intelligent power-off data line of the above embodiment, FIG6 shows a schematic structural diagram of a control device 100 of an intelligent power-off data line provided by an embodiment of the present application. The control device 100 of the intelligent power-off data line includes:
采集单元110,配置为实时采集数据线的电信号数据,根据所述电信号数据确定相应的目标值,并确定所述目标值是否小于第一预设值;The acquisition unit 110 is configured to acquire electrical signal data of the data line in real time, determine a corresponding target value according to the electrical signal data, and determine whether the target value is less than a first preset value;
判断单元120,配置为当所述目标值小于所述第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的所述目标值是否满足对应的断电条件;The judgment unit 120 is configured to determine a plurality of judgment durations starting from a current time point when the target value is less than the first preset value, and determine in sequence whether the target value within each judgment duration satisfies a corresponding power-off condition;
断电单元130,配置为当所述每个判断时长内的所述目标值均满足对应的断电条件时,控制所述数据线进行断电操作。The power-off unit 130 is configured to control the data line to perform a power-off operation when the target values within each judgment time period meet the corresponding power-off conditions.
在一些实施例中,所述多个判断时长包括第一判断时长、第二判断时长和第三判断时长,所述判断单元120,还配置为:In some embodiments, the multiple judgment durations include a first judgment duration, a second judgment duration, and a third judgment duration, and the judgment unit 120 is further configured to:
确定所述第一判断时长内的所述目标值是否满足对应的第一断电条件;Determining whether the target value within the first judgment time period satisfies a corresponding first power-off condition;
若所述第一判断时长内的所述目标值满足所述第一断电条件,则确定所述第二判断时长内的所述目标值是否满足对应的第二断电条件;If the target value within the first judgment time period satisfies the first power-off condition, determining whether the target value within the second judgment time period satisfies the corresponding second power-off condition;
若所述第二判断时长内的所述目标值满足所述第二断电条件,则确定所述第三判断时长内的所述目标值是否满足对应的第三断电条件;If the target value within the second judgment time period satisfies the second power-off condition, determining whether the target value within the third judgment time period satisfies the corresponding third power-off condition;
若所述第三判断时长内的所述目标值满足所述第三断电条件,则确定每个判断时长内的所述目标值均满足对应的断电条件,其中,第一判断时长、第二判断时长和第二判断时长依次增大。If the target value within the third judgment time period satisfies the third power-off condition, it is determined that the target value within each judgment time period satisfies the corresponding power-off condition, wherein the first judgment time period, the second judgment time period and the third judgment time period increase sequentially.
在一些实施例中,所述判断单元120,还配置为:In some embodiments, the determining unit 120 is further configured to:
确定从当前时间点开始的所述第一判断时长内每个时间点对应的所述目标值是否小于所述第一预设值;Determine whether the target value corresponding to each time point within the first judgment time period starting from the current time point is less than the first preset value;
若每个时间点对应的所述目标值均小于所述第一预设值,则确定所述第一判断时长内的所述目标值满足对应的第一断电条件;If the target value corresponding to each time point is less than the first preset value, it is determined that the target value within the first judgment time period meets the corresponding first power-off condition;
若所述第一判断时长内任意时间点对应的所述目标值大于等于所述第一预设值,则从当前时间点开始计时清零操作,并执行S100的步骤。If the target value corresponding to any time point within the first judgment time period is greater than or equal to the first preset value, the timing reset operation starts from the current time point and the step S100 is executed.
在一些实施例中,所述判断单元120,还配置为:In some embodiments, the determining unit 120 is further configured to:
确定从当前时间点开始的所述第二判断时长内每个时间点对应的所述目标值是否小于第二预设值;Determine whether the target value corresponding to each time point within the second judgment time period starting from the current time point is less than a second preset value;
若每个时间点对应的所述目标值均小于所述第二预设值,则确定所述第二判断时长 内的所述目标值满足对应的第二断电条件;If the target value corresponding to each time point is less than the second preset value, the second judgment time is determined. The target value within satisfies the corresponding second power-off condition;
若所述第二判断时长内任意时间点对应的所述目标值大于等于所述第二预设值,则从当前时间点开始计时清零操作,并执行S100的步骤。If the target value corresponding to any time point within the second judgment time period is greater than or equal to the second preset value, the timing reset operation starts from the current time point and the step S100 is executed.
在一些实施例中,所述判断单元120,还配置为:In some embodiments, the determining unit 120 is further configured to:
确定从当前时间点开始的所述第三判断时长内每个时间点的所述目标值是否小于第三预设值;Determine whether the target value at each time point within the third judgment time period starting from the current time point is less than a third preset value;
若每个时间点对应的所述目标值均小于所述第三预设值,则确定所述第三判断时长内的所述目标值满足对应的第三断电条件;If the target value corresponding to each time point is less than the third preset value, it is determined that the target value within the third judgment time period meets the corresponding third power-off condition;
若所述第三判断时长内任意时间点对应的所述目标值大于等于所述第三预设值,则记录从当前时间点开始的所述目标值大于等于所述第三预设值的时长作为实际干扰时长,并确定所述实际干扰时长是否小于预设干扰时长;If the target value corresponding to any time point within the third judgment duration is greater than or equal to the third preset value, the duration during which the target value is greater than or equal to the third preset value starting from the current time point is recorded as the actual interference duration, and it is determined whether the actual interference duration is less than the preset interference duration;
当所述实际干扰时长小于所述预设干扰时长时,继续确定所述第三判断时长的剩余时长内每个时间点对应的所述目标值是否小于所述第三预设值;若所述剩余时长内每个时间点的所述目标值均小于所述第三预设值,则确定所述第三判断时长内的所述目标值满足所述第三断电条件;When the actual interference duration is less than the preset interference duration, continue to determine whether the target value corresponding to each time point within the remaining duration of the third judgment duration is less than the third preset value; if the target value at each time point within the remaining duration is less than the third preset value, determine that the target value within the third judgment duration meets the third power-off condition;
当所述实际干扰时长大于等于所述预设干扰时长时,执行所述确定从当前时间点开始的所述第三判断时长内每个时间点的所述目标值是否小于第三预设值。When the actual interference duration is greater than or equal to the preset interference duration, the step of determining whether the target value at each time point within the third judgment duration starting from the current time point is less than a third preset value is performed.
在一些实施例中,所述判断单元120,还配置为:In some embodiments, the determining unit 120 is further configured to:
将从当前时间点开始的第三判断时长划分为多个时间段,确定所述多个时间段中每个时间点对应的所述目标值小于第三预设值的时间段的数量,作为满足断电次数;Divide the third judgment duration starting from the current time point into multiple time periods, and determine the number of time periods in which the target value corresponding to each time point in the multiple time periods is less than the third preset value as the number of power outages that meet the requirement;
确定所述满足断电次数是否小于预设满足次数;Determine whether the number of power-off conditions is less than a preset number of conditions;
当所述满足断电次数大于等于所述预设满足次数时,确定所述第三判断时长内的所述目标值满足对应的第三断电条件。When the number of power-off conditions satisfied is greater than or equal to the preset number of times satisfied, it is determined that the target value within the third judgment time period satisfies the corresponding third power-off condition.
在一些实施例中,所述电信号数据为电流值和/或电压值,所述目标值为功率值或电流值,当所述目标值为所述功率值时,所述采集单元110,还配置为:In some embodiments, the electrical signal data is a current value and/or a voltage value, and the target value is a power value or a current value. When the target value is the power value, the acquisition unit 110 is further configured as follows:
根据所述电流值和所述电压值确定对应的功率值。A corresponding power value is determined according to the current value and the voltage value.
在一些实施例中,所述数据线包括指示单元,所述装置还包括控制单元,所述控制单元,配置为:In some embodiments, the data line includes an indication unit, and the device further includes a control unit, and the control unit is configured to:
确定所述功率值是否大于预设功率值;Determining whether the power value is greater than a preset power value;
当所述功率值大于所述预设功率值时,控制所述指示单元产生相应的指示信号; When the power value is greater than the preset power value, controlling the indication unit to generate a corresponding indication signal;
当所述功率值小于等于所述预设功率值时,控制所述指示信号从当前时间点开始保持预设保持时长后关闭。When the power value is less than or equal to the preset power value, the indication signal is controlled to be kept for a preset holding time from the current time point and then turned off.
在一些实施例中,所述指示单元为指示灯,所述指示灯的指示信号包括常亮;所述控制单元,还配置为:In some embodiments, the indicating unit is an indicator light, and the indication signal of the indicator light includes being always on; the control unit is further configured as follows:
当所述功率值大于所述预设功率值时,控制所述指示灯保持常亮;When the power value is greater than the preset power value, controlling the indicator light to remain on;
当所述功率值小于等于所述预设功率值时,控制所述指示灯保持所述预设保持时长常亮后熄灭。When the power value is less than or equal to the preset power value, the indicator light is controlled to remain on for the preset duration and then turn off.
本实施例的智能断电数据线的控制装置100配置为执行上述实施例的智能断电数据线的控制方法,上述实施例所涉及的实施方案以及有益效果在本实施例中同样适用,在此不再赘述。The control device 100 of the intelligent power-off data line of this embodiment is configured to execute the control method of the intelligent power-off data line of the above embodiment. The implementation schemes and beneficial effects involved in the above embodiment are also applicable to this embodiment and will not be described in detail here.
本申请实施例还提供一种智能断电数据线的控制设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序在处理器上运行时执行上述的智能断电数据线的控制方法。An embodiment of the present application also provides a control device for an intelligent power-off data line, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the control method for the intelligent power-off data line is executed.
本申请实施例还提供一种计算机可读存储介质,其存储有计算机程序,计算机程序在处理器上执行时,实施上述的智能断电数据线的控制方法。本申请还提供了一种计算机程序产品,所述计算机程序产品包括计算机可读代码,或者承载所述计算机可读代码的非易失性计算机可读存储介质,在所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行时实现如前任意一项所述的智能断电数据线的控制方法。The embodiment of the present application also provides a computer-readable storage medium storing a computer program, which implements the above-mentioned intelligent power-off data line control method when executed on a processor. The present application also provides a computer program product, which includes a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, and when the computer-readable code runs in a processor of an electronic device, the processor in the electronic device implements the control method of the intelligent power-off data line as described in any of the above items when executed.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和结构图显示了根据本申请的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个配置为实现规定的逻辑功能的可执行指令。也应当注意,在作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,结构图和/或流程图中的每个方框、以及结构图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions configured to implement the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and/or the flow diagram, and the combination of boxes in the structure diagram and/or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
另外,在本申请各个实施例中的各功能模块或单元可以集成在一起形成一个独立的 部分,也可以是各个模块单独存在,也可以两个或更多个模块集成形成一个独立的部分。In addition, the functional modules or units in various embodiments of the present application can be integrated together to form an independent The components can be separate parts, or each module can exist independently, or two or more modules can be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是智能手机、个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a smart phone, personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
工业实用性Industrial Applicability
本申请提供一种智能断电数据线的控制方法、装置、设备、介质及产品,该智能断电数据线的控制方法通过实时采集数据线的电信号数据,根据电信号数据确定相应的目标值,并确定目标值是否小于第一预设值;当目标值小于第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的目标值是否满足对应的断电条件;当每个判断时长内的目标值均满足对应的断电条件时,控制数据线进行断电操作。 The present application provides a control method, device, equipment, medium and product for an intelligent power-off data line. The control method for the intelligent power-off data line collects electrical signal data of the data line in real time, determines a corresponding target value according to the electrical signal data, and determines whether the target value is less than a first preset value; when the target value is less than the first preset value, determines multiple judgment time periods starting from the current time point, and determines in turn whether the target value within each judgment time period meets the corresponding power-off condition; when the target value within each judgment time period meets the corresponding power-off condition, controls the data line to perform a power-off operation.

Claims (21)

  1. 一种智能断电数据线的控制方法,所述方法包括:A control method for an intelligent power-off data line, the method comprising:
    S100:实时采集数据线的电信号数据,根据所述电信号数据确定相应的目标值,并确定所述目标值是否小于第一预设值;S100: collecting 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 less than a first preset value;
    S200:当所述目标值小于所述第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的所述目标值是否满足对应的断电条件;S200: When the target value is less than the first preset value, determine a plurality of judgment time periods starting from the current time point, and determine in turn whether the target value within each judgment time period satisfies a corresponding power-off condition;
    S300:当所述每个判断时长内的所述目标值均满足对应的断电条件时,控制所述数据线进行断电操作。S300: When the target values within each judgment time period satisfy the corresponding power-off conditions, control the data line to perform a power-off operation.
  2. 根据权利要求1所述的智能断电数据线的控制方法,其中,所述多个判断时长包括第一判断时长、第二判断时长和第三判断时长,所述依次确定每个判断时长内的所述目标值是否满足对应的断电条件,包括:According to the control method of the intelligent power-off data line of claim 1, wherein the multiple judgment time lengths include a first judgment time length, a second judgment time length, and a third judgment time length, and the step of sequentially determining whether the target value within each judgment time length satisfies the corresponding power-off condition comprises:
    确定所述第一判断时长内的所述目标值是否满足对应的第一断电条件;Determining whether the target value within the first judgment time period satisfies a corresponding first power-off condition;
    若所述第一判断时长内的所述目标值满足所述第一断电条件,则确定所述第二判断时长内的所述目标值是否满足对应的第二断电条件;If the target value within the first judgment time period satisfies the first power-off condition, determining whether the target value within the second judgment time period satisfies the corresponding second power-off condition;
    若所述第二判断时长内的所述目标值满足所述第二断电条件,则确定所述第三判断时长内的所述目标值是否满足对应的第三断电条件;If the target value within the second judgment time period satisfies the second power-off condition, determining whether the target value within the third judgment time period satisfies the corresponding third power-off condition;
    若所述第三判断时长内的所述目标值满足所述第三断电条件,则确定每个判断时长内的所述目标值均满足对应的断电条件,其中,第一判断时长、第二判断时长和第二判断时长依次增大。If the target value within the third judgment time period satisfies the third power-off condition, it is determined that the target value within each judgment time period satisfies the corresponding power-off condition, wherein the first judgment time period, the second judgment time period and the third judgment time period increase sequentially.
  3. 根据权利要求2所述的智能断电数据线的控制方法,其中,所述确定所述第一判断时长内的所述目标值是否满足对应的第一断电条件,包括:The control method of the intelligent power-off data line according to claim 2, wherein the determining whether the target value within the first judgment time period satisfies the corresponding first power-off condition comprises:
    确定从当前时间点开始的所述第一判断时长内每个时间点对应的所述目标值是否小于所述第一预设值;Determine whether the target value corresponding to each time point within the first judgment time period starting from the current time point is less than the first preset value;
    若每个时间点对应的所述目标值均小于所述第一预设值,则确定所述第一判断时长内的所述目标值满足对应的第一断电条件;If the target value corresponding to each time point is less than the first preset value, it is determined that the target value within the first judgment time period meets the corresponding first power-off condition;
    若所述第一判断时长内任意时间点对应的所述目标值大于等于所述第一预设值,则从当前时间点开始计时清零操作,并执行S100的步骤。If the target value corresponding to any time point within the first judgment time period is greater than or equal to the first preset value, the timing reset operation starts from the current time point and the step S100 is executed.
  4. 根据权利要求2所述的智能断电数据线的控制方法,其中,所述确定所述第二判断时长内的所述目标值是否满足对应的第二断电条件,包括: The control method for the intelligent power-off data line according to claim 2, wherein the determining whether the target value within the second judgment time period satisfies the corresponding second power-off condition comprises:
    确定从当前时间点开始的所述第二判断时长内每个时间点对应的所述目标值是否小于第二预设值;Determine whether the target value corresponding to each time point within the second judgment time period starting from the current time point is less than a second preset value;
    若每个时间点对应的所述目标值均小于所述第二预设值,则确定所述第二判断时长内的所述目标值满足对应的第二断电条件;If the target value corresponding to each time point is less than the second preset value, it is determined that the target value within the second judgment time period meets the corresponding second power-off condition;
    若所述第二判断时长内任意时间点对应的所述目标值大于等于所述第二预设值,则从当前时间点开始计时清零操作,并执行S100的步骤。If the target value corresponding to any time point within the second judgment time period is greater than or equal to the second preset value, the timing reset operation starts from the current time point and the step S100 is executed.
  5. 根据权利要求2所述的智能断电数据线的控制方法,其中,所述确定所述第三判断时长内的所述目标值是否满足对应的第三断电条件,包括:The control method for the intelligent power-off data line according to claim 2, wherein the step of determining whether the target value within the third judgment time period satisfies the corresponding third power-off condition comprises:
    确定从当前时间点开始的所述第三判断时长内每个时间点的所述目标值是否小于第三预设值;Determine whether the target value at each time point within the third judgment time period starting from the current time point is less than a third preset value;
    若每个时间点对应的所述目标值均小于所述第三预设值,则确定所述第三判断时长内的所述目标值满足对应的第三断电条件;If the target value corresponding to each time point is less than the third preset value, it is determined that the target value within the third judgment time period meets the corresponding third power-off condition;
    若所述第三判断时长内任意时间点对应的所述目标值大于等于所述第三预设值,则记录从当前时间点开始的所述目标值大于等于所述第三预设值的时长作为实际干扰时长,并确定所述实际干扰时长是否小于预设干扰时长;If the target value corresponding to any time point within the third judgment duration is greater than or equal to the third preset value, the duration during which the target value is greater than or equal to the third preset value starting from the current time point is recorded as the actual interference duration, and it is determined whether the actual interference duration is less than the preset interference duration;
    当所述实际干扰时长小于所述预设干扰时长时,继续确定所述第三判断时长的剩余时长内每个时间点对应的所述目标值是否小于所述第三预设值;若所述剩余时长内每个时间点的所述目标值均小于所述第三预设值,则确定所述第三判断时长内的所述目标值满足所述第三断电条件;When the actual interference duration is less than the preset interference duration, continue to determine whether the target value corresponding to each time point within the remaining duration of the third judgment duration is less than the third preset value; if the target value at each time point within the remaining duration is less than the third preset value, determine that the target value within the third judgment duration meets the third power-off condition;
    当所述实际干扰时长大于等于所述预设干扰时长时,执行所述确定从当前时间点开始的所述第三判断时长内每个时间点的所述目标值是否小于第三预设值。When the actual interference duration is greater than or equal to the preset interference duration, the step of determining whether the target value at each time point within the third judgment duration starting from the current time point is less than a third preset value is performed.
  6. 根据权利要求2所述的智能断电数据线的控制方法,其中,所述确定所述第三判断时长内的所述目标值是否满足对应的第三断电条件,包括:The control method for the intelligent power-off data line according to claim 2, wherein the step of determining whether the target value within the third judgment time period satisfies the corresponding third power-off condition comprises:
    将从当前时间点开始的第三判断时长划分为多个时间段,确定所述多个时间段中每个时间点对应的所述目标值小于第三预设值的时间段的数量,作为满足断电次数;Divide the third judgment duration starting from the current time point into multiple time periods, and determine the number of time periods in which the target value corresponding to each time point in the multiple time periods is less than the third preset value as the number of power outages that meet the requirement;
    确定所述满足断电次数是否小于预设满足次数;Determine whether the number of power-off conditions is less than a preset number of conditions;
    当所述满足断电次数大于等于所述预设满足次数时,确定所述第三判断时长内的所述目标值满足对应的第三断电条件。When the number of power-off conditions satisfied is greater than or equal to the preset number of times satisfied, it is determined that the target value within the third judgment time period satisfies the corresponding third power-off condition.
  7. 根据权利要求1所述的智能断电数据线的控制方法,其中,所述电信号数据为电流值和/或电压值,所述目标值为功率值或电流值,当所述目标值为所述功率值时,所述 根据所述电信号数据确定相应的目标值,包括:According to the control method of the intelligent power-off data line of 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:
    根据所述电流值和所述电压值确定对应的功率值。A corresponding power value is determined according to the current value and the voltage value.
  8. 根据权利要求7所述的智能断电数据线的控制方法,其中,所述数据线包括指示单元,所述方法还包括:The control method of the intelligent power-off data line according to claim 7, wherein the data line includes an indication unit, and the method further includes:
    确定所述功率值是否大于预设功率值;Determining whether the power value is greater than a preset power value;
    当所述功率值大于所述预设功率值时,控制所述指示单元产生相应的指示信号;When the power value is greater than the preset power value, controlling the indication unit to generate a corresponding indication signal;
    当所述功率值小于等于所述预设功率值时,控制所述指示信号从当前时间点开始保持预设保持时长后关闭。When the power value is less than or equal to the preset power value, the indication signal is controlled to be kept for a preset holding time from the current time point and then turned off.
  9. 根据权利要求8所述的智能断电数据线的控制方法,其中,所述指示单元为指示灯,所述指示灯的指示信号包括常亮;The control method of the intelligent power-off data line according to claim 8, wherein the indication unit is an indicator light, and the indication signal of the indicator light includes being always on;
    当所述功率值大于所述预设功率值时,控制所述指示灯保持常亮;When the power value is greater than the preset power value, controlling the indicator light to remain on;
    当所述功率值小于等于所述预设功率值时,控制所述指示灯保持所述预设保持时长常亮后熄灭。When the power value is less than or equal to the preset power value, the indicator light is controlled to remain on for the preset duration and then turn off.
  10. 一种智能断电数据线的控制装置,所述控制装置包括:A control device for an intelligent power-off data line, the control device comprising:
    采集单元,配置为实时采集数据线的电信号数据,根据所述电信号数据确定相应的目标值,并确定所述目标值是否小于第一预设值;a collection unit configured to collect electrical signal data of the data line in real time, determine a corresponding target value according to the electrical signal data, and determine whether the target value is less than a first preset value;
    判断单元,配置为当所述目标值小于所述第一预设值时,确定从当前时间点开始的多个判断时长,并依次确定每个判断时长内的所述目标值是否满足对应的断电条件;a judgment unit, configured to, when the target value is less than the first preset value, determine a plurality of judgment durations starting from a current time point, and determine in sequence whether the target value within each judgment duration satisfies a corresponding power-off condition;
    断电单元,配置为当所述每个判断时长内的所述目标值均满足对应的断电条件时,控制所述数据线进行断电操作。The power-off unit is configured to control the data line to perform a power-off operation when the target values within each judgment time period meet the corresponding power-off conditions.
  11. 根据权利要求10所述的装置,其中,所述多个判断时长包括第一判断时长、第二判断时长和第三判断时长,所述判断单元,还配置为:The device according to claim 10, wherein the multiple judgment durations include a first judgment duration, a second judgment duration, and a third judgment duration, and the judgment unit is further configured to:
    确定所述第一判断时长内的所述目标值是否满足对应的第一断电条件;Determining whether the target value within the first judgment time period satisfies a corresponding first power-off condition;
    若所述第一判断时长内的所述目标值满足所述第一断电条件,则确定所述第二判断时长内的所述目标值是否满足对应的第二断电条件;If the target value within the first judgment time period satisfies the first power-off condition, determining whether the target value within the second judgment time period satisfies the corresponding second power-off condition;
    若所述第二判断时长内的所述目标值满足所述第二断电条件,则确定所述第三判断时长内的所述目标值是否满足对应的第三断电条件;If the target value within the second judgment time period satisfies the second power-off condition, determining whether the target value within the third judgment time period satisfies the corresponding third power-off condition;
    若所述第三判断时长内的所述目标值满足所述第三断电条件,则确定每个判断时长内的所述目标值均满足对应的断电条件,其中,第一判断时长、第二判断时长和第二判断时长依次增大。 If the target value within the third judgment time period satisfies the third power-off condition, it is determined that the target value within each judgment time period satisfies the corresponding power-off condition, wherein the first judgment time period, the second judgment time period and the third judgment time period increase sequentially.
  12. 根据权利要求11所述的装置,其中,所述判断单元,还配置为:The device according to claim 11, wherein the judging unit is further configured to:
    确定从当前时间点开始的所述第一判断时长内每个时间点对应的所述目标值是否小于所述第一预设值;Determine whether the target value corresponding to each time point within the first judgment time period starting from the current time point is less than the first preset value;
    若每个时间点对应的所述目标值均小于所述第一预设值,则确定所述第一判断时长内的所述目标值满足对应的第一断电条件;If the target value corresponding to each time point is less than the first preset value, it is determined that the target value within the first judgment time period meets the corresponding first power-off condition;
    若所述第一判断时长内任意时间点对应的所述目标值大于等于所述第一预设值,则从当前时间点开始计时清零操作,并执行S100的步骤。If the target value corresponding to any time point within the first judgment time period is greater than or equal to the first preset value, the timing reset operation starts from the current time point and the step S100 is executed.
  13. 根据权利要求11所述的装置,其中,所述判断单元,还配置为:The device according to claim 11, wherein the judging unit is further configured to:
    确定从当前时间点开始的所述第二判断时长内每个时间点对应的所述目标值是否小于第二预设值;Determine whether the target value corresponding to each time point within the second judgment time period starting from the current time point is less than a second preset value;
    若每个时间点对应的所述目标值均小于所述第二预设值,则确定所述第二判断时长内的所述目标值满足对应的第二断电条件;If the target value corresponding to each time point is less than the second preset value, it is determined that the target value within the second judgment time period meets the corresponding second power-off condition;
    若所述第二判断时长内任意时间点对应的所述目标值大于等于所述第二预设值,则从当前时间点开始计时清零操作,并执行S100的步骤。If the target value corresponding to any time point within the second judgment time period is greater than or equal to the second preset value, the timing reset operation starts from the current time point and the step S100 is executed.
  14. 根据权利要求11所述的装置,其中,所述判断单元,还配置为:The device according to claim 11, wherein the judging unit is further configured to:
    确定从当前时间点开始的所述第三判断时长内每个时间点的所述目标值是否小于第三预设值;Determine whether the target value at each time point within the third judgment time period starting from the current time point is less than a third preset value;
    若每个时间点对应的所述目标值均小于所述第三预设值,则确定所述第三判断时长内的所述目标值满足对应的第三断电条件;If the target value corresponding to each time point is less than the third preset value, it is determined that the target value within the third judgment time period meets the corresponding third power-off condition;
    若所述第三判断时长内任意时间点对应的所述目标值大于等于所述第三预设值,则记录从当前时间点开始的所述目标值大于等于所述第三预设值的时长作为实际干扰时长,并确定所述实际干扰时长是否小于预设干扰时长;If the target value corresponding to any time point within the third judgment duration is greater than or equal to the third preset value, the duration during which the target value is greater than or equal to the third preset value starting from the current time point is recorded as the actual interference duration, and it is determined whether the actual interference duration is less than the preset interference duration;
    当所述实际干扰时长小于所述预设干扰时长时,继续确定所述第三判断时长的剩余时长内每个时间点对应的所述目标值是否小于所述第三预设值;若所述剩余时长内每个时间点的所述目标值均小于所述第三预设值,则确定所述第三判断时长内的所述目标值满足所述第三断电条件;When the actual interference duration is less than the preset interference duration, continue to determine whether the target value corresponding to each time point within the remaining duration of the third judgment duration is less than the third preset value; if the target value at each time point within the remaining duration is less than the third preset value, determine that the target value within the third judgment duration meets the third power-off condition;
    当所述实际干扰时长大于等于所述预设干扰时长时,执行所述确定从当前时间点开始的所述第三判断时长内每个时间点的所述目标值是否小于第三预设值。When the actual interference duration is greater than or equal to the preset interference duration, the step of determining whether the target value at each time point within the third judgment duration starting from the current time point is less than a third preset value is performed.
  15. 根据权利要求11所述的装置,其中,所述判断单元,还配置为:The device according to claim 11, wherein the judging unit is further configured to:
    将从当前时间点开始的第三判断时长划分为多个时间段,确定所述多个时间段中每 个时间点对应的所述目标值小于第三预设值的时间段的数量,作为满足断电次数;Divide the third judgment time from the current time point into multiple time periods, and determine The number of time periods corresponding to the target value at the time point being less than the third preset value is used as the number of power outages that meet the requirements;
    确定所述满足断电次数是否小于预设满足次数;Determine whether the number of power-off conditions is less than a preset number of conditions;
    当所述满足断电次数大于等于所述预设满足次数时,确定所述第三判断时长内的所述目标值满足对应的第三断电条件。When the number of power-off conditions satisfied is greater than or equal to the preset number of times satisfied, it is determined that the target value within the third judgment time period satisfies the corresponding third power-off condition.
  16. 根据权利要求10所述的装置,其中,所述电信号数据为电流值和/或电压值,所述目标值为功率值或电流值,当所述目标值为所述功率值时,所述采集单元,还配置为:The device according to claim 10, 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 acquisition unit is further configured to:
    根据所述电流值和所述电压值确定对应的功率值。A corresponding power value is determined according to the current value and the voltage value.
  17. 根据权利要求16所述的装置,其中,所述数据线包括指示单元,所述装置还包括控制单元,所述控制单元,配置为:The device according to claim 16, wherein the data line comprises an indication unit, and the device further comprises a control unit, wherein the control unit is configured to:
    确定所述功率值是否大于预设功率值;Determining whether the power value is greater than a preset power value;
    当所述功率值大于所述预设功率值时,控制所述指示单元产生相应的指示信号;When the power value is greater than the preset power value, controlling the indication unit to generate a corresponding indication signal;
    当所述功率值小于等于所述预设功率值时,控制所述指示信号从当前时间点开始保持预设保持时长后关闭。When the power value is less than or equal to the preset power value, the indication signal is controlled to be kept for a preset holding time from the current time point and then turned off.
  18. 根据权利要求17所述的装置,其中,所述指示单元为指示灯,所述指示灯的指示信号包括常亮;所述控制单元,还配置为:The device according to claim 17, wherein the indicating unit is an indicator light, and the indication signal of the indicator light includes being always on; and the control unit is further configured to:
    当所述功率值大于所述预设功率值时,控制所述指示灯保持常亮;When the power value is greater than the preset power value, controlling the indicator light to remain on;
    当所述功率值小于等于所述预设功率值时,控制所述指示灯保持所述预设保持时长常亮后熄灭。When the power value is less than or equal to the preset power value, the indicator light is controlled to remain on for the preset duration and then turn off.
  19. 一种智能断电数据线的控制设备,所述设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至9任一项所述的方法。A control device for an intelligent power-off data line, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any one of claims 1 to 9 when executing the program.
  20. 一种计算机可读存储介质,其存储有计算机程序,计算机程序在处理器上执行时实现权利要求1至9任一项所述的方法。A computer-readable storage medium stores a computer program, which implements the method according to any one of claims 1 to 9 when executed on a processor.
  21. 一种计算机程序产品,所述计算机程序产品包括计算机可读代码,或者承载所述计算机可读代码的非易失性计算机可读存储介质,在所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行时实现如权利要求1至9中任意一项所述的方法。 A computer program product, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, wherein when the computer-readable code runs in a processor of an electronic device, the processor in the electronic device implements the method as claimed in any one of claims 1 to 9 when executing the code.
PCT/CN2023/103383 2022-10-26 2023-06-28 Control method and apparatus for intelligent power-off data line, and device, medium and product WO2024087698A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211316080.2 2022-10-26
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
WO2024087698A1 true WO2024087698A1 (en) 2024-05-02

Family

ID=84991189

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115663952A (en) * 2022-10-26 2023-01-31 深圳市倍思科技有限公司 Control method and device for intelligent power-off data line

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106654739A (en) * 2016-11-25 2017-05-10 大连鼎创科技开发有限公司 Socket with intelligent power outage function and domestic equipment intelligent power outage realization method
US20170223180A1 (en) * 2014-10-15 2017-08-03 Nubia Technology Co., Ltd. Method for managing electric quantity of battery, mobile terminal and computer storage medium
CN110098647A (en) * 2019-04-18 2019-08-06 合肥德通科贸有限公司 A kind of power supply smart monitoring management control system when charging
CN209311656U (en) * 2018-11-13 2019-08-27 上海艾为电子技术股份有限公司 Battery full charge testing circuit, electronic device
CN111186333A (en) * 2019-12-25 2020-05-22 深圳猛犸电动科技有限公司 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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170223180A1 (en) * 2014-10-15 2017-08-03 Nubia Technology Co., Ltd. Method for managing electric quantity of battery, mobile terminal and computer storage medium
CN106654739A (en) * 2016-11-25 2017-05-10 大连鼎创科技开发有限公司 Socket with intelligent power outage function and domestic equipment intelligent power outage realization method
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
CN111186333A (en) * 2019-12-25 2020-05-22 深圳猛犸电动科技有限公司 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

Also Published As

Publication number Publication date
CN115663952A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
US20220376541A1 (en) Method for battery charging management, terminal device, and storage medium
WO2024087698A1 (en) Control method and apparatus for intelligent power-off data line, and device, medium and product
JP2008295171A (en) Charger and control method thereof
JP2008295172A (en) Battery pack, charger and electronic apparatus
CN106877442B (en) Battery management method
EP3796014A1 (en) Battery control device, charge and discharge system, parking lot system, secondary battery reuse system, battery control method, and battery control program
US8941362B2 (en) Charging apparatus, and charge control method
US11502529B2 (en) Battery charging method employing historical data
JP2009058294A (en) Electronic equipment and controlling method thereof
CN111211596B (en) Method and device for monitoring power utilization state of charging cabinet
CN113241810A (en) Charging method and device for terminal device
CN105354491B (en) Intelligent terminal standby state detection method and device
CN115986895A (en) Charging state control method and electronic device
CN113824611B (en) Consumption flow test method, device and equipment of wireless communication module and storage medium
CN115754732A (en) Battery state information processing method, device, equipment and storage medium
US20040059527A1 (en) Electric appliance, computer apparatus, intelligent battery, battery diagnosis method, program, and storage medium
CN114643898B (en) Method, device, system and storage medium for determining battery disconnection
JP4255755B2 (en) Secondary battery remaining capacity calculation device and remaining capacity calculation method thereof
CN113947827A (en) Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
CN113820605A (en) Battery SOC correction method and device and computer readable storage medium
US20040230853A1 (en) Data processor and method for notification
CN110632522B (en) Sound box electric quantity display method
CN111374350A (en) Charging management method, system, device and storage medium for aerosol generating device
CN115923545A (en) Charging method, device and medium for electric vehicle and electric vehicle
CN117175753B (en) Multi-battery intelligent charge-discharge switching control method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23881287

Country of ref document: EP

Kind code of ref document: A1