CN106658388A - Bluetooth gateway - Google Patents

Bluetooth gateway Download PDF

Info

Publication number
CN106658388A
CN106658388A CN201710155631.4A CN201710155631A CN106658388A CN 106658388 A CN106658388 A CN 106658388A CN 201710155631 A CN201710155631 A CN 201710155631A CN 106658388 A CN106658388 A CN 106658388A
Authority
CN
China
Prior art keywords
bluetooth
module
cpu
equipment
data packet
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
CN201710155631.4A
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.)
Electrical appliances Co., Ltd.
Original Assignee
Zhejiang Ant Precision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Ant Precision Technology Co Ltd filed Critical Zhejiang Ant Precision Technology Co Ltd
Priority to CN201710155631.4A priority Critical patent/CN106658388A/en
Publication of CN106658388A publication Critical patent/CN106658388A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The invention discloses a Bluetooth gateway. According to the technology, a Bluetooth is utilized as a transmission mode; a Bluetooth intelligent device sends a data packet in a specific format; the gateway after receiving the data packet carries out analytical processing on the data packet and reports the analytical processing result to a server at the cloud end by utilizing WiFi for recording the state of the device or initializes Bluetooth connection actively to finish software update. The gateway solves the problem that the Bluetooth device after obtaining data information is inconvenient to report the information to the server, and breaks the limitation that software update of the Bluetooth intelligent device depends on a mobile phone APP.

Description

Bluetooth gateway
Technical field
The present invention relates to Bluetooth gateway technology, and in particular to a kind of Bluetooth gateway based on ESP32.
Background technology
Existing blue-tooth intelligence device data reporting functions and software upgrading function, main scheme is using mobile phone A PP Smart machine is connected to by Bluetooth technology, as shown in figure 1, complete data using cell phone network upload, or it is blue using mobile phone Tooth completes the software upgrading to blue-tooth intelligence equipment.The program is affected by mobile phone A PP, when the not connected handss of blue-tooth intelligence equipment When machine APP, it is impossible to which the data message for getting is uploaded to into server, software upgrading cannot be also carried out.
The content of the invention
The present invention is directed to the problems referred to above, there is provided a kind of Bluetooth gateway, solves blue-tooth intelligence equipment and is not connecting handss During machine APP, the data message for getting can be uploaded to server, it is ensured that the integrity to bluetooth equipment usage record, Automatically updating for blue-tooth intelligence device software can be carried out.
To solve above-mentioned technical problem, one aspect of the present invention is:Bluetooth gateway, including main control chip, Main control chip has CPU, bluetooth module, WIFI module, the bluetooth equipment information that cpu cache bluetooth module is detected, bluetooth mould Block passively receives the one-way transmission of bluetooth equipment broadcast data packet, and the broadcast data packet that CPU parsing bluetooth modules are received simultaneously is utilized Analysis result is uploaded to cloud server and downloads the software upgrading content of corresponding bluetooth equipment demand by WIFI module, and The update content is sent to corresponding bluetooth equipment by bluetooth module, after update content is sent, CPU actively disconnects blue The connection of tooth module and bluetooth equipment, in WIFI module in the state of being not connected with, cpu cache analysis result.
Used as the preferred of such scheme, also including administrative mechanism module, the module is used to recognize bluetooth equipment to bluetooth mould The broadcast data packet of block transmission, only parses once to the identical broadcasts packet CPU of same equipment.
As the preferred of such scheme, also including time block, exceed in time block setting time not in bluetooth equipment Broadcast data packet, CPU release bluetooth equipment information are sent to bluetooth module.
The invention has the beneficial effects as follows:Indigo plant can be in time received while listening for multiple blue-tooth intelligence equipment, server The use information of tooth smart machine, while can also be to the automatic software updating of blue-tooth intelligence equipment, so that blue-tooth intelligence sets For departing from the dependence to mobile phone APP.
Description of the drawings
Fig. 1 is that traditional blue-tooth intelligence equipment uses scene;
Fig. 2 is the use scene of the present invention.
Specific embodiment
With reference to embodiment, the specific embodiment of the present invention is further described.
As shown in Figure 1-2, Bluetooth gateway, including main control chip, main control chip has CPU, bluetooth module, WIFI module, The bluetooth equipment information that CPU active cache bluetooth modules are detected, bluetooth module passively receives bluetooth equipment broadcast data packet Analysis result is simultaneously uploaded to high in the clouds clothes by one-way transmission, the broadcast data packet that CPU parsing bluetooth modules are received using WIFI module Business device simultaneously downloads the software upgrading content of corresponding bluetooth equipment demand, and by the update content by bluetooth module send to Corresponding bluetooth equipment, after update content is sent, CPU actively disconnects the connection of bluetooth module and bluetooth equipment, in WIFI Module is in the state of being not connected with, cpu cache analysis result.
Also include administrative mechanism module, the module is used to recognize the broadcast data packet that bluetooth equipment is transmitted to bluetooth module, The identical broadcasts packet CPU of same equipment is only parsed once.
Also include time block, exceed not sent to bluetooth module in time block setting time in bluetooth equipment and broadcast number According to bag, CPU release bluetooth equipment information.
In such scheme, main control chip preferably adopts ESP32.
ESP32 as main control chip, the integrated chip BLE and WiFi technology, it is adaptable to the design of Bluetooth gateway.Utilize Bluetooth gateway, monitors the broadcast data packet that blue-tooth intelligence equipment sends, and for the bluetooth data packets of special format, carries out data solution Analysis, according to different types of data, Bluetooth gateway responds different behaviors.Concrete behavior is broadly divided into two kinds:
1, using the WIFI module of ESP32, by the data is activation of bluetooth equipment broadcast to cloud server, so as to complete bluetooth number According to upload function.
2, ESP32 main control chips actively initiate bluetooth connection, and the software upgrading content push of blue-tooth intelligence equipment is given The equipment, so as to complete the software upgrading to blue-tooth intelligence equipment.
Fig. 2 illustrates the groundwork scene of Bluetooth gateway, and Bluetooth gateway receives the broadcast message of IoT bluetooth equipments, and Cloud server is uploaded to, corresponding information pushing to user mobile phone, is made user understand IoT bluetooths in real time and set by cloud server Standby service condition.The Bluetooth gateway adopts ESP32 for main control chip, and ESP32 is integrated with the function of bluetooth and WiFi, therefore nothing Other peripheral hardwares need to be carried so that the volume of gateway is less, using convenient.The major function of Bluetooth gateway has two kinds:1, will The broadcast data of IoT bluetooth equipments is uploaded to cloud server, 2, actively connect IoT bluetooth equipments, and its software is carried out from It is dynamic to update.
For the detailed description of data upload function, Bluetooth gateway receives the broadcast data packet of multiple IoT bluetooth equipments simultaneously, right Its data dissection process, encapsulation extension.In the case of WiFi in connection, actively information is uploaded to into cloud server, if In the case of not connected WiFi, Bluetooth gateway does certain data buffer storage, after WiFi successful connections, by the data of caching Pass to server.
The software of the function realizes that Bluetooth gateway is not attached with IoT bluetooth equipments, and data transfer direction is bluetooth network Close the passive one-way transmission for receiving broadcast data.For the identical broadcasts packet from same equipment, Bluetooth gateway is only parsed Once, used with the CPU for reducing Bluetooth gateway.There is administrative mechanism to IoT bluetooth equipments inside Bluetooth gateway, for specific The status information of IoT bluetooth equipments is uploaded much sooner efficiently, while within a certain period of time, is not collected certain IoT bluetooth and is set Standby broadcast data, Bluetooth gateway can discharge the facility information, reduce the occupancy to Bluetooth gateway internal memory.
For IoT bluetooth equipments are actively connected, the detailed description of automatic software updating function is carried out, IoT bluetooth equipments send certain Individual specific broadcast data packet, be different from data upload broadcast data packet, Bluetooth gateway when the particular data packet is received, The IoT bluetooth equipments can actively be connected as main frame, and IoT blue-tooth intelligence equipment is given by the content push for needing to update, so as to Complete the software automatic updating function to the equipment.
The software of the function realizes that Bluetooth gateway is parsed to the broadcast data packet that IoT sends, if software is automatically more New particular data packet, then Bluetooth gateway actively set up bluetooth connection with the IoT bluetooth equipments as main frame.Utilize WiFi simultaneously With the presence or absence of the software upgrading content of the IoT bluetooth equipments on inquiry cloud server.If existing, by WiFi actively by cloud Software upgrading content on the server of end is downloaded, and the bluetooth connection by having built up, and the update content is sent to into IoT blue Tooth equipment, after update content is completely sent, actively disconnects bluetooth connection, so as to complete the software to IoT bluetooth equipments Automatically update.
Advantages of the present invention, is just so that IoT bluetooth equipments depart from the dependence to mobile phone APP, completes IoT bluetooth equipments Data are uploaded in real time and automatic software updating, allow user in real time to understand the service condition of IoT bluetooth equipments
For a person skilled in the art, still the technical scheme described in foregoing embodiments can be modified, Or carry out equivalent to which part technical characteristic, all any modifications within the spirit and principles in the present invention, made, etc. With replacement, improvement etc., should be included within the scope of the present invention.

Claims (3)

1. Bluetooth gateway, it is characterised in that including main control chip, main control chip has CPU, bluetooth module, WIFI module, CPU The bluetooth equipment information that caching bluetooth module is detected, bluetooth module passively receives the unidirectional biography of bluetooth equipment broadcast data packet Defeated, analysis result is simultaneously uploaded to cloud server simultaneously by the broadcast data packet of CPU parsing bluetooth module receptions using WIFI module Download the software upgrading content of corresponding bluetooth equipment demand, and the update content is sent to corresponding by bluetooth module Bluetooth equipment, after update content is sent, CPU actively disconnects the connection of bluetooth module and bluetooth equipment, at WIFI module In the state of not connected, cpu cache analysis result.
2. Bluetooth gateway as claimed in claim 1, it is characterised in that also including administrative mechanism module, the module is used to recognize The broadcast data packet that bluetooth equipment is transmitted to bluetooth module, only parses once to the identical broadcasts packet CPU of same equipment.
3. Bluetooth gateway as claimed in claim 1 or 2, it is characterised in that also including time block, it is fixed to exceed in bluetooth equipment When the module settings time in not to bluetooth module send broadcast data packet, CPU release bluetooth equipment information.
CN201710155631.4A 2017-03-16 2017-03-16 Bluetooth gateway Pending CN106658388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710155631.4A CN106658388A (en) 2017-03-16 2017-03-16 Bluetooth gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710155631.4A CN106658388A (en) 2017-03-16 2017-03-16 Bluetooth gateway

Publications (1)

Publication Number Publication Date
CN106658388A true CN106658388A (en) 2017-05-10

Family

ID=58847630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710155631.4A Pending CN106658388A (en) 2017-03-16 2017-03-16 Bluetooth gateway

Country Status (1)

Country Link
CN (1) CN106658388A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110190986A (en) * 2019-05-07 2019-08-30 深圳绿米联创科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of device configuration
CN116266845A (en) * 2022-11-29 2023-06-20 浙江绍兴苏泊尔生活电器有限公司 Data transmission method and device
CN116266905A (en) * 2022-11-29 2023-06-20 浙江绍兴苏泊尔生活电器有限公司 Data processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465149U (en) * 2009-07-13 2010-05-12 顺丰速运(集团)有限公司 Hand-held terminal processor for tracing accelerated goods traffic in a real-time manner and transmitting numerical code information
US20150037040A1 (en) * 2013-07-30 2015-02-05 Cellco Partnership D/B/A Verizon Wireless Multiple wireless connectivity hub
CN204442712U (en) * 2015-02-10 2015-07-01 李�浩 A kind of internet of things intelligent household gateway based on WIFI-bluetooth
CN105933852A (en) * 2016-04-14 2016-09-07 爱国者电子科技有限公司 Remote communication system and method realized via Bluetooth equipment
CN205670773U (en) * 2016-06-07 2016-11-02 杭州虹云网络科技有限公司 A kind of gateway based on bluetooth configuration WiFi and door-locking system thereof
CN106255235A (en) * 2016-08-31 2016-12-21 四川金理念科技有限公司 A kind of low-power consumption bluetooth turns WIFI equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465149U (en) * 2009-07-13 2010-05-12 顺丰速运(集团)有限公司 Hand-held terminal processor for tracing accelerated goods traffic in a real-time manner and transmitting numerical code information
US20150037040A1 (en) * 2013-07-30 2015-02-05 Cellco Partnership D/B/A Verizon Wireless Multiple wireless connectivity hub
CN204442712U (en) * 2015-02-10 2015-07-01 李�浩 A kind of internet of things intelligent household gateway based on WIFI-bluetooth
CN105933852A (en) * 2016-04-14 2016-09-07 爱国者电子科技有限公司 Remote communication system and method realized via Bluetooth equipment
CN205670773U (en) * 2016-06-07 2016-11-02 杭州虹云网络科技有限公司 A kind of gateway based on bluetooth configuration WiFi and door-locking system thereof
CN106255235A (en) * 2016-08-31 2016-12-21 四川金理念科技有限公司 A kind of low-power consumption bluetooth turns WIFI equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110190986A (en) * 2019-05-07 2019-08-30 深圳绿米联创科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of device configuration
CN116266845A (en) * 2022-11-29 2023-06-20 浙江绍兴苏泊尔生活电器有限公司 Data transmission method and device
CN116266905A (en) * 2022-11-29 2023-06-20 浙江绍兴苏泊尔生活电器有限公司 Data processing method
CN116266905B (en) * 2022-11-29 2024-01-30 浙江绍兴苏泊尔生活电器有限公司 Data processing method
CN116266845B (en) * 2022-11-29 2024-02-13 浙江绍兴苏泊尔生活电器有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
US20200229033A1 (en) Method and system for group communication, group server, and group member device
CN110198275B (en) Flow control method, system, server and storage medium
CN102761864B (en) Data transmission method, system and device
US20110199901A1 (en) Method and apparatus for managing communications in a wireless communication system
RU2013110828A (en) METHOD, DEVICE AND DATA TRANSFER SYSTEM
CN111741451A (en) Small data usage enabled devices and methods for use in 3GPP networks
CN105340221A (en) Methods, apparatuses, and systems for retrieving data from a wireless local area network (WLAN) access point
CN106658388A (en) Bluetooth gateway
US20210385633A1 (en) User plane function configuration method and apparatus, and device
CN108432311A (en) A kind of resource request method, equipment, network side node and system
US20200413275A1 (en) Transfer of measurement configuration information in wireless communication networks
CN107181618A (en) Firmware upgrade method and system
CN104184834A (en) File transmission method and device and terminal
WO2017031661A1 (en) Device association method and related device
CN107534616A (en) The service quality of USB
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
KR101214714B1 (en) Method of managing data session between agent of smart card and remote administration server
CN105553865A (en) FC switch chip communication credit management testing method
US11425632B2 (en) Mechanism to provide updates to NB-IoT devices
CN104320695A (en) Method and system for family socializing of mobile device based on smart TV
CN104541557A (en) Integrated paging technique
CN103975572B (en) Radio communication device, wireless communications method and radio communication control program
CN102572807A (en) Device and method for automatically acquiring mobile phone terminal equipment model
US10003657B2 (en) Data transmission processing method and apparatus
CN106302767A (en) A kind of Internet of Things application system based on WMMP agreement

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
TA01 Transfer of patent application right

Effective date of registration: 20190619

Address after: 264209 310-3 Torch Road, Weihai high tech Zone, Shandong

Applicant after: Electrical appliances Co., Ltd.

Address before: 314000 No.8 Haining Avenue, Haining Economic Development Zone, Haining City, Jiaxing City, Zhejiang Province

Applicant before: Zhejiang ant Precision Technology Co., Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170510

WD01 Invention patent application deemed withdrawn after publication