Summary of the invention
For the bluetooth equipment solving prior art can not the technical problem of promptness electric energy supplement, the invention provides a kind of charging device, connect bluetooth equipment, with the electric energy making bluetooth equipment supplement bluetooth equipment in time under the state of low-power consumption, and provide communication service to the bluetooth equipment communicated in time, avoid bluetooth equipment because of the impact use of electric energy deficiency or affect communication because of charging.
The invention provides a kind of charging device, comprise body, open the interface unit for connecting bluetooth equipment at body outer surface, and be fixed on the battery unit of body interior, battery unit is connected with interface unit, this charging device also comprises the control unit be connected with battery unit respectively, communication unit, dormancy unit, wherein, communication unit is connected with interface unit, and control unit also respectively with communication unit, dormancy unit, interface unit connects, communication unit receives the signal of communication of bluetooth equipment and establishes a communications link with described bluetooth equipment, signal of communication is sent to control unit simultaneously, control unit controls charged state and the park mode of described bluetooth equipment by the electricity of more described bluetooth equipment and power threshold.
Further, described communication unit comprises communication control module, the signal of communication detection module be connected with communication control module respectively, blue tooth voice communication module, bluetooth data communication module, whether signal of communication detection module exists signal of communication for detecting bluetooth equipment, have and then send signal of communication to communication control module, otherwise continue to detect; Communication control module sends signal of communication to control unit after receiving the signal of communication of signal of communication detection module transmission, whether analyze this signal of communication is voice signal simultaneously, be then send voice link order to blue tooth voice communication module, otherwise send data cube computation instruction to bluetooth data communication module; Blue tooth voice communication module is set up after receiving voice link order and is connected with the voice of bluetooth equipment; Bluetooth data communication module sets up the data cube computation with bluetooth equipment after receiving data cube computation instruction.
Further, communication unit also comprise respectively with the memory module of blue tooth voice communication module, bluetooth data communication model calling, memory module is used for store storage voice messaging or data message.
Further, the detection module that control unit comprises processing module, is connected with processing module, detection module is for detecting the electricity of bluetooth equipment and being sent to processing module; The electricity of reception and the power threshold preset compare by processing module, if electricity≤power threshold, first processing module sends charging instruction control battery unit to battery unit and charges to bluetooth equipment, and after the charging completion signal receiving detection module transmission, analyze the signal of communication whether receiving communication unit and send, be do not process, otherwise send dormancy instruction to dormancy unit; If electricity > power threshold, whether processing module analysis receives the signal of communication that communication unit sends, and is do not process, otherwise is switched to park mode to dormancy unit transmission dormancy instruction control bluetooth equipment.
Further, control unit also comprises the alarm module be connected with processing module, after processing module receives the battery unit electricity that detection module detects, battery unit electricity is compared with the battery unit alarm threshold value preset, when battery unit electricity is less than or equal to battery unit alarm threshold value, processing module sends alarm command to alarm module, and alarm module receives that alarm command is backward externally sends information.
Further, also have external power supply linkage unit outside body, external power interface is connected with battery unit, control unit respectively.
Further, control unit comprises processing module, the detection module be connected with processing module respectively, external power supply detection module, and detection module is for detecting the electricity of bluetooth equipment and being sent to processing module; Whether external power supply detection module is connected with external power supply for detecting external power supply linkage unit, has external power supply then to send external power supply signal to processing module, otherwise continues to detect; The electricity of reception and the power threshold preset compare by processing module, when processing module compares electricity≤power threshold, analyze whether receive external power supply signal, then send charging instruction to battery unit without external power supply signal; Have external power supply then to switch external power supply to charge to bluetooth equipment, and after the bluetooth equipment charging completion signal receiving detection module transmission, analyze the signal of communication whether receiving communication unit and send, signal of communication is had then not deal with, if send dormancy instruction without signal of communication processing module to dormancy unit; Simultaneously detection module is sent battery unit electricity and compares with the battery unit charge threshold preset by processing module, judge whether battery unit electricity is greater than battery unit charge threshold, is, does not process, otherwise control external power supply charges to battery unit.
Further, control unit also comprises the charging interval computing module be connected with processing module, and charging interval computing module calculates the time of bluetooth equipment charging complete according to the bluetooth equipment electricity that processing module is sent, and this time is sent to processing module.
Further, this charging device also comprises the interaction control unit be connected with control unit, the display module that interaction control unit comprises threshold module, is connected with threshold module, threshold module is for arranging the power threshold to bluetooth equipment charging preset in control unit; Display module is used for display and arranges numerical value.
Further, dormancy unit also comprises time interval module, receives for arranging dormancy unit the time interval sending dormancy information after dormancy information to bluetooth equipment.
Present invention also offers a kind of charge control method, described charge control method charges based on above-mentioned Bluetooth charging device,
S1, bluetooth equipment to be connected with described charging device;
The signal of communication of the bluetooth equipment in S2, detection S1, and be sent to control unit, this signal of communication is carried out the communication connection analyzing rear foundation and bluetooth equipment simultaneously;
S3, the electricity of the bluetooth equipment in S1 to be compared with power threshold, if electricity > power threshold, perform step S4, otherwise perform step S5;
Whether S4, analysis bluetooth equipment communicate, and are do not deal with, otherwise switch to park mode;
S5, utilize battery unit to charge to bluetooth equipment, and whether communicate at this bluetooth equipment of charging complete post analysis, be do not deal with, otherwise switch to park mode.
Further, the concrete operations of described step S2 are: the signal of communication whether S21, detection bluetooth equipment exist, and are perform step S22, otherwise continue to detect; S22, signal of communication is sent to control unit, judges whether this signal of communication is voice communication signals, is perform step 23 simultaneously, otherwise perform step 24; S23, this bluetooth equipment voice communication signals is connected to the blue tooth voice communication module of charging device; S24, this bluetooth devices signal is connected to the bluetooth data communication module of charging device.
Further, also comprise S50 before S5 step, detect whether have external power supply, have, switch external power supply and charge to bluetooth equipment, and whether communicate at this bluetooth equipment of charging complete post analysis, be do not deal with, otherwise switch to park mode.
Further, this charge control method also comprises step S6, utilizes external power supply after bluetooth equipment charging complete, battery unit electricity and the battery unit charge threshold preset is compared by processing module, judge whether battery unit electricity is greater than battery unit charge threshold, be do not process, otherwise control external power supply charge to battery unit.
Bluetooth equipment described in the present invention is selectable is bluetooth earphone, also can be other bluetooth equipments such as blue tooth vehicular, bluetooth earphone, bluetooth MP3, bluetooth flash disk, Bluetooth adapter, Bluetooth gateway, bluetooth CF card etc. based on Bluetooth transmission.
Charging device of the present invention can not only charge for bluetooth equipment, the bluetooth equipment of charging complete is proceeded to park mode to reduce power consumption, and the bluetooth equipment simultaneously for carrying out communicating sets up channel, for it provides communication service.
Embodiment
Below in conjunction with accompanying drawing, explanation is explained in detail to structure of the present invention.
Embodiment 1
Charging device as Figure 1-3, comprise body 1, open the interface unit 2 for connecting bluetooth equipment at body outer surface, and be fixed on the battery unit 3 of body interior, battery unit is connected with interface unit, this charging device also comprises the control unit 4 be connected with battery unit respectively, communication unit 5, dormancy unit 6, wherein, communication unit is connected with interface unit, and control unit also respectively with communication unit, dormancy unit, interface unit connects, communication unit receives the signal of communication of bluetooth equipment and establishes a communications link with described bluetooth equipment, signal of communication is sent to control unit simultaneously, control unit controls charged state and the park mode of described bluetooth equipment by the electricity of more described bluetooth equipment and power threshold.
The detection module 42 that control unit comprises processing module 41, is connected with processing module, detection module is for detecting the electricity of bluetooth equipment and being sent to processing module; The electricity of reception and the power threshold preset compare by processing module, if electricity≤power threshold, first processing module sends charging instruction control battery unit to battery unit and charges to bluetooth equipment, and after the charging completion signal receiving detection module transmission, analyze the signal of communication whether receiving communication unit and send, be do not process, otherwise send dormancy instruction to dormancy unit; If electricity > power threshold, whether processing module analysis receives the signal of communication that communication unit sends, and is do not process, otherwise is switched to park mode to dormancy unit transmission dormancy instruction control bluetooth equipment.
Described communication unit comprises communication control module 51, the signal of communication detection module 52 be connected with communication control module respectively, blue tooth voice communication module 53, bluetooth data communication module 54, whether signal of communication detection module exists signal of communication for detecting bluetooth equipment, have and then send signal of communication to communication control module, otherwise continue to detect; Communication control module sends signal of communication to control unit after receiving the signal of communication of signal of communication detection module transmission, whether analyze this signal of communication is voice signal simultaneously, be then send voice link order to blue tooth voice communication module, otherwise send data cube computation instruction to bluetooth data communication module; Blue tooth voice communication module is set up after receiving voice link order and is connected with the voice of bluetooth equipment; Bluetooth data communication module sets up the data cube computation with bluetooth equipment after receiving data cube computation instruction.This charging device also comprises the interaction control unit 8 be connected with control unit, the display module 82 that interaction control unit comprises threshold module 81, is connected with threshold module, and threshold module is for arranging the power threshold to bluetooth equipment charging preset in control unit; Display module is for showing the numerical value of setting.
In the present embodiment, communication unit also comprise respectively with the memory module 55 of blue tooth voice communication module, bluetooth data communication model calling, memory module is used for stored voice message or data message.
In the present embodiment, control unit also comprises the alarm module 43 be connected with processing module, after processing module receives the battery unit electricity that detection module detects, battery unit electricity is compared with the battery unit alarm threshold value preset, when battery unit electricity is less than or equal to battery unit alarm threshold value, processing module sends alarm command to alarm module, and alarm module receives that alarm command is backward externally sends information.
In the present embodiment, control unit also comprises the charging interval computing module 45 be connected with processing module, charging interval computing module calculates the time of bluetooth equipment charging complete according to the bluetooth equipment electricity that processing module is sent, and this time is sent to processing module.
In a particular embodiment, interactive operation unit can be touching display screen, also can be LCDs and enter key.Display module is for showing the power threshold of setting.
During concrete enforcement, shown in interaction control unit also can select to set up set of time module for arranging the charging interval, for sending the reminding module of information when utilizing the charging interval of set of time module installation to reach, set of time module is connected with reminding module.Described set of time module machine threshold setting module is all selectable is set to button or touch-screen.Bluetooth equipment can be arranged power threshold, charging interval, the time interval by enter key by user, and is shown the information such as the power threshold of user's setting by LCDs (upside).
During concrete enforcement, dormancy unit is also selectable comprises time interval module, receives for arranging dormancy unit the time interval sending dormancy information after dormancy information to bluetooth equipment.User is by the operating interactive control unit selectable time arranging power threshold, charge to bluetooth equipment.
During concrete enforcement, the selectable power threshold to bluetooth equipment charging processing module arranged is set to 15%, and when bluetooth equipment electricity is less than or equal to 15%, to bluetooth equipment charging, also selectable this power threshold being set to is greater than 0 other numerical value.The access unit of charging device is the interface connecting bluetooth equipment.
Communication unit operation principle: after bluetooth equipment being accessed charging device, control unit and communication unit work simultaneously.Communication unit detects the signal of communication of this bluetooth equipment and analyzes it, has signal of communication then to be connected by the signal of communication of this bluetooth equipment and is switched to charging device of the present invention, send signal of communication information simultaneously to control unit.
Control unit operation principle: control unit utilizes detection module while implementing (concrete selectable be set to electric quantity detecting circuit) to detect the electricity of bluetooth equipment, and this information about power is sent to processing module (selectable is controller or processor), by processing module, this electricity and power threshold are compared, when its electricity≤power threshold, processing module sends charging instruction to battery unit, battery unit (battery unit comprises battery pack) charges to bluetooth equipment after receiving charging instruction, in charging process, if when the battery unit electricity that processing module receives is less than or equal to alarm threshold value (threshold value that battery unit electricity is low), processing module sends alarm command to alarm module, externally information is sent by alarm module.After receiving charging completion signal, processing module judges whether the signal of communication information receiving communication unit transmission, receive signal of communication then not deal with, do not receive, send dormancy instruction by processing module (processor) to dormancy unit while implementing (concrete selectable be set to dormant circuit), to be connected with bluetooth equipment dormancy electricity by dormancy unit and to switch to park mode; When processing module judges electricity > power threshold, analyze the signal of communication information whether receiving communication unit and send, receive, do not deal with, otherwise processing module sends dormancy instruction to dormancy unit, is switched to park mode by dormancy unit controls bluetooth equipment.
Embodiment 2
Charging device as Figure 4-Figure 6, it also has external power supply linkage unit 7 outside body on the basis of embodiment 1, and external power interface is connected with battery unit, control unit respectively.Control unit comprises processing module 41, the detection module 42 be connected with processing module respectively, external power supply detection module 44, and detection module is for detecting the electricity of bluetooth equipment and being sent to processing module; Whether external power supply detection module is connected with external power supply for detecting external power supply linkage unit, has external power supply then to send external power supply signal to processing module, otherwise continues to detect; The electricity of reception and the power threshold preset compare by processing module, when processing module compares electricity≤power threshold, analyze whether receive external power supply signal, then send charging instruction to battery unit without external power supply signal; Have external power supply then to switch external power supply to charge to bluetooth equipment, and after the bluetooth equipment charging completion signal receiving detection module transmission, analyze the signal of communication whether receiving communication unit and send, signal of communication is had then not deal with, if send dormancy instruction without signal of communication processing module to dormancy unit; Simultaneously detection module is sent battery unit electricity and compares with the battery unit charge threshold preset by processing module, judge whether battery unit electricity is greater than battery unit charge threshold, is, does not process, otherwise control external power supply charges to battery unit.
During concrete enforcement, external power supply linkage unit is selectable is USB connection interface, also can select to be set to other types connecting interface.The selectable charge threshold by battery unit is set to 10%.
After when processing module compares electricity≤power threshold, first processing module judges whether to receive the external power supply signal that external power supply detection module (external power supply detection module is selectable is set to high voltage pulse testing circuit) sends, have, switch external power supply and charge to bluetooth equipment, after bluetooth equipment charging complete, and after the bluetooth equipment charging completion signal receiving detection module transmission, analyze the signal of communication whether receiving communication unit and send, signal of communication is had then not deal with, if send dormancy instruction without signal of communication processing module to dormancy unit, simultaneously detection module is sent battery unit electricity and compares with the battery unit charge threshold preset by processing module, judge whether battery unit electricity is greater than battery unit charge threshold, is, does not process, otherwise control external power supply charges to battery unit
Embodiment 3
A kind of charge control method as shown in Figure 3, comprises the steps, S1, is connected with Bluetooth charging device by bluetooth equipment; The signal of communication of the bluetooth equipment in S2, detection S1, and be sent to control unit, this signal of communication is carried out the communication connection analyzing rear foundation and bluetooth equipment simultaneously; S3, the electricity of the bluetooth equipment in S1 to be compared with power threshold, if electricity > power threshold, perform step S4, otherwise perform step S5; Whether S4, analysis bluetooth equipment communicate, and are do not deal with, otherwise switch to park mode; S5, utilize battery unit to charge to bluetooth equipment, and perform step S6 after charging complete; S6, analyze this bluetooth equipment and whether communicate, be do not deal with, otherwise switch to park mode.The concrete operations of described step S2 are: the signal of communication whether S21, detection bluetooth equipment exist, and are perform step S22, otherwise continue to detect; S22, signal of communication is sent to control unit, judges whether this signal of communication is voice communication signals, is perform step 23 simultaneously, otherwise perform step 24; S23, this bluetooth equipment voice communication signals is connected to the blue tooth voice communication module of charging device; S24, this bluetooth devices signal is connected to the bluetooth data communication module of charging device.
In the present embodiment, bluetooth equipment is selectable is set to bluetooth earphone.Be 15% the present invention is described for power threshold below.Alarm threshold value is set to 2%.
This bluetooth earphone is connected with this bluetooth earphone of the present invention by interface unit (this interface unit can be connecting interface, this connecting interface be connected with Bluetooth charging device of the present invention access this Bluetooth charging device circuit).
First detect this bluetooth earphone by signal of communication detection module in communication unit whether to converse, be then send signal of communication to communication control unit, otherwise continue to detect; Communication control unit sends signal of communication to control unit after receiving signal of communication, this signal of communication is analyzed simultaneously, determine whether voice communication signals, that signal of communication is sent to voice communications module, by voice communications module, the signal of communication of bluetooth equipment is transferred to charging device of the present invention, because this bluetooth equipment is bluetooth earphone, the charging device of the present invention therefore signal of communication of this bluetooth earphone is transferred to.
If detect that the electricity of this bluetooth earphone is 30%.Therefore 30% is greater than 15%, if processing module does not receive the signal of communication information that communication control module sends, so processing module sends dormancy instruction directly to dormancy unit, by dormancy unit, this bluetooth earphone is switched to park mode; If receive the signal of communication information that communication control module sends, so this bluetooth earphone is conversed, and does not so process.
If detect that the electricity of this bluetooth earphone is 10%.Therefore 10% is less than 15%, therefore first processing module sends charging instruction to battery unit, battery unit is in bluetooth equipment charging process, if the battery unit electricity that processing module receives is 1%, be less than alarm threshold value, therefore processing module sends alarm command to alarm module, externally sends information (information as not enough in prompting battery electric quantity) by alarm module; When after the detection module transmission charging completion signal that processing module receives, processing module judges whether the signal of communication information receiving communication unit transmission, do not receive, show this bluetooth earphone not in communication, so processing module sends dormancy instruction to dormancy unit, by dormancy unit, this bluetooth earphone is switched to park mode; Receive, this bluetooth earphone known communicates, and does not so process.
Embodiment 4
Charge control method as shown in Figure 4, it is on the basis of embodiment 3, also comprise SS50 before S5 step, detect whether have external power supply, have, switch external power supply and charge to bluetooth equipment, and step S6 is performed after charging complete, processing module compares battery unit electricity and the battery unit charge threshold preset simultaneously, judges whether battery unit electricity is greater than battery unit charge threshold, be do not process, otherwise control external power supply charge to battery unit.
When electricity≤power threshold, analyzed by processing module and whether receive external power supply signal (this external power supply signal is sent by external power supply detection module, external power supply detection module detects that external power supply then sends external power supply signal to processing module, otherwise continue to detect), there is external power supply signal, processing module switches external power supply and charges to bluetooth equipment, after processing module receives the charging completion signal of detection module transmission, whether processing module analysis receives the signal of communication information that communication unit sends, if receive the signal of communication that communication control unit sends, do not process, if do not receive, send dormancy instruction control bluetooth equipment by processing module to dormancy unit and be switched to park mode.
If processing module does not receive external power supply signal, processing module sends charging instruction to battery unit and charges to bluetooth equipment, after processing module receives the charging completion signal of detection module transmission, analyze the signal of communication information whether receiving communication unit and send, there is signal of communication information and then do not process; There is not signal of communication information and be then switched to park mode by processing module to dormancy unit transmission dormancy instruction control bluetooth equipment.If processing module receives external power supply signal, processing module switches external power supply and charges to bluetooth equipment, after processing module receives the charging completion signal of detection module transmission, analyze the signal of communication information whether receiving communication unit and send, the battery unit electricity simultaneously detected by detection module compares with the battery unit charge threshold preset, if battery unit electricity is greater than charge threshold, do not process, otherwise processing unit switching external power supply charges to battery unit.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all do in flesh and blood of the present invention any amendment, equivalent to replace and simple modifications etc., all should be included within protection scope of the present invention.