CN114025337A - Internet of things communication system based on Bluetooth communication and communication method thereof - Google Patents

Internet of things communication system based on Bluetooth communication and communication method thereof Download PDF

Info

Publication number
CN114025337A
CN114025337A CN202111218043.3A CN202111218043A CN114025337A CN 114025337 A CN114025337 A CN 114025337A CN 202111218043 A CN202111218043 A CN 202111218043A CN 114025337 A CN114025337 A CN 114025337A
Authority
CN
China
Prior art keywords
communication unit
bluetooth
communication
terminal module
data
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
CN202111218043.3A
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.)
Shandong Electrical Engineering & Equipment Group Xinneng Technology Co ltd
Original Assignee
Shandong Electrical Engineering & Equipment Group Xinneng 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 Shandong Electrical Engineering & Equipment Group Xinneng Technology Co ltd filed Critical Shandong Electrical Engineering & Equipment Group Xinneng Technology Co ltd
Priority to CN202111218043.3A priority Critical patent/CN114025337A/en
Publication of CN114025337A publication Critical patent/CN114025337A/en
Pending legal-status Critical Current

Links

Images

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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an Internet of things communication system based on Bluetooth communication and a communication method thereof, wherein the communication system comprises a communication unit, end equipment, a terminal module and a Bluetooth module; the Bluetooth module adopts one of a Bluetooth module and an SOC mode; when the Bluetooth module is adopted, the Bluetooth module comprises a first Bluetooth module and a second Bluetooth module, and the communication unit is connected with the end equipment through the first Bluetooth module; the communication unit is connected with the terminal module sequentially through the first Bluetooth module and the second Bluetooth module; when the SOC mode is adopted, the communication unit is connected with the end equipment and the terminal module through the integrated Bluetooth of the communication unit; when the communication unit works in a master multi-slave mode, the communication unit serves as a host and actively initiates data connection with end equipment; when the communication unit is used as a slave, the communication unit receives a connection request from the terminal module to carry out Bluetooth communication. The invention has the advantages of very low static and dynamic communication power consumption, high safety and reliability, good stability and the like.

Description

Internet of things communication system based on Bluetooth communication and communication method thereof
Technical Field
The invention belongs to the technical field of power Internet of things, and particularly relates to an Internet of things communication system based on Bluetooth communication and a communication method thereof.
Background
In the existing power distribution communication technical system in China, a communication part is mainly realized by a communication module (a power line carrier, a micropower wireless communication system and the like) and an RS485 at present, and from the practical application, the RS485 and infrared modes have obvious defects, such as difficult RS485 wiring construction and low communication speed; at present, a high-speed and reliable local communication technology is urgently needed to replace RS485 and other technologies.
The Bluetooth technology is upgraded by a plurality of versions, is widely applied to the field of Internet of things at present, is a mature communication technology, is completely nationalized, does not have monopoly problem, and can effectively make up the bottleneck of local communication. In particular, bluetooth is a radio technology that supports short-range communication (typically within 10 m) of devices, enabling wireless information exchange between numerous devices including mobile phones, PDAs, wireless headsets, laptops, related peripherals, etc. By using the bluetooth technology, the communication between mobile communication terminal devices can be effectively simplified, and the way is widened for wireless communication.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the defects in the prior art, the invention provides the Bluetooth communication-based Internet of things intelligent communication system with high safety and reliability and the communication method thereof.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
an internet of things communication system based on Bluetooth communication comprises: the Bluetooth module adopts one of a Bluetooth module and an SOC mode, wherein the SOC mode is that the communication unit integrates a Bluetooth protocol stack; when the Bluetooth module is adopted, the Bluetooth module comprises a first Bluetooth module and a second Bluetooth module, the communication unit is connected with the end equipment through the first Bluetooth module, and the first Bluetooth module is connected with the terminal module through the second Bluetooth module; when the SOC mode is adopted, the communication unit is respectively connected with the end equipment and the terminal module through the Bluetooth protocol stack integrated with the communication unit.
The communication method of the Internet of things based on Bluetooth communication is characterized in that the communication system of the Internet of things based on Bluetooth communication is applied, two roles of a host and a slave are defined in a Bluetooth communication scene, the host actively initiates data connection, the slave responds to establish data connection, and Bluetooth supports a one-master multi-slave coexistence mode; when the communication unit is used as a host, the communication unit actively initiates data connection with the end equipment to carry out Bluetooth communication; when the communication unit is used as a slave, the communication unit receives a connection request from the terminal module and performs Bluetooth communication.
Compared with the prior art, the invention has the advantages that:
the communication unit is connected with the end equipment in a wireless Bluetooth mode, and a wired level mode is adopted for connecting the communication unit and the end equipment; the interaction, comprehensive perception, data fusion and intelligent application of the low-voltage distribution network to data information are realized, and the construction of an electric power internet of things and an intelligent power grid is supported; the reliability and the stability of the later network access end equipment are improved; the technical problems of Bluetooth pairing reliability in an electromagnetic interference environment, long-term no-disconnection of Bluetooth in a complex environment, reliability in a temperature and humidity alternating environment and the like are solved.
The invention selects the low-power Bluetooth to replace RS485, and has very low static and dynamic communication power consumption; the low-delay connection speed and the low-power consumption Bluetooth support millisecond-level equipment connection setting and data transmission, the Bluetooth is very suitable for a scene that multiple communication units work simultaneously, classic Bluetooth is limited by a protocol, and the connection time needs more than second level.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are specific embodiments of the invention, and that other drawings within the scope of the present application can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic diagram of a Bluetooth module according to an embodiment of the present invention;
fig. 2 is a schematic diagram of SOC-mode communication connection according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention.
First, the composition and practical basis of the bluetooth system will be explained:
the existing bluetooth system composition technology mainly comprises a bottom hardware module, a middle protocol layer, a high-level application and the like, which are respectively introduced as follows:
a. a bottom layer hardware module.
The bottom hardware module in the bluetooth system consists of baseband, frequency hopping and link management. Wherein, the baseband completes the transmission of Bluetooth data and frequency hopping; the wireless frequency hopping layer is microwave which does not need authorization and passes through the 2.4GHzISM frequency band, data stream transmission and filtering are realized on the wireless frequency modulation layer, and conditions which are required to be met by the normal work of the Bluetooth transceiver in the frequency band are mainly defined; link management enables secure control of link establishment, connection and tear down.
b. An intermediate protocol layer.
The intermediate protocol layer in the Bluetooth technology system mainly comprises four parts, namely a service discovery protocol, a logic link control and adaptation protocol, a telephone communication protocol and a serial port simulation protocol. Wherein, the service discovery protocol layer is used for providing a mechanism for an upper application program to use the service in the network; the logical link control and adaptation protocol is responsible for data disassembly and assembly, multiplexing protocol and controlling service quality, and is the basis for realizing the functions of other protocol layers.
c. And (4) high-level application.
In a bluetooth technology composition system, the higher layer application is the part of the framework that is located at the top of the protocol layer. The high-level application of the bluetooth technology mainly comprises the following steps: file transfer, network, local area network access. Different kinds of high-level applications are wireless communication realized by corresponding application programs through a certain application mode.
The current practice of bluetooth technology is based on the following:
(1) the intelligent miniature circuit breaker applies bluetooth-compatibility.
Bluetooth low energy technology can in turn build two types of devices: a dual mode device BR/EDR (BasicRate/enhanced DataRate) and a single mode device BLE (Bluetooth LowEnergy). The BR/EDR is basic rate communication, is downward compatible with a traditional Bluetooth 3.0 and below version, and is suitable for equipment (such as a Bluetooth headset) receiving a large amount of data. BLE appears in the bluetooth 4.0 protocol, is mainly used to implement continuous connection between a mobile terminal module and peripheral accessories, and is a short-range wireless communication technology with extremely low power consumption.
The dual-mode device supports both classic bluetooth and low-power bluetooth, and the single-mode device only supports low-power bluetooth. There is of course a third type-devices that only support classic bluetooth, typical dual mode devices are smartphones, tablets, PCs, etc.
In the invention, the specific end equipment adopts a low-power-consumption Bluetooth scheme, and in an application scene of the end equipment, the support for other equipment such as a mobile phone, a tablet personal computer and the like is very necessary besides electric equipment such as a communication unit, a terminal module, the end equipment and the like, because the diversity of application modes can be mined from a demand level. The communication unit uses the single-mode Bluetooth with low power consumption, and no problem exists in the aspect of compatibility on the premise of ensuring that the master and the slave use V4.0 and subsequent versions.
The Internet of things communication system based on Bluetooth communication comprises a communication unit, end equipment, a terminal module and a Bluetooth module; the Bluetooth module adopts one of a Bluetooth module and an SOC mode, wherein the SOC mode is a Bluetooth protocol stack integrated with the communication unit. The Bluetooth module is a single-mode low-power Bluetooth and is of a 4.0 version.
Fig. 1 is a schematic view of a bluetooth module according to an embodiment of the present invention. When the Bluetooth module is adopted, the Bluetooth module comprises a first Bluetooth module and a second Bluetooth module, and the communication unit is connected with the end equipment through the first Bluetooth module; the communication unit is connected with the terminal module sequentially through the first Bluetooth module and the second Bluetooth module.
Fig. 2 is a schematic diagram of SOC-mode communication connection according to an embodiment of the present invention. When the SOC mode is adopted, the communication unit is connected with the end equipment and the terminal module through the integrated Bluetooth of the communication unit.
In the embodiment, the low-power single-mode Bluetooth is used, so that the static and dynamic communication power consumption is very low; the low-delay connection speed and the low-power consumption Bluetooth support millisecond-level equipment connection setting and data transmission, the Bluetooth is very suitable for a scene that a plurality of communication units work simultaneously, the classic Bluetooth is limited by a protocol, and the connection time needs more than second level.
The invention also correspondingly discloses an Internet of things communication method based on Bluetooth communication, and by applying the Internet of things communication system based on Bluetooth communication, the communication unit works in a master multi-slave mode, and when the communication unit is used as a host, the communication unit actively initiates data connection with end equipment to carry out Bluetooth communication; when the communication unit is used as a slave, the communication unit receives a data connection request from the terminal module and performs Bluetooth communication.
Specifically, in a bluetooth communication scenario, two roles of a master and a slave are defined, the master actively initiates data connection, the slave responds to establish connection, bluetooth supports a master-slave coexistence mode, the master may be a terminal module, a handheld device and a communication unit, and the slave may be a communication unit and an end device, which adopt a typical network topology. The Bluetooth of the end equipment uses one of a Bluetooth module and an SOC mode, wherein the SOC mode is a Bluetooth protocol stack integrated by the main MCU of the communication unit. In various application scenes, the Bluetooth of the communication unit works in a master multi-slave mode and is used as a host, and the communication unit actively initiates data connection with end equipment to carry out Bluetooth communication; the communication unit is used as a slave and receives a connection request from a terminal module, a handheld device/APP and the like to perform Bluetooth communication.
The data interaction method comprises reading data and writing data, wherein the data reading: the host computer performs Bluetooth authentication before the communication unit is operated through the Bluetooth module, and opens the operation authority, so that data of various end devices such as a multifunctional watch, an intelligent micro-end and the like can be read, if the authentication fails, only the current date, the current time and the like of a communication address can be read, and other information is not allowed to be read; writing data: the host computer needs to perform identity authentication before writing operation on the communication unit through the Bluetooth module, the authentication is not passed, all information is not allowed to be set, and only a Bluetooth authentication command is supported; the reading or writing authority of the communication unit opposite terminal equipment is different, the reading of data is completed by Bluetooth authentication confirmation, and the writing parameters need to be subjected to identity authentication.
Data interaction between the communication unit and the end equipment: the communication unit and the end equipment are uniquely corresponding, the communication unit cannot operate other end equipment except for the corresponding end equipment, and the end equipment does not allow the other communication unit except for the corresponding end equipment to control. The Bluetooth of the communication unit is powered on and always keeps a working state, and the Bluetooth working mode of the end equipment is periodically awakened; after the end equipment is awakened by the Bluetooth, the end equipment is successfully connected with the communication unit, and if the random number password Bluetooth authentication of the communication unit or the identity authentication of the write operation end equipment is not received within preset time, the connection is automatically disconnected so as to prevent the malicious connection of an attacker.
The matching method of the communication unit and the terminal module comprises the following steps: the Bluetooth MAC address of the communication unit is set in the terminal module through the second type of parameters, and the terminal module establishes data connection with the communication unit according to the Bluetooth MAC address of the communication unit.
The process of the identity authentication and the random password generation of the communication unit comprises the following steps: after the terminal module is powered on, establishing communication connection with the communication unit by matching the Bluetooth MAC address of the communication unit; after the Bluetooth authentication of the communication unit is passed, the returned random number is used as a random password; after the identity authentication of the communication unit is passed, parameter modification operation can be carried out, and the random password is used for data copying and reading confirmation of the terminal module and the communication unit and also used for preventing an attacker from falsely counterfeiting the terminal module.
The process of reading the communication unit data by the terminal module comprises the following steps: the terminal module establishes connection with the communication unit by matching the Bluetooth MAC address of the communication unit; the terminal module sends a random password to the communication unit, after the communication unit confirms the random password, the read permission is opened, and the terminal module starts to read the data of the communication unit; and after the data is read, the terminal module is disconnected, and if the communication unit does not have any data frame communication within the preset time, the communication unit is actively disconnected.
The process of reading the end device data by the communication unit is as follows: the communication unit establishes connection with the end equipment through a Bluetooth MAC address of the communication unit; the communication unit sends a random password to the end equipment, after the end equipment confirms the random password, the read authority is opened, and the communication unit can start to read the data of the end equipment; and after the data is read, the communication unit is disconnected, and if the end equipment does not have any data frame communication within the preset time, the communication unit is actively disconnected.
The process of the communication unit control end device is as follows: the terminal module completes identity authentication with the communication unit and issues a remote command to the communication unit; after the communication unit is correctly analyzed, the communication unit and the end equipment perform end equipment identity authentication, and the communication unit directly exits after failure; after the identity authentication of the end equipment is passed, the writing operation is opened, and the communication unit can remotely write parameters to the end equipment; after the data writing is finished, the communication unit is disconnected, and if the end equipment does not have any data frame communication within a preset time, the communication unit is actively disconnected.
The communication unit has three working states, namely a broadcasting state, a standby state and a connection state; when the communication unit is in a broadcast state, the communication unit waits for a period of time after sending the broadcast each time, a random delay is generated before broadcasting each time and added in the broadcast, so that data collision caused by simultaneous broadcasting of a plurality of communication units is avoided; each time the broadcast communication unit respectively transmits broadcast data in different channels; after the communication unit sends the broadcast data, waiting for the terminal module to initiate a scanning request; when the communication unit is in a standby state and a terminal module sends a connection request to try to connect with the communication unit, the communication unit tries to connect with the terminal module for a period of time and judges whether the terminal module is in a white list or not, if the terminal module is in the white list, the communication unit is connected with the terminal module, the communication unit enters a connection state, the communication unit is a slave machine, and the terminal module is a master machine; after a period of time has elapsed, the communication unit attempts to connect with any terminal module and allows the communication unit to connect with a new terminal module; if the connection is not successfully established for a period of time, the attempt of connection is stopped and the communication unit remains in a standby state.
The connection process of the communication unit and the terminal module is as follows: the communication unit sends broadcast, the terminal module scans the communication unit sending broadcast, when the communication unit receives the scanning request of the terminal module, the communication unit sends scanning response data to the terminal module, and the terminal module initiates a connection request after receiving the scanning response data.
In this embodiment, the bluetooth module of the end device sends a command requesting to configure system parameters to the communication unit, and the communication unit returns the system parameters to the bluetooth module after receiving the request command; the system parameters comprise a local MAC address, a 3 slave MAC address list and a Bluetooth name, the Bluetooth module configures the own MAC address and the Bluetooth name (equipment name) according to the system parameters, the Bluetooth module starts broadcasting and waits to be connected by a host, and meanwhile, the connection with the slave is established according to the legality of the slave MAC address list and the communication requirement.
In this embodiment, the method further includes a communication unit connection security policy, which includes the following aspects:
a. reading data: the host computer needs to carry out Bluetooth authentication before the operation of the electric energy meter through Bluetooth and opens the operation authority. If the authentication is not passed, only basic information such as a communication address and a current date can be read, and other information is not allowed to be read.
b. Writing data: the host computer needs to carry out Bluetooth authentication before writing operation on the communication unit through Bluetooth, the authentication is not passed, all information is not allowed to be set, and only a Bluetooth authentication command is supported.
c. Data interaction between the communication unit and the end equipment: the communication unit and the end equipment are uniquely corresponding, the electric energy meter cannot operate other end equipment, and the end equipment does not allow other communication units to control. The reading or writing authority of the communication unit opposite terminal equipment is different, the reading data is confirmed, and the writing parameters need to be subjected to identity authentication.
The Bluetooth of the communication unit is powered on and always kept in a working state, and the Bluetooth is switched on and off in a periodic awakening mode (meeting the power consumption requirement of end equipment), and the default time is generally 2 seconds.
After the end equipment is awakened by the Bluetooth, the end equipment is successfully connected with the communication unit, and if the random number password confirmation or the identity authentication of the communication unit is not received within 1 second, the connection is automatically disconnected so as to prevent the malicious connection of an attacker.
d. The communication unit reads the end device data.
The communication unit establishes connection with the end equipment through the MAC address; the communication unit sends a random password to the end equipment, after the end equipment confirms the random password, the read authority is opened, and the communication unit can start to read the data of the end equipment; and after the data reading is finished, the electric energy meter is disconnected, and if the switch does not have any data frame communication within 60 seconds, the connection is actively disconnected.
Finally, it is to be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the technical solutions of the present invention, and the scope of the present invention is not limited thereto. Those skilled in the art will understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. The utility model provides a thing networking communication system based on bluetooth communication which characterized in that includes: the terminal comprises a communication unit, end equipment, a terminal module and a Bluetooth module, wherein the Bluetooth module adopts a Bluetooth module or an SOC mode, and the SOC mode is that the communication unit integrates a Bluetooth protocol stack; when the Bluetooth module is adopted, the Bluetooth module comprises a first Bluetooth module and a second Bluetooth module, the communication unit is connected with the end equipment through the first Bluetooth module, and the first Bluetooth module is connected with the terminal module through the second Bluetooth module; when the SOC mode is adopted, the communication unit is respectively connected with the end equipment and the terminal module through the Bluetooth protocol stack integrated with the communication unit.
2. The communication system of the internet of things based on the bluetooth communication as claimed in claim 1, wherein the bluetooth module is a single-mode bluetooth low energy and is version 4.0.
3. An internet of things communication method based on Bluetooth communication is characterized in that the internet of things communication system based on Bluetooth communication is applied as claimed in claim 1 or 2, two roles of a master and a slave are defined in a Bluetooth communication scene, the master actively initiates data connection, the slave responds to establish data connection, and the Bluetooth supports a one-master multi-slave coexistence mode; when the communication unit is used as a host, the communication unit actively initiates data connection with the end equipment to carry out Bluetooth communication; when the communication unit is used as a slave, the communication unit receives a connection request from the terminal module and performs Bluetooth communication.
4. The communication method of the internet of things based on the Bluetooth communication as claimed in claim 3, wherein the data interaction method comprises reading data and writing data; reading data: the host computer performs Bluetooth authentication before the communication unit is operated through the Bluetooth module, opens the operation authority and reads the data of the end equipment; writing data: the host computer performs identity authentication before writing operation on the communication unit through the Bluetooth module, the authentication is not passed, and all information is not allowed to be set; the reading or writing authority of the communication unit opposite terminal equipment is different, the reading of data is completed by Bluetooth authentication confirmation, and the writing parameters are subjected to identity authentication.
5. The Internet of things communication method based on Bluetooth communication according to claim 4, wherein the communication unit and the end device are uniquely corresponding, the Bluetooth of the communication unit is powered on and always kept in a working state, and the Bluetooth of the end device is in a periodic awakening mode; after the end equipment is awakened by the Bluetooth, the end equipment is successfully connected with the communication unit, and if the random number password Bluetooth authentication of the communication unit or the identity authentication of the operation end equipment is not received within preset time, the connection is automatically disconnected.
6. The communication method of the internet of things based on the Bluetooth communication as claimed in claim 5, wherein the matching method of the communication unit and the terminal module is as follows: the Bluetooth MAC address of the communication unit is set in the terminal module through the second type of parameters, and the terminal module establishes data connection with the communication unit according to the Bluetooth MAC address of the communication unit.
7. The method of claim 6, wherein the process of the communication unit identity authentication and the random password generation comprises: after the terminal module is powered on, establishing communication connection with the communication unit by matching the Bluetooth MAC address of the communication unit; after the Bluetooth authentication of the communication unit is passed, the returned random number is used as a random password; after the identity authentication of the communication unit is passed, parameter modification operation can be carried out, and the random password is used for data copying and reading confirmation of the terminal module and the communication unit and also used for preventing an attacker from falsely counterfeiting the terminal module;
the process of reading the communication unit data by the terminal module comprises the following steps: the terminal module establishes connection with the communication unit by matching the Bluetooth MAC address of the communication unit; the terminal module sends a random password to the communication unit, after the communication unit confirms the random password, the read permission is opened, and the terminal module starts to read the data of the communication unit; and after the data is read, the terminal module is disconnected, and if the communication unit does not have any data frame communication within the preset time, the communication unit is actively disconnected.
8. The communication method of the internet of things based on the bluetooth communication as claimed in claim 7, wherein the process of reading the end device data by the communication unit is as follows: the communication unit establishes connection with the end equipment through a Bluetooth MAC address of the communication unit; the communication unit sends a random password to the end equipment, the end equipment opens the reading authority after confirming the random password, and the communication unit reads the data of the end equipment; after the data is read, the communication unit is disconnected, and if the end equipment does not have any data frame communication within the preset time, the communication unit is actively disconnected;
the process of the communication unit control end device is as follows: the terminal module completes identity authentication with the communication unit and issues a remote command to the communication unit; after the communication unit is correctly analyzed, the communication unit and the end equipment perform end equipment identity authentication, and the communication unit directly exits after failure; after the identity authentication of the end equipment is passed, the writing operation is opened, and the communication unit can remotely write parameters to the end equipment; after the data writing is finished, the communication unit is disconnected, and if the end equipment does not have any data frame communication within a preset time, the communication unit is actively disconnected.
9. The communication method of the internet of things based on the bluetooth communication as claimed in claim 8, wherein the communication unit has three working states, which are a broadcast state, a standby state and a connection state;
when the communication unit is in a broadcast state, the communication unit waits for a period of time after sending the broadcast each time, a random delay is generated before broadcasting each time and added in the broadcast, so that data collision caused by simultaneous broadcasting of a plurality of communication units is avoided; each time the broadcast communication unit respectively transmits broadcast data in different channels; after the communication unit sends the broadcast data, waiting for the terminal module to initiate a scanning request;
when the communication unit is in a standby state and a terminal module sends a connection request to try to connect with the communication unit, the communication unit tries to connect with the terminal module for a period of time and judges whether the terminal module is in a white list or not, if the terminal module is in the white list, the communication unit is connected with the terminal module, the communication unit enters a connection state, the communication unit is a slave machine, and the terminal module is a master machine; after a period of time has elapsed, the communication unit attempts to connect with any terminal module and allows the communication unit to connect with a new terminal module; if the connection is not successfully established for a period of time, the attempt of connection is stopped and the communication unit remains in a standby state.
10. The communication method of the internet of things based on the bluetooth communication as claimed in claim 9, wherein the connection process between the communication unit and the terminal module is as follows: the communication unit sends broadcast, the terminal module scans the communication unit sending broadcast, when the communication unit receives the scanning request of the terminal module, the communication unit sends scanning response data to the terminal module, and the terminal module initiates a connection request after receiving the scanning response data.
CN202111218043.3A 2021-10-19 2021-10-19 Internet of things communication system based on Bluetooth communication and communication method thereof Pending CN114025337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111218043.3A CN114025337A (en) 2021-10-19 2021-10-19 Internet of things communication system based on Bluetooth communication and communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111218043.3A CN114025337A (en) 2021-10-19 2021-10-19 Internet of things communication system based on Bluetooth communication and communication method thereof

Publications (1)

Publication Number Publication Date
CN114025337A true CN114025337A (en) 2022-02-08

Family

ID=80056581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111218043.3A Pending CN114025337A (en) 2021-10-19 2021-10-19 Internet of things communication system based on Bluetooth communication and communication method thereof

Country Status (1)

Country Link
CN (1) CN114025337A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407450A (en) * 2015-10-21 2016-03-16 珠海奔图电子有限公司 Intelligent equipment, electronic device, and network connection method based on near-field communication
WO2018082428A1 (en) * 2016-11-01 2018-05-11 飞天诚信科技股份有限公司 Bluetooth communication method considering communication speed and power consumption and terminal
CN112399394A (en) * 2020-10-30 2021-02-23 国网湖南省电力有限公司 Intelligent electric energy meter system based on Bluetooth communication and communication method thereof
CN112399393A (en) * 2020-10-30 2021-02-23 国网湖南省电力有限公司 Intelligent electric energy meter device and communication method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407450A (en) * 2015-10-21 2016-03-16 珠海奔图电子有限公司 Intelligent equipment, electronic device, and network connection method based on near-field communication
WO2018082428A1 (en) * 2016-11-01 2018-05-11 飞天诚信科技股份有限公司 Bluetooth communication method considering communication speed and power consumption and terminal
CN112399394A (en) * 2020-10-30 2021-02-23 国网湖南省电力有限公司 Intelligent electric energy meter system based on Bluetooth communication and communication method thereof
CN112399393A (en) * 2020-10-30 2021-02-23 国网湖南省电力有限公司 Intelligent electric energy meter device and communication method thereof

Similar Documents

Publication Publication Date Title
US10756964B2 (en) Internet of things configuration method and system for secure low-power-consumption proxy device
CN101997575B (en) Short-range communication is used to carry out system, the method and apparatus of wireless network connection
US9521614B2 (en) Power efficient method for Wi-Fi home automation
US8437275B2 (en) Remote wireless service invocation with efficient power use on target wireless device
CN102711282B (en) Realize without the method for input wireless device access network and without input wireless device
CN104429134B (en) method for remote wake up wireless router device
KR101658495B1 (en) Method and terminal for establishing communication connection
CN102685856B (en) Wireless communication method and Wi-Fi Direct (Wireless Fidelity Direct) communication system
CN102388658B (en) Apparatus for controlling power of wireless device and method thereof
CN112399394A (en) Intelligent electric energy meter system based on Bluetooth communication and communication method thereof
CN105245574B (en) Internet of Things network control method and system based on mobile terminal multi-hop
WO2006109966A3 (en) Method of communication supporting media independent handover
CN107749885B (en) Intelligent equipment remote password management method and Lora intelligent equipment networking system
WO2016027960A1 (en) Method and device for performing wireless docking service
CN103491600A (en) State control and state configuration method and device for user equipment function module
CN111132135A (en) Wireless network distribution method and system for intelligent household terminal
CN109688570A (en) Bluetooth connecting method, system and storage medium
CN112399393A (en) Intelligent electric energy meter device and communication method thereof
US11943710B2 (en) Electronic device, method, medium and apparatus for managing extender nodes
US20180159728A1 (en) Communication method for wi-fi internet of things equipment and wi-fi internet of things system
WO2011003298A1 (en) Universal serial bus transmission device for wireless communication and method thereof
CN114025337A (en) Internet of things communication system based on Bluetooth communication and communication method thereof
CN105099836A (en) BLE intelligent node control method and system
CN110167117B (en) Device control method and device, host device, mobile terminal and storage medium
CN102169624A (en) Remote-control ordering car

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