CN108924806A - A kind of family's internet of things data communication means and system using BLE technology - Google Patents
A kind of family's internet of things data communication means and system using BLE technology Download PDFInfo
- Publication number
- CN108924806A CN108924806A CN201810794933.0A CN201810794933A CN108924806A CN 108924806 A CN108924806 A CN 108924806A CN 201810794933 A CN201810794933 A CN 201810794933A CN 108924806 A CN108924806 A CN 108924806A
- Authority
- CN
- China
- Prior art keywords
- ble
- host
- information
- slave
- sent
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/40—Connection management for selective distribution or broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of family's internet of things data communication means using BLE technology, and for connecting Household intelligent gateway and at least one smart machine, the Household intelligent gateway includes BLE host, and the smart machine includes BLE slave, the method includes:The BLE slave is externally broadcasted, and the content of the broadcast includes warning message;When the warning message by the BLE Host Detection then, the BLE slave receives the request for establishing connection that the BLE host is sent;Connection is established, the content of the broadcast is sent to the BLE host, so that the content of the broadcast is sent to the user terminal by the Household intelligent gateway;The instruction disconnected that the BLE host actively issues is received, is disconnected with the BLE host.Using technical solution provided by the invention, the communication of data real time bidirectional not only may be implemented, but also the power consumption of smart machine can not be increased.The invention also discloses systems corresponding with this method.
Description
Technical field
The present invention relates to fields of communication technology, communicate more particularly to a kind of family's internet of things data using BLE technology
Method and system.
Background technique
BLE (Bluetooth Low Energy, low-power consumption bluetooth) be low cost, short distance, interoperable robustness
Wireless technology works in the 2.4GHz ISM radio frequency band for exempting from license.There are BLE4.0, BLE4.1, BLE4.2, BLE 5.0 is equal more
A protocol version, it is designed as super low-power consumption (ULP) wireless technology from the beginning, and to greatest extent using many intelligent means
Ground reduces power consumption.Using variable Connection Time interval, this interval can be set to bluetooth technology with low power consumption according to concrete application
It differs for several milliseconds to several seconds.In addition, usually may be at " non-company because BLE technology uses very quick connection type
Connect " state (saving the energy), both link ends only know other side each other at this time, only just open link if necessary, then
Link is closed in the shortest possible time.
Currently, using Household intelligent gateway as family's Internet of Things of core, or it is smart home, gradually come into resident
It is more and more common in family.The usually used BLE communication technology of existing family's Internet of Things, in communication process, smart machine meeting
Certain interval time is taken externally to be broadcasted, when Household intelligent gateway needs to carry out data communication with smart machine to interact
When, Household intelligent gateway meeting active scan connection smart machine carries out data communication, and after the completion of communication, Household intelligent gateway will
It disconnects, specifically, being provided with BLE host in Household intelligent gateway, BLE slave is provided in smart machine, when need
When communicating, BLE host can actively be scanned BLE slave, connection be established with BLE slave, to complete data communication.At present
Communication can only by Household intelligent gateway actively initiate, when smart machine have data need on give the correct time, then can not in real time actively into
Row data communication;If realizing that data real time bidirectional communicates, it is necessary to maintain the connection of BLE host and slave, but this for a long time
It will lead to that power consumption is larger, need to frequently replace the battery in smart machine or charge for it, user experience is poor.
In view of this, the present invention is specifically proposed.
Summary of the invention
The object of the present invention is to provide a kind of family's internet of things data communication means and system using BLE technology, both may be used
To realize that data real time bidirectional communicates, and the power consumption of smart machine can not be increased.
To achieve the goals above, in a first aspect, a kind of family's internet of things data using BLE technology provided by the invention
Communication means, for connecting Household intelligent gateway and at least one smart machine, the Household intelligent gateway includes BLE host,
The smart machine includes BLE slave, the method includes:
The BLE slave is externally broadcasted, and the content of the broadcast includes warning message;
When the warning message by the BLE Host Detection then, the BLE slave receives what the BLE host was sent
Establish the request of connection;
Connection is established, the content of the broadcast is sent to the BLE host, so that the Household intelligent gateway will be described
The content of broadcast is sent to the user terminal;
The instruction disconnected that the BLE host actively issues is received, is disconnected with the BLE host.
Alternatively and preferably, the warning message includes device status information and the first equipment identification information.
Alternatively and preferably, first equipment identification information includes device name, MAC Address, in device numbering
It is at least one.
Alternatively and preferably, in the instruction disconnected for receiving the BLE host active sending, with the BLE master
Before machine disconnects, the method also includes:
The BLE slave receives the processed of BLE host transmission and finishes information, so that the smart machine stores institute
It states and processed finishes information;
Feedback reception finishes information to the BLE host, for the finger of the BLE host active sending disconnected
It enables.
Alternatively and preferably, the method also includes:
The BLE slave receives the control information that the BLE host is sent, so that the smart machine stores the control
Information, the control information includes operation content and the second equipment identification information;
The smart machine is stored into successful information and feeds back to the BLE host, so that the Household intelligent gateway will
The successful information of storage is sent to the user terminal, and the finger disconnected for the BLE host active sending
It enables.
Alternatively and preferably, before the control information that the BLE slave receives that the BLE host is sent, the side
Method includes:
The broadcast message that the BLE slave issues is matched with the control information, and the broadcast message includes third
Equipment identification information;
When second equipment identification information and the third equipment identification information successful match, the BLE slave is connect
Connection request is established by the BLE host sending, establishes connection.
Alternatively and preferably, second equipment identification information and the third equipment identification information include implementor name
At least one of title, MAC Address, device numbering.
Second aspect, the present invention provides a kind of family's internet of things data communication systems using BLE technology, including:
A kind of family's internet of things data communication system using BLE technology, which is characterized in that including:
Smart machine is equipped with BLE slave in the smart machine, the BLE slave for externally being broadcasted, it is described extensively
The content broadcast includes warning message;
Household intelligent gateway, is equipped with BLE host in the Household intelligent gateway, the BLE host for actively with it is described
BLE slave disconnects and detects the content of the broadcast, when detecting the warning message, sends out to the BLE slave
Connection request is sent, to establish connection with the BLE slave, completes data communication;
User terminal, after receiving the completion BLE slave and the BLE main-machine communication that the Household intelligent gateway is sent
Data, and to the Household intelligent gateway send control information, the control information includes operation content and the second equipment
Identification information.
Alternatively and preferably, the BLE slave is also used to receive the processed of BLE host transmission and finishes information,
Processed information is finished so that smart machine storage is described;And
Feedback reception finishes information to the BLE host, for the finger of the BLE host active sending disconnected
It enables.
Alternatively and preferably, the BLE host is also used to receive the control information that the user terminal is sent, according to institute
State the broadcast message that BLE slave described in control infomation detection issues, wherein the broadcast message includes third device identification letter
Breath, when second equipment identification information and when the third equipment identification information successful match, the BLE host is to described
BLE slave issues the request for establishing connection, establishes connection, and the control information is sent to the corresponding BLE slave;
The BLE slave is also used to receive the control information that the BLE host is sent, so that the smart machine stores institute
Control information is stated, feedback reception finishes information to the BLE host, so that the Household intelligent gateway receives letter for described
Breath is sent to the user terminal, and the instruction disconnected for the BLE host active sending.
After adopting the above technical scheme, compared with prior art, the present invention at least having the advantages that:
Warning message is set in the broadcasted content that BLE slave reports, wherein warning message include device status information and
First equipment identification information gives the correct time when on BLE slave needs, i.e., issues the broadcast comprising warning message, and BLE Host Detection arrives
When warning message, that is, initiates to establish connection with BLE slave, complete data communication, connection is then turned off, when BLE slave does not need
On give the correct time, i.e., be always maintained at off-state between BLE host and slave, in addition, BLE host can also actively and BLE slave establish connect
It connects, realizes realize the communication of data real time bidirectional in this way, and do not increase the power consumption of smart machine.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application
Point, illustrative embodiments and their description of the invention are not constituted improper limitations of the present invention for explaining invention.In attached drawing
In:
Fig. 1 is provided in an embodiment of the present invention can be realized using family's internet of things data communication means of BLE technology in it
In system architecture diagram;
Fig. 2 is the flow chart of family's internet of things data communication means provided in an embodiment of the present invention using BLE technology.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Following will be combined with the drawings in the embodiments of the present invention, in the embodiment of the present invention
Technical solution is clearly and completely described, it is clear that and described embodiments are only a part of the embodiments of the present invention, without
It is whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
Fig. 1 is to illustrate the embodiment of the present invention to realize in the figure of system 100 therein.The system includes user terminal
101, Household intelligent gateway 102 and smart machine 103, user terminal 101 are carried out by network 104 and Household intelligent gateway 102
Communication, Household intelligent gateway 102 are communicated by bluetooth with smart machine 103.In this system 100, Household intelligent gateway
102 be the heart of home intelligence, realizes the acquisition of system information, information input, information output, centralized control, far by it
The functions such as process control, linkage control;Smart machine 103 can be multiple.In this system 100, family is realized using BLE technology
Communication between front yard intelligent gateway 102 and smart machine 103 is provided with BLE host, smart machine in Household intelligent gateway 102
BLE slave is provided in 103, wherein Household intelligent gateway 102 use Alternating Current Power Supply, in BLE host always ceaselessly
Detect BLE slave in all smart machines 103.
Using family's Internet of Things of BLE technology, traditional data communication mode is:When needing to carry out data communication, use
Family terminal 101 is sent to Household intelligent gateway 102 by network 104 and is instructed, and Household intelligent gateway 102 receives the instruction,
Interior BEL host then detects the broadcasted content that BLE slave issues in smart machine 103, when BLE Host Detection is in need to meeting
When the BLE slave of connection, BLE host then issues the request for establishing connection to the BLE slave, connect with BLE slave, completes data
Communication, after communication, BLE host is then actively disconnected, to reduce the power consumption of BLE slave.This mode can only be unidirectional
Decide whether to be communicated by 101 side of user terminal, the real time bidirectional without being able to maintain BLE host and BLE slave communicates, this is just
There are event needs to report in the presence of when the BLE slave in smart machine 103, but user terminal 101 does not refer to Household intelligent gateway 102
When enabling, Household intelligent gateway 102 not will do it work then, to be delayed some things, or even cause unnecessary loss;And such as
Fruit will realize the real time communication of data, then BLE host and slave must be maintained to be in connection status for a long time, resulted in when in this way
Battery or electric quantity consumption in smart machine 103 is very fast, so that battery or charging must be replaced frequently, reduces user
Experience.In addition, existing family's Internet of Things also uses the WIFI communication technology, likewise, if to realize that real time bidirectional communicates,
It must be always maintained at WIFI connection, this also results in battery in smart machine 103 or electric quantity consumption is very fast.
To solve the above problems, the embodiment of the present invention in the content for the BLE Slave Broadcast in smart machine 103 by setting
Warning message is set, mark is initiated using the warning message as event, is given the correct time on event needs when smart machine 103 has, in
BLE slave then issues the broadcast comprising warning message, when BLE Host Detection is to warning message then with alert
BLE slave establishes connection, completes data communication, after communication, BLE host is then actively disconnected, and by data by family
Intelligent gateway 102 is sent to the user terminal 101 by network 104, specifically, as detailed below.
The Household intelligent gateway 102 addressed in the embodiment of the present invention has Intelligent housing hinge and wireless routing two is big
Function.Data interaction can be carried out with the equal products of user terminal 101 wirelessly, the BLE host in it can also be passed through
Data interaction is carried out with smart machine 103.
The smart machine 103 addressed in the embodiment of the present invention includes intelligent sweeping robot, intelligent refrigerator, monitoring device,
Intelligent gas meter etc..The common feature of this kind of equipment is can be by utilizing comprehensive wiring technology, network communication technology, safety
Precautionary technology, automatic control technology, audio and video technology are constructed the management system of efficient housing facilities and family's schedule affairs
System promotes house security, convenience, comfort, artistry, and realizes the living environment of environmental protection and energy saving.
It should also be appreciated by one skilled in the art that system 100 is merely illustrative purpose, it is not intended that limit the disclosure
The range of embodiment.In some cases, certain components can increase according to specific need or reduce or be replaced.
However, it should be understood that term " first ", " second " are used for description purposes only, and should not be understood as instruction or
It implies relative importance or implicitly indicates the quantity of indicated technical characteristic.
Fig. 2 is in accordance with an embodiment of the present disclosure using the process of family's internet of things data communication means 200 of BLE technology
Figure.For convenience of description, this method 200 is described hereinafter with reference to system 100 shown in FIG. 1.
After the beginning of method 200, in step S201, the BLE slave is externally broadcasted, the content packet of the broadcast
Include warning message.
Specifically, the BLE slave in all smart machines 103 will be broadcasted externally at interval of certain time, broadcast
Content in include warning message, which includes device status information and the first equipment identification information, wherein equipment shape
What state information was then reacted is which kind of state is current equipment be in, such as when the remaining sum in gas meter, flow meter is lower than preset value, equipment at this time
Status information is then the information that Sorry, your ticket has not enough value, is then which the specific equipment of reaction for the first equipment identification information, works as intelligence
It when energy equipment 103 is multiple, can quickly be looked in order to user, and solve the problems, such as, include at least device name, MAC
One of address, device numbering.For the time interval that BLE slave is externally broadcasted, user can according to circumstances voluntarily
Setting.When the BLE slave in one of smart machine 103 has event to need to give the correct time, then it is added in the content of broadcast
Warning message.
It should be understood that above-mentioned warning message can be the content that BLE host and BLE slave both sides appoint in advance,
Initiation mark using it as whole event, for example, the temperature sensor in smart machine 103 detects that environment temperature is more than
Preset temperature value, at this point, the content of a byte is become 01 by 00 in the content of BLE Slave Broadcast;For another example when combustion gas report
Alert device detects that gas leakage concentration value is more than preset concentration value, in the content of BLE Slave Broadcast, by another byte
Content become 01 by 00.
Then, this method 200 carry out step S202, when the warning message by the BLE Host Detection then, it is described
BLE slave receives the request for establishing connection that the BLE host is sent.
Specifically, BLE host in Household intelligent gateway 102 ceaselessly detect always in ambient intelligence equipment 103 BLE from
The broadcast that machine issues, when BLE Host Detection is to BLE slave alert in one of smart machine 103, BLE
Host then establishes connection request to the sending of BLE slave.
When there is the BLE slave alert in multiple smart machines 103, then poll inquiry slave is set BLE host
It is standby, after the completion of first processing first found, disconnects, reconnect second, successively handle.After the completion of processing, BLE host is given
BLE slave, which is sent out, has handled the instruction of completion, and then there is no warning messages in the information for the broadcast which issues.
Then, this method 200 carries out step S203, establishes connection, the content of the broadcast is sent to the BLE master
Machine, so that the content of the broadcast is sent to the user terminal by the Household intelligent gateway.
Specifically, BLE slave receive BLE host sending establish connection request after, that is, agree to connection, complete connection
Afterwards, i.e., the broadcasted content containing warning message is sent to BLE host, until all data whole end of transmissions;When data pass
After defeated, BLE host passes through Cloud Server and sends out then by the Cloud Server of the content transmission of broadcast to Household intelligent gateway
It send to user terminal, to allow user to understand the operation conditions of smart machine 103 in real time, to carry out emergency preplan.
Then, this method 200 carries out step S204, receives the instruction disconnected that the BLE host actively issues, with
The BLE host disconnects.
Specifically, BLE host then actively disconnects, to reduce the power consumption of BLE slave after data communication.
In some embodiments, before the step S204 in method 200, this method further includes:
S2041, the BLE slave receive the processed of BLE host transmission and finish information, for the smart machine
It stores and described processed finishes information.
Specifically, BLE host then issues one to BLE slave after BLE slave and BLE data between hosts end of transmission
The processed information finished, upon receiving this information, smart machine 103 then stores the information to the place in it BLE slave
It manages in device, to determine that the warning message has sent success, so that 103 short time of smart machine be made not retransmit identical alarm
Information.
S2042, feedback reception finish information to the BLE host, so that the BLE host actively issued disconnects
Instruction.
Specifically, when BLE slave received BLE host transmission be disposed information after, then the result is fed back to
BLE host, so that BLE host actively issues the instruction disconnected, i.e. execution step S204.
In some embodiments, the BLE slave also receives the control information that the BLE host is sent, for the intelligence
Energy equipment 103 stores the control information;The smart machine 103 is stored into successful information and feeds back to the BLE host, with
The successful information of storage is sent to the user terminal 101 for the Household intelligent gateway 102, and supplies the BLE
The instruction disconnected that host actively issues;Wherein, above-mentioned control information is sent to Household intelligent gateway by user terminal 101
102 comprising operation content and the second equipment identification information.
It should be understood that including third equipment identification information in the broadcast message that BLE slave issues at this time, in BLE master yes
When machine sends control information, BLE host carries out the content in the broadcast message for controlling the content in information and the sending of BLE slave
Matching, when second equipment identification information and when the third equipment identification information successful match, BLE host then to matching at
The BLE slave of function issues the request for establishing connection, and after the agreement of BLE slave, BLE slave then receives control information;Work as BLE
After the completion of slave receives, and smart machine 103 stores the information, BLE slave is then by the letter of smart machine storage completion
Breath feeds back to BLE host, so that BLE host is actively issued the instruction disconnected, and be transmitted to BLE host by above- mentioned information
It in the Cloud Server of Household intelligent gateway 102, and is sent to the user terminal by Cloud Server, to allow user to understand intelligence in real time
The operation conditions of equipment 103.
It should be understood that the second equipment identification information and third equipment identification information include device name, MAC
At least one of location, device numbering;Operation content can be operational order or charging information etc..
Illustrate the whole flow process of the present embodiment for bluetooth gas meter, flow meter below.
When Sorry, your ticket has not enough value (being lower than preset value) for gas meter, flow meter, gas meter, flow meter is then according to scheduled agreement in its BLE Slave Broadcast
Content in the warning message that Sorry, your ticket has not enough value is added, the BLE host in Household intelligent gateway is ceaselessly scanning BLE slave always
The information of sending is then initiated the connection to the BLE slave, successful connection after its scanning is in relation to the warning message that Sorry, your ticket has not enough value
Afterwards, the information such as remaining sum on gas meter, flow meter are then sent to BLE host by BLE slave, so that data is made to be transmitted to Household intelligent gateway,
Then, above- mentioned information are then sent to the user terminal by Household intelligent gateway by Cloud Server, allow users to recognize combustion gas
The table state that Sorry, your ticket has not enough value.Household intelligent gateway will be disposed after being disposed and (sending information to user terminal)
Information gas meter, flow meter is sent to by BLE host, gas meter, flow meter is received and stored into its memory, and the result of storage is led to
It crosses BLE slave and feeds back to BLE host, BLE host then actively disconnects at this time.After the above process, gas meter, flow meter is then in short-term
It is interior no longer to broadcast the information that Sorry, your ticket has not enough value.
When user supplements with money for gas meter, flow meter, user using user terminal after buying corresponding tolerance, then will by user terminal
Gas meter, flow meter table number information and purchase gas information are sent to Household intelligent gateway, when the BLE host in Household intelligent gateway searches phase
It after the gas meter, flow meter broadcast message answered, initiates the connection, after successful connection, above- mentioned information is sent to gas meter, flow meter, are then stored at combustion
In gas meter, after storage, the information that storage finishes is fed back to BLE host by BLE slave by gas meter, flow meter, in BLE host
It after receiving information, will actively disconnect, the information that furthermore Household intelligent gateway then finishes storage is sent out by server
It send to user terminal.
On the other hand, the embodiment of the invention also provides a kind of family's internet of things data communication system using BLE technology,
The system includes:
Smart machine 103 is equipped with BLE slave in the smart machine, and the BLE slave is for externally being broadcasted, institute
The content for stating broadcast includes warning message;
Household intelligent gateway 102, is equipped with BLE host in the Household intelligent gateway, and the BLE host is for actively and institute
The content that BLE slave disconnected and detected the broadcast is stated, when detecting the warning message, to the BLE slave
Connection request is sent, to establish connection with the BLE slave, completes data communication;
User terminal 101, the completion BLE slave and the BLE host for receiving the Household intelligent gateway transmission are logical
Data after letter, and control information is sent to the Household intelligent gateway, the control information includes operation content and second
Equipment identification information.
In some embodiments, the BLE slave is also used to receive the processed of BLE host transmission and finishes information,
Processed information is finished so that smart machine storage is described;And
Feedback reception finishes information to the BLE host, for the finger of the BLE host active sending disconnected
It enables.
In some embodiments, the BLE host is also used to receive the control information that the user terminal is sent, according to institute
State the broadcast message that BLE slave described in control infomation detection issues, wherein the broadcast message includes third device identification letter
Breath, when second equipment identification information and when the third equipment identification information successful match, the BLE host is to described
BLE slave issues the request for establishing connection, establishes connection, and the control information is sent to the corresponding BLE slave;
The BLE slave is also used to receive the control information that the BLE host is sent, so that the smart machine stores institute
Control information is stated, the smart machine is stored into successful information and feeds back to the BLE host, for the Household intelligent gateway
The successful information of the storage is sent to the user terminal, and for disconnecting of actively issuing of the BLE host
Instruction.
It should be understood that the system is for executing method 200, implementing principle and technical effect and above method method
Description in 200 is similar, and the course of work can refer to the process in method 200, and details are not described herein again.
To sum up, family's internet of things data communication means provided in an embodiment of the present invention using BLE technology, and and the party
The corresponding system of method.By adopting the above technical scheme, i.e., warning message is set in the broadcasted content that BLE slave reports, wherein
Warning message includes device status information and the first equipment identification information, gives the correct time when on BLE slave needs, i.e., will include alarm signal
The broadcast of breath issues, and when BLE Host Detection arrives warning message, that is, initiates to establish connection with BLE slave, completion data communication, so
After disconnect, when BLE slave does not need to give the correct time, i.e., off-state is always maintained between BLE host and slave, in addition, BLE master
Machine also actively can establish connection with BLE slave, realize realize the communication of data real time bidirectional in this way, and do not increase
The power consumption of smart machine.
Realization of the invention and all feature operations provided herein with Fundamental Digital Circuit or can use computer
Software, firmware or hardware, including disclosed in this specification and its structural equivalents structure or one of those or it is more
A combination is realized.The realization of the disclosure can be implemented as one or more computer program products, i.e., computer-readable
One or more modules of the computer program instructions encoded on medium, these instructions are executed or are used by data processing equipment
To control the operation of data processing equipment.The computer-readable medium can be machine readable storage device, machine readable storage
Substrate, memory devices, the composition for influencing machine readable transmitting signal or one or more combination.Term
" data processing equipment " covers all devices, equipment and the machine for handling data, including such as programmable processor, calculating
Machine or multiple processors or computer.In addition to hardware, the apparatus may include create for described computer program
The code of performing environment, such as constitute processor firmware, protocol stack, data base management system, operating system or therein one
A or multiple combined code.
Computer program (also referred to as program, software, software application, script or code) can use any type of programming language
(including compiler language or interpretative code) is sayed to write, and computer program can be disposed with any form, including conduct
Stand-alone program as module, component, subroutine or is suitble to other units for using in a computing environment.Computer program
Not necessarily correspond to the file in file system.Program, which can store, is keeping other programs or data (such as markup language
The one or more scripts stored in document) file part in, be stored in the single text for being exclusively used in described program
In part, either it is stored in multiple coordinated files and (such as stores the text of the part of one or more modules, subprogram or code
Part) in.Computer program can be deployed on a computer to execute, or be located at a website or be distributed in
At multiple websites and pass through interconnection of telecommunication network multiple computers on execute.
Process described in the present invention and logic flow can be by one or more of the one or more computer programs of execution
A programmable processor is executed to pass through operation input data and generate output and execute function.The process and logic flow
It can be executed by dedicated logic circuit, and device also can be implemented as the dedicated logic circuit, the dedicated logic circuit example
For example FPGA (field programmable gate array) or ASIC (specific integrated circuit).
The processor for being suitably executed computer program includes both for example general and special microprocessors and any type
Digital computer any one or more processors.In general, processor is from read-only memory or random access memory
Or the two receives instruction and data.The element of computer may include processor for executing instruction and refer to for storing
Enable one or more memory devices with data.In general, computer will also include one or more mass memory units so as to
Storing data or the computer are operationally coupled to receive from mass memory unit or transmit data to mass memory unit
Perhaps the two mass memory unit is, for example, disk, magneto-optic disk or CD.However, computer is not needed with such
Equipment.In addition, computer can be embedded in another equipment, which is, for example, mobile phone, personal digital assistant
(PDA), Mobile audio player, global positioning system (GPS) receiver etc..It is suitble to storage computer program instructions and data
Computer-readable medium includes the nonvolatile memory, medium and memory devices of form of ownership, including for example:Semiconductor is deposited
Storage device, such as EPROM, EEPROM and flash memory device;Disk, such as built-in hard disk or removable disk;Magneto-optic disk;And CD ROM
With DVD-ROM disk.The processor and memory can be supplemented or are incorporated in the dedicated logic circuit with dedicated logic circuit.
In order to provide the interaction with user, realizing for the embodiment of the present invention can have for showing information to user
Show equipment (such as CRT (cathode-ray tube) or LCD (liquid crystal display) monitor) and keyboard and pointing device (such as mouse
Mark or tracking ball can provide input to computer by its user) computer on realize.Also other types can be used
Equipment the interaction with user is provided;For example, the feedback provided a user may be any type of sense feedback, such as regard
Feel feedback, audio feedback or touch feedback;And input from the user can receive in any form, including the sense of hearing,
Voice or tactile input.
Although should not these details be interpreted as to the present invention or be wanted the embodiment of the present invention includes some details
The limitation of the range of the content of protection is asked, but should be understood as the description of the feature to example implementation of the invention.This hair
Certain features described in the situation being implemented separately can also be combined with single realization to provide in bright.On the contrary, single
Each feature described in the situation of realization can also provide in multiple realizations or in any suitable sub-portfolio respectively
In provide.Although in addition, can describe feature as executing and even initially requiring so in some combination above
Protection, however can remove from combination from claimed combined one or more features in some cases, and
Claimed combination can be related to the variation of sub-portfolio or sub-portfolio.
Similarly, although describing operation according to particular order in the accompanying drawings, this is understood not to require this
The operation of sample particular order shown in perhaps executes or requires all illustrated operations all to be held according to sequential order
Row, to realize desired result.In some circumstances, multitask and parallel processing may be advantageous.In addition, described above
The separation of various system units in realization is understood not to require such separation in all realizations, and should
Understanding, described program element and system usually can integrate or be packaged into single software product multiple
Software product.
Therefore, specific implementation of the invention has been described, and other are realized in the range of following claims.Example
Such as, the movement recorded in claim can execute in a different order, and these movements still may be implemented it is expected
Result.A large amount of realize has been described.It will be appreciated, however, that can be without departing from the spirit and scope of the present invention the case where
Under make various modifications.It is, for example, possible to use each form of process illustrated above, wherein step can be reordered,
Addition or removal.Therefore, other are realized in scope of protection of the claims.
Claims (10)
1. a kind of family's internet of things data communication means using BLE technology, for connecting Household intelligent gateway and at least one
Smart machine, the Household intelligent gateway include BLE host, and the smart machine includes BLE slave, which is characterized in that described
Method includes:
The BLE slave is externally broadcasted, and the content of the broadcast includes warning message;
When the warning message by the BLE Host Detection then, the BLE slave receives the foundation that the BLE host is sent
The request of connection;
Connection is established, the content of the broadcast is sent to the BLE host, so that the Household intelligent gateway is by the broadcast
Content be sent to the user terminal;
The instruction disconnected that the BLE host actively issues is received, is disconnected with the BLE host.
2. the method according to claim 1, wherein the warning message includes that device status information and first set
Standby identification information.
3. according to the method described in claim 2, it is characterized in that, first equipment identification information includes device name, MAC
At least one of address, device numbering.
4. method according to any one of claims 1 to 3, which is characterized in that receiving the disconnected of the BLE host active sending
The instruction for opening connection, before being disconnected with the BLE host, the method also includes:
The BLE slave receives the processed of BLE host transmission and finishes information, so that smart machine storage is described
Be disposed information;
Feedback reception finishes information to the BLE host, for the instruction of the BLE host active sending disconnected.
5. the method according to claim 1, wherein the method also includes:
The BLE slave receives the control information that the BLE host is sent, so that the smart machine stores the control letter
Breath, the control information includes operation content and the second equipment identification information;
The smart machine is stored into successful information and feeds back to the BLE host, so that the Household intelligent gateway will be described
It stores successful information and is sent to the user terminal, and the instruction disconnected for the BLE host active sending.
6. according to the method described in claim 5, it is characterized in that, receiving the control that the BLE host is sent in the BLE slave
Before information processed, the method includes:
The broadcast message that the BLE slave issues is matched with the control information, and the broadcast message includes third equipment
Identification information;
When second equipment identification information and the third equipment identification information successful match, the BLE slave receives institute
That states the sending of BLE host establishes connection request, establishes connection.
7. according to the method described in claim 6, it is characterized in that, second equipment identification information and the third equipment mark
Knowing information includes at least one of device name, MAC Address, device numbering.
8. a kind of family's internet of things data communication system using BLE technology, which is characterized in that including:
Smart machine is equipped with BLE slave in the smart machine, the BLE slave for externally being broadcasted, the broadcast
Content includes warning message;
Household intelligent gateway, is equipped with BLE host in the Household intelligent gateway, the BLE host for actively with the BLE from
Machine disconnects and detects the content of the broadcast, when detecting the warning message, sends and connects to the BLE slave
Request completes data communication to establish connection with the BLE slave;
User terminal receives the number completed after the BLE slave and the BLE main-machine communication that the Household intelligent gateway is sent
According to, and sent to the Household intelligent gateway and control information, the control information includes operation content and the second device identification
Information.
9. system according to claim 8, which is characterized in that the BLE slave is also used to receive the BLE host and sends
It is processed finish information, processed finish information so that smart machine storage is described;And
Feedback reception finishes information to the BLE host, for the instruction of the BLE host active sending disconnected.
10. system according to claim 8, which is characterized in that the BLE host is also used to receive the user terminal hair
The control information sent, the broadcast message issued according to BLE slave described in the control infomation detection, wherein the broadcast message
Including third equipment identification information, when second equipment identification information and the third equipment identification information successful match,
The BLE host issues the request for establishing connection to the BLE slave, establishes connection, the control information is sent to accordingly
The BLE slave;
The BLE slave is also used to receive the control information that the BLE host is sent, so that the smart machine stores the control
The smart machine is stored successful information and feeds back to the BLE host by information processed, so that the Household intelligent gateway is by institute
It states the successful information of storage and is sent to the user terminal, and the instruction disconnected for the BLE host active sending.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810794933.0A CN108924806A (en) | 2018-07-19 | 2018-07-19 | A kind of family's internet of things data communication means and system using BLE technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810794933.0A CN108924806A (en) | 2018-07-19 | 2018-07-19 | A kind of family's internet of things data communication means and system using BLE technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924806A true CN108924806A (en) | 2018-11-30 |
Family
ID=64416281
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810794933.0A Pending CN108924806A (en) | 2018-07-19 | 2018-07-19 | A kind of family's internet of things data communication means and system using BLE technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924806A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110446196A (en) * | 2019-08-12 | 2019-11-12 | 中南大学湘雅医院 | Gateway control method, apparatus and gateway working method, device and electronic equipment |
CN111212395A (en) * | 2019-12-25 | 2020-05-29 | 郑州嘉晨电器有限公司 | Sensor data transmission method and system based on low-power-consumption Bluetooth module |
CN112312361A (en) * | 2020-09-28 | 2021-02-02 | 歌尔科技有限公司 | Host and slave machine pairing method and system |
CN112601208A (en) * | 2020-12-22 | 2021-04-02 | 苏州光格科技股份有限公司 | Bluetooth communication method and system between power detection device and power gateway |
CN112601209A (en) * | 2020-12-22 | 2021-04-02 | 苏州光格科技股份有限公司 | Intermittent near-field communication method and device of power detection equipment |
CN113129573A (en) * | 2021-03-11 | 2021-07-16 | 科陆国际技术有限公司 | Automatic connection method and system of electric energy meter and computer readable storage medium |
CN113225692A (en) * | 2021-04-21 | 2021-08-06 | 北京锐达仪表有限公司 | Instrument searching and connecting method, device, system, equipment and storage medium |
CN114430544A (en) * | 2020-10-29 | 2022-05-03 | 美的集团股份有限公司 | Information interaction method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104571055A (en) * | 2015-01-20 | 2015-04-29 | 四川理工学院 | Intelligent home monitoring system based on internet of things |
CN204390437U (en) * | 2015-01-14 | 2015-06-10 | 深圳市欧瑞博电子有限公司 | A kind of gas alarm device and gas alarm system |
CN105785783A (en) * | 2016-03-30 | 2016-07-20 | 佛山市蓝天网络科技有限公司 | Intelligent household control system |
CN106358137A (en) * | 2015-07-14 | 2017-01-25 | 普天信息技术有限公司 | Slave unit access method in Bluetooth networking, slave unit and Bluetooth communication system |
CN106412111A (en) * | 2016-11-14 | 2017-02-15 | 南京物联传感技术有限公司 | Cloud-based whole house intelligent system |
CN106878926A (en) * | 2017-02-08 | 2017-06-20 | 泰凌微电子(上海)有限公司 | A kind of data transmission method based on low-power consumption bluetooth, from main equipment and system |
CN107274623A (en) * | 2017-08-01 | 2017-10-20 | 中消云(北京)物联网科技研究院有限公司 | A kind of Internet of Things fire-fighting family cloud detection system |
US9860677B1 (en) * | 2016-09-30 | 2018-01-02 | Intel Corporation | Internet-of-things gateway coordination |
-
2018
- 2018-07-19 CN CN201810794933.0A patent/CN108924806A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204390437U (en) * | 2015-01-14 | 2015-06-10 | 深圳市欧瑞博电子有限公司 | A kind of gas alarm device and gas alarm system |
CN104571055A (en) * | 2015-01-20 | 2015-04-29 | 四川理工学院 | Intelligent home monitoring system based on internet of things |
CN106358137A (en) * | 2015-07-14 | 2017-01-25 | 普天信息技术有限公司 | Slave unit access method in Bluetooth networking, slave unit and Bluetooth communication system |
CN105785783A (en) * | 2016-03-30 | 2016-07-20 | 佛山市蓝天网络科技有限公司 | Intelligent household control system |
US9860677B1 (en) * | 2016-09-30 | 2018-01-02 | Intel Corporation | Internet-of-things gateway coordination |
CN106412111A (en) * | 2016-11-14 | 2017-02-15 | 南京物联传感技术有限公司 | Cloud-based whole house intelligent system |
CN106878926A (en) * | 2017-02-08 | 2017-06-20 | 泰凌微电子(上海)有限公司 | A kind of data transmission method based on low-power consumption bluetooth, from main equipment and system |
CN107274623A (en) * | 2017-08-01 | 2017-10-20 | 中消云(北京)物联网科技研究院有限公司 | A kind of Internet of Things fire-fighting family cloud detection system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110446196A (en) * | 2019-08-12 | 2019-11-12 | 中南大学湘雅医院 | Gateway control method, apparatus and gateway working method, device and electronic equipment |
CN110446196B (en) * | 2019-08-12 | 2022-11-01 | 中南大学湘雅医院 | Gateway control method and device, gateway working method and device and electronic equipment |
CN111212395A (en) * | 2019-12-25 | 2020-05-29 | 郑州嘉晨电器有限公司 | Sensor data transmission method and system based on low-power-consumption Bluetooth module |
CN111212395B (en) * | 2019-12-25 | 2023-05-16 | 河南嘉晨智能控制股份有限公司 | Sensor data transmission method and system based on low-power-consumption Bluetooth module |
CN112312361A (en) * | 2020-09-28 | 2021-02-02 | 歌尔科技有限公司 | Host and slave machine pairing method and system |
CN114430544A (en) * | 2020-10-29 | 2022-05-03 | 美的集团股份有限公司 | Information interaction method and device, electronic equipment and storage medium |
CN112601208A (en) * | 2020-12-22 | 2021-04-02 | 苏州光格科技股份有限公司 | Bluetooth communication method and system between power detection device and power gateway |
CN112601209A (en) * | 2020-12-22 | 2021-04-02 | 苏州光格科技股份有限公司 | Intermittent near-field communication method and device of power detection equipment |
CN112601209B (en) * | 2020-12-22 | 2022-05-31 | 苏州光格科技股份有限公司 | Intermittent near-field communication method and device of power detection equipment |
CN113129573A (en) * | 2021-03-11 | 2021-07-16 | 科陆国际技术有限公司 | Automatic connection method and system of electric energy meter and computer readable storage medium |
CN113225692A (en) * | 2021-04-21 | 2021-08-06 | 北京锐达仪表有限公司 | Instrument searching and connecting method, device, system, equipment and storage medium |
CN113225692B (en) * | 2021-04-21 | 2022-04-19 | 北京锐达仪表有限公司 | Instrument searching and connecting method, device and system and instrument |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924806A (en) | A kind of family's internet of things data communication means and system using BLE technology | |
CN105612768B (en) | Lightweight IOT information model | |
US9681293B2 (en) | System for transmitting a data signal in a network, method, mobile transmitting device and network device | |
CN105282583B (en) | A kind of remote controler intelligent Matching system and implementation method | |
CN101894452A (en) | Mobile communication network-based intelligent home control method and system | |
WO2013033469A4 (en) | Resource manager, system, and method for communicating resource management information for smart energy and media resources | |
WO2016193417A1 (en) | Home appliance control method and control system | |
CN102625171A (en) | Remote control method, system and corresponding equipment for smart television | |
US20160132029A1 (en) | Method for configuring and controlling smart home products | |
US10621853B2 (en) | Electronic apparatus and method | |
CN104749996A (en) | Remote control method of ZigBee remote controller | |
CN112436985A (en) | Network distribution method, device, terminal equipment and storage medium | |
CN105191412A (en) | Delegating WIFI network discovery and traffic monitoring | |
CN108306796B (en) | Intelligent home system, and information processing method and device of intelligent home equipment | |
CN105069875A (en) | Electronic key, electronic devices and electronic device networking/pairing method | |
US20180376276A1 (en) | Remote internet communication with rf network devices | |
CN106685774A (en) | Intelligent household management method, device and system | |
CN103744384A (en) | Method for realizing smart homes, associated device and system | |
CN104950853A (en) | Intelligent control system | |
CN104267943A (en) | Peripheral adapting device and method | |
CN103345828A (en) | Method and system for controlling computer through intelligent terminal | |
KR102303095B1 (en) | Method for assigning a tag with an action within a network, respective network and control device | |
CN106302093B (en) | Communication method, system and server | |
US11516651B2 (en) | Wireless communication device that changes setting content of beacon terminal | |
KR20170109954A (en) | System and method for managing collaboration between the devices based on machine socialization using access point |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |