CN108289294A - A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system - Google Patents

A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system Download PDF

Info

Publication number
CN108289294A
CN108289294A CN201710650794.XA CN201710650794A CN108289294A CN 108289294 A CN108289294 A CN 108289294A CN 201710650794 A CN201710650794 A CN 201710650794A CN 108289294 A CN108289294 A CN 108289294A
Authority
CN
China
Prior art keywords
bluetooth
access request
bluetooth beacon
communication channel
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710650794.XA
Other languages
Chinese (zh)
Inventor
张欣旺
杜木果
曹景阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications 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 China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710650794.XA priority Critical patent/CN108289294A/en
Publication of CN108289294A publication Critical patent/CN108289294A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/244Connectivity information management, e.g. connectivity discovery or connectivity update using a network of reference devices, e.g. beaconing

Landscapes

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

Abstract

A kind of data communications method of present invention offer, Bluetooth beacon repeater and bluetooth positioning system, this method is applied to Bluetooth beacon repeater, the Bluetooth beacon repeater is located at a bluetooth positioning system, the bluetooth positioning system includes at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the method includes:The Bluetooth beacon repeater is when in positioning operating mode, as Bluetooth beacon broadcast positioning information;The Bluetooth beacon repeater receives the access request that the Bluetooth gateway is sent, and execute the data forwarding between the Bluetooth gateway and the Bluetooth beacon when in system debug pattern.The data communications method provided through the invention, can solve the problem of that the management and control range of Bluetooth gateway is smaller causes the working condition of Bluetooth beacon to be difficult to by effective management and control.

Description

A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system
Technical field
The present invention relates to a kind of field of communication technology more particularly to data communications method, Bluetooth beacon repeater and bluetooths Positioning system.
Background technology
Currently, outdoor positioning system mainly include GPS (Global Positioning System, global positioning system), GLONASS satellite navigation system, Beidou satellite navigation system and GALILEO positioning system.Had using satellite positioning in outdoor There are the advantages such as wide coverage, user's access amount be big, however when user enters interior, the above-mentioned positioning based on satellite positioning The positioning accuracy of system just drastically declines.
In order to solve the problems, such as indoor positioning, multiple indoor positioning system and method, common indoor positioning skill are derived Art has WI-FI location technologies, radio frequency identification location technology, bluetooth location technology, infrared confirming orientation technology etc., wherein bluetooth is fixed Position technology coverage area is wider, has certain communication capacity, and the handhold mobile terminal equipments such as mobile phone of a new generation have all propped up 4.0 technology of bluetooth is held, is therefore widely used in indoor locating system.The index request of bluetooth positioning system is usually wrapped It includes:Positioning accuracy, construction cost, state management and control etc..Existing scheme is usually improved by increasing the density of Bluetooth beacon Indoor position accuracy, still, since the communication distance of bluetooth is shorter so that the management and control range of Bluetooth gateway is smaller, leads to bluetooth The working condition of beacon is difficult to by effective management and control.
Invention content
The embodiment of the present invention is designed to provide a kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system System, causes the working condition of Bluetooth beacon to be difficult to by effective management and control to solve the problem of that the management and control range of Bluetooth gateway is smaller.
In order to achieve the above object, the embodiment of the present invention provides a kind of data communications method.This method is believed applied to bluetooth Repeater is marked, the Bluetooth beacon repeater is located at a bluetooth positioning system, and the bluetooth positioning system includes at least one indigo plant Tooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the Bluetooth beacon repeater via first communication channel with The Bluetooth gateway connection, the Bluetooth beacon repeater are connect via the second communication channel with the Bluetooth beacon, this method Including:
The Bluetooth beacon repeater is when in positioning operating mode, as Bluetooth beacon broadcast positioning information;
The Bluetooth beacon repeater receives the access that the Bluetooth gateway is sent and asks when in system debug pattern It asks, and executes the data forwarding between the Bluetooth gateway and the Bluetooth beacon.
The embodiment of the present invention also provides a kind of data communications method, and this method is applied to bluetooth positioning system, the bluetooth Positioning system includes at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, in the Bluetooth beacon It is connect with the Bluetooth gateway via first communication channel after device, the Bluetooth beacon repeater is via the second communication channel and institute Bluetooth beacon connection is stated, this method includes:
The Bluetooth beacon repeater and the Bluetooth beacon are when in positioning operating mode, equal broadcast positioning information;
The Bluetooth beacon repeater receives the access that the Bluetooth gateway is sent and asks when in system debug pattern It asks, and executes the data forwarding between the Bluetooth gateway and the Bluetooth beacon.
The embodiment of the present invention also provides a kind of Bluetooth beacon repeater.The Bluetooth beacon repeater is located at bluetooth positioning system System, the bluetooth positioning system include at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, described Bluetooth beacon repeater is connect via first communication channel with the Bluetooth gateway, and the Bluetooth beacon repeater is logical via second Letter channel is connect with the Bluetooth beacon, the Bluetooth beacon repeater, and the Bluetooth beacon repeater includes:
Transmitter is used for when in positioning operating mode, as Bluetooth beacon broadcast positioning information;
Receiver, the access request sent for when in system debug pattern, receiving the Bluetooth gateway, and execute Data forwarding between the Bluetooth gateway and the Bluetooth beacon.
The embodiment of the present invention also provides a kind of bluetooth positioning system, and the bluetooth positioning system includes at least one bluetooth letter Mark repeater, Bluetooth gateway and at least two Bluetooth beacons, the Bluetooth beacon repeater via first communication channel with it is described Bluetooth gateway connects, and the Bluetooth beacon repeater is connect via the second communication channel with the Bluetooth beacon, the bluetooth letter Repeater and Bluetooth beacon are marked, broadcast positioning information when in positioning operating mode, the Bluetooth beacon repeater are used to It is additionally operable to receive the access request that the Bluetooth gateway is sent when in system debug pattern, and executes the Bluetooth gateway Data forwarding between the Bluetooth beacon.
The embodiment of the present invention also provides a kind of Bluetooth beacon repeater, including processor, memory and is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of above-mentioned data communications method.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored on the computer readable storage medium There is the step of computer program, the computer program realizes above-mentioned data communications method when being executed by processor.
In the embodiment of the present invention, Bluetooth beacon repeater is fixed as Bluetooth beacon broadcast when in positioning operating mode Position information, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater is being located When system debug pattern, the access request that Bluetooth gateway is sent is received, and execute the number between Bluetooth gateway and Bluetooth beacon According to forwarding, the management and control range of Bluetooth gateway can be increased.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without having to pay creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the schematic diagram of bluetooth positioning system provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of Bluetooth beacon repeater and Bluetooth beacon deployment provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram that bluetooth positioning system provided in an embodiment of the present invention is in positioning operating mode;
Fig. 4 is the schematic diagram that bluetooth positioning system provided in an embodiment of the present invention is in system debug pattern;
Fig. 5 is the schematic diagram that the bluetooth positioning system that further embodiment of this invention provides is in system debug pattern;
Fig. 6 is the structure chart of Bluetooth beacon repeater provided in an embodiment of the present invention;
Fig. 7 is the flow chart of data communications method provided in an embodiment of the present invention;
Fig. 8 is the flow chart of the data communications method under system debug pattern provided in an embodiment of the present invention;
Fig. 9 is the flow chart for the data communications method that further embodiment of this invention provides;
Figure 10 is the flow chart of the data communications method under the system debug pattern that further embodiment of this invention provides;
Figure 11 is the structure chart for the Bluetooth beacon repeater that further embodiment of this invention provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention when in positioning operating mode, is determined by Bluetooth beacon repeater as Bluetooth beacon broadcast Position information, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater is being located When system debug pattern, the access request that Bluetooth gateway is sent is received, and execute the number between Bluetooth gateway and Bluetooth beacon According to forwarding, the management and control range of Bluetooth gateway can be increased.
Fig. 1 is the schematic diagram of bluetooth positioning system provided in an embodiment of the present invention, as shown in Figure 1, the bluetooth positioning system Including:(being 2 in Fig. 1 with 11 quantity of Bluetooth beacon repeater is for Bluetooth gateway 10, at least one Bluetooth beacon repeater 11 Example) and at least two Bluetooth beacons 12 (in Fig. 1 by taking 12 quantity of Bluetooth beacon is 6 as an example), wherein Bluetooth beacon repeater 11 It is connect with Bluetooth gateway 10 via first communication channel, the Bluetooth beacon repeater 11 is believed via the second communication channel and bluetooth 12 connection of mark, Bluetooth beacon repeater 11 and Bluetooth beacon 12 are used to broadcast positioning information when in positioning operating mode, Bluetooth beacon repeater 11 is additionally operable to when in system debug pattern, receives the access request that Bluetooth gateway 10 is sent, and hold Data forwarding between row Bluetooth gateway 10 and Bluetooth beacon 12.
Above-mentioned first communication channel can be wire communication channel (for example, transmission medium is passive RF cable or passive The wire communication channel of radio-frequency devices etc.), can also be radio communication channel, likewise, above-mentioned second communication channel can be Wire communication channel can also be radio communication channel.
It in practical applications, can be in default room area (for example, market, exhibition center, gymnasium, school etc. are public The room area in place) at least two Bluetooth beacons 12 are uniformly arranged, Bluetooth beacon repeater 11 is set at least two bluetooths Between beacon, for example, Bluetooth beacon repeater 11 can be set to the center of at least two Bluetooth beacons 12, referring to figure 2。
It optionally, can be by Bluetooth beacon repeater 11 under the scene for divided antenna of having family being set in default room area It is integrated in inside the divided antenna of room, to reducing the construction costs.
Specifically, when bluetooth positioning system is in positioning operating mode, Bluetooth beacon 12 and Bluetooth beacon repeater 11 Broadcast mode can be worked in, with broadcast positioning information to the mobile terminal 13 in preset range, referring to Fig. 3.Mobile terminal After 13 receive the broadcast singal that the Bluetooth beacon 12 of multiple known locations and Bluetooth beacon repeater 11 are sent, it may be determined that its Present position information, for example, its present position information can be calculated based on three-point fix principle, wherein pass through three-point fix original Managing calculating location information can be as follows:
Known 3 positions (x1, y1), (x2, y2) and (x3, y3) and unknown point (x0, y0) to (x1, y1), (x2, Y2) and the distance of (x3, y3) is respectively d1, d2 and d3, then can make three circles by radius of d1, d2 and d3 respectively, according to complete Up to brother Lars theorem, show that intersection point is the position of unknown point (x0, y0), calculation formula is as follows:
(x1-x0)2+(y1-y0)2=d12
(x2-x0)2+(y2-y0)2=d22
(x3-x0)2+(y3-y0)2=d32
It should be noted that above-mentioned unknown point (x0, y0) is the location of mobile terminal, above-mentioned (x1, y1), (x2, Y2) and 3 points of (x3, y3) can be arbitrary three Bluetooth beacons 12 and Bluetooth beacon repeater 11 position, above-mentioned unknown point The distance of (x0, y0) to (x1, y1), (x2, y2) and (x3, y3) can be according to RSSI (Received Signal excessively Strength Indication, the instruction of received signal intensity) value determination, above-mentioned mobile terminal can arbitrarily have bluetooth Mobile phone, tablet computer (Tablet Personal Computer), the laptop computer (Laptop of positioning function Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
When bluetooth positioning system is in system debug pattern, Bluetooth gateway 10 can be by access request via the first communication Channel is sent to Bluetooth beacon repeater 11, to inquire or change the configuration information of Bluetooth beacon repeater 11, referring to Fig. 4;It is blue Access request can also be transmitted to indigo plant by tooth gateway 10 when needing to communicate with Bluetooth beacon 12 via Bluetooth beacon repeater 11 Tooth beacon 12, to inquire or change the configuration information of Bluetooth beacon 12, referring to Fig. 5.
In this way, in the embodiment of the present invention, Bluetooth beacon repeater is wide as Bluetooth beacon when in positioning operating mode Location information is broadcast, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater When in system debug pattern, the access request of Bluetooth gateway transmission can be received, and is transmitted to Bluetooth beacon, so as to Increase the management and control range of Bluetooth gateway.
Optionally, the Bluetooth gateway 10 is used for:It is wide by the first communication channel when in system debug pattern Access request is broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater 11 is additionally operable to:When receiving the access request, the device identification of itself is judged It is whether identical as the device identification that is carried in the access request, it is communicated to connect if so, being established with the Bluetooth gateway 10, with The cooperation of the Bluetooth gateway 10 executes the corresponding operation of the access request, otherwise, by second communication channel to bluetooth Beacon 12 forwards the access request;
The Bluetooth beacon 12 is additionally operable to:The access request that the Bluetooth beacon repeater 11 forwards is received, is judged Whether the device identification of itself and the device identification carried in the access request are identical, if so, with the Bluetooth gateway 10 It establishes and communicates to connect via the Bluetooth beacon repeater 11, and the access request pair is executed with the cooperation of the Bluetooth gateway 10 The operation answered.
In the embodiment of the present invention, above-mentioned access request can be that request is established in communication connection, can also be configuration information Inquiry request or modification request etc..
Under system debug pattern, Bluetooth gateway 10 broadcasts access request by first communication channel, wherein access request The middle device identification for carrying equipment to be visited.Optionally, device identification can be MAC (Media Access Control, medium Access control) address.Optionally, above-mentioned first communication channel can be wire communication channel, so as to flexibly control bluetooth The communication distance of gateway and Bluetooth beacon repeater, the second communication channel can be radio communication channels, it is possible to reduce build at This, while the position of Bluetooth beacon can be flexibly set.
Specifically, under system debug pattern, Bluetooth gateway 10 is needing to believe with Bluetooth beacon repeater 11 or bluetooth When mark 12 establishes communication connection, access request is broadcasted by first communication channel, Bluetooth beacon repeater 11 receives bluetooth network After the access request for closing 10 broadcast, can first judge device identification that the device identification of its own is carried with access request whether phase Together, if the device identification of its own is identical as the device identification that access request carries, communication link is established with Bluetooth gateway 10 It connects, and operation corresponding with the cooperation execution access request of Bluetooth gateway 10, for example, executing the configuration information of Bluetooth beacon repeater Inquiry or modification operation etc..If the device identification that the device identification of itself of Bluetooth beacon repeater 11 is carried with access request It differs, then access request can be transmitted to Bluetooth beacon 12, specifically, Bluetooth beacon repeater 11 can be logical by second Believe the above-mentioned access request of channels broadcast, to which Bluetooth beacon 12 can receive the access request of the broadcast of Bluetooth beacon repeater 11, And judge whether the device identification that the device identification of itself of Bluetooth beacon 12 and access request carry is identical, it is blue if identical Tooth beacon 12 can be established via Bluetooth beacon repeater 11 and Bluetooth gateway 10 and be communicated to connect, and can be matched with Bluetooth gateway 10 It closes and executes the corresponding operation of access request, for example, executing inquiry or modification operation of the configuration information of Bluetooth beacon etc., otherwise may be used Not execute any operation.
In this way, the embodiment of the present invention is under system debug pattern, Bluetooth beacon repeater the device identification of its own with Access request is transmitted to Bluetooth beacon when the device identification that access request carries differs, it is possible to reduce unnecessary data turn Hair.
Optionally, the Bluetooth gateway 10 is used for:It is wide by the first communication channel when in system debug pattern Access request is broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater 11 is additionally operable to:When receiving the access request, believed by second communication Road forwards the access request to Bluetooth beacon 12, and judges the equipment carried in the device identification of itself and the access request Identify whether it is identical, if so, with the Bluetooth gateway 10 establish communicate to connect, with the Bluetooth gateway 10 cooperation execute described in The corresponding operation of access request;
The Bluetooth beacon 12 is additionally operable to:The access request that the Bluetooth beacon repeater 11 forwards is received, is judged Whether the device identification of itself and the device identification carried in the access request are identical, if so, with the Bluetooth gateway 10 It establishes and communicates to connect via the Bluetooth beacon repeater 11, and the access request pair is executed with the cooperation of the Bluetooth gateway 10 The operation answered.
In the embodiment of the present invention, Bluetooth beacon repeater 11 is broadcasted by first communication channel receiving Bluetooth gateway 10 Access request after, can directly by the second communication channel to Bluetooth beacon 12 forward the access request, for example, passing through second Communication channel broadcasts the access request, so that Bluetooth beacon 12 receives.
In the embodiment of the present invention, Bluetooth beacon repeater is by by the received access request for coming from Bluetooth gateway It is directly forwarded to Bluetooth beacon, the speed of Bluetooth beacon response access request can be improved.
Optionally, the device identification is destination media accessing to control address.
Optionally, the data format of institute's transmission data is passed with second communication channel in the first communication channel The data format of transmission of data is identical.
In the embodiment of the present invention, in first communication channel in the data format of institute's transmission data and second communication channel The data format of institute's transmission data is identical, for example, the data format of first communication channel institute transmission data is blue-teeth data format, The data format of second communication channel institute transmission data is also blue-teeth data format, to make Bluetooth beacon repeater and bluetooth believe When being marked on processing with transceiver relevant information, identical tupe may be used, reduce system cost and complexity.
Specifically, the visit that Bluetooth beacon repeater can send out the Bluetooth gateway received in the embodiment of the present invention Ask that request repeats to be sent to the Bluetooth beacon of rear class, maintain the consistency of access request so that Bluetooth beacon repeater and Bluetooth beacon, using identical tupe, reduces system cost and complexity when processing is with transceiver relevant information.
Optionally, the first communication channel is wire communication channel, and second communication channel is radio communication channel.
Specifically, when first communication channel is wire communication channel, Bluetooth gateway and Bluetooth beacon can be flexibly controlled The communication distance of repeater is radio communication channel in the second communication channel, it is possible to reduce construction cost, while can flexibly set Set the position of Bluetooth beacon.
Fig. 6 is the schematic diagram of Bluetooth beacon repeater provided in an embodiment of the present invention, which is located at one Bluetooth positioning system, the bluetooth positioning system include that at least one Bluetooth beacon repeater, Bluetooth gateway and at least two are blue Tooth beacon, the Bluetooth beacon repeater are connect via first communication channel with the Bluetooth gateway, the Bluetooth beacon relaying Device is connect via the second communication channel with the Bluetooth beacon.As shown in fig. 6, Bluetooth beacon repeater 60 includes:
Transmitter 601 is used for when in positioning operating mode, as Bluetooth beacon broadcast positioning information.
In the embodiment of the present invention, above-mentioned bluetooth positioning system can be bluetooth positioning system as shown in Figure 1, herein no longer It repeats.
Above-mentioned Bluetooth beacon repeater can be used as Bluetooth beacon broadcast positioning information when in positioning operating mode, For the acquisition for mobile terminal in preset range its broadcast location information and positioned.For example, with reference to Fig. 2, in positioning work Under operation mode, Bluetooth beacon repeater and Bluetooth beacon send broadcast singal, and mobile terminal can receive in preset range The broadcast singal that Bluetooth beacon and Bluetooth beacon repeater are sent, and positioned based on multiple broadcast singals.
The embodiment of the present invention when in positioning operating mode, is determined by Bluetooth beacon repeater as Bluetooth beacon broadcast Position information, can increase the density of Bluetooth beacon, improve bluetooth positioning accuracy.
Receiver 602, the access request sent for when in system debug pattern, receiving the Bluetooth gateway, and Execute the data forwarding between the Bluetooth gateway and the Bluetooth beacon.
In the embodiment of the present invention, above-mentioned access request can be that request is established in communication connection, can also be configuration information Inquiry request or modification request etc..Under system debug pattern, Bluetooth gateway can be broadcasted by first communication channel and be accessed Request, Bluetooth beacon repeater receive the access request of Bluetooth gateway broadcast, and execute between Bluetooth gateway and Bluetooth beacon Data forwarding for example, the access request that Bluetooth gateway is broadcasted is transmitted to Bluetooth beacon, and Bluetooth beacon feedack is turned Issue Bluetooth gateway.
In the embodiment of the present invention by Bluetooth beacon repeater when in system debug pattern, receives Bluetooth gateway and send Access request, and the data forwarding between Bluetooth gateway and Bluetooth beacon is executed, so as to increase the management and control of Bluetooth gateway Range.
In this way, in the embodiment of the present invention, Bluetooth beacon repeater is wide as Bluetooth beacon when in positioning operating mode Location information is broadcast, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater When in system debug pattern, the access request of Bluetooth gateway transmission can be received, and is transmitted to Bluetooth beacon, so as to Increase the management and control range of Bluetooth gateway.
Optionally, the receiver is specifically used for when in system debug pattern, receives the Bluetooth gateway and passes through institute The access request of first communication channel broadcast is stated, the device identification of equipment to be visited is carried in the access request;The bluetooth Beacon repeater further includes processor, for judging that the device identification of itself is with the device identification carried in the access request It is no identical, it is communicated to connect if so, being established with the Bluetooth gateway, and the access request is executed with Bluetooth gateway cooperation Corresponding operation;The transmitter is additionally operable to the device identification of itself and is differed with the device identification carried in the access request When, the access request is forwarded to the Bluetooth beacon by second communication channel.
In the embodiment of the present invention, Bluetooth beacon repeater can receive the bluetooth network when in system debug pattern Close the access request broadcasted by the first communication channel, wherein the device identification of equipment to be visited is carried in access request. Optionally, device identification can be MAC (Media Access Control, medium access control) address.Optionally, above-mentioned One communication channel can be wire communication channel, so as to flexibly control the communication of Bluetooth gateway and Bluetooth beacon repeater away from From the second communication channel can be radio communication channel, it is possible to reduce construction cost, while Bluetooth beacon can be flexibly set Position.
Specifically, under system debug pattern, Bluetooth gateway is needing to build with Bluetooth beacon repeater or Bluetooth beacon When vertical communication connection, access request is broadcasted by first communication channel, Bluetooth beacon repeater receives Bluetooth gateway broadcast After access request, it can first judge whether the device identification that the device identification of its own and access request carry is identical, if its The device identification of itself is identical as the device identification that access request carries, then establishes and communicate to connect with Bluetooth gateway, and and bluetooth Gateway cooperation executes the corresponding operation of access request, for example, executing the inquiry or modification of the configuration information of Bluetooth beacon repeater Operation etc..It, can be with if the device identification that the device identification of itself of Bluetooth beacon repeater is carried with access request differs Access request is transmitted to Bluetooth beacon, specifically, Bluetooth beacon repeater can be visited by the second communication channel broadcast them It asks request, to which Bluetooth beacon can receive the access request of Bluetooth beacon repeater broadcast, and judges Bluetooth beacon itself Whether device identification and the device identification that access request carries are identical, if identical, Bluetooth beacon can be via Bluetooth beacon Repeater and Bluetooth gateway, which are established, to be communicated to connect, and can be coordinated with Bluetooth gateway and be executed the corresponding operation of access request, for example, Inquiry or the modification operation etc. for executing the configuration information of Bluetooth beacon, otherwise can not execute any operation.
In this way, the embodiment of the present invention is under system debug pattern, Bluetooth beacon repeater the device identification of its own with Access request is transmitted to Bluetooth beacon when the device identification that access request carries differs, it is possible to reduce unnecessary data turn Hair.
Optionally, the receiver is specifically used for when in system debug pattern, receives the Bluetooth gateway and passes through institute The access request of first communication channel broadcast is stated, the device identification of equipment to be visited is carried in the access request;The transmission Device is additionally operable to forward the access request to the Bluetooth beacon by second communication channel;The Bluetooth beacon repeater Further include processor, for judging whether the device identification of itself and the device identification carried in the access request are identical, such as Fruit is to establish communication connection, and behaviour corresponding with the Bluetooth gateway cooperation execution access request with the Bluetooth gateway Make.
In the embodiment of the present invention, Bluetooth beacon repeater is in the visit for receiving Bluetooth gateway and being broadcasted by first communication channel After asking request, can the access request directly be forwarded to Bluetooth beacon by the second communication channel, for example, believing by the second communication The access request is broadcasted in road, so that Bluetooth beacon receives.
In the embodiment of the present invention, Bluetooth beacon repeater is by by the received access request for coming from Bluetooth gateway It is directly forwarded to Bluetooth beacon, the speed of Bluetooth beacon response access request can be improved.
Optionally, the device identification is destination media accessing to control address.
Optionally, the data format of institute's transmission data is passed with second communication channel in the first communication channel The data format of transmission of data is identical.
In the embodiment of the present invention, in first communication channel in the data format of institute's transmission data and second communication channel The data format of institute's transmission data is identical, for example, the data format of first communication channel institute transmission data is blue-teeth data format, The data format of second communication channel institute transmission data is also blue-teeth data format, to make Bluetooth beacon repeater and bluetooth believe When being marked on processing with transceiver relevant information, identical tupe may be used, reduce system cost and complexity.
Specifically, the visit that Bluetooth beacon repeater can send out the Bluetooth gateway received in the embodiment of the present invention Ask that request repeats to be sent to the Bluetooth beacon of rear class, maintain the consistency of access request so that Bluetooth beacon repeater and Bluetooth beacon, using identical tupe, reduces system cost and complexity when processing is with transceiver relevant information.
Optionally, the first communication channel is wire communication channel, and second communication channel is radio communication channel.
Specifically, when first communication channel is wire communication channel, Bluetooth gateway and Bluetooth beacon can be flexibly controlled The communication distance of repeater is radio communication channel in the second communication channel, it is possible to reduce construction cost, while can flexibly set Set the position of Bluetooth beacon.
It is the flow chart of data communications method provided in an embodiment of the present invention referring to Fig. 7, Fig. 7.The embodiment of the present invention provides Data communications method be applied to Bluetooth beacon repeater, the Bluetooth beacon repeater is located at a bluetooth positioning system, described Bluetooth positioning system includes at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the bluetooth letter Mark repeater is connect via first communication channel with the Bluetooth gateway, and the Bluetooth beacon repeater is via the second communication channel It is connect with the Bluetooth beacon, as shown in fig. 7, data communications method provided in an embodiment of the present invention includes the following steps:
Step 701, Bluetooth beacon repeater are when in positioning operating mode, as Bluetooth beacon broadcast positioning information.
In the embodiment of the present invention, above-mentioned bluetooth positioning system can be bluetooth positioning system as shown in Figure 1, herein no longer It repeats.
Above-mentioned Bluetooth beacon repeater can be used as Bluetooth beacon broadcast positioning information when in positioning operating mode, For the acquisition for mobile terminal in preset range its broadcast location information and positioned.For example, with reference to Fig. 2, in positioning work Under operation mode, Bluetooth beacon repeater and Bluetooth beacon send broadcast singal, and mobile terminal can receive in preset range The broadcast singal that Bluetooth beacon and Bluetooth beacon repeater are sent, and positioned based on multiple broadcast singals.
The embodiment of the present invention when in positioning operating mode, is determined by Bluetooth beacon repeater as Bluetooth beacon broadcast Position information, can increase the density of Bluetooth beacon, improve bluetooth positioning accuracy.
Step 702, Bluetooth beacon repeater receive the access that Bluetooth gateway is sent and ask when in system debug pattern It asks, and executes the data forwarding between Bluetooth gateway and Bluetooth beacon.
In the embodiment of the present invention, above-mentioned access request can be that request is established in communication connection, can also be configuration information Inquiry request or modification request etc..Under system debug pattern, Bluetooth gateway can be broadcasted by first communication channel and be accessed Request, Bluetooth beacon repeater receive the access request of Bluetooth gateway broadcast, and execute between Bluetooth gateway and Bluetooth beacon Data forwarding for example, the access request that Bluetooth gateway is broadcasted is transmitted to Bluetooth beacon, and Bluetooth beacon feedack is turned Issue Bluetooth gateway.
In the embodiment of the present invention by Bluetooth beacon repeater when in system debug pattern, receives Bluetooth gateway and send Access request, and the data forwarding between Bluetooth gateway and Bluetooth beacon is executed, so as to increase the management and control of Bluetooth gateway Range.
It should be noted that above-mentioned bluetooth positioning system can be in above-mentioned positioning operating mode and above system debugging mode Between switch over, the embodiment of the present invention is not construed as limiting above-mentioned steps 701 and above-mentioned steps 702 execution sequence, and Fig. 7 is first to hold Row step 701 illustrates for execution step 702 afterwards.
In this way, in the embodiment of the present invention, Bluetooth beacon repeater is wide as Bluetooth beacon when in positioning operating mode Location information is broadcast, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater When in system debug pattern, the access request of Bluetooth gateway transmission can be received, and is transmitted to Bluetooth beacon, so as to Increase the management and control range of Bluetooth gateway.
Optionally, referring to Fig. 8, above-mentioned steps 702 include:
Step 7021, Bluetooth beacon repeater receive Bluetooth gateway and pass through the first communication when in system debug pattern The access request of channels broadcast carries the device identification of equipment to be visited in the access request.
In the embodiment of the present invention, the Bluetooth beacon repeater can receive the indigo plant when in system debug pattern The access request that tooth gateway is broadcasted by the first communication channel, wherein the equipment that equipment to be visited is carried in access request Mark.Optionally, device identification can be MAC (Media Access Control, medium access control) address.
Optionally, above-mentioned first communication channel can be wire communication channel, so as to flexibly control Bluetooth gateway and The communication distance of Bluetooth beacon repeater.
Step 7022, Bluetooth beacon repeater judge itself device identification and access request in the device identification that carries be It is no identical.
Specifically, the equipment that Bluetooth beacon repeater carries in the device identification for judging itself and the access request When identifying identical, step 7023 is executed, it is no to then follow the steps 7024.
Step 7023, the Bluetooth beacon repeater and the Bluetooth gateway, which are established, to be communicated to connect, and with the bluetooth network It closes cooperation and executes the corresponding operation of the access request.
Specifically, Bluetooth gateway passes through first communication channel when needing to establish communication connection with Bluetooth beacon repeater Broadcast carries the access request of the device identification of Bluetooth beacon repeater, and Bluetooth beacon repeater receives Bluetooth gateway broadcast Access request after, if it is judged that the device identification of its own is identical as the device identification that access request carries, then with bluetooth Gateway establishes communication connection, and operation corresponding with Bluetooth gateway cooperation execution access request, for example, executing Bluetooth beacon relaying Inquiry or modification operation of the configuration information of device etc..
Step 7024, the Bluetooth beacon repeater forward the access to ask by the second communication channel to Bluetooth beacon It asks.
Optionally, the second communication channel can be radio communication channel, it is possible to reduce construction cost, while can flexibly set Set the position of Bluetooth beacon.
Specifically, Bluetooth gateway when needing to establish communication connection with Bluetooth beacon, is taken by first communication channel broadcast The access request of device identification with Bluetooth beacon, Bluetooth beacon repeater receive the access request of Bluetooth gateway broadcast Afterwards, if it is judged that the device identification that the device identification of its own is carried with access request differs, then access request is forwarded To Bluetooth beacon, specifically, Bluetooth beacon repeater can be by the second communication channel broadcast them access request, to bluetooth Beacon can receive the access request of Bluetooth beacon repeater broadcast, and judge that the device identification of Bluetooth beacon itself is asked with access Ask the device identification of carrying whether identical, if identical, Bluetooth beacon can be via Bluetooth beacon repeater and Bluetooth gateway Communication connection is established, and can coordinate with Bluetooth gateway and execute the corresponding operation of access request, for example, executing matching for Bluetooth beacon Inquiry or modification operation of confidence breath etc., otherwise can not execute any operation.
In this way, the embodiment of the present invention is under system debug pattern, Bluetooth beacon repeater the device identification of its own with Access request is transmitted to Bluetooth beacon when the device identification that access request carries differs, it is possible to reduce unnecessary data turn Hair.
Optionally, above-mentioned steps 702 may include:
It is logical by described first to receive the Bluetooth gateway when in system debug pattern for the Bluetooth beacon repeater Believe the access request of channels broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater forwards the access request by second communication channel to the Bluetooth beacon, And judge whether the device identification of itself and the device identification carried in the access request are identical, if so, with the bluetooth Gateway establishes communication connection, operation corresponding with the Bluetooth gateway cooperation execution access request.
In the embodiment of the present invention, Bluetooth beacon repeater is in the visit for receiving Bluetooth gateway and being broadcasted by first communication channel After asking request, can the access request directly be forwarded to Bluetooth beacon by the second communication channel, for example, believing by the second communication The access request is broadcasted in road, so that Bluetooth beacon receives.
In the embodiment of the present invention, Bluetooth beacon repeater is by by the received access request for coming from Bluetooth gateway It is directly forwarded to Bluetooth beacon, the speed of Bluetooth beacon response access request can be improved.
Optionally, the device identification is destination media accessing to control address.
Optionally, the data format of institute's transmission data is passed with second communication channel in the first communication channel The data format of transmission of data is identical.
In the embodiment of the present invention, in first communication channel in the data format of institute's transmission data and second communication channel The data format of institute's transmission data is identical, for example, the data format of first communication channel institute transmission data is blue-teeth data format, The data format of second communication channel institute transmission data is also blue-teeth data format, to make Bluetooth beacon repeater and bluetooth believe When being marked on processing with transceiver relevant information, identical tupe may be used, reduce system cost and complexity.
Specifically, the visit that Bluetooth beacon repeater can send out the Bluetooth gateway received in the embodiment of the present invention Ask that request repeats to be sent to the Bluetooth beacon of rear class, maintain the consistency of access request so that Bluetooth beacon repeater and Bluetooth beacon, using identical tupe, reduces system cost and complexity when processing is with transceiver relevant information.
Optionally, the first communication channel is wire communication channel, and second communication channel is radio communication channel.
Specifically, when first communication channel is wire communication channel, Bluetooth gateway and Bluetooth beacon can be flexibly controlled The communication distance of repeater is radio communication channel in the second communication channel, it is possible to reduce construction cost, while can flexibly set Set the position of Bluetooth beacon.
It is the flow chart of data communications method provided in an embodiment of the present invention referring to Fig. 9, Fig. 9.The embodiment of the present invention provides Data communications method be applied to bluetooth positioning system, the bluetooth positioning system include at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the Bluetooth beacon repeater are correlated via first communication channel and the bluetooth network It connects, the Bluetooth beacon repeater is connect via the second communication channel with the Bluetooth beacon.As shown in figure 9, the present invention is implemented Example provide data communications method include:
Step 901, Bluetooth beacon repeater and Bluetooth beacon are when in positioning operating mode, equal broadcast positioning information.
In the embodiment of the present invention, above-mentioned bluetooth positioning system can be bluetooth positioning system as shown in Figure 1, herein no longer It repeats.
Specifically, in the case where positioning operating mode, Bluetooth beacon and Bluetooth beacon repeater can work in broadcast mode, With broadcast positioning information to the mobile terminal in preset range.For example, with reference to Fig. 2, in the case where positioning operating mode, in Bluetooth beacon Broadcast singal is sent after device and Bluetooth beacon, mobile terminal can receive in Bluetooth beacon and Bluetooth beacon in preset range After the broadcast singal that device is sent, and positioned based on multiple broadcast singals.
The embodiment of the present invention when in positioning operating mode, is determined by Bluetooth beacon repeater as Bluetooth beacon broadcast Position information, can increase the density of Bluetooth beacon, improve bluetooth positioning accuracy.
Step 902, Bluetooth beacon repeater receive the access that Bluetooth gateway is sent and ask when in system debug pattern It asks, and executes the data forwarding between Bluetooth gateway and Bluetooth beacon.
In the embodiment of the present invention, above-mentioned access request can be that request is established in communication connection, can also be configuration information Inquiry request or modification request etc..Under system debug pattern, Bluetooth gateway can be broadcasted by first communication channel and be accessed Request, Bluetooth beacon repeater receive the access request of Bluetooth gateway broadcast, and execute between Bluetooth gateway and Bluetooth beacon Data forwarding for example, the access request that Bluetooth gateway is broadcasted is transmitted to Bluetooth beacon, and Bluetooth beacon feedack is turned Issue Bluetooth gateway.
In the embodiment of the present invention by Bluetooth beacon repeater when in system debug pattern, receives Bluetooth gateway and send Access request, and the data forwarding between Bluetooth gateway and Bluetooth beacon is executed, so as to increase the management and control of Bluetooth gateway Range.
It should be noted that above-mentioned bluetooth positioning system can be in above-mentioned positioning operating mode and above system debugging mode Between switch over, the embodiment of the present invention is not construed as limiting above-mentioned steps 901 and above-mentioned steps 902 execution sequence, and Fig. 9 is first to hold Row step 901 illustrates for execution step 902 afterwards.
In this way, in the embodiment of the present invention, Bluetooth beacon repeater is wide as Bluetooth beacon when in positioning operating mode Location information is broadcast, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater When in system debug pattern, the access request of Bluetooth gateway transmission can be received, and is transmitted to Bluetooth beacon, so as to Increase the management and control range of Bluetooth gateway.
Optionally, referring to Figure 10, above-mentioned steps 902 include:
Step 9021, the Bluetooth gateway are broadcasted by the first communication channel and are visited when in system debug pattern It asks request, the device identification of equipment to be visited is carried in the access request.
Step 9022, the Bluetooth beacon repeater judge the device identification of itself when receiving the access request It is whether identical as the device identification that is carried in the access request, it is communicated to connect if so, being established with the Bluetooth gateway, and with Bluetooth gateway cooperation executes the corresponding operation of the access request, otherwise, by second communication channel to the indigo plant Tooth beacon forwards the access request.
Step 9023, the Bluetooth beacon receive the access request of the Bluetooth beacon repeater forwarding, judge certainly Whether the device identification of body and the device identification carried in the access request identical, if so, with the Bluetooth gateway via The Bluetooth beacon repeater establishes communication connection, and behaviour corresponding with the Bluetooth gateway cooperation execution access request Make.
In the embodiment of the present invention, above-mentioned access request can be that request is established in communication connection, can also be configuration information Inquiry request or modification request etc..
Under system debug pattern, Bluetooth gateway 10 broadcasts access request by first communication channel, wherein access request The middle device identification for carrying equipment to be visited.Optionally, device identification can be MAC (Media Access Control, medium Access control) address.Optionally, above-mentioned first communication channel can be wire communication channel, so as to flexibly control bluetooth The communication distance of gateway and Bluetooth beacon repeater, the second communication channel can be radio communication channels, it is possible to reduce build at This, while the position of Bluetooth beacon can be flexibly set.
Specifically, under system debug pattern, Bluetooth gateway is needing to build with Bluetooth beacon repeater or Bluetooth beacon When vertical communication connection, access request is broadcasted by first communication channel, Bluetooth beacon repeater receives Bluetooth gateway broadcast After access request, it can first judge whether the device identification that the device identification of its own and access request carry is identical, if its The device identification of itself is identical as the device identification that access request carries, then establishes and communicate to connect with Bluetooth gateway, and and bluetooth Gateway cooperation executes the corresponding operation of access request, for example, executing the inquiry or modification of the configuration information of Bluetooth beacon repeater Operation etc..It, can be with if the device identification that the device identification of itself of Bluetooth beacon repeater is carried with access request differs Access request is transmitted to Bluetooth beacon, specifically, Bluetooth beacon repeater can be visited by the second communication channel broadcast them It asks request, to which Bluetooth beacon can receive the access request of Bluetooth beacon repeater broadcast, and judges Bluetooth beacon itself Whether device identification and the device identification that access request carries are identical, if identical, Bluetooth beacon can be via Bluetooth beacon Repeater and Bluetooth gateway, which are established, to be communicated to connect, and can be coordinated with Bluetooth gateway and be executed the corresponding operation of access request, for example, Inquiry or the modification operation etc. for executing the configuration information of Bluetooth beacon, otherwise can not execute any operation.
In this way, the embodiment of the present invention is under system debug pattern, Bluetooth beacon repeater the device identification of its own with Access request is transmitted to Bluetooth beacon when the device identification that access request carries differs, it is possible to reduce unnecessary data turn Hair.
Optionally, above-mentioned steps 902 include:
The Bluetooth gateway broadcasts access request, institute when in system debug pattern, by the first communication channel State the device identification that equipment to be visited is carried in access request;
The Bluetooth beacon repeater is when receiving the access request, by second communication channel to the indigo plant Tooth beacon forwards the access request, and whether judges the device identification carried in the device identification of itself and the access request It is identical, it is communicated to connect if so, being established with the Bluetooth gateway, and the access request pair is executed with Bluetooth gateway cooperation The operation answered;
The Bluetooth beacon receives the access request of the Bluetooth beacon repeater forwarding, judges the equipment mark of itself Whether knowledge and the device identification carried in the access request are identical, if so, believing via the bluetooth with the Bluetooth gateway It marks repeater and establishes communication connection, and operation corresponding with the Bluetooth gateway cooperation execution access request.
In the embodiment of the present invention, Bluetooth beacon repeater is in the visit for receiving Bluetooth gateway and being broadcasted by first communication channel After asking request, can the access request directly be forwarded to Bluetooth beacon by the second communication channel, for example, believing by the second communication The access request is broadcasted in road, so that Bluetooth beacon receives.
In the embodiment of the present invention, Bluetooth beacon repeater is by by the received access request for coming from Bluetooth gateway It is directly forwarded to Bluetooth beacon, the speed of Bluetooth beacon response access request can be improved.
Optionally, the device identification is destination media accessing to control address.
Optionally, the data format of institute's transmission data is passed with second communication channel in the first communication channel The data format of transmission of data is identical.
In the embodiment of the present invention, in first communication channel in the data format of institute's transmission data and second communication channel The data format of institute's transmission data is identical, for example, the data format of first communication channel institute transmission data is blue-teeth data format, The data format of second communication channel institute transmission data is also blue-teeth data format, to make Bluetooth beacon repeater and bluetooth believe When being marked on processing with transceiver relevant information, identical tupe may be used, reduce system cost and complexity.
Specifically, the visit that Bluetooth beacon repeater can send out the Bluetooth gateway received in the embodiment of the present invention Ask that request repeats to be sent to the Bluetooth beacon of rear class, maintain the consistency of access request so that Bluetooth beacon repeater and Bluetooth beacon, using identical tupe, reduces system cost and complexity when processing is with transceiver relevant information.
Optionally, the first communication channel is wire communication channel, and second communication channel is radio communication channel.
Specifically, when first communication channel is wire communication channel, Bluetooth gateway and Bluetooth beacon can be flexibly controlled The communication distance of repeater is radio communication channel in the second communication channel, it is possible to reduce construction cost, while can flexibly set Set the position of Bluetooth beacon.
From the foregoing, it will be observed that in the embodiment of the present invention, mixed deployment mode may be used in Bluetooth beacon, to reducing the construction costs, Specifically, a part of Bluetooth beacon is integrated in inside the divided antenna of room, disposed while realizing Bluetooth beacon by administration of room branch, Another part Bluetooth beacon uses independent deployment way, increases localizer beacon density, improves indoor position accuracy.Meanwhile By above-mentioned mixed deployment mode may be implemented whole Bluetooth beacons can management and control, wherein being integrated in the bluetooth inside the divided antenna of room Beacon can be communicated by wire communication channel with Bluetooth gateway, right to inquire or change the configuration information of Bluetooth beacon In the Bluetooth beacon of independent deployment way, since radio communication channel increases link load, to be relayed by Bluetooth beacon Device transmits signal, to increase the management and control range of Bluetooth gateway.
The embodiment of the present invention also provides a kind of Bluetooth beacon repeater, including processor, memory and is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor Each process of the data communications method of above method embodiment, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
Referring to Figure 11, the embodiment of the present invention also provides a kind of Bluetooth beacon repeater, is located at a bluetooth positioning system, described Bluetooth positioning system includes at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the bluetooth letter Mark repeater is connect via first communication channel with the Bluetooth gateway, and the Bluetooth beacon repeater is via the second communication channel It is connect with the Bluetooth beacon.The Bluetooth beacon repeater 1100 includes memory 1101, processor 1102 and is stored in described On memory 1101 and the computer program 11011 that can be run on the processor 1102, the processor 1102 execute institute Following steps are realized when stating program 11011:
When in positioning operating mode, as Bluetooth beacon broadcast positioning information;
When in system debug pattern, the access request that the Bluetooth gateway is sent is received, and execute the bluetooth network Close the data forwarding between the Bluetooth beacon.
The processor 1102 executes described program 11011 and also realizes following steps:When in system debug pattern, connect The access request that the Bluetooth gateway is broadcasted by the first communication channel is received, equipment to be visited is carried in the access request Device identification;Judge whether the device identification of itself and the device identification carried in the access request are identical, if so, with The Bluetooth gateway establishes communication connection, and operation corresponding with the Bluetooth gateway cooperation execution access request, otherwise, By second communication channel access request is forwarded to the Bluetooth beacon.
Optionally, the processor 1102 executes described program 11011 and also realizes following steps:In system debug mould When formula, the access request that the Bluetooth gateway is broadcasted by the first communication channel is received, carries and waits in the access request The device identification of access equipment;The access request is forwarded to the Bluetooth beacon by second communication channel, and is judged Whether the device identification of itself and the device identification carried in the access request are identical, if so, being built with the Bluetooth gateway Vertical communication connection, operation corresponding with the Bluetooth gateway cooperation execution access request.
Optionally, the device identification is destination media accessing to control address.
Optionally, the data format of institute's transmission data is passed with second communication channel in the first communication channel The data format of transmission of data is identical.
Optionally, the first communication channel is wire communication channel, and second communication channel is radio communication channel.
The Bluetooth beacon repeater of the embodiment of the present invention, it is fixed as Bluetooth beacon broadcast when in positioning operating mode Position information, so as to increase the density of Bluetooth beacon used for positioning, to improve positioning accuracy, Bluetooth beacon repeater is being located When system debug pattern, the access request of Bluetooth gateway transmission can be received, and is transmitted to Bluetooth beacon, so as to increase The management and control range of Bluetooth gateway.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored on the computer readable storage medium There are computer program, the computer program to realize each process of above-mentioned data communications method when being executed by processor, and Identical technique effect can be reached.
It can be with one of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of program instruction, the program can be stored in a computer-readable medium, the program When being executed, include the following steps:
The Bluetooth beacon repeater is when in positioning operating mode, as Bluetooth beacon broadcast positioning information;
The Bluetooth beacon repeater receives the access that the Bluetooth gateway is sent and asks when in system debug pattern It asks, and executes the data forwarding between the Bluetooth gateway and the Bluetooth beacon.
Optionally, the Bluetooth beacon repeater receives what the Bluetooth gateway was sent when in system debug pattern Access request, and the data forwarding between the Bluetooth gateway and the Bluetooth beacon is executed, including:
It is logical by described first to receive the Bluetooth gateway when in system debug pattern for the Bluetooth beacon repeater Believe the access request of channels broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater judges that the device identification of itself is with the device identification carried in the access request It is no identical, it is communicated to connect if so, being established with the Bluetooth gateway, and the access request is executed with Bluetooth gateway cooperation Otherwise corresponding operation forwards the access request by second communication channel to the Bluetooth beacon.
Optionally, the Bluetooth beacon repeater receives what the Bluetooth gateway was sent when in system debug pattern Access request, and the data forwarding between the Bluetooth gateway and the Bluetooth beacon is executed, including:
It is logical by described first to receive the Bluetooth gateway when in system debug pattern for the Bluetooth beacon repeater Believe the access request of channels broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater forwards the access request by second communication channel to the Bluetooth beacon, And judge whether the device identification of itself and the device identification carried in the access request are identical, if so, with the bluetooth Gateway establishes communication connection, operation corresponding with the Bluetooth gateway cooperation execution access request.
Optionally, the device identification is destination media accessing to control address.
Optionally, the data format of institute's transmission data is passed with second communication channel in the first communication channel The data format of transmission of data is identical.
Optionally, the first communication channel is wire communication channel, and second communication channel is radio communication channel.
The storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (26)

1. a kind of data communications method, which is characterized in that be applied to Bluetooth beacon repeater, the Bluetooth beacon repeater is located at One bluetooth positioning system, the bluetooth positioning system include at least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacon, the Bluetooth beacon repeater is connect via first communication channel with the Bluetooth gateway, in the Bluetooth beacon It is connect with the Bluetooth beacon via the second communication channel after device, the method includes:
The Bluetooth beacon repeater is when in positioning operating mode, as Bluetooth beacon broadcast positioning information;
The Bluetooth beacon repeater receives the access request that the Bluetooth gateway is sent when in system debug pattern, and Execute the data forwarding between the Bluetooth gateway and the Bluetooth beacon.
2. according to the method described in claim 1, it is characterized in that, the Bluetooth beacon repeater is in system debug pattern When, the access request that the Bluetooth gateway is sent is received, and execute the data between the Bluetooth gateway and the Bluetooth beacon Forwarding, including:
The Bluetooth beacon repeater receives the Bluetooth gateway and is believed by first communication when in system debug pattern The access request of road broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater judge the device identification of itself and the device identification that is carried in the access request whether phase Together, it is communicated to connect if so, being established with the Bluetooth gateway, and corresponding with the Bluetooth gateway cooperation execution access request Operation the access request is otherwise forwarded to the Bluetooth beacon by second communication channel.
3. according to the method described in claim 1, it is characterized in that, the Bluetooth beacon repeater is in system debug pattern When, the access request that the Bluetooth gateway is sent is received, and execute the data between the Bluetooth gateway and the Bluetooth beacon Forwarding, including:
The Bluetooth beacon repeater receives the Bluetooth gateway and is believed by first communication when in system debug pattern The access request of road broadcast, the device identification of equipment to be visited is carried in the access request;
The Bluetooth beacon repeater forwards the access request by second communication channel to the Bluetooth beacon, and sentences Whether the disconnected device identification of itself and the device identification carried in the access request are identical, if so, with the Bluetooth gateway Communication connection is established, operation corresponding with the Bluetooth gateway cooperation execution access request.
4. according to the method in claim 2 or 3, which is characterized in that the device identification is for destination media access control Location.
5. according to the method in claim 2 or 3, which is characterized in that the number of institute's transmission data in the first communication channel It is identical as the data format of institute's transmission data in second communication channel according to format.
6. according to the method in claim 2 or 3, which is characterized in that the first communication channel is wire communication channel, institute It is radio communication channel to state the second communication channel.
7. a kind of data communications method, which is characterized in that be applied to bluetooth positioning system, the bluetooth positioning system includes at least One Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the Bluetooth beacon repeater is via the first communication Channel is connect with the Bluetooth gateway, and the Bluetooth beacon repeater is connect via the second communication channel with the Bluetooth beacon, The method includes:
The Bluetooth beacon repeater and the Bluetooth beacon are when in positioning operating mode, equal broadcast positioning information;
The Bluetooth beacon repeater receives the access request that the Bluetooth gateway is sent when in system debug pattern, and Execute the data forwarding between the Bluetooth gateway and the Bluetooth beacon.
8. the method according to the description of claim 7 is characterized in that the Bluetooth beacon repeater is in system debug pattern When, the access request that the Bluetooth gateway is sent is received, and execute the data between the Bluetooth gateway and the Bluetooth beacon Forwarding, including:
The Bluetooth gateway broadcasts access request, the visit when in system debug pattern, by the first communication channel Ask the device identification that equipment to be visited is carried in request;
The Bluetooth beacon repeater judges the device identification of itself and the access request when receiving the access request Whether the device identification of middle carrying is identical, is communicated to connect if so, being established with the Bluetooth gateway, and match with the Bluetooth gateway It closes and executes the corresponding operation of the access request, otherwise, by second communication channel to described in Bluetooth beacon forwarding Access request;
The Bluetooth beacon receives the access request of Bluetooth beacon repeater forwarding, judge the device identification of itself with Whether the device identification carried in the access request is identical, if so, with the Bluetooth gateway via in the Bluetooth beacon It establishes and communicates to connect after device, and operation corresponding with the Bluetooth gateway cooperation execution access request.
9. the method according to the description of claim 7 is characterized in that the Bluetooth beacon repeater is in system debug pattern When, the access request that the Bluetooth gateway is sent is received, and execute the data between the Bluetooth gateway and the Bluetooth beacon Forwarding, including:
The Bluetooth gateway broadcasts access request, the visit when in system debug pattern, by the first communication channel Ask the device identification that equipment to be visited is carried in request;
The Bluetooth beacon repeater is believed by second communication channel to the bluetooth when receiving the access request Mark forwards the access request, and judge the device identification of itself and the device identification that is carried in the access request whether phase Together, it is communicated to connect if so, being established with the Bluetooth gateway, and corresponding with the Bluetooth gateway cooperation execution access request Operation;
The Bluetooth beacon receives the access request of Bluetooth beacon repeater forwarding, judge the device identification of itself with Whether the device identification carried in the access request is identical, if so, with the Bluetooth gateway via in the Bluetooth beacon It establishes and communicates to connect after device, and operation corresponding with the Bluetooth gateway cooperation execution access request.
10. method according to claim 8 or claim 9, which is characterized in that the device identification is for destination media access control Location.
11. method according to claim 8 or claim 9, which is characterized in that the number of institute's transmission data in the first communication channel It is identical as the data format of institute's transmission data in second communication channel according to format.
12. method according to claim 8 or claim 9, which is characterized in that the first communication channel is wire communication channel, Second communication channel is radio communication channel.
13. a kind of Bluetooth beacon repeater, which is characterized in that be located at a bluetooth positioning system, the bluetooth positioning system includes At least one Bluetooth beacon repeater, Bluetooth gateway and at least two Bluetooth beacons, the Bluetooth beacon repeater is via first Communication channel is connect with the Bluetooth gateway, and the Bluetooth beacon repeater connects via the second communication channel and the Bluetooth beacon It connects, the Bluetooth beacon repeater includes:
Transmitter is used for when in positioning operating mode, as Bluetooth beacon broadcast positioning information;
Receiver, the access request sent for when in system debug pattern, receiving the Bluetooth gateway, and described in execution Data forwarding between Bluetooth gateway and the Bluetooth beacon.
14. Bluetooth beacon repeater according to claim 13, which is characterized in that the receiver be specifically used in When system debug pattern, the access request that the Bluetooth gateway is broadcasted by the first communication channel is received, the access is asked Ask the middle device identification for carrying equipment to be visited;
The Bluetooth beacon repeater further includes processor, for judging that the device identification of itself is carried with the access request Device identification it is whether identical, if so, with the Bluetooth gateway establish communicate to connect, and with the Bluetooth gateway coordinate execute The corresponding operation of the access request;
When the device identification that the transmitter is additionally operable to carry in the device identification of itself and the access request differs, pass through Second communication channel forwards the access request to the Bluetooth beacon.
15. Bluetooth beacon repeater according to claim 13, which is characterized in that the receiver be specifically used in When system debug pattern, the access request that the Bluetooth gateway is broadcasted by the first communication channel is received, the access is asked Ask the middle device identification for carrying equipment to be visited;
The transmitter is additionally operable to forward the access request to the Bluetooth beacon by second communication channel;
The Bluetooth beacon repeater further includes processor, for judging that the device identification of itself is carried with the access request Device identification it is whether identical, if so, with the Bluetooth gateway establish communicate to connect, and with the Bluetooth gateway coordinate execute The corresponding operation of the access request.
16. the Bluetooth beacon repeater according to claims 14 or 15, which is characterized in that the device identification is situated between for target Matter accessing to control address.
17. the Bluetooth beacon repeater according to claims 14 or 15, which is characterized in that institute in the first communication channel The data format of transmission data is identical as the data format of institute's transmission data in second communication channel.
18. the Bluetooth beacon repeater according to claims 14 or 15, which is characterized in that the first communication channel is to have Line communication channel, second communication channel are radio communication channel.
19. a kind of bluetooth positioning system, which is characterized in that the bluetooth positioning system includes at least one Bluetooth beacon relaying Device, Bluetooth gateway and at least two Bluetooth beacons, the Bluetooth beacon repeater is via first communication channel and the bluetooth network Connection connects, and the Bluetooth beacon repeater is connect via the second communication channel with the Bluetooth beacon, the Bluetooth beacon relaying Device and Bluetooth beacon, are used to broadcast positioning information when in positioning operating mode, and the Bluetooth beacon repeater is additionally operable to When in system debug pattern, the access request that the Bluetooth gateway is sent is received, and executes the Bluetooth gateway and described Data forwarding between Bluetooth beacon.
20. bluetooth positioning system according to claim 19, it is characterised in that:
The Bluetooth gateway is used for:When in system debug pattern, access request, institute are broadcasted by the first communication channel State the device identification that equipment to be visited is carried in access request;
The Bluetooth beacon repeater is additionally operable to:When receiving the access request, judge the device identification of itself with it is described Whether the device identification carried in access request is identical, is communicated to connect if so, being established with the Bluetooth gateway, with the bluetooth Gateway cooperation executes the corresponding operation of the access request, otherwise, institute is forwarded to Bluetooth beacon by second communication channel State access request;
The Bluetooth beacon is additionally operable to:The access request for receiving the Bluetooth beacon repeater forwarding, judges setting for itself Whether standby mark and the device identification carried in the access request are identical, if so, with the Bluetooth gateway via the indigo plant Tooth beacon repeater establishes communication connection, and operation corresponding with the Bluetooth gateway cooperation execution access request.
21. bluetooth positioning system according to claim 19, it is characterised in that:
The Bluetooth gateway is used for:When in system debug pattern, access request, institute are broadcasted by the first communication channel State the device identification that equipment to be visited is carried in access request;
The Bluetooth beacon repeater is additionally operable to:When receiving the access request, by second communication channel to indigo plant Tooth beacon forwards the access request, and whether judges the device identification carried in the device identification of itself and the access request It is identical, it is communicated to connect if so, being established with the Bluetooth gateway, it is corresponding to execute the access request with Bluetooth gateway cooperation Operation;
The Bluetooth beacon is additionally operable to:The access request for receiving the Bluetooth beacon repeater forwarding, judges setting for itself Whether standby mark and the device identification carried in the access request are identical, if so, with the Bluetooth gateway via the indigo plant Tooth beacon repeater establishes communication connection, and operation corresponding with the Bluetooth gateway cooperation execution access request.
22. the bluetooth positioning system according to claim 20 or 21, which is characterized in that the device identification is destination media Accessing to control address.
23. the bluetooth positioning system according to claim 20 or 21, which is characterized in that passed in the first communication channel The data format of transmission of data is identical as the data format of institute's transmission data in second communication channel.
24. the bluetooth positioning system according to claim 20 or 21, which is characterized in that the first communication channel is wired Communication channel, second communication channel are radio communication channel.
25. a kind of Bluetooth beacon repeater, including memory, processor and it is stored on the memory and can be in the processing The computer program run on device, which is characterized in that the processor is realized when executing described program as claim 1-6 is any Data communications method described in.
26. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Data communications method as claimed in any one of claims 1 to 6 is realized when execution.
CN201710650794.XA 2017-08-02 2017-08-02 A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system Pending CN108289294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710650794.XA CN108289294A (en) 2017-08-02 2017-08-02 A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710650794.XA CN108289294A (en) 2017-08-02 2017-08-02 A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system

Publications (1)

Publication Number Publication Date
CN108289294A true CN108289294A (en) 2018-07-17

Family

ID=62831456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710650794.XA Pending CN108289294A (en) 2017-08-02 2017-08-02 A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system

Country Status (1)

Country Link
CN (1) CN108289294A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451478A (en) * 2018-12-28 2019-03-08 京信通信系统(中国)有限公司 Link load calculation method, device, gateway and readable storage medium storing program for executing
RU2693913C1 (en) * 2018-10-03 2019-07-05 Открытое акционерное общество "ИСТОК-АУДИО ИНТЕРНЭШНЛ" Retransmitter to mobile phone with bluetooth module
CN110198534A (en) * 2019-04-30 2019-09-03 努比亚技术有限公司 Communicate transparent transmission control method, communication equipment, system and storage medium
CN110730440A (en) * 2019-09-03 2020-01-24 深圳市昇润科技有限公司 Bluetooth networking system
CN111083649A (en) * 2020-01-20 2020-04-28 深圳市觅拓物联信息技术有限公司 Data transmission method and device
CN112365873A (en) * 2020-11-10 2021-02-12 北京百瑞互联技术有限公司 Bluetooth audio relay sound mixing method and device and storage medium
CN113163339A (en) * 2020-01-22 2021-07-23 深圳市云海物联科技有限公司 Method and device for searching equipment and terminal equipment
WO2021160062A1 (en) * 2020-02-12 2021-08-19 阿里巴巴集团控股有限公司 Bluetooth network-based communication method, and node and communication system thereof
CN114025336A (en) * 2021-10-08 2022-02-08 湖南简成信息技术有限公司 Bluetooth communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103968855A (en) * 2013-02-04 2014-08-06 中国移动通信集团公司 Movement locus detection method, mobile terminal and pedometer
CN104144481A (en) * 2014-05-06 2014-11-12 杨光华 Multimode beacon and multimode beacon control system and method
CN104780607A (en) * 2015-04-24 2015-07-15 杭州华三通信技术有限公司 Bluetooth wearable device locating method, Bluetooth repeater device and Bluetooth monitor device
US20160345126A1 (en) * 2013-09-06 2016-11-24 Paypal, Inc. Systems and methods for enabling additional devices to check in to bluetooth low energy (ble) beacons

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103968855A (en) * 2013-02-04 2014-08-06 中国移动通信集团公司 Movement locus detection method, mobile terminal and pedometer
US20160345126A1 (en) * 2013-09-06 2016-11-24 Paypal, Inc. Systems and methods for enabling additional devices to check in to bluetooth low energy (ble) beacons
CN104144481A (en) * 2014-05-06 2014-11-12 杨光华 Multimode beacon and multimode beacon control system and method
CN104780607A (en) * 2015-04-24 2015-07-15 杭州华三通信技术有限公司 Bluetooth wearable device locating method, Bluetooth repeater device and Bluetooth monitor device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2693913C1 (en) * 2018-10-03 2019-07-05 Открытое акционерное общество "ИСТОК-АУДИО ИНТЕРНЭШНЛ" Retransmitter to mobile phone with bluetooth module
CN109451478B (en) * 2018-12-28 2022-03-25 京信网络系统股份有限公司 Link loss calculation method, device, gateway and readable storage medium
CN109451478A (en) * 2018-12-28 2019-03-08 京信通信系统(中国)有限公司 Link load calculation method, device, gateway and readable storage medium storing program for executing
CN110198534A (en) * 2019-04-30 2019-09-03 努比亚技术有限公司 Communicate transparent transmission control method, communication equipment, system and storage medium
CN110730440A (en) * 2019-09-03 2020-01-24 深圳市昇润科技有限公司 Bluetooth networking system
CN110730440B (en) * 2019-09-03 2022-08-23 深圳市昇润科技有限公司 Bluetooth networking system
CN111083649A (en) * 2020-01-20 2020-04-28 深圳市觅拓物联信息技术有限公司 Data transmission method and device
CN113163339A (en) * 2020-01-22 2021-07-23 深圳市云海物联科技有限公司 Method and device for searching equipment and terminal equipment
CN113163339B (en) * 2020-01-22 2022-05-13 深圳市云海物联科技有限公司 Method and device for searching equipment and terminal equipment
WO2021160062A1 (en) * 2020-02-12 2021-08-19 阿里巴巴集团控股有限公司 Bluetooth network-based communication method, and node and communication system thereof
CN112365873A (en) * 2020-11-10 2021-02-12 北京百瑞互联技术有限公司 Bluetooth audio relay sound mixing method and device and storage medium
CN114025336A (en) * 2021-10-08 2022-02-08 湖南简成信息技术有限公司 Bluetooth communication system
CN114025336B (en) * 2021-10-08 2023-11-14 湖南简成信息技术有限公司 Bluetooth communication system

Similar Documents

Publication Publication Date Title
CN108289294A (en) A kind of data communications method, Bluetooth beacon repeater and bluetooth positioning system
WO2017071650A1 (en) Positioning method, base station and mobile terminal of mobile network
US8164515B2 (en) Methods and apparatus to locate a wireless device
CN103582121A (en) Indoor positioning system and method based on virtual Beidou satellite navigation signals
CN108351421A (en) Localization method, base station in mobile network and mobile terminal
US20110187527A1 (en) Portable tracking/locating system, method, and application
CN102742182A (en) Distributed database access for spectrum access
CN106131767A (en) A kind of combination WiFi and the mobile phone positioning method of bluetooth
US8559370B2 (en) Apparatus and method for super fine positioning with networks in tiered structure
CN110366112A (en) A kind of localization method and relevant device
AU2014101574A4 (en) Location services in an obfuscated wireless network
CN109541662B (en) Positioning method and device
CN113703005A (en) Method and communication device for positioning in satellite network
US8638693B2 (en) Method and system for configuring wireless communication of survey sensors and controllers
US20130143584A1 (en) System and method for user control of location determination
Bruning et al. Cooperative positioning with magicmap
CN116405873A (en) Method and device for acquiring installation information of network access equipment
US20030014189A1 (en) System and method for mobile communications terminal positioning
Basford et al. LoRaWAN for city scale IoT deployments
CN110187365A (en) A kind of localization method, equipment and system
CN207369304U (en) Off-network is formed a team terminal and system
CN105592167A (en) Base station electromagnetic radiation monitoring system
CN109358354A (en) A kind of handheld navigation signal simulator
EP3890195A1 (en) Apparatus and methods for g3-plc bootstrap in hybrid networks
Ariff et al. Establish connection between remote areas and city to improve healthcare services

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180717

RJ01 Rejection of invention patent application after publication