CN112821496A - System and method for controlling power-off and discharge of battery through Bluetooth controller - Google Patents

System and method for controlling power-off and discharge of battery through Bluetooth controller Download PDF

Info

Publication number
CN112821496A
CN112821496A CN202110083975.5A CN202110083975A CN112821496A CN 112821496 A CN112821496 A CN 112821496A CN 202110083975 A CN202110083975 A CN 202110083975A CN 112821496 A CN112821496 A CN 112821496A
Authority
CN
China
Prior art keywords
data
bluetooth
battery
module
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110083975.5A
Other languages
Chinese (zh)
Inventor
韩朝
汤钰玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xijing University
Original Assignee
Xijing University
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 Xijing University filed Critical Xijing University
Priority to CN202110083975.5A priority Critical patent/CN112821496A/en
Publication of CN112821496A publication Critical patent/CN112821496A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/20Information sensed or collected by the things relating to the thing itself
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/30Information sensed or collected by the things relating to resources, e.g. consumed power
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00002Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by monitoring
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00022Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using wireless data transmission
    • H02J13/00026Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using wireless data transmission involving a local wireless network, e.g. Wi-Fi, ZigBee or Bluetooth
    • 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00306Overdischarge protection
    • 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
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • 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
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention belongs to the technical field of battery control, and discloses a system and a method for controlling power-off and discharge of a battery through a Bluetooth controller, wherein the system comprises a control end, a controlled battery end and an electric load end, the control end is respectively connected with the controlled battery end and the electric load end through Bluetooth signals, and the controlled battery end and the electric load end are connected through a connecting circuit; the control end comprises a Bluetooth control module, a man-machine interaction module and an alarm module; the controlled battery end comprises a data processing module, an electric quantity detection module, a temperature detection module, a state switching module, a discharging detection module, a Bluetooth signal transmission module and a state indication module. The wireless control of the battery can be realized, the abnormal state of the battery can be timely alarmed through the alarm module, the occurrence of safety accidents is avoided, the working state of the battery can be monitored in real time through the detection modules with various data, the data of the battery can be conveniently checked in time, and the service life of the battery is ensured.

Description

System and method for controlling power-off and discharge of battery through Bluetooth controller
Technical Field
The invention belongs to the technical field of battery control, and particularly relates to a system and a method for controlling power-off and discharge of a battery through a Bluetooth controller.
Background
At present: the battery power supply used in the market is plug-and-play, or controls the output and the closing of the circuit through a manual switch key, so that the operation is inconvenient, and the traditional control mode cannot meet the increasingly diversified requirements of people. And the state of the battery cannot be checked in real time, so that excessive discharge of the battery is easily caused, and the service life of the battery is shortened.
Through the above analysis, the problems and defects of the prior art are as follows:
the existing battery is controlled manually, so that the operation is inconvenient, the state of the battery cannot be checked in real time, the excessive discharge of the battery is easily caused, and the service life of the battery is shortened.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a system and a method for controlling the power-off and discharge of a battery through a Bluetooth controller.
The invention is realized in such a way that a method for controlling the power-off and the discharge of a battery through a Bluetooth controller comprises the following steps:
inputting preset parameters of a control end through a human-computer interaction interface, and storing the preset parameters into a storage unit of a Bluetooth control module; the residual electric quantity of the battery is detected in real time through an electric quantity detector in the electric quantity detection module, and the temperature of the battery is detected in real time through a temperature detector in the temperature detection module;
preprocessing the detection data through a data processing module, wherein the preprocessing of the detection data comprises the steps of carrying out duplicate removal processing on the detection data and carrying out normalization processing on the detection data after the duplicate removal;
the de-duplication processing of the detection data comprises: acquiring detection data acquired by each detection module, and filtering out detection data which is the same as the last acquired data according to historical detection data; judging whether the detection data is dynamic detection data or static detection data;
the normalization processing of the detection data after the duplication removal comprises the following steps: designing a file format, carrying out normalized design of a detection data format, designing supporting privacy protection and designing a file header;
thirdly, performing data transmission on the acquired data through a Bluetooth signal transmission module, and transmitting the data to a Bluetooth control module;
the transmitting data to the bluetooth control module includes: the processor sends a request for data, request information reaches the switch, the switch sends the request information to the router, the router sends the request information to the DNS server to reach the servers of all the modules, the servers receive the request for data, package and pack the data, and the original path returns to the data processing module server; the server preprocesses the data, the processed data are packed by the server and transmitted to a Bluetooth transmission FIFO channel, and then transmitted to a Bluetooth link controller and a Bluetooth link manager to reach a Bluetooth wireless receiver through an SCO link and an ACL link, and then transmitted to a control end through 2.4GHz wireless transmission to reach a wireless Bluetooth receiver of the control end;
step four, the Bluetooth control module receives and processes data through the Bluetooth controller, and when abnormal information is detected, the alarm module carries out alarm reminding;
when abnormal information is detected, the alarm module is used for alarming and reminding, and the method comprises the following steps: the monitor detects the battery abnormity, the data state of the current battery is immediately obtained, the data is packed and transmitted to the wireless receiver of the Bluetooth module by the Internet, the receiver unpacks the data through the Bluetooth link controller and the Bluetooth link manager, the alarm request is immediately sent through the Bluetooth control equipment, the request reaches the Bluetooth receiver of the alarm module in a binary system form, the request reaches the alarm equipment server through the Bluetooth link controller and the Bluetooth link manager after the binary system is converted, and the alarm equipment is immediately started by the server;
step five, the Bluetooth control module receives power consumption demand information of a power consumption load end, and controls a circuit breaker of the state switching module to switch the connection state of the battery according to the power consumption demand information, so that the power-off discharge action of the battery is realized;
the circuit breaker according to power consumption demand information control state switching module switches the connection state of battery, includes: the Bluetooth control module initiates a control request for the circuit breaker, the request is transmitted in a binary mode through 2.4GHz wireless and reaches a Bluetooth receiver of the circuit breaker, the Bluetooth receiver converts the request into a digital signal and reaches a server device of the circuit breaker through an SCO link and an ACL link, the server analyzes the request by using a Flume technology, and the circuit breaker is controlled according to the analysis content;
and step six, detecting parameters of the output current of the battery through a discharge detection module, acquiring voltage and current information of the output current in real time, transmitting the detection information to a control end in real time, and displaying the detection information through a human-computer interaction module.
Further, in the second step, the determining whether the detection data is dynamic detection data or static detection data includes: if the detection data are dynamic detection data, performing voltage conversion and high-frequency denoising on the dynamic detection data to form voltage data; and if the detection data are static detection data, carrying out current signal amplification, filtering and conversion on the static detection data to form temperature data.
Further, the filtering the static detection data includes performing IIR filter calculation on the sampling data to obtain a calculation result.
Further, in the second step, the file format includes a file header, a main sector configuration table, a key sector configuration table, a main sector, and a key sector; the detection data format normalization design comprises the step of performing normalization description on address offset and parameters, data types, data structures and data compression coding modes in the data format normalization design; the design supporting privacy protection comprises the steps of generating a random AES key to encrypt file data by adopting an AES encryption algorithm; storing the decrypted ciphertext in the main sector; encrypting the AES key by adopting an attribute-based encryption algorithm; and storing the cipher text after the encryption of the key in the key sector.
Further, in step four, the bluetooth control module receives and processes data through the bluetooth controller, including:
(1) respectively comparing the collected residual electric quantity data and the collected temperature data of the controlled battery end with a preset upper limit threshold and a preset lower limit threshold;
(2) when the residual electric quantity data and the temperature data are larger than a preset upper limit threshold or the residual electric quantity data and the temperature data are smaller than a preset lower limit threshold, controlling an alarm module to send out alarm reminding and controlling a state switching module to adjust to a disconnected state;
(3) and when the residual electric quantity data and the temperature data accord with the preset threshold range, adjusting the state switching module according to the power utilization information of the power utilization load end.
Further, the adjusting the state switching module according to the power consumption information of the power consumption load end includes: if the power consumption load end sends power consumption demand information needing power supply, the circuit breaker in the state switching module is adjusted to be in a connection state; and if the electricity load end sends electricity demand information which does not need to be supplied with power, the circuit breaker in the state switching module is adjusted to be in an off state.
Another object of the present invention is to provide a system for controlling power-off and discharge of a battery through a bluetooth controller, which applies the method for controlling power-off and discharge of a battery through a bluetooth controller, the system for controlling power-off and discharge of a battery through a bluetooth controller comprising:
the system comprises a control end, a controlled battery end and an electric load end; the control end is respectively connected with the controlled battery end and the electric load end through Bluetooth signals, and the controlled battery end and the electric load end are connected through a connecting line;
the control end comprises:
the Bluetooth control module is used for receiving and processing data through a Bluetooth controller and controlling the controlled battery terminal according to the processing result and the control parameter;
at the control end, the Bluetooth initiates a call to other equipment, and the Bluetooth address and the pairing password information of the receiving end are input at the Bluetooth control end; the Bluetooth equipment initiates a Bluetooth pairing request to a receiving end according to a Bluetooth address of the receiving end, the request is wirelessly transmitted to the receiving end in a binary system form, then the receiving end sends a request for inputting a pairing password to a Bluetooth control end, the request is spread in the binary system form, the control end inputs the pairing password, the two ends are successfully connected, and data is transmitted by using a TDD mechanism at the control end and the receiving end in turn;
the user firstly transmits data to a Bluetooth link manager LM, the data is packed into a packet data packet by an FIFO channel through an SCO link and an ACL link and reaches a baseband BB of a Bluetooth link controller, the packet data packet is transmitted to a Bluetooth wireless transceiver through the baseband, the transceiver transmits the packet data packet to the Bluetooth wireless transceiver at an ISM frequency band of 2.4GHz through a fast frequency hopping and short packet technology and reaches the Bluetooth wireless transceiver at a receiving end, the data is decoded and unpacked through the FIFO and transmitted to the Bluetooth link manager LM when being transmitted to the baseband BB of the Bluetooth link controller, and the manager transmits the data to receiving end equipment to finish the transmission of the data;
the human-computer interaction module is connected with the Bluetooth control module, a worker opens a parameter setting interface on a display interface, preset parameters are input through a keyboard, the preset parameters are submitted by clicking, a submitted data form is uploaded to the server through the Internet by the CPU, and then the submitted data form is uploaded to the network memory by the server and is used for presetting the parameters and displaying the working state of the system in real time through the human-computer interaction interface;
the alarm module is connected with the Bluetooth control module and used for sending alarm prompt through the audible and visual alarm when the abnormal state of the battery is detected;
the controlled battery terminal includes:
the data processing module is connected with the electric quantity detection module, the temperature detection module, the state switching module, the discharging detection module, the Bluetooth signal transmission module and the state indication module, and is used for preprocessing the acquired data through the processor and controlling the Bluetooth signal transmission module to transmit the acquired data to the control end;
the electric quantity detection module is connected with the data processing module, the battery detector is connected with the battery, real-time information of the battery reaches a server of the monitoring device, the server packages and transmits the data to the FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting wire for detecting the residual electric quantity of the battery in real time through the electric quantity detector;
the temperature detection module is connected with the data processing module, the battery temperature detector is connected with the battery, real-time information of the battery temperature reaches a server of the temperature detection device, the server packages and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting line for detecting the temperature of the battery in real time through the temperature detector;
the state switching module is connected with the data processing module and used for switching the connection state of the battery through the breaker to realize the power-off discharge action of the battery;
the discharge detection module is connected with the data processing module, the discharge detection module is connected with the battery, real-time information of battery discharge reaches a server of the discharge detection equipment, the server packages and transmits data to an FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting line for detecting parameters of output current of the battery through the discharge state detection device; the discharge state detection device comprises a current sensor and a voltage sensor, and the current sensor and the voltage sensor are connected with a processor of the data processing module through a connecting line;
the Bluetooth signal transmission module is used for transmitting a data signal to the Bluetooth link manager LM by the Bluetooth signal transmitter, the data signal is packed into a packet data packet by an FIFO channel through an SCO link and an ACL link and arrives at a baseband BB of the Bluetooth link controller, the baseband transmits the packet data packet to the Bluetooth wireless transceiver, the transceiver transmits the packet data packet to the Bluetooth wireless transceiver of the Bluetooth controller in an ISM frequency band of 2.4GHz through a fast frequency hopping and short packet technology and arrives at the Bluetooth wireless transceiver of the Bluetooth controller, the data is decoded and unpacked through the FIFO and transmitted to the Bluetooth link manager LM when being transmitted to the baseband BB of the Bluetooth link controller, and the manager transmits the data to Bluetooth control equipment to complete the transmission of the data signal for data interaction with the Bluetooth controller through the Bluetooth signal transmitter;
the state indicating module is connected with the battery, real-time information of battery discharging and power failure reaches a server of the state indicating equipment, the server packs data and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packed data to the man-machine interaction module in real time through a connecting line and is used for displaying the power failure and power discharge state of the battery through the state indicating lamp.
Further, the bluetooth control module includes:
the data processing unit is used for processing the acquired data of the controlled battery end through the controller;
the control instruction generating unit is used for generating a corresponding control instruction according to the data processing result and the preset parameters;
the Bluetooth signal transmission unit is used for realizing data interaction with the controlled battery end through a Bluetooth signal transmitter;
and the storage unit is used for storing the preset parameters and the detection data through the memory.
Another object of the present invention is to provide a computer program product stored on a computer readable medium, comprising a computer readable program, which when executed on an electronic device, provides a user input interface to implement the method for controlling the power-off and discharge of a battery through a bluetooth controller.
Another object of the present invention is to provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to execute the method for controlling power-off and discharge of a battery through a bluetooth controller.
By combining all the technical schemes, the invention has the advantages and positive effects that: the battery monitoring system can control the controlled battery end through the Bluetooth signal through the Bluetooth control module to realize wireless control of the battery, can alarm the abnormal state of the battery in time through the alarm module to avoid safety accidents, can monitor the working state of the battery in real time through the detection module of various different data of the controlled battery end, is convenient for checking various data of the battery in time, and ensures the service life of the battery.
The system and the method for controlling the power-off and the discharge of the battery through the Bluetooth controller can conveniently and quickly control the connection state of the battery and meet the requirements of various different power utilization terminals.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained from the drawings without creative efforts.
Fig. 1 is a flowchart of a method for controlling power-off discharge of a battery through a bluetooth controller according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of normalization processing performed on the detection data after deduplication provided by the embodiment of the present invention.
Fig. 3 is a flowchart of data receiving and processing performed by the bluetooth control module through the bluetooth controller according to the embodiment of the present invention.
Fig. 4 is a flowchart for switching a connection state of a battery by a circuit breaker controlling a state switching module according to power demand information according to an embodiment of the present invention.
Fig. 5 is a system configuration diagram for controlling power-off and discharge of a battery through a bluetooth controller according to an embodiment of the present invention.
Fig. 6 is a block diagram of a bluetooth control module according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a file structure design provided in the embodiment of the present invention.
Fig. 8 is a complete diagram of a file header provided by an embodiment of the present invention.
In the figure: 1. a control end; 11. a Bluetooth control module; 12. a human-computer interaction module; 13. an alarm module; 2. a controlled battery terminal; 21. a data processing module; 22. an electric quantity detection module; 23. a temperature detection module; 24. a state switching module; 25. a discharge detection module; 26. a Bluetooth signal transmission module; 27. a status indication module; 3. and (4) using an electric load terminal.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In view of the problems in the prior art, the present invention provides a system and a method for controlling the power-off and discharge of a battery through a bluetooth controller, and the present invention is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a method for controlling power-off and discharge of a battery through a bluetooth controller according to an embodiment of the present invention includes the following steps:
s101, inputting preset parameters of a control end through a human-computer interaction interface, and storing the preset parameters into a storage unit of a Bluetooth control module; the residual electric quantity of the battery is detected in real time through an electric quantity detector in the electric quantity detection module, and the temperature of the battery is detected in real time through a temperature detector in the temperature detection module;
s102, preprocessing the detection data through a data processing module, wherein the preprocessing of the detection data comprises the steps of carrying out duplicate removal processing on the detection data and carrying out normalization processing on the detection data after the duplicate removal;
s103, carrying out data transmission on the acquired data through the Bluetooth signal transmission module, and transmitting the data to the Bluetooth control module;
s104, the Bluetooth control module receives and processes data through the Bluetooth controller, and when abnormal information is detected, the alarm module carries out alarm reminding;
s105, the Bluetooth control module receives power consumption demand information of a power consumption load end, and controls a circuit breaker of the state switching module to switch the connection state of the battery according to the power consumption demand information, so that power-off discharge action of the battery is realized;
and S106, detecting parameters of the output current of the battery through the discharge detection module, acquiring voltage and current information of the output current in real time, transmitting the detection information to the control end in real time, and displaying the detection information through the human-computer interaction module.
In step S102, the performing deduplication processing on the detection data provided by the embodiment of the present invention includes: acquiring detection data acquired by each detection module; filtering out detection data which are the same as the last acquired data according to historical detection data; and judging whether the detection data is dynamic detection data or static detection data.
As shown in fig. 2, in step S102, the normalization processing on the detection data after the deduplication provided by the embodiment of the present invention includes: designing a file format, carrying out normalized design of a detection data format, supporting the design of privacy protection and carrying out file header design.
In step S102, the determining whether the detection data is dynamic detection data or static detection data according to the embodiment of the present invention includes: if the detection data are dynamic detection data, performing voltage conversion and high-frequency denoising on the dynamic detection data to form voltage data; and if the detection data are static detection data, carrying out current signal amplification, filtering and conversion on the static detection data to form temperature data.
The filtering of the static detection data provided by the embodiment of the invention comprises the step of carrying out IIR filter calculation on the sampling data to obtain a calculation result.
In step S102, the file format provided by the embodiment of the present invention includes a file header, a main sector configuration table, a key sector configuration table, a main sector, and a key sector; the detection data format normalization design comprises the step of performing normalization description on address offset and parameters, data types, data structures and data compression coding modes in the data format normalization design; the design supporting privacy protection comprises the steps of generating a random AES key to encrypt file data by adopting an AES encryption algorithm; storing the decrypted ciphertext in the main sector; encrypting the AES key by adopting an attribute-based encryption algorithm; and storing the cipher text after the encryption of the key in the key sector.
In step S102, the transmitting data to the bluetooth control module according to the embodiment of the present invention includes: the processor sends a request for data, request information reaches the switch, the switch sends the request information to the router, the router sends the request information to the DNS server to reach the servers of all the modules, the servers receive the request for data, package and pack the data, and the original path returns to the data processing module server; the server preprocesses the data, the processed data are packaged by the server and transmitted to the Bluetooth transmission FIFO channel, and then transmitted to the Bluetooth link controller and the Bluetooth link manager to reach the Bluetooth wireless receiver through the SCO link and the ACL link, and then transmitted to the control end through 2.4GHz wireless transmission to reach the wireless Bluetooth receiver of the control end.
As shown in fig. 3, in step S104, the bluetooth control module according to the embodiment of the present invention performs data receiving and processing by using the bluetooth controller, including:
s201, comparing the collected residual electric quantity data and the collected temperature data of the controlled battery end with a preset upper limit threshold and a preset lower limit threshold respectively;
s202, when the residual electric quantity data and the temperature data are larger than a preset upper limit threshold value or the residual electric quantity data and the temperature data are smaller than a preset lower limit threshold value, controlling an alarm module to send out alarm reminding, and controlling a state switching module to adjust to a disconnection state;
and S203, when the residual electric quantity data and the temperature data accord with the preset threshold range, adjusting the state switching module according to the power utilization information of the power utilization load end.
In step S104, the alarm module according to the embodiment of the present invention performs alarm reminding when the abnormal information is detected, including:
the monitor detects the battery is abnormal and immediately acquires the data state of the current battery; data is packed and transmitted to a wireless receiver of the Bluetooth module by the Internet; the receiver unpacks the data through the Bluetooth link controller and the Bluetooth link manager, and immediately sends an alarm request through the Bluetooth control equipment, wherein the alarm request reaches the Bluetooth receiver of the alarm module in a binary form; the converted binary system reaches the alarm device server through the Bluetooth link controller and the Bluetooth link manager, and the server immediately starts the alarm device.
As shown in fig. 4, in step S105, the switching of the connection state of the battery by the circuit breaker of the state switching control module according to the power demand information according to the embodiment of the present invention includes:
s301, the Bluetooth control module initiates a control request for the circuit breaker, and the request is wirelessly transmitted in a binary mode through 2.4GHz and reaches a Bluetooth receiver of the circuit breaker;
s302, the Bluetooth receiver converts the request into a digital signal to reach a server device of the circuit breaker through an SCO link and an ACL link;
and S303, the server analyzes the request by using a Flume technology, and controls the breaker according to the analysis content.
In step S105, the adjusting the state switching module according to the power consumption information of the power consumption load terminal according to the embodiment of the present invention includes: if the power consumption load end sends power consumption demand information needing power supply, the circuit breaker in the state switching module is adjusted to be in a connection state; and if the electricity load end sends electricity demand information which does not need to be supplied with power, the circuit breaker in the state switching module is adjusted to be in an off state.
As shown in fig. 5, a system for controlling power-off and discharge of a battery through a bluetooth controller according to an embodiment of the present invention includes:
the system comprises a control end 1, a controlled battery end 2 and an electric load end 3; the control end 1 is respectively connected with a controlled battery end 2 and an electric load end 3 through Bluetooth signals, and the controlled battery end 2 and the electric load end 3 are connected through a connecting circuit;
the control terminal 1 includes:
the Bluetooth control module 11 is used for receiving and processing data through a Bluetooth controller and controlling the controlled battery end according to a processing result and control parameters;
at the control end, the Bluetooth initiates a call to other equipment, and the Bluetooth address and the pairing password information of the receiving end are input at the Bluetooth control end; the Bluetooth equipment initiates a Bluetooth pairing request to a receiving end according to a Bluetooth address of the receiving end, the request is wirelessly transmitted to the receiving end in a binary system form, then the receiving end sends a request for inputting a pairing password to a Bluetooth control end, the request is spread in the binary system form, the control end inputs the pairing password, the two ends are successfully connected, and data is transmitted by using a TDD mechanism at the control end and the receiving end in turn;
the user firstly transmits data to a Bluetooth link manager LM, the data is packed into a packet data packet by an FIFO channel through an SCO link and an ACL link and reaches a baseband BB of a Bluetooth link controller, the packet data packet is transmitted to a Bluetooth wireless transceiver through the baseband, the transceiver transmits the packet data packet to the Bluetooth wireless transceiver at an ISM frequency band of 2.4GHz through a fast frequency hopping and short packet technology and reaches the Bluetooth wireless transceiver at a receiving end, the data is decoded and unpacked through the FIFO and transmitted to the Bluetooth link manager LM when being transmitted to the baseband BB of the Bluetooth link controller, and the manager transmits the data to receiving end equipment to finish the transmission of the data;
the human-computer interaction module 12 is connected with the Bluetooth control module, a worker opens a parameter setting interface on a display interface, preset parameters are input through a keyboard, the preset parameters are submitted by clicking, a submitted data form is uploaded to the server through the Internet by the CPU, and then the submitted data form is uploaded to the network memory by the server and is used for presetting the parameters and displaying the working state of the system in real time through the human-computer interaction interface;
the alarm module 13 is connected with the Bluetooth control module and used for sending alarm prompt through an audible and visual alarm when the abnormal state of the battery is detected;
the controlled battery terminal 2 includes:
the data processing module 21 is connected with the electric quantity detection module, the temperature detection module, the state switching module, the discharging detection module, the Bluetooth signal transmission module and the state indication module, and is used for preprocessing the acquired data through the processor and controlling the Bluetooth signal transmission module to transmit the acquired data to the control end;
the electric quantity detection module 22 is connected with the data processing module, the battery detector is connected with the battery, real-time information of the battery reaches a server of the monitoring device, the server packages and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting line for detecting the residual electric quantity of the battery in real time through the electric quantity detector;
the temperature detection module 23 is connected with the data processing module, the battery temperature detector is connected with the battery, real-time information of the battery temperature reaches a server of the temperature detection device, the server packs and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packed data to the man-machine interaction module in real time through a connecting line for detecting the temperature of the battery in real time through the temperature detector;
the state switching module 24 is connected with the data processing module and used for switching the connection state of the battery through the breaker to realize the power-off discharge action of the battery;
the discharge detection module 25 is connected with the data processing module, the discharge detection module is connected with the battery, real-time information of battery discharge reaches a server of the discharge detection equipment, the server packs and transmits data to an FIFO transmission channel, and the transmission channel transmits the packed data to the man-machine interaction module in real time through a connecting line for detecting parameters of output current of the battery through the discharge state detection device; the discharge state detection device comprises a current sensor and a voltage sensor, and the current sensor and the voltage sensor are connected with a processor of the data processing module through a connecting line;
a bluetooth signal transmission module 26, wherein the bluetooth signal transmitter transmits data signals to a bluetooth link manager LM, the data signals are packed into packet data packets by an FIFO channel from an SCO link and an ACL link, the packet data packets arrive at a baseband BB of the bluetooth link controller, the baseband transmits the packet data packets to a bluetooth wireless transceiver, the transceiver transmits the packet data packets in an ISM band of 2.4GHz by a fast frequency hopping and short packet technique, the packet data packets arrive at the bluetooth wireless transceiver of the bluetooth controller, the data are decoded and unpacked by the FIFO at the baseband BB of the bluetooth link controller, and the data packets are transmitted to the bluetooth link manager LM;
the state indicating module 27 is connected with the battery, the real-time information of battery discharging and power failure reaches a server of the state indicating device, the server packs data and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packed data to the man-machine interaction module in real time through a connecting line and is used for displaying the power failure and power discharge state of the battery through the state indicating lamp.
As shown in fig. 6, the bluetooth control module provided in the embodiment of the present invention includes:
the data processing unit is used for processing the acquired data of the controlled battery end through the controller;
the control instruction generating unit is used for generating a corresponding control instruction according to the data processing result and the preset parameters;
the Bluetooth signal transmission unit is used for realizing data interaction with the controlled battery end through a Bluetooth signal transmitter;
and the storage unit is used for storing the preset parameters and the detection data through the memory.
The present invention will be further described with reference to the following examples.
The normalization processing of the detection data after the duplication removal comprises the following design:
design 1:
designing a file format: the file is integrally divided into 5 parts, including: the file header, the master sector configuration table, the key sector, and the master sector. These 5 sections will be described and analyzed, respectively.
(1) File head
The file header is a fixed-length data segment located at the beginning of the whole file and takes on certain functions and tasks. In this study, the header is the most important part of the whole file composition, identifies the basic information of the file, records the parameters and composition of the master sector and the key sector, ensures the integrity of the file, and also carries a part of the master sector configuration table. The header is the root guarantee for file storage and exchange sharing.
(2) Main sector configuration table
The main sector configuration table is a table for recording the use condition of the main sector, records the use of the main sector of the whole file, and each 4 bytes in the table represent a sector, and the 4 bytes represent different use conditions of the sector, including conditions such as MSID of the next sector of the sector, whether the sector is the end of a sector chain, whether the sector is idle, and the like. The configuration table of the first 109 sectors in the main sector configuration table is located in the file header, and the configuration table after the 110 th sector is immediately after the file header. The number of sectors used by the main sector configuration table and the MSID of the first additional main sector configuration table are recorded in a file header and managed by the file header.
(3) Key sector configuration table
The key sector configuration table is a chapter table recording key sector usage. This table is a record of key sector usage, and like the master sector configuration table, the MSIDs of the first key sector configuration table of this table are all recorded in the file header. Unlike the master sector configuration table, the key sector configuration table is a set of 8 bytes, the first 4 bytes represent the first MSID of the master sector storing the ciphertext, and the last 4 bytes represent the first SKSID of the key sector corresponding to the ciphertext. It is specified that the key sector of a standard document has one and only one key sector configuration table, i.e. a standard document may contain at most a number of different secret information.
(4) Main sector
The main sector is a sector in which file data is stored. The standard file stores the data to be stored or exchanged and shared in the main sector after encryption. The number of main sectors and the size of each main sector are managed and controlled by a file header. The MSID of the next main sector is specified for the last 4 bytes in the main sector, and a sector chain end character is added if the sector chain ends to that sector.
(5) Key sector
The key sector is a sector in which a key is stored. The key is not stored in the key sector in the form of plaintext, but encrypted by an attribute base, and the encrypted ciphertext is stored in the key sector. When the receiving party has the corresponding authority (attribute), the secret key can be decrypted, and the secret information encrypted by the secret key is decrypted by the secret key through a symmetric encryption algorithm.
The file structure design is shown in fig. 7.
Design 2:
and (3) data format normalization design: the data normalization description method not only needs to uniformly design the whole file structure, but also needs to uniformly design the data format in the environment of the Internet of things, so as to realize uniform storage, exchange and sharing of data of different types, different storage structures and different coding modes. The address offset and parameters in the data format normalized design are shown in table 1.
Table 1 address offset and parameter table in data format normalization design
Offset amount Parameter(s)
0H-3H Data size
4H-7H Data type
8H-9H Storage structure
10H-11H Compression encoding method
12H-1FBH Data content
1FCH-1FFH Next sector MSID
Note: the main sector size is 512 bytes.
The first 4 bytes in the data format normalization design shown in table 1 represent the size of the data represented by the data, i.e., the total number of bytes of the data, which is the total size of the plaintext and the stego information. The next 4 bytes represent the type of the data, including various text data, picture data, video data, and the like. Examples of the data types are shown in table 2.
Table 2 data type example table
Numbering File type
00 00 00 00 txt text data
00 00 00 01 jpg picture data
00 00 00 02 png picture data
00 00 00 03 mp4 view data
00 00 00 04 avi video data
00 00 00 05 Custom data format
…… ……
The 8 th bit and the 9 th bit of the data format normalization design represent the storage structure of data, and common data storage structures include a sequential storage structure, an index storage structure, a hash structure storage, a tree storage structure, and the like. A data structure representation is shown in table 3.
Table 3 data structure example table
Numbering Data structure
00 01 Sequential storage structure
00 02 Index storage structure
00 03 Hash storage structure
00 04 Red and black tree storage structure
00 05 B + number storage structure
…… ……
The 10 th bit and the 11 th bit of the data format normalized design represent the compression encoding mode of the data. Many data can compress and encode the size of the data in the storage process, thereby reducing the storage space used by the data, optimizing the data storage efficiency, accelerating the data exchange and sharing and the like. The compression-encoded bits of the data are one record of the compression-encoding method of the data. An example of the data compression encoding method is shown in table 4.
Table 4 example table of data compression coding mode
Numbering Data compression coding mode
00 00 Zip compression
00 01 war compression
00 02 Huffman coding
00 03 AAC coding
00 04 0gg coding
…… ……
The normalized design of the data format is the content of the data starting from bit 12. The last 4 bits of each main sector are MSIDs identifying the next sector, and when the data storage is finished, the data end identifier FF FEH is added, and the sector linking end identifier FF FFFF FEH is added to the last 4 bits of the sector, indicating that the data storage is finished.
After the data is stored in the main sector, the use condition of all the main sectors needs to be recorded in the main sector configuration table, and the function of recording each main sector configuration table is recorded. The sector configuration table (master sector and key sector are the same) has the same identifier as shown in table 5.
Table 5 sector configuration table identification
Figure BDA0002910278330000161
Figure BDA0002910278330000171
Design 3:
design supporting data privacy protection: in the data normalization description method, an attribute-based encryption technology based on a ciphertext strategy is adopted to support the privacy security of the whole data. Therefore, the version number of the attribute table is added into the file carrying data for managing the global attribute table; the file designs a key sector for storing an encryption key used for symmetric encryption after being encrypted by using the attribute set; the file can only store encrypted ciphertext in the main sector, and cannot be directly stored by using plaintext. The file is matched with the main sector through the file header, the key sector and the main sector, so that the influence caused by the difference of the data type and the data structure is shielded, and the data privacy protection work is completed. The process is as follows:
(1) generating a random AES key by adopting an AES encryption algorithm to encrypt the file data;
(2) storing the decrypted ciphertext in the main sector;
(3) encrypting the AES key by adopting an attribute-based encryption algorithm;
(4) and storing the cipher text after the encryption of the key in the key sector.
Design 4:
designing a file header: the data normalization description method erases original characteristic information of data and stores the encrypted ciphertext and the encrypted secret key. In order to ensure the availability of data and enable a receiver to smoothly receive, store and decrypt the data, the attributes of a file bearing the data need to be marked and managed in a file header mode, and each platform in a large-scale internet of things system can effectively process the file.
The file header is specified as 512 bytes, which is the same as a common compound document file header. The file header stores basic attribute information of the file, sector attribute information and a partial main sector configuration table. The detailed design of the header is shown in table 6.
Table 6 file header design table
Number of bytes Means of
0H-7H Document identifier
8H-17H Unique file identifier
18H-19H File format revision number
1AH-1BH File version number
1CH-1DH Attribute table version number
1EH-1FH Byte order identification
20H-23H File source numbering
24H-27H Minimum size of standard file
28H-29H Size of main sector
2AH-2BH Secret key sector man-small
2CH-2FH SID of first main sector
30H-33H Number of sectors used by the main sector
34H-37H SID of first key sector
38H-3BH Number of sectors used by key sector
3CH-3FH SID of first main sector configuration table
40H-43H Number of sectors used by master sector configuration table
44H-47H SID of key sector configuration table
48H-49H CRC checking
4AH-4BH Is not used
4CH-1FFH A portion of a master sector configuration table
The 0H to 27H of the header store basic attributes of the file, including a document identifier, a file unique identifier, a file format revision number, a file version number, an attribute table version number, a byte order identifier, a file source number, and a standard file minimum size. The file identifier, the file format revision number, the file version number and the attribute table version number are managed and controlled by a unified mechanism, and the unique file identifier, the byte sequence identifier, the file source number and the standard file minimum size are generated by a sender. The byte order identification is divided into a big-end mode and a small-end mode, wherein the big-end mode is represented by FF FEH, and the small-end mode is represented by FEFFH.
The 28 th to 47 th of the document header store the sector attributes including the master sector size, the key sector size, the SID of the first master sector, the number of sectors used by the master sector, the SID of the first key sector, the number of sectors used by the key sector, the SID of the first master sector configuration table, the number of sectors used by the master sector configuration table, and the SID of the key sector configuration table. Wherein the master sector size and the key sector size are expressed in powers of 2, typically 9, i.e. 512 bytes; when the first master sector configuration table is not present, it is represented using-2 (FF FFFF FEH); the key sector configuration table is one and only one in a standard file.
Bits 48 to 49 of the header store the CRC check bits of the file. After the file completes the data structure normalization, the normalized data is processed through the CRC16 algorithm to generate CRC check bits of two bytes, and after the receiver decrypts the file, the same CRC16 algorithm is used for plaintext to obtain the CRC check bits of the receiver. The receiver compares the CRC check bits generated by calculation with the CRC check bits in the file header to judge whether the file has error codes, is lost, is tampered and the like, and if the two CRC check bits are the same, the file is complete, so that the integrity of the file is ensured. The 4 th AH to 4BH of the file are unused bits, and the data bits are not uniformly defined for use.
The 4CH to 1FFH of the header stores a portion of the file master sector configuration table. This part stores the use of the first 109 sectors, and when the number of sectors is less than 109, the remaining part is represented by-1 (FF FFFF FFH). When the number of sectors is larger than 109, an additional sector is generated for storing the main sector configuration table, the MSID of the table is stored in the SID bit of the first main sector configuration table in the file header, and when the sector is not enough to store all sectors, the next sector is continuously used to add the main sector configuration table until all sector states are stored in the main sector configuration table.
A complete illustration of the header is shown in fig. 8.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and any modification, equivalent replacement, and improvement made by those skilled in the art within the technical scope of the present invention disclosed herein, which is within the spirit and principle of the present invention, should be covered by the present invention.

Claims (10)

1. A method for controlling power-off discharge of a battery through a Bluetooth controller is characterized by comprising the following steps:
inputting preset parameters of a control end through a human-computer interaction interface, and storing the preset parameters into a storage unit of a Bluetooth control module; the residual electric quantity of the battery is detected in real time through an electric quantity detector in the electric quantity detection module, and the temperature of the battery is detected in real time through a temperature detector in the temperature detection module;
preprocessing the detection data through a data processing module, wherein the preprocessing of the detection data comprises the steps of carrying out duplicate removal processing on the detection data and carrying out normalization processing on the detection data after the duplicate removal;
the de-duplication processing of the detection data comprises: acquiring detection data acquired by each detection module, and filtering out detection data which is the same as the last acquired data according to historical detection data; judging whether the detection data is dynamic detection data or static detection data;
the normalization processing of the detection data after the duplication removal comprises the following steps: designing a file format, carrying out normalized design of a detection data format, designing supporting privacy protection and designing a file header;
thirdly, performing data transmission on the acquired data through a Bluetooth signal transmission module, and transmitting the data to a Bluetooth control module;
the transmitting data to the bluetooth control module includes: the processor sends a request for data, request information reaches the switch, the switch sends the request information to the router, the router sends the request information to the DNS server to reach the servers of all the modules, the servers receive the request for data, package and pack the data, and the original path returns to the data processing module server; the server preprocesses the data, the processed data are packed by the server and transmitted to a Bluetooth transmission FIFO channel, and then transmitted to a Bluetooth link controller and a Bluetooth link manager to reach a Bluetooth wireless receiver through an SCO link and an ACL link, and then transmitted to a control end through 2.4GHz wireless transmission to reach a wireless Bluetooth receiver of the control end;
step four, the Bluetooth control module receives and processes data through the Bluetooth controller, and when abnormal information is detected, the alarm module carries out alarm reminding;
when abnormal information is detected, the alarm module is used for alarming and reminding, and the method comprises the following steps: the monitor detects the battery abnormity, the data state of the current battery is immediately obtained, the data is packed and transmitted to the wireless receiver of the Bluetooth module by the Internet, the receiver unpacks the data through the Bluetooth link controller and the Bluetooth link manager, the alarm request is immediately sent through the Bluetooth control equipment, the request reaches the Bluetooth receiver of the alarm module in a binary system form, the request reaches the alarm equipment server through the Bluetooth link controller and the Bluetooth link manager after the binary system is converted, and the alarm equipment is immediately started by the server;
step five, the Bluetooth control module receives power consumption demand information of a power consumption load end, and controls a circuit breaker of the state switching module to switch the connection state of the battery according to the power consumption demand information, so that the power-off discharge action of the battery is realized;
the circuit breaker according to power consumption demand information control state switching module switches the connection state of battery, includes: the Bluetooth control module initiates a control request for the circuit breaker, the request is transmitted in a binary mode through 2.4GHz wireless and reaches a Bluetooth receiver of the circuit breaker, the Bluetooth receiver converts the request into a digital signal and reaches a server device of the circuit breaker through an SCO link and an ACL link, the server analyzes the request by using a Flume technology, and the circuit breaker is controlled according to the analysis content;
and step six, detecting parameters of the output current of the battery through a discharge detection module, acquiring voltage and current information of the output current in real time, transmitting the detection information to a control end in real time, and displaying the detection information through a human-computer interaction module.
2. The method for controlling power-off and discharge of a battery through a bluetooth controller according to claim 1, wherein in the second step, the determining whether the detection data is dynamic detection data or static detection data includes: if the detection data are dynamic detection data, performing voltage conversion and high-frequency denoising on the dynamic detection data to form voltage data; and if the detection data are static detection data, carrying out current signal amplification, filtering and conversion on the static detection data to form temperature data.
3. The method for controlling power-off and discharge of a battery through a bluetooth controller according to claim 2, wherein the filtering the static detection data includes performing an IIR filter calculation on the sampled data to obtain a calculation result.
4. The method for controlling power-off and discharge of a battery through a bluetooth controller according to claim 1, wherein in the second step, the file format includes a file header, a master sector configuration table, a key sector configuration table, a master sector, and a key sector; the detection data format normalization design comprises the step of performing normalization description on address offset and parameters, data types, data structures and data compression coding modes in the data format normalization design; the design supporting privacy protection comprises the steps of generating a random AES key to encrypt file data by adopting an AES encryption algorithm; storing the decrypted ciphertext in the main sector; encrypting the AES key by adopting an attribute-based encryption algorithm; and storing the cipher text after the encryption of the key in the key sector.
5. The method for controlling power-off and discharging of a battery through a bluetooth controller as claimed in claim 1, wherein in step four, the bluetooth control module performs data receiving and processing through the bluetooth controller, including:
(1) respectively comparing the collected residual electric quantity data and the collected temperature data of the controlled battery end with a preset upper limit threshold and a preset lower limit threshold;
(2) when the residual electric quantity data and the temperature data are larger than a preset upper limit threshold or the residual electric quantity data and the temperature data are smaller than a preset lower limit threshold, controlling an alarm module to send out alarm reminding and controlling a state switching module to adjust to a disconnected state;
(3) and when the residual electric quantity data and the temperature data accord with the preset threshold range, adjusting the state switching module according to the power utilization information of the power utilization load end.
6. The method for controlling power-off and discharge of the battery through the bluetooth controller according to claim 1, wherein the adjusting the state switching module according to the power consumption information of the power consumption load comprises: if the power consumption load end sends power consumption demand information needing power supply, the circuit breaker in the state switching module is adjusted to be in a connection state; and if the electricity load end sends electricity demand information which does not need to be supplied with power, the circuit breaker in the state switching module is adjusted to be in an off state.
7. A system for controlling the power-off and discharge of a battery through a Bluetooth controller by applying the method for controlling the power-off and discharge of the battery through the Bluetooth controller according to claims 1-6, wherein the system for controlling the power-off and discharge of the battery through the Bluetooth controller comprises:
the system comprises a control end, a controlled battery end and an electric load end; the control end is respectively connected with the controlled battery end and the electric load end through Bluetooth signals, and the controlled battery end and the electric load end are connected through a connecting line;
the control end comprises:
the Bluetooth control module is used for receiving and processing data through a Bluetooth controller and controlling the controlled battery terminal according to the processing result and the control parameter;
at the control end, the Bluetooth initiates a call to other equipment, and the Bluetooth address and the pairing password information of the receiving end are input at the Bluetooth control end; the Bluetooth equipment initiates a Bluetooth pairing request to a receiving end according to a Bluetooth address of the receiving end, the request is wirelessly transmitted to the receiving end in a binary system form, then the receiving end sends a request for inputting a pairing password to a Bluetooth control end, the request is spread in the binary system form, the control end inputs the pairing password, the two ends are successfully connected, and data is transmitted by using a TDD mechanism at the control end and the receiving end in turn;
the user firstly transmits data to a Bluetooth link manager LM, the data is packed into a packet data packet by an FIFO channel through an SCO link and an ACL link and reaches a baseband BB of a Bluetooth link controller, the packet data packet is transmitted to a Bluetooth wireless transceiver through the baseband, the transceiver transmits the packet data packet to the Bluetooth wireless transceiver at an ISM frequency band of 2.4GHz through a fast frequency hopping and short packet technology and reaches the Bluetooth wireless transceiver at a receiving end, the data is decoded and unpacked through the FIFO and transmitted to the Bluetooth link manager LM when being transmitted to the baseband BB of the Bluetooth link controller, and the manager transmits the data to receiving end equipment to finish the transmission of the data;
the human-computer interaction module is connected with the Bluetooth control module, a worker opens a parameter setting interface on a display interface, preset parameters are input through a keyboard, the preset parameters are submitted by clicking, a submitted data form is uploaded to the server through the Internet by the CPU, and then the submitted data form is uploaded to the network memory by the server and is used for presetting the parameters and displaying the working state of the system in real time through the human-computer interaction interface;
the alarm module is connected with the Bluetooth control module and used for sending alarm prompt through the audible and visual alarm when the abnormal state of the battery is detected;
the controlled battery terminal includes:
the data processing module is connected with the electric quantity detection module, the temperature detection module, the state switching module, the discharging detection module, the Bluetooth signal transmission module and the state indication module, and is used for preprocessing the acquired data through the processor and controlling the Bluetooth signal transmission module to transmit the acquired data to the control end;
the electric quantity detection module is connected with the data processing module, the battery detector is connected with the battery, real-time information of the battery reaches a server of the monitoring device, the server packages and transmits the data to the FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting wire for detecting the residual electric quantity of the battery in real time through the electric quantity detector;
the temperature detection module is connected with the data processing module, the battery temperature detector is connected with the battery, real-time information of the battery temperature reaches a server of the temperature detection device, the server packages and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting line for detecting the temperature of the battery in real time through the temperature detector;
the state switching module is connected with the data processing module and used for switching the connection state of the battery through the breaker to realize the power-off discharge action of the battery;
the discharge detection module is connected with the data processing module, the discharge detection module is connected with the battery, real-time information of battery discharge reaches a server of the discharge detection equipment, the server packages and transmits data to an FIFO transmission channel, and the transmission channel transmits the packaged data to the man-machine interaction module in real time through a connecting line for detecting parameters of output current of the battery through the discharge state detection device; the discharge state detection device comprises a current sensor and a voltage sensor, and the current sensor and the voltage sensor are connected with a processor of the data processing module through a connecting line;
the Bluetooth signal transmission module is used for transmitting a data signal to the Bluetooth link manager LM by the Bluetooth signal transmitter, the data signal is packed into a packet data packet by an FIFO channel through an SCO link and an ACL link and arrives at a baseband BB of the Bluetooth link controller, the baseband transmits the packet data packet to the Bluetooth wireless transceiver, the transceiver transmits the packet data packet to the Bluetooth wireless transceiver of the Bluetooth controller in an ISM frequency band of 2.4GHz through a fast frequency hopping and short packet technology and arrives at the Bluetooth wireless transceiver of the Bluetooth controller, the data is decoded and unpacked through the FIFO and transmitted to the Bluetooth link manager LM when being transmitted to the baseband BB of the Bluetooth link controller, and the manager transmits the data to Bluetooth control equipment to complete the transmission of the data signal for data interaction with the Bluetooth controller through the Bluetooth signal transmitter;
the state indicating module is connected with the battery, real-time information of battery discharging and power failure reaches a server of the state indicating equipment, the server packs data and transmits the data to an FIFO transmission channel, and the transmission channel transmits the packed data to the man-machine interaction module in real time through a connecting line and is used for displaying the power failure and power discharge state of the battery through the state indicating lamp.
8. The system for controlling power-off and discharge of a battery through a bluetooth controller according to claim 7, wherein the bluetooth control module comprises:
the data processing unit is used for processing the acquired data of the controlled battery end through the controller;
the control instruction generating unit is used for generating a corresponding control instruction according to the data processing result and the preset parameters;
the Bluetooth signal transmission unit is used for realizing data interaction with the controlled battery end through a Bluetooth signal transmitter;
and the storage unit is used for storing the preset parameters and the detection data through the memory.
9. A computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface to implement the method of controlling power-off and discharge of a battery by a bluetooth controller as claimed in any one of claims 1 to 6 when executed on an electronic device.
10. A computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the method for controlling power-off and discharge of a battery by a bluetooth controller as claimed in any one of claims 1 to 6.
CN202110083975.5A 2021-01-21 2021-01-21 System and method for controlling power-off and discharge of battery through Bluetooth controller Pending CN112821496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110083975.5A CN112821496A (en) 2021-01-21 2021-01-21 System and method for controlling power-off and discharge of battery through Bluetooth controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110083975.5A CN112821496A (en) 2021-01-21 2021-01-21 System and method for controlling power-off and discharge of battery through Bluetooth controller

Publications (1)

Publication Number Publication Date
CN112821496A true CN112821496A (en) 2021-05-18

Family

ID=75858641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110083975.5A Pending CN112821496A (en) 2021-01-21 2021-01-21 System and method for controlling power-off and discharge of battery through Bluetooth controller

Country Status (1)

Country Link
CN (1) CN112821496A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3139682A1 (en) * 2022-09-14 2024-03-15 Thales Dynamic adaptation of the transmission format of attribute-based data encryption

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024425A (en) * 2015-07-23 2015-11-04 深圳市尚亿芯科技有限公司 Intelligent lithium battery control and theft-prevention system
CN105398406A (en) * 2015-11-03 2016-03-16 惠州市德赛电池有限公司 Lithium battery status control system and method for vehicle-mounted starting power supply
CN107706999A (en) * 2017-11-15 2018-02-16 广州泰勒斯科技有限公司 Startup formula battery, application apparatus and server
CN109050258A (en) * 2018-07-12 2018-12-21 重庆邮电大学 A kind of battery system and maintaining method with wireless communication function
CN208337212U (en) * 2018-06-26 2019-01-04 深圳市吉毅创能源科技有限公司 A kind of multifunctional intellectual battery pack based on Bluetooth communication with detection and localization
US20190349718A1 (en) * 2016-10-21 2019-11-14 Lg Electronics Inc. Method and device for transmitting and receiving data using bluetooth technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024425A (en) * 2015-07-23 2015-11-04 深圳市尚亿芯科技有限公司 Intelligent lithium battery control and theft-prevention system
CN105398406A (en) * 2015-11-03 2016-03-16 惠州市德赛电池有限公司 Lithium battery status control system and method for vehicle-mounted starting power supply
US20190349718A1 (en) * 2016-10-21 2019-11-14 Lg Electronics Inc. Method and device for transmitting and receiving data using bluetooth technology
CN107706999A (en) * 2017-11-15 2018-02-16 广州泰勒斯科技有限公司 Startup formula battery, application apparatus and server
CN208337212U (en) * 2018-06-26 2019-01-04 深圳市吉毅创能源科技有限公司 A kind of multifunctional intellectual battery pack based on Bluetooth communication with detection and localization
CN109050258A (en) * 2018-07-12 2018-12-21 重庆邮电大学 A kind of battery system and maintaining method with wireless communication function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3139682A1 (en) * 2022-09-14 2024-03-15 Thales Dynamic adaptation of the transmission format of attribute-based data encryption
EP4340292A1 (en) * 2022-09-14 2024-03-20 Thales Dynamic adaptation of the transmission format of attribute-based data encryption

Similar Documents

Publication Publication Date Title
CN107786331B (en) Data processing method, device, system and computer readable storage medium
CN107666386B (en) Data secure transmission method and device
CN113507691B (en) Information pushing system and method based on power distribution network cross-region service
TW202016743A (en) Data processing apparatus and data processing method for internet of things system
CN102223631B (en) Data encryption transmission method, device and system in M2M (man to machine, machine to machine and machine to man)
CN108200020A (en) A kind of industry big data safe transmission device and method
CN115146285A (en) File encryption and decryption method and device
CN105258303B (en) Air conditioning unit operation data remote transmission control method and device and air conditioner
CN115459919A (en) Internet of things universal terminal security authentication system, method and device and Internet of things communication terminal
CN112821496A (en) System and method for controlling power-off and discharge of battery through Bluetooth controller
CN118012353B (en) NVME (network video memory equipment) encrypted mobile solid state disk
CN106850669B (en) Message security transmission method for Internet of things monitoring system
CN109062096A (en) A kind of wisdom fielded system
CN109753009A (en) A kind of level monitoring online data management system
CN105228114A (en) A kind of Encrypted short message receive-transmit system based on power failure navigation system and method
CN116033418A (en) Wireless communication encryption method and system applied to fire-fighting Internet of things
CN111522712A (en) BMC log collection system
CN104703175B (en) Data security protection method and device for mobile terminal
CN106411559A (en) Low voltage transformer area anti-electricity-stealing diagnosis system
CN110113411A (en) A kind of laser management system, method and electronic equipment
CN111414341B (en) Data normalization description method in Internet of things environment
KR100999102B1 (en) System for managing power using information of load and method therefor
CN104994078B (en) Information transmission, acquisition methods and device, information processing system in local area network
CN114338095A (en) Data encryption transmission method and related device, equipment, medium and program product
CN103888416B (en) Prevent the method and device of IP information leakages that safety-protection system terminal device stores

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210518