CN109640339B - Method, device, system and storage medium for managing multiple Bluetooth antenna devices - Google Patents

Method, device, system and storage medium for managing multiple Bluetooth antenna devices Download PDF

Info

Publication number
CN109640339B
CN109640339B CN201811573096.5A CN201811573096A CN109640339B CN 109640339 B CN109640339 B CN 109640339B CN 201811573096 A CN201811573096 A CN 201811573096A CN 109640339 B CN109640339 B CN 109640339B
Authority
CN
China
Prior art keywords
antenna
bluetooth antenna
bluetooth
equipment
mac address
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.)
Active
Application number
CN201811573096.5A
Other languages
Chinese (zh)
Other versions
CN109640339A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201811573096.5A priority Critical patent/CN109640339B/en
Publication of CN109640339A publication Critical patent/CN109640339A/en
Application granted granted Critical
Publication of CN109640339B publication Critical patent/CN109640339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

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

Abstract

The invention discloses a method, equipment, a system and a storage medium for managing various Bluetooth antenna equipment, which are used for solving the technical problem that the same gateway equipment in the prior art cannot support various Bluetooth antenna equipment. The method comprises the following steps: receiving a broadcast data packet sent by Bluetooth antenna equipment; the broadcast data packet at least comprises an MAC address of the Bluetooth antenna equipment; judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not based on the MAC address; if so, determining the antenna type of the Bluetooth antenna equipment from the pre-stored MAC address and antenna type records based on the MAC address; determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter.

Description

Method, device, system and storage medium for managing multiple Bluetooth antenna devices
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a method, device, system, and storage medium for managing multiple bluetooth antenna devices.
Background
In a mobile communication network, an indoor network is overlaid by using a smart indoor subnet.
The intelligent room sub-network generally comprises Bluetooth antenna equipment, gateway equipment and a network management server, wherein the Bluetooth antenna equipment is arranged indoors to cover an indoor network, the gateway equipment is communicated with the Bluetooth antenna equipment through Bluetooth, data sent to the Bluetooth antenna equipment by the network management server is forwarded to the Bluetooth antenna equipment, and the data sent to the network management server by the Bluetooth antenna equipment is forwarded to the network management server.
However, with the rapid development of mobile communication network construction and customer application requirements, the number of types of bluetooth antenna devices is increasing to meet the functional requirements and signal quality requirements of mobile communication devices, which makes the smart division network require one gateway device to support a plurality of different types of bluetooth antenna devices.
However, in the prior art, one type of bluetooth antenna device can only correspond to one type of gateway device, so that it is impossible to implement that one type of gateway device manages all types of bluetooth devices, and further, the indoor distribution network has technical problems of more redundancy, resource waste and low management efficiency.
In view of this, how to enable a gateway device to support multiple types of bluetooth antenna devices is a technical problem to be solved urgently.
Disclosure of Invention
The invention provides a method, equipment, a system and a storage medium for managing various Bluetooth antenna equipment, which are used for solving the technical problem that one gateway equipment in the prior art cannot support various Bluetooth antenna equipment.
In a first aspect, to solve the above technical problem, an embodiment of the present invention provides a method for managing multiple types of bluetooth antenna devices, which is applied to a gateway device, and has a technical solution as follows:
receiving a broadcast data packet sent by Bluetooth antenna equipment; wherein the broadcast data packet includes at least the MAC address of the Bluetooth antenna device;
judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not based on the MAC address;
if so, determining the antenna type of the Bluetooth antenna equipment from a prestored MAC address and antenna type record based on the MAC address;
determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type.
Judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not through the MAC address contained in the received broadcast data packet sent by the Bluetooth antenna equipment, and if so, determining the antenna type of the Bluetooth antenna equipment from the prestored MAC address and antenna type record based on the MAC address; then, based on the antenna type of the Bluetooth antenna equipment and the preset mapping relation between the antenna type and the parameters, determining the difference parameters of the Bluetooth antenna equipment, and sending real-time data corresponding to the difference parameters in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type. Therefore, the technical effect of managing various Bluetooth antenna devices by using the same gateway device is achieved.
Optionally, after judging whether the bluetooth antenna device is an existing bluetooth antenna device in the smart room subsystem, the method further includes:
if the Bluetooth antenna equipment is not the existing Bluetooth antenna equipment in the intelligent room subsystem, recording the MAC address, and marking the state of the Bluetooth antenna equipment as an unreported state;
sending a connection request to the Bluetooth antenna equipment according to the MAC address; wherein the connection request is used for acquiring the common parameters of the Bluetooth antenna equipment.
Optionally, sending a connection request to the bluetooth antenna device according to the MAC address includes:
and if the Bluetooth antenna equipment is not connected within the specified time, periodically sending the connection request to the Bluetooth antenna equipment until the Bluetooth antenna equipment is connected.
Optionally, after sending the connection request to the bluetooth antenna device according to the MAC address, the method further includes:
receiving the common parameters of the Bluetooth antenna equipment, and marking the state of the Bluetooth antenna equipment as a reported state;
and sending the common parameter and the MAC address to the network management server, so that the MAC address of the Bluetooth antenna equipment and the common parameter are recorded in the network management server.
Optionally, the antenna type includes:
spot light type antenna, dual polarization type antenna, extended antenna, and all-round antenna.
Optionally, the common parameters include:
any one of a product serial number SN, a MAC address, an antenna model number, an antenna software version number, a UUID, a MINOR, a MAJOR, an EPC Code, a broadcast cycle, or a combination of at least two.
Optionally, the difference parameter includes:
when the antenna type is a spotlight type antenna, the difference parameters are a link line loss value of 1-3, the electric quantity of the spotlight type antenna and a downward inclination angle;
when the antenna type is an extended antenna, the difference parameter is a link line loss value 1 and the electric quantity of the extended antenna;
when the antenna type is a dual-polarized antenna, the difference parameter is a link line loss value of 1-2;
when the antenna type is an all-round antenna, the difference parameter is an RFID line loss value; and the RFID line loss value is obtained from an RFID module of the gateway equipment.
In a second aspect, an embodiment of the present invention provides a gateway device, including:
the receiving unit is used for receiving the broadcast data packet sent by the Bluetooth antenna equipment; wherein the broadcast data packet includes at least the MAC address of the Bluetooth antenna device;
the judging unit is used for judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not based on the MAC address;
the processing unit is used for determining the antenna type of the Bluetooth antenna equipment from a prestored MAC address and antenna type record based on the MAC address if the Bluetooth antenna equipment is in the Bluetooth state; determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type.
Optionally, the processing unit is further configured to:
if the Bluetooth antenna equipment is not the existing Bluetooth antenna equipment in the intelligent room subsystem, recording the MAC address, and marking the state of the Bluetooth antenna equipment as an unreported state;
sending a connection request to the Bluetooth antenna equipment according to the MAC address; wherein the connection request is used for acquiring the common parameters of the Bluetooth antenna equipment.
Optionally, the processing unit is further configured to:
and if the Bluetooth antenna equipment is not connected within the specified time, periodically sending the connection request to the Bluetooth antenna equipment until the Bluetooth antenna equipment is connected.
Optionally, the processing unit is further configured to:
receiving the common parameters of the Bluetooth antenna equipment, and marking the state of the Bluetooth antenna equipment as a reported state;
and sending the common parameter and the MAC address to the network management server, so that the MAC address of the Bluetooth antenna equipment and the common parameter are recorded in the network management server.
Optionally, the antenna type includes:
spot light type antenna, dual polarization type antenna, extended antenna, and all-round antenna.
Optionally, the common parameters include:
any one of a product serial number SN, a MAC address, an antenna model number, an antenna software version number, a UUID, a MINOR, a MAJOR, an EPC Code, a broadcast cycle, or a combination of at least two.
Optionally, the difference parameter includes:
when the antenna type is a spotlight type antenna, the difference parameters are a link line loss value of 1-3, the electric quantity of the spotlight type antenna and a downward inclination angle;
when the antenna type is an extended antenna, the difference parameter is a link line loss value 1 and the electric quantity of the extended antenna;
when the antenna type is a dual-polarized antenna, the difference parameter is a link line loss value of 1-2;
when the antenna type is an all-round antenna, the difference parameter is an RFID line loss value; and the RFID line loss value is obtained from an RFID module of the gateway equipment.
In a third aspect, an embodiment of the present invention provides an intelligent room subsystem, where the intelligent room subsystem includes multiple bluetooth antenna devices of different types, a gateway device, and a network management server, and the gateway device manages the multiple bluetooth antenna devices by using the method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a gateway device, including:
at least one processor, and
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the at least one processor performs the method according to the first aspect by executing the instructions stored by the memory.
In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, including:
the computer readable storage medium stores computer instructions which, when executed on a computer, cause the computer to perform the method of the first aspect as described above.
Through the technical solutions in one or more of the above embodiments of the present invention, the embodiments of the present invention have at least the following technical effects:
in the embodiment provided by the invention, whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem is judged through the MAC address contained in the received broadcast data packet sent by the Bluetooth antenna equipment, if so, the antenna type of the Bluetooth antenna equipment is determined from the prestored MAC address and antenna type record based on the MAC address; then, based on the antenna type of the Bluetooth antenna equipment and the preset mapping relation between the antenna type and the parameters, determining the difference parameters of the Bluetooth antenna equipment, and sending real-time data corresponding to the difference parameters in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type. Therefore, the technical effect of managing various Bluetooth antenna devices by using the same gateway device is achieved.
Drawings
Fig. 1 is a flowchart of a method for managing multiple bluetooth antenna devices according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a smart room subsystem according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a gateway device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention provide a method, an apparatus, a system, and a storage medium for managing multiple bluetooth antenna apparatuses, so as to solve the technical problem in the prior art that the same gateway apparatus cannot support multiple bluetooth antenna apparatuses.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
a method for managing a plurality of Bluetooth antenna devices is provided, which is applied to a gateway device and comprises the following steps: receiving a broadcast data packet sent by Bluetooth antenna equipment; the broadcast data packet at least comprises an MAC address of the Bluetooth antenna equipment; judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not based on the MAC address; if so, determining the antenna type of the Bluetooth antenna equipment from the prestored MAC address and antenna type record based on the MAC address; then, based on the antenna type of the Bluetooth antenna equipment and the preset mapping relation between the antenna type and the parameters, determining the difference parameters of the Bluetooth antenna equipment, and sending real-time data corresponding to the difference parameters in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type. Therefore, the technical effect of managing various Bluetooth antenna devices by using the same gateway device is achieved.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
Referring to fig. 1, an embodiment of the present invention provides a method for managing multiple bluetooth antenna devices, which is applied to a gateway device.
Step 101: receiving a broadcast data packet sent by Bluetooth antenna equipment; wherein, the broadcast data packet at least comprises the MAC address of the Bluetooth antenna equipment.
Please refer to fig. 2, which is a schematic structural diagram of a smart room subsystem, and the smart room subsystem is composed of bluetooth antenna devices 1 to N (where N is a natural number not less than 1), a gateway device, and a network management server, in the system, the bluetooth antenna devices and the gateway device transmit data through bluetooth signals, the bluetooth signals adopt a private bluetooth protocol, and the gateway device and the network management server transmit data through a 4G network, and adopt a TCP protocol. The gateway device is provided with a Bluetooth module for transmitting Bluetooth signals, a Radio Frequency Identification (RFID) module for supporting the Bluetooth antenna device with an antenna type of all-round antenna device, and a 4G full-network communication module for transmitting data through a 4G network.
Generally, bluetooth antenna devices are arranged in rooms, for example, an office building has 3 floors, each floor has 10 rooms, and 14 bluetooth antenna devices are arranged in each room, so that each floor has 140 bluetooth antenna devices, these bluetooth antenna devices are assumed to be managed by one gateway device (according to the actual distance of bluetooth signal transmission, there may be more than one gateway device actually, and this is only an assumption made for convenience of illustration and does not represent the number of gateway devices used in actual application), some of these bluetooth antenna devices are already added to the gateway device, and some of these bluetooth antenna devices are not yet added. These bluetooth antenna devices will periodically send broadcast data packets to the gateway device through the bluetooth modules therein, and the broadcast data packets at least carry respective Media Access Control addresses (MAC addresses).
The antenna types of the Bluetooth antenna equipment comprise a spotlight antenna, a dual-polarized antenna, an extended antenna and an all-round antenna.
After receiving the broadcast data of the bluetooth antenna device, the gateway device may perform step 102.
Step 102: and judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not based on the MAC address.
After judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent indoor subsystem or not, if the Bluetooth antenna equipment is not the existing Bluetooth antenna equipment in the intelligent indoor subsystem, recording the MAC address, and marking the state of the Bluetooth antenna equipment as a non-reported state; and sending a connection request to the Bluetooth antenna equipment according to the MAC address; wherein the connection request is used for acquiring the common parameters of the Bluetooth antenna equipment.
Specifically, a connection request is sent to the bluetooth antenna device according to the MAC address, and if the bluetooth antenna device is not connected within a specified time, the connection request is periodically sent to the bluetooth antenna device until the connection is made.
For example, when the bluetooth antenna apparatus 1 that sends a broadcast packet to the gateway apparatus is a bluetooth antenna apparatus that newly joins in the gateway apparatus, there is no record of the MAC address 1 of the bluetooth antenna apparatus 1 in the gateway apparatus, after the gateway apparatus receives the broadcast packet sent by the bluetooth antenna apparatus 1, the MAC address 1 of the bluetooth antenna apparatus 1 is obtained from the broadcast packet, and the MAC address 1 is compared with the MAC address record in the gateway apparatus, it is determined that the MAC address 1 does not exist in the MAC address record in the gateway apparatus, and it is determined that the bluetooth antenna apparatus 1 is not an existing bluetooth antenna apparatus in the smart room subsystem but a newly joined bluetooth antenna apparatus.
At this time, the gateway device needs to record the MAC address 1 of the bluetooth antenna device 1, and mark the state of the bluetooth antenna device 1 as an unreported state, and then send a connection request for acquiring the common parameters of the bluetooth antenna device 1 to the bluetooth antenna device 1 according to the MAC address 1, so that the bluetooth antenna device 1 sends the common parameters to the gateway device.
If the gateway device does not receive the response message of the bluetooth antenna device 1 within the specified time after sending the connection request to the bluetooth antenna device 1, it is determined that the bluetooth antenna device 1 is not connected to the gateway device, and the gateway device may send the connection request to the bluetooth antenna device 1 periodically at a time interval of 10s according to the unmarked state of the bluetooth antenna device 1 until the bluetooth antenna device 1 is connected to the gateway device.
The common parameters may include: the antenna may be any one of a Product serial number SN, a MAC address, an antenna model number, an antenna software version number, a Universal Unique Identifier (UUID), a MINOR equipment number (MINOR), a MAJOR equipment number (MAJOR), an Electronic Product Code (EPC Code), a broadcast cycle, or a combination of at least two of them.
After the gateway equipment sends a connection request to the Bluetooth antenna equipment according to the MAC address, if the Bluetooth antenna equipment returns a corresponding response message, the gateway equipment is determined to be connected with the Bluetooth antenna equipment, and at the moment, the gateway equipment receives the common parameters of the Bluetooth antenna equipment and marks the state of the Bluetooth antenna equipment as a reported state; and the common parameter and the MAC address are also sent to a network management server, so that the MAC address and the common parameter of the Bluetooth antenna equipment are recorded in the network management server.
For example, still taking the bluetooth antenna apparatus 1 as an example, after the bluetooth antenna apparatus 1 receives the connection request sent by the gateway apparatus, according to the content of the connection request, a response message carrying the common parameters of the bluetooth antenna apparatus 1 is sent to the gateway apparatus.
The gateway device receives the response message of the Bluetooth antenna device 1, acquires the common parameters of the Bluetooth antenna device 1, marks the state of the Bluetooth antenna device 1 as a marked state (namely, the state indicates that the Bluetooth antenna device 1 is added to the intelligent room subsystem), records the common parameters of the Bluetooth antenna device 1, sends the common parameters of the Bluetooth antenna device 1 to the network management server, and allows the network management server to retain the common parameters of the Bluetooth antenna device 1. Therefore, only the MAC address 1 and the difference parameter of the broadcast data packet sent by the Bluetooth device 1 need to be carried in the broadcast data packet, and the common parameter does not need to be sent repeatedly, so that the data volume of the data in the intelligent room subsystem can be effectively reduced, the transmission efficiency is improved, and the communication cost is reduced.
If the bluetooth antenna device is determined to be a bluetooth antenna device already existing in the smart room subsystem in step 102, step 103-step 104 are executed.
Step 103: if so, determining the antenna type of the Bluetooth antenna equipment from the prestored MAC address and antenna type record based on the MAC address.
Step 104: determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in a broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type.
Wherein, the difference parameter, according to the different grade type of bluetooth antenna equipment, the parameter that corresponds is:
when the antenna type is a spotlight type antenna, the difference parameters are a link line loss value of 1-3, the electric quantity of the spotlight type antenna and a downward inclination angle;
when the antenna type is an extended antenna, the difference parameter is a link line loss value 1 and the electric quantity of the extended antenna;
when the antenna type is a dual-polarized antenna, the difference parameter is a link line loss value of 1-2;
when the antenna type is an all-round antenna, the difference parameter is an RFID line loss value; and the RFID line loss value is obtained from an RFID module of the gateway equipment.
The link loss value refers to the power loss of the signal in a specified transmission line, namely the difference between the received power and the generated power of the bluetooth signal.
For example, according to the MAC address 1 obtained from the broadcast data packet and the MAC address and antenna type record prestored in the gateway device, it is determined that the antenna type of the bluetooth antenna device 1 is an extended antenna, and then, it is determined according to the preset antenna type and parameter mapping relationship in the gateway device, the difference parameters corresponding to the extended antenna are the link loss value 1 and the electric quantity, and the gateway device executes the transmission of the link loss value 1, the electric quantity and the MAC address 1 in the broadcast data packet of the bluetooth antenna device 1 to the network management server.
In order to enable those skilled in the art to fully understand the above technical solution, the following examples will be provided to illustrate the antenna types as a spot light type antenna and a full-function type antenna:
embodiment one, the antenna type is bluetooth antenna equipment 2 of shot-light type antenna.
The bluetooth antenna device 2 periodically sends a broadcast data packet to the gateway device through a bluetooth module therein, the broadcast data packet is a private protocol data packet, and the broadcast data packet at least includes the MAC address 2 of the bluetooth antenna device 2.
After receiving the broadcast data packet of the bluetooth antenna device 2, the gateway device obtains the MAC address 2 from the broadcast data packet, and according to the MAC address 2, queries whether the bluetooth antenna device corresponding to the MAC address 2 is already in the indoor subsystem, if not, the gateway device stores the MAC address 2 in a program buffer area (i.e., records the MAC address 2), and records the tag state as an "unreported" state (which indicates that the bluetooth antenna device 2 is a bluetooth antenna device newly added to the indoor subsystem). And the gateway equipment actively sends a connection request to the Bluetooth antenna equipment 2 according to the 'unreported' state of the MAC address 2.
After the bluetooth antenna apparatus 2 receives the connection request of the gateway apparatus, the bluetooth antenna apparatus 2 initiates an operation of connecting the gateway apparatus. And when connecting, the bluetooth antenna apparatus 2 sends a response message carrying the commonality parameter to the gateway apparatus. If the gateway device does not receive the common parameters of the bluetooth antenna device 2 within the specified time, it is determined that the bluetooth antenna device 2 cannot be connected, and the gateway device periodically sends a connection request to the bluetooth antenna device 2 according to the status of 'not reported' of the MAC address 2 until the bluetooth antenna device 2 is connected.
After the gateway device receives the common parameters of the bluetooth antenna device 2, the MAC address 2 corresponding to the bluetooth antenna device 2 in the program buffer area is marked as a "reported" state, and stops sending a connection request to the bluetooth antenna device 2, and simultaneously records and reports the common parameters of the bluetooth antenna device 2 to the network management server.
When the gateway device receives the broadcast data packet containing the MAC address 2 next time, the antenna type of the corresponding Bluetooth antenna device 2 is found out to be a spotlight type antenna according to the MAC address 2, and then the difference parameters of the Bluetooth antenna device 2 are reported to the network management server through the 4G network according to the spotlight type antenna.
In the second embodiment, the antenna type is the bluetooth antenna device 3 of the all-round antenna.
The bluetooth antenna device 3 periodically sends a broadcast data packet to the gateway device through the bluetooth module therein, where the broadcast data packet is a private protocol data packet, and the broadcast data packet at least includes the MAC address 3 of the bluetooth antenna device 3.
After receiving the broadcast data packet of the bluetooth antenna device 3, the gateway device obtains the MAC address 3 from the broadcast data packet, and queries whether the bluetooth antenna device corresponding to the MAC address 3 is already in the indoor distribution system according to the MAC address 3, if so, the gateway device finds out that the antenna type corresponding to the MAC address 3 is an all-purpose antenna from the pre-stored records of the MAC address and the antenna type according to the MAC address 3, and then the gateway device finds out the EPC Code in the common parameters of the all-purpose antenna according to the MAC address 3, and then obtains the RFID line loss value (i.e., the difference parameter) corresponding to the EPC Code from the RFID module according to the EPC Code. And the gateway equipment reports the acquired RFID line loss value to a network management server through a 4G network.
It should be noted that, when the bluetooth antenna apparatus 3 is newly added to the smart room subsystem, the processing procedure is similar to that of the bluetooth antenna apparatus 2, and is not described herein again.
Based on the same inventive concept, an embodiment of the present invention provides a gateway device, where a specific implementation of a method for managing multiple bluetooth devices by the gateway device may refer to the description of the method embodiment, and repeated parts are not repeated, please refer to fig. 3, where the gateway includes:
a receiving unit 301, configured to receive a broadcast data packet sent by a bluetooth antenna apparatus; wherein the broadcast data packet includes at least the MAC address of the Bluetooth antenna device;
a determining unit 302, configured to determine whether the bluetooth antenna device is an existing bluetooth antenna device in the smart room subsystem based on the MAC address;
a processing unit 303, configured to determine, if the bluetooth antenna device is a bluetooth antenna device, an antenna type of the bluetooth antenna device from a pre-stored MAC address and antenna type record based on the MAC address; determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type.
Optionally, the processing unit 303 is further configured to:
if the Bluetooth antenna equipment is not the existing Bluetooth antenna equipment in the intelligent room subsystem, recording the MAC address, and marking the state of the Bluetooth antenna equipment as an unreported state;
sending a connection request to the Bluetooth antenna equipment according to the MAC address; wherein the connection request is used for acquiring the common parameters of the Bluetooth antenna equipment.
Optionally, the processing unit 303 is further configured to:
and if the Bluetooth antenna equipment is not connected within the specified time, periodically sending the connection request to the Bluetooth antenna equipment until the Bluetooth antenna equipment is connected.
Optionally, the processing unit 303 is further configured to:
receiving the common parameters of the Bluetooth antenna equipment, and marking the state of the Bluetooth antenna equipment as a reported state;
and sending the common parameter and the MAC address to the network management server, so that the MAC address of the Bluetooth antenna equipment and the common parameter are recorded in the network management server.
Optionally, the antenna type includes:
spot light type antenna, dual polarization type antenna, extended antenna, and all-round antenna.
Optionally, the common parameters include:
any one of a product serial number SN, a MAC address, an antenna model number, an antenna software version number, a UUID, a MINOR, a MAJOR, an EPC Code, a broadcast cycle, or a combination of at least two.
Optionally, the difference parameter includes:
when the antenna type is a spotlight type antenna, the difference parameters are a link line loss value of 1-3, the electric quantity of the spotlight type antenna and a downward inclination angle;
when the antenna type is an extended antenna, the difference parameter is a link line loss value 1 and the electric quantity of the extended antenna;
when the antenna type is a dual-polarized antenna, the difference parameter is a link line loss value of 1-2;
when the antenna type is an all-round antenna, the difference parameter is an RFID line loss value; and the RFID line loss value is obtained from an RFID module of the gateway equipment.
Based on the same inventive concept, an embodiment of the present invention provides an intelligent room distribution system, where the intelligent room distribution system includes multiple different types of bluetooth antenna devices, a gateway device, and a network management server, and a specific implementation manner of a method for managing multiple bluetooth devices by the gateway device may be referred to in the description of the method embodiment, and repeated details are not repeated.
Based on the same inventive concept, an embodiment of the present invention provides a gateway device, including: at least one processor, and a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the at least one processor performs the method of managing a plurality of bluetooth devices as described above by executing the instructions stored by the memory.
Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium, including:
the computer readable storage medium stores computer instructions that, when executed on a computer, cause the computer to perform a method of managing a plurality of bluetooth devices as described above.
In the embodiment provided by the invention, whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem is judged through the MAC address contained in the received broadcast data packet sent by the Bluetooth antenna equipment, if so, the antenna type of the Bluetooth antenna equipment is determined from the prestored MAC address and antenna type record based on the MAC address; then, based on the antenna type of the Bluetooth antenna equipment and the preset mapping relation between the antenna type and the parameters, determining the difference parameters of the Bluetooth antenna equipment, and sending real-time data corresponding to the difference parameters in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type. Therefore, the technical effect of managing various Bluetooth antenna devices by using the same gateway device is achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for managing a plurality of Bluetooth devices is applied to a gateway device and is characterized by comprising the following steps:
receiving a broadcast data packet sent by Bluetooth antenna equipment; wherein the broadcast data packet includes at least the MAC address of the Bluetooth antenna device;
judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent room subsystem or not based on the MAC address;
if so, determining the antenna type of the Bluetooth antenna equipment from a prestored MAC address and antenna type record based on the MAC address;
determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in the broadcast data packet to a network management server; the parameters corresponding to the antenna types comprise common parameters and difference parameters, the common parameters are parameters of all the antenna types, and the difference parameters are parameters specific to the corresponding antenna types.
2. The method of claim 1, wherein after determining whether the bluetooth antenna device is an existing bluetooth antenna device in a smart room subsystem, further comprising:
if the Bluetooth antenna equipment is not the existing Bluetooth antenna equipment in the intelligent room subsystem, recording the MAC address, and marking the state of the Bluetooth antenna equipment as an unreported state;
sending a connection request to the Bluetooth antenna equipment according to the MAC address; wherein the connection request is used for acquiring the common parameters of the Bluetooth antenna equipment.
3. The method of claim 2, wherein sending a connection request to the bluetooth antenna device based on the MAC address comprises:
and if the Bluetooth antenna equipment is not connected within the specified time, periodically sending the connection request to the Bluetooth antenna equipment until the Bluetooth antenna equipment is connected.
4. The method of claim 2 or 3, wherein after sending a connection request to the Bluetooth antenna device based on the MAC address, further comprising:
receiving the common parameters of the Bluetooth antenna equipment, and marking the state of the Bluetooth antenna equipment as a reported state;
and sending the common parameter and the MAC address to the network management server, so that the MAC address of the Bluetooth antenna equipment and the common parameter are recorded in the network management server.
5. The method of claim 1, wherein the commonality parameter comprises:
any one of a product serial number SN, a MAC address, an antenna model number, an antenna software version number, a UUID, a MINOR, a MAJOR, an EPC Code, a broadcast cycle, or a combination of at least two.
6. The method of claim 1, wherein the difference parameters comprise:
when the antenna type is a spotlight type antenna, the difference parameters are a link line loss value of 1-3, the electric quantity of the spotlight type antenna and a downward inclination angle;
when the antenna type is an extended antenna, the difference parameter is a link line loss value 1 and the electric quantity of the extended antenna;
when the antenna type is a dual-polarized antenna, the difference parameter is a link line loss value of 1-2;
when the antenna type is an all-round antenna, the difference parameter is an RFID line loss value; and the RFID line loss value is obtained from an RFID module of the gateway equipment.
7. A gateway device, comprising:
the receiving unit is used for receiving the broadcast data packet sent by the Bluetooth antenna equipment; wherein the broadcast data packet includes at least the MAC address of the Bluetooth antenna device;
the judging unit is used for judging whether the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent indoor sub-network or not based on the MAC address;
the processing unit is used for determining the antenna type of the Bluetooth antenna equipment from a prestored MAC address and antenna type record based on the MAC address if the Bluetooth antenna equipment is the existing Bluetooth antenna equipment in the intelligent indoor network; determining a difference parameter of the Bluetooth antenna equipment based on the antenna type of the Bluetooth antenna equipment and a preset antenna type and parameter mapping relation, and sending real-time data corresponding to the difference parameter in the broadcast data packet to a network management server; the parameters corresponding to one antenna type comprise a common parameter and a difference parameter, wherein the common parameter is a parameter which all the antenna types have, and the difference parameter is a parameter which is specific to the corresponding antenna type.
8. An intelligent room subsystem comprising a plurality of bluetooth antenna devices of different types, a gateway device and a webmaster server, wherein the gateway device manages the plurality of bluetooth antenna devices using the method of any of claims 1-6.
9. A gateway device, comprising:
at least one processor, and a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the method of any one of claims 1-6 by executing the instructions stored by the memory.
10. A computer-readable storage medium characterized by:
the computer readable storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-6.
CN201811573096.5A 2018-12-21 2018-12-21 Method, device, system and storage medium for managing multiple Bluetooth antenna devices Active CN109640339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811573096.5A CN109640339B (en) 2018-12-21 2018-12-21 Method, device, system and storage medium for managing multiple Bluetooth antenna devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811573096.5A CN109640339B (en) 2018-12-21 2018-12-21 Method, device, system and storage medium for managing multiple Bluetooth antenna devices

Publications (2)

Publication Number Publication Date
CN109640339A CN109640339A (en) 2019-04-16
CN109640339B true CN109640339B (en) 2021-09-24

Family

ID=66076283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811573096.5A Active CN109640339B (en) 2018-12-21 2018-12-21 Method, device, system and storage medium for managing multiple Bluetooth antenna devices

Country Status (1)

Country Link
CN (1) CN109640339B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148085B (en) * 2019-12-30 2023-04-18 京信网络系统股份有限公司 Bluetooth gateway circuit, intelligent room subsystem, link control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130858A (en) * 2011-03-23 2011-07-20 东莞中山大学研究院 Method for realizing home gateway based on Bluetooth
CN204652678U (en) * 2015-05-05 2015-09-16 中兴通讯股份有限公司 A kind of wired home controls gateway
US9680554B2 (en) * 2012-08-08 2017-06-13 Golba Llc Method and system for distributed transceivers for distributed access points connectivity
CN107241757A (en) * 2016-03-29 2017-10-10 中国移动通信有限公司研究院 A kind of room based on radio frequency identification point antenna feeder monitoring method and system
CN108768843A (en) * 2018-06-27 2018-11-06 安徽国讯芯微科技有限公司 A kind of multi-internet integration edge calculations gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130858A (en) * 2011-03-23 2011-07-20 东莞中山大学研究院 Method for realizing home gateway based on Bluetooth
US9680554B2 (en) * 2012-08-08 2017-06-13 Golba Llc Method and system for distributed transceivers for distributed access points connectivity
CN204652678U (en) * 2015-05-05 2015-09-16 中兴通讯股份有限公司 A kind of wired home controls gateway
CN107241757A (en) * 2016-03-29 2017-10-10 中国移动通信有限公司研究院 A kind of room based on radio frequency identification point antenna feeder monitoring method and system
CN108768843A (en) * 2018-06-27 2018-11-06 安徽国讯芯微科技有限公司 A kind of multi-internet integration edge calculations gateway

Also Published As

Publication number Publication date
CN109640339A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US11044593B2 (en) Method and devices for managing constrained devices
CN104703199B (en) Management method, relevant device and the system of universal embedded integrated circuit card
EP2427023A1 (en) Method and equipment for self-configuring transmission in self-organized network
CN102143599B (en) Establishing method of connection of adjacent base stations, establishing equipment and establishing system
CN112566155B (en) Networking method, device and system
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN104821925A (en) Data interaction method, system and device
CN106506717A (en) A kind of automatic discovering method and equipment
CN111277507A (en) Method for realizing information exchange between wireless terminals
KR20090084670A (en) Method and system for two-phase mechanism for discovering web services based management service
CN102752215A (en) Processing method for VDP (vertical data processing) request messages and edge switch
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
CN104426816B (en) A kind of virtual machine communication method and device
CN109640339B (en) Method, device, system and storage medium for managing multiple Bluetooth antenna devices
CN103096361B (en) The exchange method of performance statistic and device in a kind of wireless local area network (WLAN) system
CN113596792A (en) Binding method and device of electronic equipment, storage medium and electronic device
CN102185881A (en) Household digital equipment wireless multi-protocol space sharing storage manager and method
CN102917370B (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
CN111885564A (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN108370460B (en) Signaling transmission method and device
CN102340553B (en) Method and device for allocating and determining IP addresses
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
US9807588B2 (en) Wireless controller communication method and wireless controller
CN110611589B (en) Control method and device of regional control system and air conditioning system
CN111083801B (en) Method for establishing X2 link, EMS, base station and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200107

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

GR01 Patent grant
GR01 Patent grant