CN113098988A - Data transmission method and data transmission system - Google Patents

Data transmission method and data transmission system Download PDF

Info

Publication number
CN113098988A
CN113098988A CN201911337298.4A CN201911337298A CN113098988A CN 113098988 A CN113098988 A CN 113098988A CN 201911337298 A CN201911337298 A CN 201911337298A CN 113098988 A CN113098988 A CN 113098988A
Authority
CN
China
Prior art keywords
bluetooth
mac address
cloud server
security
information
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.)
Granted
Application number
CN201911337298.4A
Other languages
Chinese (zh)
Other versions
CN113098988B (en
Inventor
吴飞
谭华
龙腾
萧培新
黄粤
杨少龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201911337298.4A priority Critical patent/CN113098988B/en
Publication of CN113098988A publication Critical patent/CN113098988A/en
Application granted granted Critical
Publication of CN113098988B publication Critical patent/CN113098988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4552Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B27/00Alarm systems in which the alarm condition is signalled from a central station to a plurality of substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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

Abstract

The disclosure provides a data transmission method and a data transmission system, and relates to the field of intelligent security. The data transmission method comprises the following steps: the method comprises the steps that a terminal gateway obtains an MAC address list of Bluetooth security equipment bound with the terminal gateway from a cloud server; the terminal gateway receives Bluetooth broadcast data sent by the Bluetooth security equipment, and a protocol data unit in the Bluetooth broadcast data bears the MAC address, the security type information and the alarm data information of the Bluetooth security equipment; the terminal gateway analyzes the MAC address from the protocol data unit, and sends the protocol data unit to a cloud server through the narrowband Internet of things under the condition that the MAC address list contains the MAC address; the cloud server analyzes the security type information and the alarm data information from the protocol data unit and sends an alarm message to the user according to the MAC address, the security type information and the alarm data information. According to the method and the device, the Bluetooth security equipment can simply and efficiently upload security data to the cloud server, so that the cloud server can realize intelligent security according to the security data.

Description

Data transmission method and data transmission system
Technical Field
The disclosure relates to the field of intelligent security and protection, in particular to a data transmission method and a data transmission system.
Background
In the field of intelligent security, Bluetooth security equipment such as infrared, door magnetism and smoke sensing using the Bluetooth technology is largely used due to low cost, low power consumption and convenient wireless defense deployment. The alarm information of the bluetooth security equipment is usually reported to a server through a gateway for converting bluetooth to ethernet. However, wired networks or wifi wireless networks are not usually deployed in unattended machine rooms, warehouses, factories, apartments and the like, and such mature and reliable Bluetooth intelligent security equipment cannot be used.
Disclosure of Invention
The technical problem solved by the disclosure is how to simply and efficiently realize that the Bluetooth security equipment uploads security data to a cloud server, so that the cloud server realizes intelligent security according to the security data.
According to an aspect of an embodiment of the present disclosure, there is provided a data transmission method, including: the method comprises the steps that a terminal gateway obtains an MAC address list of Bluetooth security equipment bound with the terminal gateway from a cloud server; the terminal gateway receives Bluetooth broadcast data sent by the Bluetooth security equipment, and a protocol data unit in the Bluetooth broadcast data bears the MAC address, the security type information and the alarm data information of the Bluetooth security equipment; the terminal gateway analyzes the MAC address from the protocol data unit and sends the protocol data unit to a cloud server through the narrow-band Internet of things under the condition that the MAC address list contains the MAC address; the cloud server analyzes the security type information and the alarm data information from the protocol data unit and sends an alarm message to the user according to the MAC address, the security type information and the alarm data information.
In some embodiments, the acquiring, by the end gateway, the MAC address list of the bluetooth security device bound to the end gateway from the cloud server includes: after the terminal gateway is powered on, sending identification information of the terminal gateway to a cloud server; the cloud server inquires a preset binding relation table by using the identification information of the terminal gateway to obtain an MAC address list of the Bluetooth security equipment bound with the identification information of the terminal gateway; and the cloud server sends the MAC address list to the terminal gateway.
In some embodiments, the data transmission method further comprises: the mobile phone terminal scans the two-dimensional code on the terminal gateway through the client application to obtain the terminal type information and the identification information of the terminal gateway; the mobile phone terminal scans the two-dimensional codes of the plurality of Bluetooth security devices through the client application to obtain device type information and MAC addresses of the plurality of Bluetooth security devices; the mobile phone terminal binds the identification information of the terminal gateway with the MAC addresses of the plurality of Bluetooth security devices according to the terminal type information of the terminal gateway and the device type information of the plurality of Bluetooth security devices to generate a binding relation table; and the mobile phone terminal sends the binding relation table to a cloud server.
In some embodiments, the receiving, by the terminal gateway, bluetooth broadcast data sent by the bluetooth security device, where a protocol data unit in the bluetooth broadcast data carries an MAC address, security type information, and alarm data information of the bluetooth security device includes: the terminal gateway receives Bluetooth broadcast data sent by a plurality of Bluetooth security devices; the terminal gateway analyzes the MAC address from the protocol data unit, and sends the protocol data unit to the cloud server through the narrowband Internet of things under the condition that the MAC address list contains the MAC address, wherein the method comprises the following steps: the terminal gateway analyzes the MAC addresses of the plurality of Bluetooth security devices from the protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices, and sends the protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices to the cloud server through the narrow-band Internet of things under the condition that the MAC address list contains the MAC addresses of the plurality of Bluetooth security devices.
In some embodiments, the cloud server parsing the security type information and the alarm data information from the protocol data unit, and sending the alarm message to the user according to the MAC address, the security type information, and the alarm data information includes: the cloud server determines contact information of the user according to the MAC address; the cloud server determines the content of the alarm message according to the security type information and the alarm data information; the cloud server pushes the content of the alarm message to the user by using the contact information of the user.
According to another aspect of the embodiments of the present disclosure, there is provided a data transmission system including: a terminating gateway configured to: acquiring an MAC address list of the Bluetooth security equipment bound with a terminal gateway from a cloud server; receiving Bluetooth broadcast data sent by Bluetooth security equipment, wherein a protocol data unit in the Bluetooth broadcast data bears an MAC address, security type information and alarm data information of the Bluetooth security equipment; resolving the MAC address from the protocol data unit, and sending the protocol data unit to a cloud server through a narrow-band Internet of things under the condition that the MAC address list contains the MAC address; a cloud server configured to: and analyzing the security type information and the alarm data information from the protocol data unit, and sending an alarm message to the user according to the MAC address, the security type information and the alarm data information.
In some embodiments, the terminating gateway is configured to: after the power is on, sending identification information of the terminal gateway to a cloud server; the cloud server is configured to: inquiring a pre-configured binding relation table by using the identification information of the terminal gateway to obtain an MAC address list of the Bluetooth security equipment bound with the identification information of the terminal gateway; and sending the MAC address list to the terminal gateway.
In some embodiments, the data transmission system further comprises a handset terminal configured to: scanning a two-dimensional code on a terminal gateway through a client application to obtain terminal type information and identification information of the terminal gateway; scanning the two-dimensional codes of the plurality of Bluetooth security devices through the client application to obtain device type information and MAC addresses of the plurality of Bluetooth security devices; binding the identification information of the terminal gateway with the MAC addresses of the plurality of Bluetooth security devices according to the terminal type information of the terminal gateway and the device type information of the plurality of Bluetooth security devices to generate a binding relation table; and sending the binding relation table to a cloud server.
In some embodiments, the terminating gateway is configured to: receiving Bluetooth broadcast data sent by a plurality of Bluetooth security devices; and analyzing the MAC addresses of the plurality of Bluetooth security devices from protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices, and sending the protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices to the cloud server through the narrow-band Internet of things under the condition that the MAC address list contains the MAC addresses of the plurality of Bluetooth security devices.
In some embodiments, the cloud server is configured to: determining contact information of a user according to the MAC address; determining the content of the alarm message according to the security type information and the alarm data information; and pushing the content of the alarm message to the user by utilizing the contact information of the user.
According to the method and the device, the Bluetooth security equipment can simply and efficiently upload security data to the cloud server, so that the cloud server can realize intelligent security according to the security data.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 shows a flow diagram of a data transmission method of some embodiments of the present disclosure.
Fig. 2 is a flow chart illustrating a data transmission method according to further embodiments of the present disclosure.
Fig. 3 shows a schematic structural diagram of a data transmission system according to some embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the traditional technical scheme, the bluetooth gateway may be wifi or wired ethernet connected to the cloud platform, or may only have a functional module of the bluetooth gateway. The method comprises the steps of designing a terminal gateway with an NB-IoT (Narrow Band Internet of Things) module and a Bluetooth module supporting a BLE (Bluetooth Low Energy) 4.1 protocol, various Bluetooth security devices supporting the BLE4.1 protocol, a mobile phone terminal provided with a client application APP and a cloud server system, and formulating a flow and a protocol for reporting alarm data to the cloud server.
Various bluetooth security protection equipment that support BLE4.1 agreement adopt battery powered, adopt broadcasting mode and terminal gateway communication. Under normal conditions, the Bluetooth security equipment sends heartbeat data outwards in a Bluetooth broadcasting mode defined by BLE4.1 at certain intervals (for example, 30 minutes); when an abnormal state is detected, the Bluetooth security equipment immediately sends out alarm data in a predefined data format on a BLE application layer in a broadcasting mode; alarm data is continuously transmitted on the bluetooth broadcast channels (37, 38, 39) at 200ms intervals, respectively.
The mobile phone terminal scans the two-dimensional code through the APP to obtain the type and the identification of the terminal gateway, and the terminal with the NB-IoT module and the BLE4.1 protocol Bluetooth module is added and defined as the gateway. And then, performing gateway sub-equipment management, acquiring the equipment type and Bluetooth MAC address information of the Bluetooth security equipment by scanning the two-dimensional code, and adding the Bluetooth security equipment. The mobile phone terminal binds the relationship between the terminal gateway and the Bluetooth security equipment through the APP, and uploads the binding relationship to the cloud server.
The terminal gateway with the NB-IoT module and the BLE4.1 protocol Bluetooth module adopts an external power supply to supply power, after the power is on, the binding relationship between the terminal gateway and various Bluetooth security devices is obtained from cloud service, and MAC address lists of the bound various Bluetooth security devices are stored in a local cache. And then, entering a working mode, starting the Bluetooth module, continuously scanning the peripheral Bluetooth broadcast data packets supporting the BLE4.1 protocol, and comparing whether the MAC address in the data packets is consistent with the MAC address stored in the local cache. And when the broadcast packets are consistent, forwarding the received broadcast packets to the cloud server through a data format predefined by the NB-IoT module.
And the cloud server receives a request of the terminal gateway for acquiring the MAC address list of the Bluetooth security equipment bound with the terminal gateway, and returns the MAC list to the terminal gateway. The cloud server also receives alarm data uploaded by the terminal gateway, analyzes and stores the data, and pushes the alarm information to a user telephone, a short message or a WeChat through a pre-designed rule engine.
Some embodiments of the data transmission method of the present disclosure are described below with reference to fig. 1 to introduce a process of binding a terminal gateway and a bluetooth security device.
Fig. 1 shows a flow diagram of a data transmission method of some embodiments of the present disclosure. As shown in fig. 1, the data transmission method in the present embodiment includes steps S101 to S104.
In step S101, the mobile phone terminal scans the two-dimensional code on the terminal gateway through the client application to obtain the terminal type information and the identification information of the terminal gateway.
In step S102, the mobile phone terminal scans the two-dimensional codes of the plurality of bluetooth security devices through the client application to obtain device type information and MAC addresses of the plurality of bluetooth security devices.
In step S103, the mobile phone terminal binds the identification information of the terminal gateway and the MAC addresses of the plurality of bluetooth security devices according to the terminal type information of the terminal gateway and the device type information of the plurality of bluetooth security devices, and generates a binding relationship table.
In step S104, the mobile phone terminal sends the binding relationship table to the cloud server.
According to the embodiment, the binding relationship between the terminal gateway and the Bluetooth security equipment can be conveniently established through the mobile phone terminal.
Other embodiments of the data transmission method disclosed in the present disclosure are described below with reference to fig. 2 to describe a data reporting process of the bluetooth security device.
Fig. 2 is a flow chart illustrating a data transmission method according to further embodiments of the present disclosure. As shown in fig. 2, the data transmission method in the present embodiment includes steps S201 to S204.
In step S201, the terminal gateway obtains an MAC address list of the bluetooth security device bound to the terminal gateway from the cloud server.
And after the terminal gateway is powered on, the identification information of the terminal gateway is sent to the cloud server. And the cloud server inquires a preset binding relation table by using the identification information of the terminal gateway to obtain an MAC address list of the Bluetooth security equipment bound with the identification information of the terminal gateway. Then, the cloud server sends the MAC address list to the terminal gateway.
For example, the terminal gateway may send a request for acquiring the MAC address of the bound bluetooth security device to the cloud server, where the request carries identification information of the terminal gateway, and a message structure of the request is shown in table 1, for example. The cloud server may feed back a response message to the terminal gateway, where the response message carries an MAC address list of the bluetooth security device bound to the identification information of the terminal gateway, and the structure of the response message is shown in table 2, for example.
TABLE 1
Figure BDA0002331285040000061
TABLE 2
Figure BDA0002331285040000062
In step S202, the terminal gateway receives bluetooth broadcast data sent by the bluetooth security device, and a protocol data unit in the bluetooth broadcast data carries an MAC address, security type information, and alarm data information of the bluetooth security device.
Table 3 shows a schematic structural diagram of bluetooth broadcast data under BLE4.1 protocol. Table 4 shows a schematic structure of the payload of the protocol data unit in the bluetooth broadcast data. Table 5 shows a schematic diagram of the structure of the payload data in the payload. Table 6 shows a structural diagram of sensor data in the load data. The MAC address of the Bluetooth security equipment is located in the load of the protocol data unit, and the security type information and the alarm data information are located in the sensor data in the load data. The security type information can be represented by different numbers as various Bluetooth security devices such as a security door magnet, a security smoke sensor, security human infrared, security water immersion and the like of a certain unattended warehouse, and the alarm data information represents information such as heartbeat, a battery state, an alarm state and the like through different numbers.
TABLE 3
Figure BDA0002331285040000071
TABLE 4
Payload header MAC address Payload data
2 bytes 6 bytes Maximum 31 bytes
TABLE 5
Figure BDA0002331285040000072
TABLE 6
Protocol version Type of security Alarm data Check code
1 byte 1 byte 1 byte 1 byte
In some embodiments, the terminal gateway receives bluetooth broadcast data sent by a plurality of bluetooth security devices.
In step S203, the terminating gateway parses the MAC address from the protocol data unit, and sends the protocol data unit to the cloud server through the narrowband internet of things if the MAC address list includes the MAC address.
In some embodiments, the terminal gateway parses MAC addresses of the plurality of bluetooth security devices from protocol data units in bluetooth broadcast data sent by the plurality of bluetooth security devices, and sends the protocol data units in the bluetooth broadcast data sent by the plurality of bluetooth security devices to the cloud server through the narrowband internet of things when the MAC address list includes the MAC addresses of the plurality of bluetooth security devices. The message structure sent by the terminating gateway to the cloud server is shown in table 7, for example.
TABLE 7
Figure BDA0002331285040000081
In step S204, the cloud server parses the security type information and the alarm data information from the protocol data unit, and sends an alarm message to the user according to the MAC address, the security type information, and the alarm data information.
For example, the cloud server may determine contact information for the user from the MAC address. And then, the cloud server determines the content of the alarm message according to the security type information and the alarm data information, and pushes the content of the alarm message to the user by using the contact information of the user.
According to the embodiment, the broadcasting mode of the reported data of the Bluetooth security equipment can be simplified, the work of a traditional terminal gateway is simplified, the terminal gateway can upload alarm data to the cloud server in a message filtering mode, the security data can be uploaded to the cloud server by the Bluetooth security equipment in a low-cost, simple and efficient mode, the cloud server can achieve intelligent security according to the security data, and a user can see the alarm data and take corresponding emergency processing as soon as possible.
Meanwhile, the NB-IoT communication technology has the advantages of low bandwidth, wide coverage, mass connection, strong penetration and low cost, so that the method can be rapidly popularized and applied, and intelligent security of unattended machine rooms, warehouses, plants, apartments and the like without deploying wired networks or wifi wireless networks is realized.
Some embodiments of the disclosed data transmission system are described below in conjunction with fig. 3.
Fig. 3 shows a schematic structural diagram of a data transmission system according to some embodiments of the present disclosure. As shown in fig. 3, the data transmission system 30 in the present embodiment includes: a terminating gateway 301 configured to: acquiring an MAC address list of the Bluetooth security equipment bound with a terminal gateway from a cloud server; receiving Bluetooth broadcast data sent by Bluetooth security equipment, wherein a protocol data unit in the Bluetooth broadcast data bears an MAC address, security type information and alarm data information of the Bluetooth security equipment; resolving the MAC address from the protocol data unit, and sending the protocol data unit to a cloud server through a narrow-band Internet of things under the condition that the MAC address list contains the MAC address; a cloud server 302 configured to: and analyzing the security type information and the alarm data information from the protocol data unit, and sending an alarm message to the user according to the MAC address, the security type information and the alarm data information.
According to the embodiment, the broadcasting mode of the reported data of the Bluetooth security equipment can be simplified, the work of a traditional terminal gateway is simplified, the terminal gateway can upload alarm data to the cloud server in a message filtering mode, the security data can be uploaded to the cloud server by the Bluetooth security equipment in a low-cost, simple and efficient mode, the cloud server can achieve intelligent security according to the security data, and a user can see the alarm data and take corresponding emergency processing as soon as possible.
Meanwhile, the NB-IoT communication technology has the advantages of low bandwidth, wide coverage, mass connection, strong penetration and low cost, so that the method can be rapidly popularized and applied, and intelligent security of unattended machine rooms, warehouses, plants, apartments and the like without deploying wired networks or wifi wireless networks is realized.
In some embodiments, the terminating gateway 301 is configured to: after the power is on, sending identification information of the terminal gateway to a cloud server; the cloud server is configured to: inquiring a pre-configured binding relation table by using the identification information of the terminal gateway to obtain an MAC address list of the Bluetooth security equipment bound with the identification information of the terminal gateway; and sending the MAC address list to the terminal gateway.
In some embodiments, the data transmission system 30 further comprises a handset terminal 303 configured to: scanning a two-dimensional code on a terminal gateway through a client application to obtain terminal type information and identification information of the terminal gateway; scanning the two-dimensional codes of the plurality of Bluetooth security devices through the client application to obtain device type information and MAC addresses of the plurality of Bluetooth security devices; binding the identification information of the terminal gateway with the MAC addresses of the plurality of Bluetooth security devices according to the terminal type information of the terminal gateway and the device type information of the plurality of Bluetooth security devices to generate a binding relation table; and sending the binding relation table to a cloud server.
According to the embodiment, the binding relationship between the terminal gateway and the Bluetooth security equipment can be conveniently established through the mobile phone terminal.
In some embodiments, the terminating gateway 301 is configured to: receiving Bluetooth broadcast data sent by a plurality of Bluetooth security devices; and analyzing the MAC addresses of the plurality of Bluetooth security devices from protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices, and sending the protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices to the cloud server through the narrow-band Internet of things under the condition that the MAC address list contains the MAC addresses of the plurality of Bluetooth security devices.
In some embodiments, cloud server 302 is configured to: determining contact information of a user according to the MAC address; determining the content of the alarm message according to the security type information and the alarm data information; and pushing the content of the alarm message to the user by utilizing the contact information of the user.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A method of data transmission, comprising:
the method comprises the steps that a terminal gateway obtains an MAC address list of Bluetooth security equipment bound with the terminal gateway from a cloud server;
the terminal gateway receives Bluetooth broadcast data sent by the Bluetooth security equipment, and a protocol data unit in the Bluetooth broadcast data bears the MAC address, the security type information and the alarm data information of the Bluetooth security equipment;
the terminal gateway analyzes the MAC address from the protocol data unit and sends the protocol data unit to a cloud server through a narrowband Internet of things under the condition that the MAC address list contains the MAC address;
the cloud server analyzes the security type information and the alarm data information from the protocol data unit, and sends an alarm message to a user according to the MAC address, the security type information and the alarm data information.
2. The data transmission method according to claim 1, wherein the acquiring, by the terminal gateway, the MAC address list of the bluetooth security device bound to the terminal gateway from the cloud server includes:
after the terminal gateway is powered on, sending identification information of the terminal gateway to a cloud server;
the cloud server inquires a preset binding relation table by using the identification information of the terminal gateway to obtain an MAC address list of the Bluetooth security equipment bound with the identification information of the terminal gateway;
and the cloud server sends the MAC address list to a terminal gateway.
3. The data transmission method of claim 2, further comprising:
the mobile phone terminal scans the two-dimensional code on the terminal gateway through the client application to obtain the terminal type information and the identification information of the terminal gateway;
the mobile phone terminal scans the two-dimensional codes of the plurality of Bluetooth security devices through the client application to obtain device type information and MAC addresses of the plurality of Bluetooth security devices;
the mobile phone terminal binds the identification information of the terminal gateway with the MAC addresses of the plurality of Bluetooth security devices according to the terminal type information of the terminal gateway and the device type information of the plurality of Bluetooth security devices to generate a binding relation table;
and the mobile phone terminal sends the binding relation table to a cloud server.
4. The data transmission method according to claim 1,
the terminal gateway receives Bluetooth broadcast data sent by the Bluetooth security equipment, and a protocol data unit in the Bluetooth broadcast data bears the MAC address, the security type information and the alarm data information of the Bluetooth security equipment, and the terminal gateway comprises: the terminal gateway receives Bluetooth broadcast data sent by a plurality of Bluetooth security devices;
the terminal gateway analyzing the MAC address from the protocol data unit, and sending the protocol data unit to a cloud server through a narrowband internet of things under the condition that the MAC address list contains the MAC address comprises: the terminal gateway analyzes the MAC addresses of the plurality of Bluetooth security devices from protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices, and sends the protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices to the cloud server together through the narrow-band Internet of things under the condition that the MAC address list contains the MAC addresses of the plurality of Bluetooth security devices.
5. The data transmission method according to claim 1, wherein the cloud server parsing the security type information and the alarm data information from the protocol data unit, and sending an alarm message to a user according to the MAC address, the security type information, and the alarm data information comprises:
the cloud server determines contact information of the user according to the MAC address;
the cloud server determines the content of an alarm message according to the security type information and the alarm data information;
the cloud server pushes the content of the alarm message to the user by using the contact information of the user.
6. A data transmission system comprising:
a terminating gateway configured to: acquiring an MAC address list of the Bluetooth security equipment bound with a terminal gateway from a cloud server; receiving Bluetooth broadcast data sent by Bluetooth security equipment, wherein a protocol data unit in the Bluetooth broadcast data bears an MAC address, security type information and alarm data information of the Bluetooth security equipment; analyzing the MAC address from the protocol data unit, and sending the protocol data unit to a cloud server through a narrow-band Internet of things under the condition that the MAC address list contains the MAC address;
a cloud server configured to: and analyzing the security type information and the alarm data information from the protocol data unit, and sending an alarm message to a user according to the MAC address, the security type information and the alarm data information.
7. The data transmission system of claim 6,
the terminating gateway is configured to: after the power is on, sending identification information of the terminal gateway to a cloud server;
the cloud server is configured to: inquiring a pre-configured binding relation table by using the identification information of the terminal gateway to obtain an MAC address list of the Bluetooth security equipment bound with the identification information of the terminal gateway; and sending the MAC address list to a terminal gateway.
8. The data transmission system of claim 7, further comprising a handset terminal configured to:
scanning a two-dimensional code on a terminal gateway through a client application to obtain terminal type information and identification information of the terminal gateway;
scanning the two-dimensional codes of the plurality of Bluetooth security devices through the client application to obtain device type information and MAC addresses of the plurality of Bluetooth security devices;
binding the identification information of the terminal gateway with the MAC addresses of the plurality of Bluetooth security devices according to the terminal type information of the terminal gateway and the device type information of the plurality of Bluetooth security devices to generate a binding relation table;
and sending the binding relation table to a cloud server.
9. The data transmission system of claim 6, wherein the terminating gateway is configured to:
receiving Bluetooth broadcast data sent by a plurality of Bluetooth security devices;
and analyzing the MAC addresses of the plurality of Bluetooth security devices from protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices, and sending the protocol data units in the Bluetooth broadcast data sent by the plurality of Bluetooth security devices to the cloud server together through the narrow-band Internet of things under the condition that the MAC address list contains the MAC addresses of the plurality of Bluetooth security devices.
10. The data transmission system of claim 6, wherein the cloud server is configured to:
determining contact information of a user according to the MAC address;
determining the content of an alarm message according to the security type information and the alarm data information;
and pushing the content of the alarm message to the user by utilizing the contact information of the user.
CN201911337298.4A 2019-12-23 2019-12-23 Data transmission method and data transmission system Active CN113098988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911337298.4A CN113098988B (en) 2019-12-23 2019-12-23 Data transmission method and data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911337298.4A CN113098988B (en) 2019-12-23 2019-12-23 Data transmission method and data transmission system

Publications (2)

Publication Number Publication Date
CN113098988A true CN113098988A (en) 2021-07-09
CN113098988B CN113098988B (en) 2022-06-24

Family

ID=76663941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911337298.4A Active CN113098988B (en) 2019-12-23 2019-12-23 Data transmission method and data transmission system

Country Status (1)

Country Link
CN (1) CN113098988B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645598A (en) * 2021-08-09 2021-11-12 深圳市发掘科技有限公司 BLE-based management method, system and application
CN113992698A (en) * 2021-09-18 2022-01-28 杭州涂鸦信息技术有限公司 Intelligent device management method, gateway and computer readable storage medium
CN116266845A (en) * 2022-11-29 2023-06-20 浙江绍兴苏泊尔生活电器有限公司 Data transmission method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652399A (en) * 2016-11-03 2017-05-10 上海庆科信息技术有限公司 Security protection alarm system based on Internet of things, communication module and cloud server
US20170238236A1 (en) * 2016-02-17 2017-08-17 Zitovault, Inc. Mac address-bound wlan password
CN108011814A (en) * 2018-01-12 2018-05-08 河北工业大学 A kind of multi-protocols intelligent gateway and its implementation based on arrowband Internet of Things
CN207718466U (en) * 2018-01-25 2018-08-10 河北烽联信息技术有限公司 A kind of intelligent cloud control lock based on NB-Iot communications
CN108667696A (en) * 2018-04-28 2018-10-16 烽火祥云网络科技有限公司 A kind of intelligent domestic system
CN208335287U (en) * 2018-07-06 2019-01-04 曾云辉 A kind of system of registering based on bluetooth and NB-IOT
CN209375643U (en) * 2019-03-21 2019-09-10 讯之美物联网服务有限公司 A kind of base station based on NB and bluetooth communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170238236A1 (en) * 2016-02-17 2017-08-17 Zitovault, Inc. Mac address-bound wlan password
CN106652399A (en) * 2016-11-03 2017-05-10 上海庆科信息技术有限公司 Security protection alarm system based on Internet of things, communication module and cloud server
CN108011814A (en) * 2018-01-12 2018-05-08 河北工业大学 A kind of multi-protocols intelligent gateway and its implementation based on arrowband Internet of Things
CN207718466U (en) * 2018-01-25 2018-08-10 河北烽联信息技术有限公司 A kind of intelligent cloud control lock based on NB-Iot communications
CN108667696A (en) * 2018-04-28 2018-10-16 烽火祥云网络科技有限公司 A kind of intelligent domestic system
CN208335287U (en) * 2018-07-06 2019-01-04 曾云辉 A kind of system of registering based on bluetooth and NB-IOT
CN209375643U (en) * 2019-03-21 2019-09-10 讯之美物联网服务有限公司 A kind of base station based on NB and bluetooth communication

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645598A (en) * 2021-08-09 2021-11-12 深圳市发掘科技有限公司 BLE-based management method, system and application
CN113645598B (en) * 2021-08-09 2023-11-21 深圳市发掘科技有限公司 Management method, system and application based on BLE
CN113992698A (en) * 2021-09-18 2022-01-28 杭州涂鸦信息技术有限公司 Intelligent device management method, gateway and computer readable storage medium
CN116266845A (en) * 2022-11-29 2023-06-20 浙江绍兴苏泊尔生活电器有限公司 Data transmission method and device
CN116266845B (en) * 2022-11-29 2024-02-13 浙江绍兴苏泊尔生活电器有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN113098988B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN113098988B (en) Data transmission method and data transmission system
US11032739B2 (en) Dynamic header compression for constrained networks
KR102478098B1 (en) Method and apparatus for controlling visitor calling in home network system
EP2712216B1 (en) Method, relevant device and system for pushing and receiving service information
CN102461288B (en) The enhanced debugging of Radio Network System
CN105554787B (en) Data transmission method and intelligent acquisition equipment, intelligent terminal and cloud server
US20140071276A1 (en) Wireless pest management system and method
JP7323031B2 (en) Wireless sensor system and communication control method
CN108770009B (en) Link fault positioning method, device, equipment and readable storage medium
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN102387521A (en) Method and system for monitoring states of nodes of wireless sensor network (WSN)
CN104539749A (en) Connecting method and device based on virtual IP address
JP2017017670A (en) Communication device and communication method
CN101500199B (en) Message receiving apparatus, processing method and communication terminal
CN104780587A (en) AP (access point) accessing method and system for WiFi (wireless fidelity) equipment in Internet of Things
CN103023668B (en) A kind of find and control method, the Apparatus and system of embedded log equipment
CN102523577A (en) Method and device for updating application service
CN112714159A (en) Message forwarding method and device, storage medium and electronic device
CN109041022B (en) Network management method, Bluetooth module, medium and computer
US9888453B2 (en) Integrated paging technique
JP2017103527A (en) Communication device and communication method
CN113596089B (en) Distribution network binding method and device of equipment, storage medium and electronic device
CN113965904A (en) Device registration method, device and storage medium
CN102572807A (en) Device and method for automatically acquiring mobile phone terminal equipment model
CN103812537A (en) FMP support device and method based on Android system

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
GR01 Patent grant
GR01 Patent grant