CN104835990B - A kind of charger charging method and system based on low-power consumption bluetooth - Google Patents

A kind of charger charging method and system based on low-power consumption bluetooth Download PDF

Info

Publication number
CN104835990B
CN104835990B CN201510139919.3A CN201510139919A CN104835990B CN 104835990 B CN104835990 B CN 104835990B CN 201510139919 A CN201510139919 A CN 201510139919A CN 104835990 B CN104835990 B CN 104835990B
Authority
CN
China
Prior art keywords
charger
terminal
power consumption
low
consumption bluetooth
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.)
Active
Application number
CN201510139919.3A
Other languages
Chinese (zh)
Other versions
CN104835990A (en
Inventor
蔡海
虞龙杰
冯剑明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Waweis Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510139919.3A priority Critical patent/CN104835990B/en
Publication of CN104835990A publication Critical patent/CN104835990A/en
Application granted granted Critical
Publication of CN104835990B publication Critical patent/CN104835990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a kind of charger charging method and system based on low-power consumption bluetooth, each self-corresponding charger title and the charge mode information supported are broadcasted to surrounding in a manner of it can connect non-directional by low-power consumption mode equipped with the charger of low-power consumption bluetooth by least one;Each charger that terminal scanning is being broadcasted, according to charger list corresponding to charger title corresponding to each charger and the charge mode information supported generation;The terminal sends connection request to each charger, establishes low-power consumption bluetooth with each charger successively and is connected, and traversal finds out the charger with the terminal coupling;The terminal is established low-power consumption bluetooth with the charger matched and is connected, and notice charger starts fast charge pattern, and charger exports charging quickly by power line and flow to the terminal, opens fast charge pattern;Charger is selected optimal charging scheme automatically according to the charge type of terminal for terminal, bring to user and greatly facilitate.

Description

A kind of charger charging method and system based on low-power consumption bluetooth
Technical field
The present invention relates to intelligent terminal technical field, more particularly to a kind of charger charging based on low-power consumption bluetooth Method and system.
Background technology
With the popularization of electronic equipment, increasing intelligent terminal is widely used by people, such as intelligent television, wireless sound Sound, smart mobile phone, flat board, notebook, computer, wireless router, wireless camera, Wireless projector, Intelligent lamp, intelligent refrigerator And intelligent water heater etc..User using mobile intelligent terminal frequency also more and more higher, such as make a phone call, send short messages, listen music, Video is seen, game is played, sees news, shopping, chat etc. using WIFI online.At the same time, the power consumption of mobile phone also greatly increases, Stand-by time substantially shortens, and with common charger being that terminal is fully charged generally requires to take a long time.Therefore, how end is made End, which is rapidly filled with electricity, turns into the problem that user is concerned about and urgent need solves, and existing charger can not fill according to what terminal was supported The optimal charging scheme of electric type selecting, causes the charging interval to be grown, and it is greatly inconvenient to be brought to user.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, there is provided a kind of charger charging method based on low-power consumption bluetooth and is System, it is intended to which optimal charging can not be provided for single mode charging terminal and bimodulus charging terminal automatically by solving charger in the prior art The problem of scheme.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of charger charging method based on low-power consumption bluetooth, wherein, comprise the following steps:
A, at least one equipped with low-power consumption bluetooth charger by low-power consumption mode to surrounding in a manner of it can connect non-directional Broadcast each self-corresponding charger title and the charge mode information supported;
B, each charger that terminal scanning is being broadcasted, according to charger title corresponding to each charger and the charging supported Charger list corresponding to pattern information generation;
C, the terminal sends connection request to each charger, establishes low-power consumption bluetooth with each charger successively and is connected, time Go through the charger found out with the terminal coupling;
D, the terminal is established low-power consumption bluetooth with the charger matched and is connected, and notice charger starts fast charge pattern, fills Electrical equipment exports charging quickly by power line and flow to the terminal, opens fast charge pattern.
The described charger charging method based on low-power consumption bluetooth, wherein, the step C is specifically included:
C1, terminal are established low-power consumption bluetooth with first charger in the charger list and are connected;
C2, by low-power consumption bluetooth to first charger send message, after first charger receives message Pass through power line making alive;
C3, terminal detection voltage change waveform simultaneously record, and then disconnecting low-power consumption bluetooth with first charger is connected;
C4, terminal are established low-power consumption bluetooth with the remaining charger in the charger list successively and are connected, and record terminal The voltage change waveform number detected, low-power consumption bluetooth connection is disconnected, is searched and the terminal until by ergodic algorithm The charger of matching.
The described charger charging method based on low-power consumption bluetooth, wherein, after the step D, in addition to:
E1, during charger quick charge, terminal detects whether abnormal conditions, if any exception, by low Power consumption bluetooth connection feeds back to bimodulus charger and notified extremely;
E2, when charger quick charge terminates, after terminal power is full of, terminal is connected to charger by low-power consumption bluetooth Send message informing electricity to be full of, after charger receives above-mentioned message, stop power supply, and disconnect low-power consumption bluetooth connection, return To idle condition, broadcasted again with low-power consumption mode.
The described charger charging method based on low-power consumption bluetooth, wherein, the abnormal conditions include:
The power cord of terminal and charger from and terminal is not completely filled with electricity, terminal is because quick charge causes temperature Too high or terminal quick-charge function can not normal work.
The described charger charging method based on low-power consumption bluetooth, wherein, the charger is bimodulus charger, described Terminal is bimodulus charging terminal.
The described charger charging method based on low-power consumption bluetooth, wherein, the charger is bimodulus charger, works as institute When to state terminal be single mode charging terminal, single mode charging terminal will not actively go to scan and travel through bimodulus charger, not be notified that double Mould charger starts fast charge.
A kind of charger charging system based on low-power consumption bluetooth, wherein, including:
Broadcast module, at least one equipped with low-power consumption bluetooth charger with low-power consumption mode to surrounding can connect Non-directional mode broadcasts each self-corresponding charger title and the charge mode information supported;
Charger List Generating Module, for each charger broadcasted by terminal scanning, according to each charger pair Charger list corresponding to the charger title answered and the charge mode information generation supported;
Matching module, for sending connection request to each charger by the terminal, established successively with each charger low Power consumption bluetooth connection, traversal find out the charger with the terminal coupling;
Fast charge module, it is connected for establishing low-power consumption bluetooth with the charger matched by the terminal, notifies charger Start fast charge pattern, charger exports charging quickly by power line and flow to the terminal, opens fast charge pattern.
The described charger charging system based on low-power consumption bluetooth, wherein, the matching module includes:
Connection establishment unit, for establishing low-power consumption indigo plant by first charger in terminal and the charger list Tooth connects;
Presser unit, for sending message to first charger by low-power consumption bluetooth, first charger connects Receive after message by power line making alive;
Switching units are connected, for detecting voltage change waveform by terminal and recording, are then broken with first charger Open low-power consumption bluetooth connection;
Traversal Unit, for establishing low-power consumption bluetooth with the remaining charger in the charger list successively by terminal Connection, the voltage change waveform number that record terminal detects, low-power consumption bluetooth connection is disconnected, is searched for until by ergodic algorithm To the charger with the terminal coupling.
The described charger charging system based on low-power consumption bluetooth, wherein, in addition to:
Abnormality detection module, for during charger quick charge, terminal to detect whether abnormal conditions, such as There is exception, feed back to bimodulus charger by low-power consumption bluetooth connection notifies extremely;
Fast charge terminate module, for terminating when charger quick charge, after terminal power is full of, terminal is blue by low-power consumption Tooth connects to be full of to charger transmission message informing electricity, after charger receives above-mentioned message, is stopped power supply, and disconnect low work( Bluetooth connection is consumed, idle condition is returned to, is broadcasted again with low-power consumption mode.
The described charger charging system based on low-power consumption bluetooth, wherein, the charger is bimodulus charger, described Terminal is bimodulus charging terminal.
A kind of charger charging method and system based on low-power consumption bluetooth provided by the present invention, efficiently solve existing There is the problem of charger can not provide optimal charging scheme for single mode charging terminal and bimodulus charging terminal automatically in technology, make It is that the terminal with common charging and quick-charge function is quickly filled with the charger with common charging and quick-charge function Electricity, common charging is provided for terminal under other charging scenarios.I.e. terminal only need to be connected upper charger by user with power line, just It can be that terminal selects optimal charging scheme automatically according to charger and the charge type of terminal, very big side is brought to user Just.
Brief description of the drawings
Fig. 1 is the signaling format schematic diagram of broadcast channel in low-power consumption bluetooth.
Fig. 2 is the form schematic diagram of broadcast data packet in low-power consumption bluetooth.
Fig. 3 is the signalling diagram of data channel in low-power consumption bluetooth.
Fig. 4 is the flow chart of the charger charging method preferred embodiment provided by the invention based on low-power consumption bluetooth.
Fig. 5 is customized link layer data letter in the charger charging method provided by the invention based on low-power consumption bluetooth The payload format schematic diagram of order.
Fig. 6 is the structured flowchart of the charger charging system preferred embodiment provided by the invention based on low-power consumption bluetooth.
Embodiment
The present invention provides a kind of charger charging method and system based on low-power consumption bluetooth, for make the purpose of the present invention, Technical scheme and advantage are clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should Understand, the specific embodiments described herein are merely illustrative of the present invention, is not intended to limit the present invention.
Low-power consumption bluetooth agreement is described in detail first as follows.
Compared with conventional Bluetooth and High Speed Bluetooth, low-power consumption bluetooth(Bluetooth Low Energy, BLE)It is maximum excellent Point is province's power consumption, and the data volume of simultaneous transmission is also smaller, suitable for wireless between mobile intelligent terminal and intelligent charger Service connection.The exploitation of BLE agreements is mainly in link layer(Link Layer, LL), general-purpose accessing protocol layer(Generic Access Profile, GAP)With general-purpose attribute protocol layer(Generic Attribute Profile, GATT).
The agreement of bluetooth 4.0 issued according to bluetooth alliance, link layer define the signaling of BLE channels, under notconnect state Broadcaster(Advertiser), scanning side(Scanner)And initiator(Initiator), the main frame under connection status (Master)And slave(Slave).The signaling format of BLE broadcast channels and data channel is as shown in table 1, to broadcast channel sum It is believed that road is all suitable for.Wherein, guidance code Preamble and access address Access Address is fixed for BLE channels Data, signaling(PDU)Information can be carried in BLE channels, CRC is used as cyclic check.
Table 1
The signaling of broadcast channel is made up of head Header and payload Payload, as shown in Figure 1.Fig. 1 is broadcast channel Signaling format.
4 bit PDU Type in Header determine the type of signaling, can such as connect non-directional broadcast signaling(ADV_ IND), directional broadcasting signaling can be connected(ADV_DIRECT_IND), non-directional broadcast signaling can not be connected(ADV_NONCONN_ IND), scan request signaling(SCAN_REQ), scanning reply signaling(SCAN_RSP), connection request signaling(CONNECT_REQ), Non-directional broadcast signaling can be scanned(ADV_SCAN_IND), it is specific as shown in table 2.Table 2 is the signaling type of broadcast channel
Table 2
The Payload forms that non-directional broadcast signaling can be connected are as shown in table 3.Wherein, AdvA represents the bluetooth of broadcaster Address, AdvData represent broadcast data packet, can at most carry the information of 31 bytes.
Table 3
The form of broadcast data packet is as shown in Figure 2.Wherein, AD Structure represent message section, a broadcast data packet Multiple message sections can be accommodated;AD Type represent the type of message section, such as bluetooth title, bluetooth manufacturer, UUID etc.;AD Data Represent the content of message section;Length value represents AD Type and AD Data total amount of byte.
The AD the type fields defined by bluetooth alliance are as shown in table 4, and what is be not defined is exactly reserved field.
Table 4
The Payload forms of connection request signaling are as shown in table 5.Wherein, InitA is the Bluetooth address of scanning side, AdvA It is the Bluetooth address of broadcaster, link layer data LL Data are the contents of connection request.
Table 5
LL Data form is as shown in table 6, wherein, channel matched ChM is used for selecting the channel for transmitting data.Table 6 is company Connect the LL Data forms of request PDU.
Table 6
37 bits represent data channel in ChM(0~36), 3 bits represent broadcast channel(37~39), as shown in table 7. 3 bit broadcast channels are to use reserved bit in the future..
Table 7
Link layer broadcast state defined in broadcast channel(Advertising State), scanning mode(Scanning State)With the state of initiation(Initiating State).Signaling relation corresponding to broadcast channel three state is as shown in table 8.Table 8 For signaling relation corresponding to broadcast state in broadcast channel, scanning mode and initiation state.
Table 8
Wherein, broadcast state includes:
Non-directional broadcast event can be connected(Connectable undirected event):Broadcast all around direction Scanning side broadcasts ADV_IND signalings, and states that lay oneself open to can connection mode.Broadcaster monitors the SCAN_REQ that scanning side is sent Signaling, then send SCAN_RSP signalings to scanning side.Broadcaster also monitors the CONNECT_REQ signalings that initiator sends;
Directional broadcasting event can be connected(Connectable directed event):Broadcast specifically scans around direction Side's broadcast ADV_DIRECT_IND signalings, and state that lay oneself open to can connection mode.Broadcaster is only monitored specific initiator and sent CONNECT_REQ signalings;
Non-directional broadcast event can not be connected(Non-connectable undirected event):Broadcast around direction All scanning side's broadcast ADV_NONCONN_IND signalings, and state to lay oneself open to can not connection mode.Broadcaster is not listening to sweep The signaling that the side of retouching is sent;
Non-directional broadcast event can be scanned(Scannable undirected event):It is all around broadcast direction to sweep Broadcast ADV_SCAN_IND signalings in the side of retouching.Broadcaster only monitors the SCAN_REQ signalings sent scanning side, is then sent out to scanning side Send SCAN_RSP signalings.
Scanning mode includes:Drive sweep(Passive scanning):Can only in the scanning side of drive sweep pattern The signaling of listening broadcast side's broadcast, it is impossible to externally send data;Active scan(Active scanning):Have the initiative scanning The signaling of listening broadcast side of the scanning side broadcast of pattern, only to the broadcast of broadcast ADV_IND signalings and ADV_SCAN_IND signalings Side sends SCAN_REQ signalings, continues the SCAN_RSP signalings sent listening broadcast side after being sent.
And the initiator in initiation state can be to the broadcast of broadcast ADV_IND signalings and ADV_DIRECT_IND signalings Side sends CONNECT_REQ signalings.
The signaling of data channel is made up of head Header and payload Payload, may also include the message of 32 bits Integrity checking(Message Integrity Check, MIC), as shown in Figure 3.
Link layer mark in Header(LLID)Determine the signaling type of data channel, such as link layer data signaling (LL Data PDU), link layer control signaling(LL Control PDU), as shown in table 9, wherein, LLID is the expression of " 01 " Continue for sending(Continuation)It is or empty(Empty)Data, LLID be " 10 " expression be used for send starting (Start)It is or complete(Complete)Data.More data(More Data, MD)Decide whether to send more data, if The MD positions of main frame and slave are all " 0 ", are just disconnected, and main frame stops sending data, and data are no longer monitored and received to slave;It is no Person's main frame continues to send data, and slave continues to monitor and receive data.Length(Length)Represent Payload and MIC byte Sum, if MIC is also included within inside data channel signaling, wherein, Payload of length no more than 27 byte, MIC occupies solid 4 fixed bytes.
Table 9
LL Data PDU are used for carrying the data transfer task of GATT layers, and its content is the data transmitted, and is not surpassed every time Cross 27 bytes.If data content can be sent, untill data are all sent several times more than 27 bytes.
In GAP layers, 4 kinds of roles are defined:Broadcast role(Broadcaster Role), observation role(Observer Role), peripheral role(Peripheral Role)With center role(Central Role).Specifically, broadcast role:It is in The equipment of role is broadcasted with low-power consumption mode to surrounding broadcast, but not responds the connection request that other equipment is sent, that is, is in The equipment of broadcast role is in can not connection mode;Observe role:Equipment in observation role can be scanned in broadcast angle The equipment of color, but connection request can not be initiated, i.e., the equipment in observation role is in can not connection mode;Peripheral role:Place In the connection request that the equipment of peripheral role is sent with low-power consumption mode to surrounding broadcast, response other equipment, i.e., in periphery The equipment of role is in can connection mode;Center role:Equipment in center role can scan setting in peripheral role It is standby, connection request can be initiated, i.e., the equipment in center role is in can connection mode.
The corresponding relation of LL layers and GAP layers is as shown in table 10, wherein, " E " represents not support, " M " represents to support, " O " represents that selection is supported, " O/E " is represented if center role supports drive sweep, then center role selecting is supported actively to sweep Retouch, no person center role must support active scan.
Table 10
Four kinds of bimodulus charging terminal, single mode charging terminal, bimodulus charger and single mode charger things defined in the present invention Manage device type.Bimodulus charging terminal is with the terminal that can carry out two kinds of charge modes of fast charge and common charging, bimodulus charging Device is the charger with two kinds of charge modes of fast charge and common charging, and on fast charge and common charging, this is prior art, this Excessive description is not done in place.
When bimodulus charger is in peripheral role, during with low-power consumption mode to surrounding broadcast ADV_IND signalings, while bimodulus Charging terminal is in center role, carries out active scan, and its communication mechanism is as shown in table 11.Bimodulus charging terminal charges to bimodulus Device initiates connection request, establishes connection.
Table 11
GATT layers define server(Server)And client(Client).Server can send number to client According to otherwise client can not send data to server, as shown in table 12.
Table 12
After bimodulus charging terminal and bimodulus charger successful connection, it is meant that GATT layers are entered from GAP layers, originally Center role and peripheral role are changed into server and client side.In on server and client side and GAP layers on GATT layers Heart role and peripheral role are two independent concepts, i.e., original bimodulus charging terminal or bimodulus charger both can be services Device can be client again, can also concurrently act as server and client side.
Referring to Fig. 4, Fig. 4 is the charger charging method preferred embodiment provided by the invention based on low-power consumption bluetooth Flow chart, as illustrated, the described method comprises the following steps:
Step S100, at least one equipped with low-power consumption bluetooth charger it is non-fixed that can connect to surrounding with low-power consumption mode Each self-corresponding charger title and the charge mode information supported are broadcasted to mode;
Step S200, each charger that terminal scanning is being broadcasted, according to charger title and branch corresponding to each charger Charger list corresponding to the charge mode information generation held;
Step S300, described terminal sends connection request to each charger, establishes low-power consumption bluetooth with each charger successively Connection, traversal find out the charger with the terminal coupling;
Step S400, described terminal is established low-power consumption bluetooth with the charger matched and is connected, and notice charger starts fast charge Pattern, charger export charging quickly by power line and flow to the terminal, open fast charge pattern.
Above-mentioned steps are described in detail with reference to specific embodiment.
In the step s 100, at least one equipped with low-power consumption bluetooth charger with low-power consumption mode to surrounding can connect Non-directional mode broadcasts each self-corresponding charger title and the charge mode information supported.Specifically, at least one charging Device is broadcasted with low-power consumption mode.In actual use, the charger is bimodulus charger, i.e., with fast charge and general fills two kinds The charger of charge mode, and equipped with low-power consumption bluetooth on bimodulus charger(BLE)Module.Under idle condition, bimodulus charging Device is broadcasted with low-power consumption mode.
In an idle state, bimodulus charger is broadcasted in a manner of " can connect non-directional " by low-power consumption mode to surrounding, extensively Unicast packets form can be defined as shown in table 13, but be not limited to this, as long as can show the bluetooth by broadcast data packet Equipment is bimodulus charger.Table 13 is the broadcast data packet of bimodulus charger.
Table 13
Wherein, Length value represents AD Type and Data total amount of byte;AD Type value " 09 " represents message section Type be bluetooth equipment complete name;Data represents the title of bimodulus charger, such as " Charger1 ";Broadcast data packet Remainder bytes zero padding.
Step S200 the bimodulus charger that terminal scanning is being broadcasted, obtains bimodulus charger row to prepare the fast charge stage Table.If the terminal is single mode charging terminal, the single mode charging terminal bimodulus charger that active scan is not being broadcasted, also not Bimodulus charger can be traveled through, is less notified that bimodulus charger starts fast charge.This is illustrated exemplified by sentencing bimodulus charging terminal It is as follows.
The bluetooth equipment broadcasted around bimodulus charging terminal active scan with low-power consumption mode, is arrived by parsing scanning Bluetooth equipment broadcast data packet content, filter out characterize bimodulus charger bluetooth equipment, as bluetooth device name is " Charger0 " arrives the bluetooth equipment of " Charger9 ", obtains bimodulus charger list, as shown in table 14
Table 14
In step S300, the terminal sends connection request to each charger, establishes low-power consumption with each charger successively Bluetooth connection, traversal find out the charger with the terminal coupling.Specifically, terminal and first in the charger list Individual charger establishes low-power consumption bluetooth connection;Message is sent to first charger by low-power consumption bluetooth, first is filled Electrical equipment is received after message by power line making alive;Terminal detects voltage change waveform and recorded, and is then charged with first Device disconnects low-power consumption bluetooth connection;Terminal establishes low-power consumption bluetooth company with the remaining charger in the charger list successively Connect, the voltage change waveform number that record terminal detects, disconnect low-power consumption bluetooth connection, searched until by ergodic algorithm With the charger of the terminal coupling.
In ergodic process, bimodulus charging terminal first establishes BLE with first bimodulus charger in bimodulus charger list Connection, after successful connection, bimodulus charging terminal sends message by BLE to bimodulus charger, and bimodulus charger receives message Simultaneously recorded by power line making alive, bimodulus charging terminal detection voltage change waveform afterwards, then disconnect BLE with bimodulus charger Connection;Then bimodulus charging terminal is established BLE with the remaining bimodulus charger in bimodulus charger list successively and is connected, interaction letter Breath, the voltage change waveform number detected is recorded, BLE connections are disconnected, until searching only one by ergodic algorithm The bimodulus charger matched somebody with somebody.
In practical application, after bimodulus charger list is obtained, bimodulus charging terminal is first in bimodulus charger list First bimodulus charger send connection request signaling, the 37th in the ChM shown in table 15 is customized for 39 " 001 " so that bimodulus charger can recognize that bimodulus charging terminal, while not had an impact to normal BLE communications.
Table 15
After successful connection, bimodulus charging terminal sends Notification by BLE to bimodulus charger(Notice)Message, Such as " Who is my fast charger", it is therefore an objective to allow the bimodulus charger to pass through electricity after receiving Notification Source line making alive.
The Payload forms of customized link layer data signaling are as shown in figure 5, wherein, Length value represents The type of Notification message(Type)And content(Content)Total amount of byte;Payload remainder bytes zero padding. Fig. 5 is the Payload forms of customized link layer data signaling.
When bimodulus charging terminal starts to send data, the Header forms of data channel signaling are as shown in table 16, now, Bimodulus charger is monitored and receives data.Wherein, the LLID being worth for " 10 ", which is represented, sends partial data, is worth the MD expressions for " 1 " Also more data etc. is to be sent, and the Length being worth for " 11111 " represents Payload and MIC total amount of byte, if MIC It is included in inside the signaling of data channel, wherein, Payload length is 27 bytes, and MIC occupies 4 fixed bytes.Table 16 is The Header forms of data channel signaling when also more data needs to send.
Table 16
When bimodulus charging terminal is sent, the Header forms of data channel signaling are as shown in table 17, are worth for " 0 " MD represents that total data has been sent.Now, bimodulus charging terminal and bimodulus charger disconnect, bimodulus charging terminal Business datum is not retransmited, while bimodulus charger also ceases listening for and received data.When table 17 is that data are all sent Data channel PDU Header forms.
Table 17
After bimodulus charger receives the Notification message in Fig. 5, a voltage change is sent by power line Waveform, bimodulus charging terminal have detected whether voltage change waveform and recorded that then disconnecting BLE with bimodulus charger is connected.Connect Bimodulus charging terminal and establish BLE with the remaining bimodulus charger in bimodulus charger list successively and be connected, interactive information, record The voltage change waveform number detected, BLE connections are disconnected, the bimodulus until searching only one matching by ergodic algorithm Charger.
In the step S400, after the match is successful, bimodulus charging terminal first establishes BLE companies with the bimodulus charger matched Connect.After successful connection, bimodulus charging terminal sends Notification by BLE to bimodulus charger(Notice)Message, such as “Please start fast charge!", the Payload forms of customized link layer data signaling are as shown in Figure 5.When double When mould charging terminal starts to send data, the Header forms of data channel signaling are as shown in table 16, when bimodulus charging terminal is sent out Send when finishing, the Header forms of data channel signaling are as shown in table 17.
Then bimodulus charger sends Notification message to bimodulus charging terminal by BLE and shown to start successfully, Such as " Fast charge start successfully!”.The Payload forms of customized link layer data signaling are as schemed Shown in 5.When bimodulus charger starts to send data, the Header forms of data channel signaling are as shown in table 16, when bimodulus fills When electrical equipment is sent, the Header forms of data channel signaling are as shown in table 17.At the same time, bimodulus charger passes through power supply Line exports fast charge electric current, opens fast charge pattern.
Further, after the step S400, in addition to:During charger quick charge, terminal detection is It is no to have abnormal conditions, if any exception, bimodulus charger is fed back to by low-power consumption bluetooth connection and notified extremely;
When charger quick charge terminates, after terminal power is full of, terminal is connected to charger by low-power consumption bluetooth and sent out Send message informing electricity to be full of, after charger receives above-mentioned message, stop power supply, and disconnect low-power consumption bluetooth connection, return to Idle condition, broadcasted again with low-power consumption mode.
Specifically, the abnormal conditions include:The power cord of terminal and charger from and terminal be not completely filled with Electricity, terminal cause temperature too high or the quick-charge function of terminal can not normal work due to quick charge.Quick charge process In, bimodulus charging terminal detects whether abnormal conditions.Abnormal conditions 1:User's imprudence has encountered bimodulus charging terminal, Cause bimodulus charging terminal and power cord from while bimodulus charging terminal is not completely filled with electricity;Abnormal conditions 2:In user Way needs to use bimodulus charging terminal, causes bimodulus charging terminal and power cord from while bimodulus charging terminal is not complete It is fully charged;Abnormal conditions 3:Bimodulus charging terminal due to quick charge it is possible that it is hot, overheat phenomena such as, now if after It is continuous to carry out quick charge, it may occur that the spontaneous combustion even peril such as blast;Abnormal conditions 4:Bimodulus charging terminal is due to making With year it is longer may cause quick-charge function can not normal work again, now if continuing quick charge, it may occur that The spontaneous combustion even peril such as blast.
Bimodulus charging terminal detects these above-mentioned abnormal conditions, is sent by BLE to bimodulus charger Notification message, notice have abnormal conditions, such as " An unexpected case occurs!”.It is customized The Payload forms of link layer data signaling are as shown in Figure 5.When bimodulus charging terminal starts to send data, data channel letter The Header forms of order are as shown in table 16, and when bimodulus charging terminal is sent, the Header forms of data channel signaling are such as Shown in table 17.At the same time, bimodulus charging terminal notifies user to have abnormal conditions in a manner of sound or vibration.Bimodulus fills After electrical equipment receives above-mentioned message, stop output fast charge electric current, and disconnect BLE connections, idle condition is returned to, again with low-power consumption Mode broadcast.
And when quick charge terminates, after bimodulus charging terminal electricity is full of, bimodulus charging terminal is filled by BLE to bimodulus Electrical equipment sends Notification message, and notice electricity is full of, such as " Fast charge completes!”.Customized chain The Payload forms of road layer data signaling are as shown in Figure 5.When bimodulus charging terminal starts to send data, data channel signaling Header forms it is as shown in table 16, when bimodulus charging terminal is sent, the Header forms such as table of data channel signaling Shown in 17.After bimodulus charger receives above-mentioned message, stop output fast charge electric current, and disconnect BLE connections, return to idle shape State, broadcasted again with low-power consumption mode.
Further, single mode charging terminal will not actively go to scan and travel through bimodulus charger, less be notified that bimodulus fills Appliance starting fast charge.There may be the bimodulus charger that other bimodulus charging terminals have traversed connection single mode charging terminal so that The bimodulus charger output voltage changes waveform, but because bimodulus charging terminal is by traveling through the bimodulus for finding only one and matching Notification message informing bimodulus charger is just sent by BLE after charger and starts fast charge, other bimodulus will not be filled Electrical equipment produces erroneous judgement, therefore the bimodulus charger that can ensure to connect single mode charging terminal can only be carried out to the single mode charging terminal Common charging.In practical application, single mode charging terminal will not actively go to scan and travel through bimodulus charger, less it is notified that double Mould charger starts fast charge;Meanwhile single mode charger can only provide common charge function.Therefore, single mode charger can only be to double Mould charging terminal and single mode charging terminal provide common charging.
Further, find there is no bimodulus charger after the bimodulus charging terminal active scan stipulated time, then directly carry out Common charging.
Charger charging method provided by the invention based on low-power consumption bluetooth, for single mode charger and bimodulus charger Two kinds of different chargers, two kinds of different terminals of single mode charging terminal and bimodulus charging terminal, can be divided into four kinds it is different should Use scene.Only in bimodulus charger under the application scenarios of bimodulus charging terminal, bimodulus charging terminal passes through wireless BLE duplexs Communication and cable power line one-way communication two ways travel through all bimodulus chargers, until finding the bimodulus charger of matching Quick charge is carried out for bimodulus charging terminal, under other application scene, single mode charging terminal and bimodulus charging terminal can only enter The common charging of row., can be under four kinds of different application scenarios, automatically for single mode charging eventually according to scheme described in the invention End and bimodulus charging terminal provide optimal charging scheme.In whole process, user is easy to operate, meanwhile, charger and terminal Usually there is ultralow stand-by power consumption.
Charger charging method provided by the invention based on low-power consumption bluetooth, using with common charging and quick charge The charger of function is with common charging and the terminal quick charge of quick-charge function, is terminal under other charging scenarios Common charging is provided.I.e. terminal only need to be connected upper charger by user with power line, automatically according to the charging of charger and terminal Type is that terminal selects optimal charging scheme.At the same time, charger can be during quick charge to fully charged and abnormal Situation makes corresponding operation and processing.Charger and terminal usually keep relatively low stand-by power consumption, while easy to use, operation Simply, it is time saving and energy saving, demand of the user for the quick continuation of the journey of terminal power is met well.
Charger charging method based on above-mentioned low-power consumption bluetooth, the embodiment of the present invention additionally provide one kind and are based on low-power consumption The charger charging system of bluetooth, as shown in fig. 6, the system includes:
Broadcast module 10, at least one equipped with low-power consumption bluetooth charger with low-power consumption mode to surrounding can connect Connect non-directional mode and broadcast each self-corresponding charger title and the charge mode information supported;Specifically as described in step S100;
Charger List Generating Module 20, for each charger broadcasted by terminal scanning, according to each charger Charger list corresponding to corresponding charger title and the charge mode information generation supported, specifically as described in step S200;
Matching module 30, for sending connection request to each charger by the terminal, established successively with each charger Low-power consumption bluetooth connects, and traversal finds out the charger with the terminal coupling, specifically as described in step S300;
Fast charge module 40, it is connected for establishing low-power consumption bluetooth with the charger matched by the terminal, notice charging Device starts fast charge pattern, and charger exports charging quickly by power line and flow to the terminal, opens fast charge pattern;Specific such as step Described in S400.
Further, the matching module 30 includes:
Connection establishment unit, for establishing low-power consumption indigo plant by first charger in terminal and the charger list Tooth connects;
Presser unit, for sending message to first charger by low-power consumption bluetooth, first charger connects Receive after message by power line making alive;
Switching units are connected, for detecting voltage change waveform by terminal and recording, are then broken with first charger Open low-power consumption bluetooth connection;
Traversal Unit, for establishing low-power consumption bluetooth with the remaining charger in the charger list successively by terminal Connection, the voltage change waveform number that record terminal detects, low-power consumption bluetooth connection is disconnected, is searched for until by ergodic algorithm To the charger with the terminal coupling.
Further, the charger charging system based on low-power consumption bluetooth also includes:
Abnormality detection module, for during charger quick charge, terminal to detect whether abnormal conditions, such as There is exception, feed back to bimodulus charger by low-power consumption bluetooth connection notifies extremely;
Fast charge terminate module, for terminating when charger quick charge, after terminal power is full of, terminal is blue by low-power consumption Tooth connects to be full of to charger transmission message informing electricity, after charger receives above-mentioned message, is stopped power supply, and disconnect low work( Bluetooth connection is consumed, idle condition is returned to, is broadcasted again with low-power consumption mode.
Further, the charger is bimodulus charger, and the terminal is bimodulus charging terminal.
In summary, a kind of charger charging method and system based on low-power consumption bluetooth provided by the invention, by extremely Few one broadcasts respective correspondence to surrounding by low-power consumption mode equipped with the charger of low-power consumption bluetooth in a manner of it can connect non-directional Charger title and support charge mode information;Each charger that terminal scanning is being broadcasted, it is corresponding according to each charger Charger title and support charge mode information generation corresponding to charger list;Each charging of the terminal into list Device sends connection request, establishes low-power consumption bluetooth with each charger successively and is connected, and traversal finds out the charging with the terminal coupling Device;The terminal is established low-power consumption bluetooth with the charger matched and is connected, and notice charger starts fast charge pattern, and charger passes through Power line output charging quickly flow to the terminal, opens fast charge pattern;Use filling with common charging and quick-charge function Electrical equipment is with common charging and the terminal quick charge of quick-charge function, is provided commonly for terminal under other charging scenarios Charging.I.e. terminal only need to be connected upper charger by user with power line, automatically according to charger and the charge type of terminal for eventually End selects optimal charging scheme.At the same time, charger can be made during quick charge to fully charged and abnormal conditions Corresponding operation and processing.Charger and terminal usually keep relatively low stand-by power consumption, while easy to use, simple to operate, save Shi Shengli, demand of the user for the quick continuation of the journey of terminal power is met well, bring to user and greatly facilitate.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (8)

1. a kind of charger charging method based on low-power consumption bluetooth, it is characterised in that comprise the following steps:
A, at least one broadcasted equipped with the charger of low-power consumption bluetooth by low-power consumption mode to surrounding in a manner of it can connect non-directional Each self-corresponding charger title and the charge mode information supported;
B, each charger that terminal scanning is being broadcasted, according to charger title corresponding to each charger and the charge mode supported Charger list corresponding to information generation;
C, the terminal sends connection request to each charger, establishes low-power consumption bluetooth with each charger successively and is connected, traversal is looked for Go out the charger with the terminal coupling;
D, the terminal is established low-power consumption bluetooth with the charger matched and is connected, and notice charger starts fast charge pattern, charger Charging quickly is exported by power line and flow to the terminal, opens fast charge pattern;
The step C is specifically included:
C1, terminal are established low-power consumption bluetooth with first charger in the charger list and are connected;
C2, message sent to first charger by low-power consumption bluetooth, first charger pass through after receiving message Power line making alive;
C3, terminal detection voltage change waveform simultaneously record, and then disconnecting low-power consumption bluetooth with first charger is connected;
C4, terminal are established low-power consumption bluetooth with the remaining charger in the charger list successively and are connected, record terminal detection The voltage change waveform number arrived, low-power consumption bluetooth connection is disconnected, is searched and the terminal coupling until by ergodic algorithm Charger.
2. the charger charging method according to claim 1 based on low-power consumption bluetooth, it is characterised in that in the step After D, in addition to:
E1, during charger quick charge, terminal detects whether abnormal conditions, if any exception, passes through low-power consumption Bluetooth connection feeds back to bimodulus charger and notified extremely;
E2, terminate when charger quick charge, after terminal power is full of, terminal is connected to charger by low-power consumption bluetooth and sent Message informing electricity is full of, and after charger receives above-mentioned message, stops power supply, and disconnects low-power consumption bluetooth connection, returns to sky Not busy state, is broadcasted with low-power consumption mode again.
3. the charger charging method according to claim 2 based on low-power consumption bluetooth, it is characterised in that the abnormal feelings Condition includes:
The power cord of terminal and charger from and terminal is not completely filled with electricity, terminal is because quick charge causes temperature mistake High or terminal quick-charge function can not normal work.
4. the charger charging method according to claim 1 based on low-power consumption bluetooth, it is characterised in that the charger For bimodulus charger, the terminal is bimodulus charging terminal.
5. the charger charging method according to claim 1 based on low-power consumption bluetooth, it is characterised in that the charger For bimodulus charger, when the terminal is single mode charging terminal, single mode charging terminal will not actively go to scan and travel through bimodulus Charger, it is not notified that bimodulus charger starts fast charge.
A kind of 6. charger charging system based on low-power consumption bluetooth, it is characterised in that including:
Broadcast module, at least one equipped with low-power consumption bluetooth charger it is non-fixed that can connect to surrounding with low-power consumption mode Each self-corresponding charger title and the charge mode information supported are broadcasted to mode;
Charger List Generating Module, for each charger broadcasted by terminal scanning, according to corresponding to each charger Charger list corresponding to charger title and the charge mode information generation supported;
Matching module, for sending connection request to each charger by the terminal, establish low-power consumption with each charger successively Bluetooth connection, traversal find out the charger with the terminal coupling;
Fast charge module, it is connected for establishing low-power consumption bluetooth with the charger matched by the terminal, notice charger starts Fast charge pattern, charger export charging quickly by power line and flow to the terminal, open fast charge pattern;
The matching module includes:
Connection establishment unit, connect for establishing low-power consumption bluetooth by first charger in terminal and the charger list Connect;
Presser unit, for sending message to first charger by low-power consumption bluetooth, first charger receives Pass through power line making alive after message;
Switching units are connected, for detecting voltage change waveform by terminal and recording, are then disconnected with first charger low Power consumption bluetooth connection;
Traversal Unit, connect for establishing low-power consumption bluetooth with the remaining charger in the charger list successively by terminal Connect, the voltage change waveform number that record terminal detects, disconnect low-power consumption bluetooth connection, searched until by ergodic algorithm With the charger of the terminal coupling.
7. the charger charging system according to claim 6 based on low-power consumption bluetooth, it is characterised in that also include:
Abnormality detection module, for during charger quick charge, terminal to detect whether abnormal conditions, if any different Often, bimodulus charger is fed back to by low-power consumption bluetooth connection to notify extremely;
Fast charge terminate module, for terminating when charger quick charge, after terminal power is full of, terminal is connected by low-power consumption bluetooth Connect to charger transmission message informing electricity and be full of, after charger receives above-mentioned message, stop power supply, and disconnect low-power consumption indigo plant Tooth connects, and returns to idle condition, is broadcasted again with low-power consumption mode.
8. the charger charging system according to claim 6 based on low-power consumption bluetooth, it is characterised in that the charger For bimodulus charger, the terminal is bimodulus charging terminal.
CN201510139919.3A 2015-03-27 2015-03-27 A kind of charger charging method and system based on low-power consumption bluetooth Active CN104835990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510139919.3A CN104835990B (en) 2015-03-27 2015-03-27 A kind of charger charging method and system based on low-power consumption bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510139919.3A CN104835990B (en) 2015-03-27 2015-03-27 A kind of charger charging method and system based on low-power consumption bluetooth

Publications (2)

Publication Number Publication Date
CN104835990A CN104835990A (en) 2015-08-12
CN104835990B true CN104835990B (en) 2017-11-10

Family

ID=53813716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510139919.3A Active CN104835990B (en) 2015-03-27 2015-03-27 A kind of charger charging method and system based on low-power consumption bluetooth

Country Status (1)

Country Link
CN (1) CN104835990B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4060856A1 (en) * 2021-03-19 2022-09-21 Beijing Xiaomi Mobile Software Co., Ltd. Charging control method and apparatus, electronic device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105449786B (en) * 2015-12-31 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
JP6518220B2 (en) * 2016-09-13 2019-05-22 株式会社デンソーテン Terminal detection method and communication apparatus
CN110446194B (en) * 2019-07-02 2023-05-23 广州视睿电子科技有限公司 Intelligent pen control method and intelligent pen

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205901A (en) * 2012-04-03 2014-12-10 高通股份有限公司 System and method for wireless power control communication using bluetooth low energy
CN104281802A (en) * 2013-07-01 2015-01-14 宏达国际电子股份有限公司 Method for wireless charging authentication and related wireless charging system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8694409B2 (en) * 2008-09-29 2014-04-08 Battelle Memorial Institute Using bi-directional communications in a market-based resource allocation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205901A (en) * 2012-04-03 2014-12-10 高通股份有限公司 System and method for wireless power control communication using bluetooth low energy
CN104281802A (en) * 2013-07-01 2015-01-14 宏达国际电子股份有限公司 Method for wireless charging authentication and related wireless charging system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4060856A1 (en) * 2021-03-19 2022-09-21 Beijing Xiaomi Mobile Software Co., Ltd. Charging control method and apparatus, electronic device and storage medium

Also Published As

Publication number Publication date
CN104835990A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104540090B (en) A kind of networking interconnecting method and system based on low-power consumption bluetooth
CN104539323B (en) A kind of Bluetooth Low Energy networking interconnecting method and system
CN100386995C (en) Management server and mobile terminal
US10827334B2 (en) Method and apparatus for connecting devices using Bluetooth LE technology
CN102893558B (en) For the method and apparatus of the session route in domestic network system
CN104835990B (en) A kind of charger charging method and system based on low-power consumption bluetooth
KR101700937B1 (en) Method and apparatus for service discovery in WiFi direct network
WO2013015623A2 (en) Method and apparatus for device/service discovery and channel access control in proximity device-to-device wireless communication
KR101494123B1 (en) Hybrid networking simple-connect setup using proxy device
CN102821447B (en) Terminal and data communications method
TW201008345A (en) Multi-rate peer discovery methods and apparatus
CN103222287A (en) Probe messaging for direct link connections
CN101409871B (en) Long-distance remote-control method, system and remote-control device
US11576100B2 (en) Method for performing handover by using Bluetooth in wireless communication system, and device therefor
CN113141671B (en) Communication method and device of wifi device and computer readable storage medium
CN108432311A (en) A kind of resource request method, equipment, network side node and system
CN106569553A (en) Display device with wireless charging function
JP3851587B2 (en) Wireless communication terminal device and wireless communication relay device
CN102111728B (en) Network connection management module and method of mobile terminal
CN102892157B (en) WLAN keeps the method and system of continuation when switching to WLAN or 3G
CN112422300B (en) Cloud network private line management method based on block chain, UPF and block chain platform
CN105828253A (en) Wireless connection control method and device in audio playing system
KR20140021157A (en) Apparatus and method for providing group communication service
CN108684021A (en) A kind of Bluetooth Low Energy communication means and device
CN102857918A (en) Vehicle-mounted communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231109

Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen reliable intellectual property service Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231227

Address after: 518000 Room 201, 101, a, building C, No. 24-1, Longxing Road, Dakang community, Yuanshan street, Longgang District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN WAWEIS TECHNOLOGY CO.,LTD.

Address before: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee before: Xiamen reliable intellectual property service Co.,Ltd.

TR01 Transfer of patent right