WO2018121084A1 - Positioning method, device and system - Google Patents
Positioning method, device and system Download PDFInfo
- Publication number
- WO2018121084A1 WO2018121084A1 PCT/CN2017/109753 CN2017109753W WO2018121084A1 WO 2018121084 A1 WO2018121084 A1 WO 2018121084A1 CN 2017109753 W CN2017109753 W CN 2017109753W WO 2018121084 A1 WO2018121084 A1 WO 2018121084A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- positioning
- base station
- tag
- message
- broadcast
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0203—Power saving arrangements in the radio access network or backbone network of wireless communication networks
- H04W52/0206—Power saving arrangements in the radio access network or backbone network of wireless communication networks in access points, e.g. base stations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for positioning.
- An indoor positioning system or a specific scene positioning system usually consists of a positioning tag, a positioning base station, and a positioning server.
- the positioning tag periodically sends a Bluetooth broadcast message to the positioning base station.
- the locating base station extracts the data and reports the data to the locating server (for example, a terminal device such as a PC, a mobile phone, an IPad, a notebook, etc.) through a network (for example, Wifi, ZigBee, 4G, etc.)
- the positioning server After receiving the data sent by the positioning base station, the positioning server obtains the positioning label location information through calculation, and performs processing of various positioning services according to the specific application, for example, and displays it in the designated map.
- the inventor found that the existing positioning tags continue to work regardless of whether they leave the location area, and the positioning tags continue to consume power, which cannot effectively save power.
- the embodiment of the present application provides a positioning method, device, system, and storage medium, which can save power consumption of a positioning device or a positioning tag.
- the embodiment of the present application further provides a positioning base station and a positioning system, which can save power consumption of the positioning device or the positioning tag and the positioning base station.
- the positioning service function except the departure determination is disabled on the positioning label, thereby saving the positioning label.
- the power consumption enables the power supply in the positioning tag to continue to serve for a longer period of time.
- determining whether the positioning label leaves the positioning area of the positioning base station group includes: the positioning label listening to the positioning base station on a same channel as the positioning label broadcast message. a positioning label broadcast response message returned by the positioning base station in the group; if the positioning label does not receive the positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, Determining that the positioning tag has left the location area of the positioning base station group.
- the determining, by the positioning label, whether the positioning label leaves the positioning area of the positioning base station group comprises: the positioning label is on a channel that is the same as the broadcasting message that sends the positioning label broadcast message. Locating a positioning label broadcast response message returned by the positioning base station in the positioning base station group; the positioning label receiving, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group,
- the positioning tag broadcast response message includes a Bluetooth address of the at least one positioning base station; the positioning tag determines whether the Bluetooth address of the at least one positioning base station has regularity, and if there is no regularity, the count value is incremented by one, And when the count value does not reach the set threshold, the foregoing steps are continued; when the count value reaches the set threshold, it is determined that the positioning tag has left the positioning area of the positioning base station group.
- Determining whether the response is returned by the base station in the base station group by determining the regularity of the Bluetooth address returned by the positioning base station The message is used to prevent the error of the positioning label broadcast response message of the non-base station Bluetooth response, thereby improving the quasi-determination of the positioning label positioning judgment; in addition, by setting a certain count value as a judgment reference, thereby avoiding frequent
- the result of the presence of the off-site is displayed, and the positioning service function on the positioning tag is frequently turned off and on according to the positioning judgment result.
- the method further includes: if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity, the positioning tag determines that it is in a positioning area of the positioning base station group, Clearing the count value to zero, and turning off the positioning service function on the positioning label.
- the positioning tag determines whether the Bluetooth address of the at least one positioning base station has regularity in one of the following ways: the Bluetooth address values of the plurality of positioning base stations in the positioning area are the same; the positioning The Bluetooth address values of the plurality of positioning base stations in the area are incremented according to a specified step size; and the Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
- the positioning service function on the positioning label other than the departure determination function includes at least one of the following functions: a collection function of positioning data, a calculation function of positioning data, and a transmission function of positioning data.
- the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol is modified by scanning a broadcastable message protocol and a linkable undirected broadcast protocol. Or not linked to the broadcast protocol.
- the positioning tag broadcast message and the positioning tag broadcast response message are more flexible and save power by using the special departure protocol to determine the positioning according to the existing Bluetooth broadcast message protocol. Effect. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
- the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc.
- the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified.
- the special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like.
- the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
- the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
- the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need It is bound to the transmission positioning data) and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station for positioning determination.
- the method further includes: if the positioning base station receives the second positioning tag broadcast message carrying the address information of the positioning tag within a set time, determining the second Whether the tag information in the tag broadcast message is equal to the set value, and the tag information in the second tag broadcast message is used to indicate whether the second tag broadcast message is a special leave protocol message; If the tag information in the broadcast packet of the second locating tag is equal to the set value, determining that the locating tag is located in the locating area of the locating base station, and returning a locating tag broadcast response message to the locating tag; If the tag information in the second positioning tag broadcast message is not equal to the set value, the counter value is incremented by 1, and when the count value reaches the set threshold, determining that the positioning tag leaves the positioning base station Location area.
- the positioning service function on the positioning tag is frequently turned off and on according to the positioning determination result.
- the problem of judging the occurrence of the Bluetooth message of the non-positioning label can be prevented, thereby improving the accuracy of the positioning label positioning judgment.
- determining the positioning judgment based on the non-specific departure protocol packet of the positioning label so that the positioning judgment is performed only according to the special departure protocol packet sent by the positioning label, thereby saving the power consumption of the positioning base station positioning judgment.
- the positioning label broadcast message and the special departure protocol adopted by the positioning label broadcast response message are modified by a scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. get.
- the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc.
- the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified.
- the special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like.
- the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
- the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
- the communication field used for the departure determination between the positioning tag and the positioning base station is deleted by deleting the Data field in the positioning tag broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol. More flexible, less overhead, and more power-saving effects.
- the embodiment of the present application provides a positioning device, which is applied to a positioning device and a positioning system comprising a plurality of positioning base stations, and the positioning device comprises:
- a transceiver unit configured to periodically send a positioning device broadcast message to the positioning base station group;
- a processing unit configured to determine, by using the positioning label broadcast response message returned by the positioning base station group, whether the positioning device leaves a positioning area of the positioning base station group, and the positioning device leaves the positioning area of the positioning base station group In this case, the positioning service function except the departure determination function on the positioning device is turned off.
- the positioning service function except the departure determination is closed on the positioning label, thereby The power consumption of the positioning tag is saved, so that the power supply in the positioning tag can continue to serve for a longer time.
- the determining, by the processing unit, whether to leave the positioning area of the positioning base station group specifically: the processing unit listening to the positioning base station group on a same channel as the positioning label broadcast message a positioning tag broadcast response message returned by the positioning base station; if the processing unit does not receive the positioning tag broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, Determining that the positioning device has left the positioning area of the positioning base station group.
- the determining, by the processing unit, whether to leave the positioning area of the positioning base station group specifically: the processing unit listening to the positioning base station group on a same channel as the positioning label broadcast message a positioning label broadcast response message returned by the positioning base station; the processing unit receives, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, the positioning label
- the broadcast response message includes a Bluetooth address of the at least one positioning base station; the processing unit determines whether the Bluetooth address of the at least one positioning base station has regularity, and if not, increases the count value by one, and When the count value does not reach the set threshold, the foregoing steps are continued; when the count value reaches the set threshold, it is determined that the positioning device has left the positioning area of the positioning base station group.
- the judging error of the Bluetooth address returned by the locating base station is whether it is a response message returned by the base station in the base station group, so as to prevent the erroneous error problem caused by the positioning tag broadcast response message of the non-base station Bluetooth response, thereby improving the problem
- the quasi-determination of the positioning label positioning judgment ; in addition, by setting a certain count value as a judgment reference, thereby avoiding frequent occurrence of the departure presence result, frequently performing the closing and opening of the positioning service function on the positioning label according to the positioning determination result. .
- the processing unit is further configured to: if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity, the positioning tag determines that it is in a positioning area of the positioning base station group Clearing the count value to zero, and turning on the positioning service function that is closed on the positioning label.
- the processing unit determines whether the Bluetooth address of the at least one positioning base station has regularity in one of the following ways: the Bluetooth address values of the plurality of positioning base stations in the positioning area are the same; the positioning The Bluetooth address values of the plurality of positioning base stations in the area are incremented according to a specified step size; and the Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
- the positioning service function on the positioning label other than the departure determination function includes at least one of the following functions: a collection function of positioning data, a calculation function of positioning data, and a transmission function of positioning data.
- the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol is modified by scanning a broadcastable message protocol and a linkable undirected broadcast protocol. Or not linked to the broadcast protocol.
- the positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol.
- the effect of consumption Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field agreement The text is more flexible (not limited to being sent with the positioning data), and because of the special departure protocol message, the transmission frequency is more flexible and usually lower than the frequency of the data transmitted by the existing protocol, so that the positioning base station can be saved more. Power consumption.
- the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc.
- the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified.
- the special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like.
- the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
- the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
- the communication field used for the departure determination between the positioning tag and the positioning base station is deleted by deleting the Data field in the positioning tag broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol. More flexible, less overhead, and more power-saving effects.
- the embodiment of the present application provides a positioning base station, where the positioning device is used in a positioning system composed of at least two positioning base stations, and the positioning base station is any one of the positioning base station groups.
- a locating base station the base station includes: a transceiver unit, configured to receive a first locating label broadcast message periodically sent by the locating device, where the first locating label broadcast packet carries tag information and an address of the locating device The information indicating that the first positioning label broadcast message is a special departure protocol message; the processing unit is configured to record, by the positioning base station, address information of the positioning device, where the positioning base station is according to the tag The information determines that the positioning device is located in a positioning area of the base station, and instructs the transceiver unit to return a positioning label broadcast response message to the positioning device.
- the positioning base station performs the judgment according to the existing Bluetooth broadcast protocol packet, and the positioning base station performs the positioning judgment according to the special departure protocol packet in the special departure protocol, which can make the departure base station judgment of the positioning base station more flexible. (Not limited to being sent with the positioning data), and because the special departure protocol message is adopted, the transmission frequency is more flexible and generally lower than the frequency of the data transmitted by the existing protocol, thereby saving the power consumption of the positioning base station.
- the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need It is bound to the transmission positioning data) and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station for positioning determination.
- the processing unit is further configured to determine, if the processing unit does not receive the second positioning tag broadcast message carrying the address information of the positioning device within a set time, The positioning device leaves the positioning area of the positioning base station.
- the processing unit is further configured to: if the processing unit receives the second positioning tag broadcast message carrying the address information of the positioning device within a set time, determining the Whether the marking information in the second positioning label broadcast message is equal to the set value, and the marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message.
- the tag information in the second positioning tag broadcast message is equal to the set value, determining that the positioning device is in the positioning area of the positioning base station, and returning a positioning tag broadcast response message to the positioning device; If the tag information in the second positioning tag broadcast message is not equal to the set value, the count value is incremented by 1, and when the count value reaches the set threshold, determining that the positioning device leaves the Locate the location area of the base station.
- the positioning service function on the positioning tag is frequently turned off and on according to the positioning determination result.
- the problem of judging the occurrence of the Bluetooth message of the non-positioning label can be prevented, thereby improving the accuracy of the positioning label positioning judgment.
- the non-specific departure protocol packet of the locating label is determined by the positioning, so that the positioning judgment is performed only according to the special departure protocol packet sent by the locating label, thereby saving the power consumption of the positioning base station positioning judgment.
- the positioning label broadcast message and the special departure protocol adopted by the positioning label broadcast response message are modified by a scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. get.
- the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
- the positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol.
- the effect of consumption Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation.
- Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
- the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc.
- the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified.
- the special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like.
- the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
- the positioning tag and the positioning base station are used for the departure determination. Communication is more flexible, and the overhead is small, which saves power consumption.
- the embodiment of the present application provides a positioning device, which is applied to a positioning device and a positioning system composed of at least two positioning base stations, and the positioning device includes: a transceiver, configured to periodically The positioning base station group sends a positioning label broadcast message; the processor is configured to determine, by using the positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning device leaves the positioning base station group An area, and in a case where the positioning device leaves the positioning area of the positioning base station group, the positioning service function except the departure determining function on the positioning device is turned off.
- the positioning service function except the departure determination is closed on the positioning label, thereby The power consumption of the positioning tag is saved, so that the power supply in the positioning tag can continue to serve for a longer time.
- the determining, by the processor, whether to leave the positioning area of the positioning base station group includes: the processor listening to the positioning base station group on a same channel as the positioning label broadcast message. a positioning tag broadcast response message returned by the positioning base station; if the processor does not receive the positioning tag broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, Determining that the positioning device has left the positioning area of the positioning base station group.
- the determining, by the processor, whether to leave the positioning area of the positioning base station group includes: the processor listening to the positioning base station group on a same channel as the positioning label broadcast message. a positioning label broadcast response message returned by the positioning base station; the processor receiving, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, the positioning label
- the broadcast response message includes a Bluetooth address of the at least one positioning base station; the processor determines whether the Bluetooth address of the at least one positioning base station has regularity, and if there is no regularity, increments the count value by one, and When the count value does not reach the set threshold, the foregoing steps are continued; when the count value reaches the set threshold, it is determined that the positioning device has left the positioning base station group Bit area.
- the judging error of the Bluetooth address returned by the locating base station is whether it is a response message returned by the base station in the base station group, so as to prevent the erroneous error problem caused by the positioning tag broadcast response message of the non-base station Bluetooth response, thereby improving the problem
- the quasi-determination of the positioning label positioning judgment ; in addition, by setting a certain count value as a judgment reference, thereby avoiding frequent occurrence of the departure presence result, frequently performing the closing and opening of the positioning service function on the positioning label according to the positioning determination result. .
- the processor is further configured to: if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity, the positioning tag determines that it is in a positioning area of the positioning base station group Clearing the count value to zero, and turning on the positioning service function that is closed on the positioning label.
- the processor determines whether the Bluetooth address of the at least one positioning base station has regularity in one of the following ways: the Bluetooth address values of the plurality of positioning base stations in the positioning area are the same; the positioning The Bluetooth address values of the plurality of positioning base stations in the area are incremented according to a specified step size; and the Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
- the positioning service function on the positioning label other than the departure determination function includes at least one of the following functions: a collection function of positioning data, a calculation function of positioning data, and a transmission function of positioning data.
- the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol is modified by scanning a broadcastable message protocol and a linkable undirected broadcast protocol. Or not linked to the broadcast protocol.
- the positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol.
- the effect of consumption Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation.
- Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
- the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc.
- the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified.
- the special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like.
- the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
- the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
- the embodiment of the present application provides a positioning base station, where the positioning device is used in a positioning system composed of at least two positioning base stations, and the positioning base station is any one of the positioning base station groups.
- a locating base station the base station includes: a transceiver, configured to receive a first locating label broadcast message periodically sent by the locating device, where the first locating label broadcast packet carries tag information and an address of the locating device The information indicating that the first positioning label broadcast message is a special departure protocol message, and the processor is configured to record, by the positioning base station, address information of the positioning device, where the positioning base station is according to the identifier The information determines that the positioning device is located in a positioning area of the base station, and instructs the transceiver to return a positioning label broadcast response message to the positioning device.
- the positioning base station performs the judgment according to the existing Bluetooth broadcast protocol packet, and the positioning base station performs the positioning judgment according to the special departure protocol packet in the special departure protocol, which can make the departure base station judgment of the positioning base station more flexible. (Not limited to being sent with the positioning data), and because the special departure protocol message is adopted, the transmission frequency is more flexible and generally lower than the frequency of the data transmitted by the existing protocol, thereby saving the power consumption of the positioning base station.
- the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need It is bound to the transmission positioning data) and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station for positioning determination.
- the processor is further configured to determine, if the transceiver does not receive the second positioning tag broadcast message carrying the address information of the positioning device within a set time, The positioning device leaves the positioning area of the positioning base station.
- the positioning label broadcast message and the special departure protocol adopted by the positioning label broadcast response message are modified by a scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. get.
- the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
- the positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol.
- the effect of consumption Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation.
- Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
- the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc.
- the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified.
- the special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like.
- the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
- the positioning tag and the positioning base station are used for the departure determination. Communication More flexible, less overhead, and more power-saving effects.
- the embodiment of the present application provides a positioning system, which includes various possible design manners in the positioning device and various possible design manners in the positioning base station.
- an embodiment of the present application provides a computer readable storage medium, where the program storage code stores program code for indicating a method in performing various possible design manners in the positioning device.
- an embodiment of the present application provides a computer readable storage medium, where the program storage code stores program code for indicating a method in performing various possible design manners in the positioning base station.
- FIG. 1 is a schematic structural diagram of a positioning system networking structure according to an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of a presence status of a positioning tag according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of a positioning label positioning determination process according to an embodiment of the present disclosure
- FIG. 5 is a schematic diagram of a positioning and determining process of a positioning system according to an embodiment of the present disclosure
- FIG. 6 is a schematic diagram of a manner of obtaining a special departure protocol according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a manner of obtaining another special departure protocol according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of obtaining a special departure protocol according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of a positioning base station according to an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of a positioning system according to an embodiment of the present invention.
- the network architecture and the service scenario described in the embodiments of the present invention are used to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation of the technical solutions provided by the embodiments of the present invention.
- the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
- Bit tags can be used interchangeably to refer to a positioning device placed on a positioned object (including a person's clothes, a helmet, a mobile phone, etc.) or an independent positioning device, and other types of Bluetooth communication that can be performed with a positioning base station. Position the device.
- a positioning system includes a positioning base station group composed of a plurality of positioning base stations, and a positioning area of all positioning base stations in the positioning base station group constitutes a positioning area of the positioning base station group.
- Figure 2 shows three scenarios in which the positioning tag is present, departed, and approached (a special case of presence).
- the presence indicator indicates that the positioning tag is located in the positioning area of the positioning base station group, that is, as long as the positioning area of the positioning base station is located in any one of the positioning base station groups; Positioning the location area of the base station; the approach indicates the process of the positioning tag entering the location area of the positioning base station; for the judgment of a specific positioning base station side, the presence field indicates that the positioning tag is in the state of the positioning area of the specific positioning base station,
- the field identifier indicates a state in which the positioning tag leaves the positioning area of the specific positioning base station, and the approach identifier indicates a state in which the positioning tag enters the positioning area of the specific positioning base station.
- the power supply in the locating tag can be continuously served for a longer period of time.
- the embodiment of the present application provides a positioning method. As shown in FIG. 3, the method includes the following parts:
- the positioning label periodically sends the positioning label broadcast message to the positioning base station group by using a special departure protocol, for example, according to a certain period, and the sending frequency may be lower than the existing Bluetooth broadcast message protocol.
- the special departure protocol can be obtained by modifying an existing Bluetooth broadcast message protocol, such as a non-linkable broadcast protocol, a linkable undirected broadcast protocol, a linkable directed broadcast protocol, or a scannable broadcast protocol.
- the characteristics are basically the same as the existing Bluetooth broadcast message protocol, so it has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, Low cost features.
- the special departure protocol obtained by modifying the existing Bluetooth broadcast message protocol is mainly used for determining the departure of the positioning label, and the other data communication of the positioning label and the positioning base station still adopts the existing Bluetooth broadcast message protocol. .
- the special departure protocol may also adopt other protocols, and the present invention is not particularly limited.
- the following is an example of the special departure protocol that is obtained by modifying an existing scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol.
- the departure determination used herein includes the positioning determination of any state in the above three scenarios (for example, including presence and approach determination), and not just the determination to leave the positioning base station group or the positioning base station.
- Manner 1 A special departure protocol is obtained by modifying the scannable broadcast message protocol.
- the existing scanable broadcast message protocol is mainly used for sending data, and the application scenario is mainly that the data length is greater than 31 bytes and not greater than 62 bytes.
- the existing scannable broadcast message protocol includes three messages: a SCAN_IND message, a SCAN_REQ message, and a SCAN_REP message, wherein the SCAN_IND message is sent by the broadcaster (location tag) to the scanner (location base station), SCAN_REQ The message is a message that the scanner responds to the broadcaster, and the SCAN_REP message is a scan response message sent by the broadcaster to the scanner after receiving the response message of the scanner.
- the ScanA field in the SCAN_REQ message indicates the Bluetooth address of the positioning base station (consistent with the existing scannable broadcast message protocol), and the value may have a certain change, but it should have regularity (for example, the same value, The synchronization length is incremented, and the characteristics of the specific algorithm formula are met, so that the positioning tag determines whether the SCAN_REQ message is a message sent by the positioning base station in the positioning area according to the value, thereby preventing the non-base station Bluetooth from responding to the SCAN_REQ message.
- the special departure protocol formed by modifying the existing scannable broadcast message protocol includes a SCAN_IND message and a SCAN_REQ message.
- the positioning tag periodically sends the positioning label broadcast message to the positioning base station group by using the SCAN_IND message.
- the existing scannable broadcast protocol interacts on both sides of the broadcast channel and has low power consumption characteristics
- the modified special departure protocol also has the characteristics of low power consumption, and does not require sending SCAN_RSP messages, which further reduces the Bluetooth sends power consumption, which has the advantage of further lower power consumption.
- Method 2 Obtain a special departure agreement by modifying the existing linkable undirected broadcast protocol.
- the existing linkable undirected broadcast protocol includes an ADV_IND message, which is transmitted by the broadcaster (location tag) to the scanner (location base station).
- ADV_IND message sent by the broadcaster (location tag) to the scanner (location base station) is identified as an ADV_IND(1) message, and the scanner is The ADV_IND message transmitted by the (location base station) to the broadcaster (location tag) is identified as an ADV_IND(2) message.
- Modify the field configuration in the ADV_IND(1) message delete the Data field, modify the meaning of the value in the Flag field, the Flag field occupies 1 byte, and carries the tag information.
- the value of the tag information can be configured, for example, as 0x81. Indicates that the packet is a special departure protocol packet, so that the positioning base station determines whether the packet is an off-mission protocol packet according to the value.
- the ADvA (6byte) field in the original ADV_IND message is correspondingly represented as ScanA (6byte), which represents the positioning base station Bluetooth address (and the existing scannable broadcast)
- ScanA (6byte)
- the message protocol is consistent.
- the value may have a certain change, but it should have regularity (for example, the same value, the synchronization length is incremented, and the specific algorithm formula is met), so that the positioning tag determines whether the SCAN_REQ message is based on the value.
- the packet sent by the base station is located in the location area, thereby preventing the non-base station Bluetooth from responding to the influence of the SCAN_REQ message.
- the Flag field in ADV_IND(2) is represented as the departure response flag, and the value is incremented by 1 in the ADV_IND(1) field so that the broadcaster receiving the response message knows that the message is in response to the ADV_IND it sent. (1) Message.
- the special departure protocol formed by modifying the existing linkable undirected broadcast protocol includes the ADV_IND(1) message and the ADV_IND(2) message.
- the positioning tag periodically sends a positioning label broadcast message to the positioning base station group by using the ADV_IND(1) message.
- Method 3 Obtain a special departure agreement by modifying the existing non-linkable broadcast protocol.
- the original non-linkable broadcast protocol includes an ADV_NOCONN_IND message, which is transmitted by the broadcaster (location tag) to the scanner (location base station).
- ADV_NOCONN_IND message sent by the scanner to the broadcaster is identified as an ADV_NOCONN_IND(1) message, and the scanner is The ADV_NOCONN_IND message sent by the (location base station) to the broadcaster (location tag) is identified as an ADV_NOCONN_IND(2) message.
- Modify the field configuration in the ADV_NOCONN_IND(1) message delete the Data field and modify the meaning of the value in the Flag field.
- the Flag field occupies 1 byte and carries the tag information.
- the value of the tag information can be configured, for example, as 0x81. Indicates that the packet is a special departure protocol packet, so that the positioning base station determines whether the packet is an off-mission protocol packet according to the value.
- the ADvA (6byte) field in the original ADV_NOCONN_IND message is correspondingly represented as ScanA (6byte), which indicates the positioning base station Bluetooth address (and the existing scannable broadcast)
- ScanA (6byte)
- the message protocol is consistent.
- the value may have a certain change, but it should have regularity (for example, the same value, the synchronization length is incremented, and the specific algorithm formula is met), so that the positioning tag determines whether the SCAN_REQ message is based on the value.
- the packet sent by the base station is located in the location area, thereby preventing the non-base station Bluetooth from responding to the influence of the SCAN_REQ message.
- the Flag field in ADV_NOCONN_IND(2) is represented as the departure response flag, and the value of the Flag in the ADV_NOCONN_IND(1) field is incremented by one, so that the broadcaster receiving the response message knows that the message is in response to the ADV_NOCONN_IND it sent. (1) Message.
- the special departure protocol formed by modifying the existing linkable undirected broadcast protocol includes the ADV_NOCONN_IND(1) message and the ADV_NOCONN_IND(2) message.
- the positioning tag periodically sends a positioning label broadcast message to the positioning base station group by using the ADV_NOCONN_IND(1) message.
- the positioning label may also use the existing Bluetooth broadcast packet protocol to send the positioning label broadcast message and receive the returned positioning label broadcast response message, and broadcast the response according to the positioning label.
- the Bluetooth address of the positioning base station carried in the packet determines whether the positioning tag leaves the positioning area of the positioning base station group.
- the specific determination steps in this manner can be referred to the description in the present embodiment and the embodiment in FIG. 5.
- the positioning tag in the implementation manner may perform the departure determination, and after determining whether the positioning tag leaves the positioning area of the positioning base station group, close the positioning label except the departure determination.
- Other positioning business functions can save power consumption of the point label, so that the power supply in the positioning label can continue to serve for a longer time.
- the positioning tag performs positioning determination according to a special departure protocol message in the special departure protocol (for example, the above SCAN_IND message DV_IND(1) message or ADV_NOCONN_IND(1)), and the positioning label is based on the existing Bluetooth broadcast message protocol. In terms of judgment, it is more flexible and is more energy efficient. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
- a special departure protocol message in the special departure protocol for example, the above SCAN_IND message DV_IND(1) message or ADV_NOCONN_IND(1)
- the positioning label is based on the existing Bluetooth broadcast message protocol. In terms
- the positioning tag determines, by using a positioning tag broadcast response message returned by at least one positioning base station in the positioning base station group, whether the positioning tag leaves a positioning area of the positioning base station group.
- the positioning tag monitors a positioning tag broadcast response message returned by the positioning base station in the positioning base station group on a channel that is the same as the positioning tag broadcast message;
- the positioning label broadcast response message returned by the at least one positioning base station and the positioning base station Bluetooth address information carried in the positioning label broadcast response message determine whether the positioning label has left the positioning area of the positioning base station group.
- the process of determining the departure or presence is specifically referred to the positioning determination on the positioning label side in FIG. 7 below, and will not be described in detail herein.
- the positioning service functions include positioning service functions such as stopping transmission of positioning data (for example, transmitting Bluetooth unlinkable broadcast messages), stopping positioning data collection, and positioning data calculation.
- FIG. 4 another positioning method provided by the embodiment of the present application includes the following parts:
- the first positioning label broadcast message uses a special departure protocol message.
- the special departure protocol is modified by scanning the broadcast message protocol. Obtained from a broadcast protocol or a non-linkable broadcast protocol.
- the address information of the positioning tag may be carried in the AdvA domain in the SCAN_IND message, and the tag information may be carried in the Flag field in the SCAN_IND message, indicating the The first positioning label broadcast message is a special departure protocol message.
- the address information of the positioning tag may be carried in the AdvA domain in the ADV_IND(1) message, and the tag information may be carried in the ADV_IND(1) message.
- the Flag field indicates that the first positioning label broadcast message is a special departure protocol message.
- the address information of the positioning tag may be carried in the AdvA domain in the ADV_NOCONN_IND(1) message, and the tag information may be carried in the ADV_NOCONN_IND(1) message.
- the domain indicates that the first positioning label broadcast message is a special departure protocol message.
- the positioning base station records address information of the positioning tag.
- the positioning base station determines, according to the marking information, that the positioning label is located in a positioning area of the base station, and returns a positioning label broadcast response message to the positioning label.
- the locating base station After receiving the broadcast packet of the first locating label, the locating base station obtains the marking information in the broadcast packet of the first locating label, and determines that the broadcast packet of the first locating label is a special detachment protocol packet, and then can determine The locating label is located in the locating area of the locating base station, and sends a locating label broadcast response message to the locating label according to the special detachment protocol, corresponding to the packet form of the first locating label broadcast message described above, the positioning
- the label broadcast response message may correspond to a SCAN_REQ message, an ADV_IND(2) message or an ADV_NOCONN_IND(2).
- the SCAN_REQ message DV_IND(2) message or the ScanA field of the ADV_NOCONN_IND(2) carries the Bluetooth address of the positioning base station to the positioning tag, and the positioning tag performs the departure determination according to the Bluetooth address.
- the positioning base station may further include the following parts:
- the positioning base station does not receive the second positioning label broadcast message carrying the address information of the positioning tag, the positioning label is determined to leave the positioning area of the positioning base station.
- the positioning base station receives the second positioning label broadcast message carrying the address information of the positioning tag, the determining whether the tag information in the second positioning tag broadcast message is equal to Set value If the result of the break is yes, then turn to 414; otherwise, turn to 416.
- the marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message.
- the positioning base station After receiving the second positioning label broadcast message, the positioning base station obtains the address information carried by the second positioning label broadcast message, and if the address information of the positioning label of the first positioning label broadcast message is the same as the foregoing, Then, it is further determined whether the marking information in the second positioning label broadcast message is equal to the set value; if the determination result is yes, then go to 414; otherwise, go to 416.
- the flag information For the specific judgment of whether the flag information is equal to the set value, reference may be made to the judgment of the positioning base station side in the positioning system in FIG. 7 described below. It will not be detailed here.
- the positioning tag 414 Determine that the positioning tag is located in a positioning area of the positioning base station, and return a positioning label broadcast response message to the positioning tag.
- the SCAN_REQ message DV_IND(2) message or ADV_NOCONN_IND(2) may be used, and the ScanA domain of the positioning base station carries the Bluetooth address of the positioning base station. Sending to the positioning tag, the positioning tag performs the departure determination according to the Bluetooth address.
- the positioning base station determines according to the existing protocol message, and the positioning base station according to the special departure protocol message in the special departure protocol (such as the above SCAN_IND message DV_IND(1) message or ADV_NOCONN_IND (1)
- the positioning judgment can make the departure determination of the positioning base station more flexible (not limited to being transmitted together with the positioning data), and because the special departure protocol message is adopted, the transmission frequency is more flexible and usually lower than the existing protocol to transmit data. The frequency, which can save the power consumption of the positioning base station.
- the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need Binding with the transmission of the positioning data, and the high transmission and reception frequency, thereby increasing the power consumption of the positioning base station for positioning determination, so that it is more flexible to use the special departure protocol packet for departure determination (not limited to sending with the positioning data) ), and because the special off-mission protocol message is adopted, the transmission frequency is more flexible and usually lower than the frequency of the data transmitted by the existing protocol, thereby saving the power consumption of the positioning base station.
- FIG. 5 is a schematic flowchart of how a positioning system composed of a positioning tag 500 and a positioning base station 600 determines whether a positioning tag is out of the field, and includes: how the positioning tag broadcasts a response report according to the positioning tag returned by the positioning base station. The method determines whether the positioning tag leaves the positioning area of the positioning base station group, and how the positioning base station determines, according to the positioning label broadcast message sent by the positioning tag, whether the positioning tag leaves the positioning area of the base station.
- the specific instructions are as follows:
- the positioning system includes a positioning tag 500 and a positioning base station 600.
- the positioning base station 800 is any one of the positioning base stations described above.
- the positioning tag 500 is a timer 502, a transmitter 506, a receiver 508, and a memory and a processor (not shown in the figure. For details, refer to steps 508-518 or function modules or subroutines in FIG. 11, FIG. Stored in the memory, and executed by the processor, the function module or subroutine completes the positioning judgment function of the positioning system).
- the positioning base station 600 includes a receiver 602, a transmitter 608, and a memory and a processor (not shown in the figure. For details, refer to FIG. 11, and steps 604, 606, and 610-618 in FIG. 5 or function modules or subroutines may be stored. In the memory, and the processor executes the function module or subroutine to complete the positioning judgment function of the positioning system)
- the positioning system performs the positioning label departure determination including two parts, the positioning label side and the positioning base station side, and is combined with the three scenarios shown in FIG. 2, that is, presence (for the judgment of the positioning label side, Indicates that the positioning tag is in the state of the positioning area of the positioning base station group, and the determination of the positioning base station side indicates that the positioning tag is in the positioning area of the positioning base station) and the departure (determination on the positioning tag side) a state indicating that the positioning tag leaves the positioning area of the positioning base station group, and determining, by the positioning base station side, that the positioning tag leaves the positioning base station
- the state of the location area and the approach for the determination of the location tag side, indicating the state in which the location tag enters the location area of the positioning base station group, and the determination of the location base station side indicates that the location tag enters the Positioning the positioning area of the base station
- the positioning judgment of the positioning label and the positioning base station is as follows:
- the positioning tag When the positioning tag is powered on or reset, it is in the default state by default.
- the transmitter 506 sends the positioning tag broadcast to the positioning service base station 600 according to the timing of the timer 502 (for example, every 60s or other value greater than 0, or other set time, specifically according to the application scenario setting).
- the message for example, the SCAN_IND message mentioned above, as exemplified below
- the positioning tag monitors the positioning tag broadcast response message on the same channel (corresponding to the SCAN_REQ message in the above, for example) Take an example for explanation).
- the positioning tag determines whether a positioning tag broadcast response message (for example, a SCAN_REQ message) sent by the transmitter 608 of the positioning base station 600 is received on the channel; if yes, then go to 512; if not, go to 514. In another embodiment, if the positioning label broadcast response message sent by the transmitter 608 of the positioning base station 600 is not received on the channel within a set time, the positioning label is determined to leave the field, that is, leave the station. The positioning area of the positioning base station group is described.
- a positioning tag broadcast response message for example, a SCAN_REQ message
- the positioning tag determines whether a value of a ScanA field in the SCAN_REQ message sent from the positioning base station (for example, the value is specifically a Bluetooth address of the positioning base station) is equal to a set value (the set value indicates a regular value) , if the same value, the synchronization length is incremented, and the specific algorithm formula is met; if yes, then 520, determining that the positioning tag is still present, that is, in the positioning area of the positioning base station group, and clearing the count (for example, the count value is 0) ); if no, go to 514.
- a value of a ScanA field in the SCAN_REQ message sent from the positioning base station for example, the value is specifically a Bluetooth address of the positioning base station
- a set value the set value indicates a regular value
- the above regular value may specifically include one of the following conditions:
- the Bluetooth address values of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are equal;
- Synchronization long increment the Bluetooth addresses of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are incremented according to the specified step size;
- the Bluetooth addresses of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are calculated according to the algorithm formula
- the Bluetooth addresses of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are calculated according to other regular manners.
- the positioning service functions include positioning service functions such as stopping transmission of positioning data (for example, transmitting Bluetooth unlinkable broadcast messages), stopping positioning data collection, and positioning data calculation.
- the above-mentioned positioning service functions such as the function of transmitting positioning data, positioning data collection and calculation functions, remain in the running state regardless of whether they are in the field or in the field, thereby causing the positioning tag to remain high. Power consumption state, shorten battery life cycle.
- the timer still sends the SCAN_IND message periodically and listens for the SCAN_REQ message on the same channel. If the SCAN_REQ message is received on the channel and the ScanA field is equal to the set value, it is judged that it has entered the field and clears the count value; otherwise, it still leaves the field and keeps the count value unchanged. Specific detailed judgment process reference to the above Field judgment. I will not repeat them here.
- all positioning service functions are enabled, including the functions of sending positioning data, positioning data collection and calculation functions as described above.
- the positioning base station is any one of the positioning base stations in the positioning base station group.
- the positioning base station determines whether the receiver 602 of the positioning base station receives the positioning label broadcast message sent by the positioning tag within a set time (the SCAN_IND message is used as an example here); if the judgment result is yes Then, go to 610; if no, go to 612, or if it is no, directly determine that the positioning tag has left the positioning area of the positioning tag.
- the specific positioning label is used as an example.
- the specific positioning label may be a positioning label broadcast message that has been received by the positioning base station before the positioning of the positioning label, and the lower positioning label is recorded, for example, by The address information of the positioning tag in the broadcast packet of the positioning tag is recorded, and the positioning tag is associated with the address information.
- the receiver 602 of the positioning base station After receiving the positioning label broadcast message of the positioning tag, the receiver 602 of the positioning base station returns a positioning label broadcast response message to the pair of the label, and further determines whether the marking information in the positioning label broadcast message is set. If the result of the determination is yes, then go to 618 to determine that the positioning tag is present, that is, in the positioning area of the positioning base station; if the determination result is no, then turn 612 to increase the count value by one.
- 614 Determine whether the count value exceeds the limit value (for example, 3 or other values, specifically may be set as needed); if the determination result is yes, then go to 616 to determine that the positioning tag has left the positioning area of the positioning base station.
- the limit value for example, 3 or other values, specifically may be set as needed
- the positioning base station After the positioning base station determines that the positioning label leaves the field or enters the field, it processes according to the application requirements.
- FIG. 9 is a schematic block diagram of a structure of a positioning device 900 according to an embodiment of the present application.
- the device shown in FIG. 10 may be a positioning device or a positioning tag in the foregoing method embodiment (as shown in FIGS. 1-3 and 5).
- the function of the above positioning device or positioning tag can be realized.
- the positioning device is applied to the positioning system, and the positioning device comprises a transceiver unit 902 and a processing unit 904.
- the processing unit 902 is configured to determine, by using a positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning label leaves a positioning area of the positioning base station group, and leave the positioning label in the positioning label When the location area of the base station group is located, the positioning service function except the departure determination function on the positioning label is turned off.
- the processing unit 904 by using the positioning label broadcast response message returned by the at least one positioning base station of the positioning base station group, to determine whether the positioning label leaves the positioning area of the positioning base station group, may refer to FIG. 3 and the foregoing. The specific method of determining the departure in 5 is not repeated here.
- FIG. 10 is a schematic block diagram of a structure of a positioning base station 1000 according to an embodiment of the present application.
- the positioning base station shown in FIG. 10 may be a positioning base station in the foregoing method embodiment (as shown in FIGS. 1-2 and 4-5).
- the function of the positioning base station in the above embodiment can be implemented.
- the positioning base station is applied to the positioning system, and the positioning base station includes a transceiver unit 1002 and a processing unit 1004.
- the transceiver unit 1002 is configured to receive a first positioning label broadcast message that is periodically sent by the positioning label, where the first positioning label broadcasts a message carrying tag information and address information of the positioning tag, where the tag information indicates The first positioning label broadcast message is a special departure protocol message;
- the processing unit 1004 is configured to record address information of the positioning tag, and the positioning base station determines, according to the tag information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to return to the positioning tag.
- the positioning tag broadcasts a response message.
- the transceiver unit 1002 receives the first locating label broadcast packet that is periodically sent by the locating label, refer to the description in the foregoing embodiment of FIG. 4 and FIG. 5, and details are not described herein again.
- the processing unit 1004 records the address information of the positioning tag, determines that the positioning tag is located in the positioning area of the base station, and instructs the transceiver unit to return a positioning tag broadcast response message to the positioning tag.
- the processing unit 1004 records the address information of the positioning tag, determines that the positioning tag is located in the positioning area of the base station, and instructs the transceiver unit to return a positioning tag broadcast response message to the positioning tag.
- FIG. 11 is a schematic structural diagram of a positioning device 1100 according to an embodiment of the present application.
- the positioning device shown in Figure 11 may be a positioning device or a positioning tag and a positioning base station in the foregoing method embodiment (as shown in Figure 1-5).
- the functions of the above positioning device or the positioning tag and the positioning base station device can be implemented.
- the apparatus 1100 includes a processor 1102, a memory 1104, and a transceiver 1108, and various connection lines 1110 that connect the processor 1102, the memory 1104, and the transceiver 1108.
- the transceiver 1106 is configured to communicate with the outside device, the memory 1104 is configured to store program instructions or programs 1106, and the memory 1104 may include a high speed random access memory (RAM: Random Access Memory), and may also include non-unstable memory ( Non-volatile memory, such as at least one disk storage, processor 1302 can invoke program instructions stored in memory 1104 to perform the corresponding functions.
- RAM Random Access Memory
- Non-volatile memory such as at least one disk storage
- processor 1302 can invoke program instructions stored in memory 1104 to perform the corresponding functions.
- the positioning device is the aforementioned positioning device, and in this embodiment:
- the transceiver 1102 is configured to periodically send a positioning label broadcast message to the positioning base station group;
- the processor 1104 is configured to determine, by using a positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning label leaves a positioning area of the positioning base station group, and leave the positioning label in the positioning label When the location area of the base station group is located, the positioning service function except the departure determination function on the positioning label is turned off.
- the transceiver 1102 periodically sends the locating label broadcast message to the locating base station group, refer to the description in the foregoing embodiment of FIG. 3 and FIG. 5, and details are not described herein again.
- the processor 1104 determines, by using the positioning label broadcast response message returned by the at least one positioning base station of the positioning base station group, whether the positioning label leaves the positioning area of the positioning base station group. For example, refer to FIG. 3 and the foregoing. The specific method of determining the departure in 5 is not repeated here.
- the processor 1104 is further configured to: when the positioning device is in a positioning area of the positioning base station group, turn on a positioning service function that is closed on the positioning device.
- the positioning device is the foregoing positioning base station, and in this embodiment:
- the transceiver 1102 is configured to receive a first positioning label broadcast message that is periodically sent by the positioning label, where the first positioning label broadcasts a message carrying tag information and address information of the positioning tag, where the tag information indicates The first positioning label broadcast message is a special departure protocol message;
- the processor 1104 is configured to record, by the positioning base station, address information of the positioning tag, where the positioning base station determines, according to the marking information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to The positioning tag returns a positioning tag broadcast response message.
- the transceiver 1102 receives the first locating label broadcast packet that is periodically sent by the locating label, refer to the description in the foregoing embodiments of FIG. 4 and FIG. 5, and details are not described herein again.
- the processor 1104 records the address information of the positioning tag, determines, according to the tag information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to return a positioning tag broadcast response message to the positioning tag.
- the processor 1104 records the address information of the positioning tag, determines, according to the tag information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to return a positioning tag broadcast response message to the positioning tag.
- the processor 1104 is further configured to determine, if the processing unit does not receive the second positioning tag broadcast message carrying the address information of the positioning tag within a set time, Determining the second positioning by the positioning device leaving the positioning area of the positioning base station; or if the processing unit receives the second positioning label broadcast message carrying the address information of the positioning device within a set time Whether the tag information in the tag broadcast message is equal to the set value, and the tag information in the second locator tag broadcast message is used to indicate whether the second locator tag broadcast message is a special leave protocol message; If the tag information in the broadcast packet of the second locating label is equal to the set value, determining that the locating device is in the locating area of the locating base station, and returning a locating label broadcast response message to the locating device; If the tag information in the second positioning tag broadcast message is not equal to the set value, the count value is incremented by 1, and when the count value reaches the set threshold, the location is determined. Positioning the positioning device away from the positioning area of the base station. For
- the present embodiment may also virtualize the NFV based on the physical server combined with the network function.
- the NFV technology can be used to virtualize a plurality of PE devices having the above functions on a physical server by reading the present application. I will not repeat them here.
- FIG. 12 is a schematic structural diagram of a positioning system 1200 according to an embodiment of the present application.
- the system shown in FIG. 12 includes a positioning device 1202 and a positioning base station 1204, wherein the positioning device may be FIG. 1-5 and The positioning device or the positioning tag in the embodiment of 9; the positioning base station may be the positioning base station in the embodiments in Figures 1-5 and 9 of Figures 1-5 and 9 above.
- the functions of the locating device and the locating base station in the present embodiment or the steps to be performed are specifically referred to the foregoing embodiments, and are not described herein again.
- the disclosed systems and methods can be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the modules is only a logical function division.
- there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- Another point, the mutuals shown or discussed The coupling or direct coupling or communication connection between the two may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a random access memory (English name: Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like, which can store data.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Provided is a positioning method applied to a positioning system composed of a positioning tag and a positioning base station group. The positioning base station group comprises at least two positioning base stations. The method comprises: a positioning tag regularly sending a positioning tag broadcast message to a positioning base station group; the positioning tag determining, according to a positioning tag broadcast response message returned from the positioning base station group, whether the positioning tag has left a positioning area of the positioning base station group; and if the positioning tag determines that the positioning tag has left the positioning area of the positioning base station group, the positioning tag shutting down positioning service functions on itself apart from a departure determination function. Thus, the power consumption of a positioning tag can be saved, so that a power source in the positioning tag can continue serving for a longer period of time.
Description
本发明涉及通信技术领域,特别涉及一种定位的方法、设备和系统。The present invention relates to the field of communications technologies, and in particular, to a method, device, and system for positioning.
室内定位系统或者特定场景定位系统通常由定位标签、定位基站和定位服务器组成。定位标签,周期性发送蓝牙广播报文给定位基站。定位基站接收到定位标签的蓝牙广播报文后,提取数据并通过网络(例如可采用Wifi、ZigBee、4G等网络通信)上报到定位服务器(例如可以包括PC、手机、IPad、笔记本等终端设备),定位服务器接收到定位基站发送的数据后,经过计算得到定位标签位置信息,并根据具体应用进行各种定位业务的处理,例如并显示到指定地图中。发明人在研究过程中发现,现有的定位标签不管其是否离开定位区域时,其上的各项定位业务功能都持续工作,将导致该定位标签持续耗电,无法有效地节省功耗。An indoor positioning system or a specific scene positioning system usually consists of a positioning tag, a positioning base station, and a positioning server. The positioning tag periodically sends a Bluetooth broadcast message to the positioning base station. After receiving the Bluetooth broadcast message of the locating tag, the locating base station extracts the data and reports the data to the locating server (for example, a terminal device such as a PC, a mobile phone, an IPad, a notebook, etc.) through a network (for example, Wifi, ZigBee, 4G, etc.) After receiving the data sent by the positioning base station, the positioning server obtains the positioning label location information through calculation, and performs processing of various positioning services according to the specific application, for example, and displays it in the designated map. During the research, the inventor found that the existing positioning tags continue to work regardless of whether they leave the location area, and the positioning tags continue to consume power, which cannot effectively save power.
发明内容Summary of the invention
本申请实施例提供了一种定位方法、设备、系统和存储介质,可以节省定位设备或定位标签的功耗。本申请实施例还提供了一种定位基站,以及定位系统,可以节省定位设备或定位标签以及定位基站的功耗。The embodiment of the present application provides a positioning method, device, system, and storage medium, which can save power consumption of a positioning device or a positioning tag. The embodiment of the present application further provides a positioning base station and a positioning system, which can save power consumption of the positioning device or the positioning tag and the positioning base station.
一方面,本发明实施例提供了一种应用于定位标签和定位基站群所组成的定位系统中的定位方法,所述定位基站群包括至少两个定位基站,该方法包括:定位标签定期向所述定位基站群发送定位标签广播报文,所述定位标签根据从所述定位基站群返回的定位标签广播回应报文确定该其是否离开所述定位基站群的定位区域,如果所述定位标签确定其已离开所述定位基站群的定位区域,则所述定位标签关闭其自身上除了离场判断功能之外的定位业务功能。In one aspect, the embodiment of the present invention provides a positioning method applied to a positioning system consisting of a positioning tag and a positioning base station group, where the positioning base station group includes at least two positioning base stations, and the method includes: positioning the label periodically The positioning base station group sends a positioning label broadcast message, and the positioning label determines, according to the positioning label broadcast response message returned from the positioning base station group, whether it leaves the positioning area of the positioning base station group, if the positioning label is determined If it has left the location area of the positioning base station group, the positioning tag closes its own positioning service function except the departure determination function.
通过增加定位标签的离场判断功能,且在判断出所述定位标签离开该定位基站群的定位区域后,关闭该定位标签上除了离场判断之外的其他定位业务功能,从而可以节省定位标签的功耗,使得该定位标签中的电源能够持续服务更长时间。By adding the departure determination function of the positioning label, and after determining that the positioning label leaves the positioning area of the positioning base station group, the positioning service function except the departure determination is disabled on the positioning label, thereby saving the positioning label. The power consumption enables the power supply in the positioning tag to continue to serve for a longer period of time.
在一种可能的设计中,所述定位标签确定其是否离开所述定位基站群的定位区域具体包括:所述定位标签在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;若所述定位标签在所述相同的信道上没有收到所述定位基站群中的至少一个定位基站返回的定位标签广播回应报文,则确定所述定位标签已经离开所述定位基站群的定位区域。In a possible design, determining whether the positioning label leaves the positioning area of the positioning base station group includes: the positioning label listening to the positioning base station on a same channel as the positioning label broadcast message. a positioning label broadcast response message returned by the positioning base station in the group; if the positioning label does not receive the positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, Determining that the positioning tag has left the location area of the positioning base station group.
在一种可能的设计中,所述定位标签确定所述定位标签是否离开所述定位基站群的定位区域具体包括:所述定位标签在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;所述定位标签在所述相同的信道上收到所述定位基站群中至少一个定位基站返回的定位标签广播回应报文,所述定位标签广播回应报文包括所述至少一个定位基站的蓝牙地址;所述定位标签确定所述至少一个定位基站的蓝牙地址是否具有规律性,若不具有规律性,则将计数值加1,并在所述计数值未达到设定阈值时,继续执行上述步骤;在所述计数值达到所述设定阈值时,则确定所述定位标签已经离开所述定位基站群的定位区域。In a possible design, the determining, by the positioning label, whether the positioning label leaves the positioning area of the positioning base station group comprises: the positioning label is on a channel that is the same as the broadcasting message that sends the positioning label broadcast message. Locating a positioning label broadcast response message returned by the positioning base station in the positioning base station group; the positioning label receiving, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, The positioning tag broadcast response message includes a Bluetooth address of the at least one positioning base station; the positioning tag determines whether the Bluetooth address of the at least one positioning base station has regularity, and if there is no regularity, the count value is incremented by one, And when the count value does not reach the set threshold, the foregoing steps are continued; when the count value reaches the set threshold, it is determined that the positioning tag has left the positioning area of the positioning base station group.
通过对定位基站返回的蓝牙地址的规律性判断是否是所述基站群中的基站返回的回应
报文,以防止非基站蓝牙回应的定位标签广播回应报文而出现的判断错误问题,从而提高了定位标签定位判断的准确定;此外,通过设定一定的计数值作为判断参考,从而避免频繁地出现离场在场结果,进行频繁地根据定位判断结果对定位标签上的定位业务功能的关闭和开启。Determining whether the response is returned by the base station in the base station group by determining the regularity of the Bluetooth address returned by the positioning base station
The message is used to prevent the error of the positioning label broadcast response message of the non-base station Bluetooth response, thereby improving the quasi-determination of the positioning label positioning judgment; in addition, by setting a certain count value as a judgment reference, thereby avoiding frequent The result of the presence of the off-site is displayed, and the positioning service function on the positioning tag is frequently turned off and on according to the positioning judgment result.
在一种可能的设计中,所述方法进一步包括:若所述定位标签确定所述至少一个定位基站的蓝牙地址具有规律性,则所述定位标签确定其处于所述定位基站群的定位区域,将所述计数值清零,开启所述定位标签上关闭的定位业务功能。In a possible design, the method further includes: if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity, the positioning tag determines that it is in a positioning area of the positioning base station group, Clearing the count value to zero, and turning off the positioning service function on the positioning label.
在一种可能设计中,所述定位标签通过下述方式之一确定所述至少一个定位基站的蓝牙地址是否具有规律性:所述定位区域内多个定位基站的蓝牙地址值相同;所述定位区域内多个定位基站的蓝牙地址值按照指定步长递增;和所述定位区域内多个定位基站的蓝牙地址值是根据特定算法公式计算得到。In a possible design, the positioning tag determines whether the Bluetooth address of the at least one positioning base station has regularity in one of the following ways: the Bluetooth address values of the plurality of positioning base stations in the positioning area are the same; the positioning The Bluetooth address values of the plurality of positioning base stations in the area are incremented according to a specified step size; and the Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
在一种可能的设计中,所述定位标签上除了离场判断功能之外的定位业务功能包括至少下述功能之一:定位数据的采集功能、定位数据的计算功能和定位数据的发送功能。In a possible design, the positioning service function on the positioning label other than the departure determination function includes at least one of the following functions: a collection function of positioning data, a calculation function of positioning data, and a transmission function of positioning data.
在一种可能的设计中,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,该特殊离场协议通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到。In a possible design, the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol is modified by scanning a broadcastable message protocol and a linkable undirected broadcast protocol. Or not linked to the broadcast protocol.
该定位标签广播报文和所述定位标签广播回应报文通过采用该特殊离场协议相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning tag broadcast message and the positioning tag broadcast response message are more flexible and save power by using the special departure protocol to determine the positioning according to the existing Bluetooth broadcast message protocol. Effect. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
此外,由于现有的蓝牙广播报文协议具有易于实施、安全性高、实时性好、效率高等优点,通过采用修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到的特殊离场协议,可以在保持现有的蓝牙广播报文协议所具有的具有易于实施、安全性高、实时性好、效率高等优点的基础上,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。In addition, because the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified. The special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like. On the basis of this, and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
在一种可能的设计中,所述的通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到的特殊离场协议中的定位标签广播报文不包括Data域。In a possible design, the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
通过删除依据现有可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议发送的定位标签广播报文中的Data域,使得定位标签和定位基站之间用于离场判断的通信更加灵活,且开销小,更能节省功耗的效果。The communication field used for the departure determination between the positioning tag and the positioning base station is deleted by deleting the Data field in the positioning tag broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol. More flexible, less overhead, and more power-saving effects.
另一方面,本发明实施例提供了一种应用于定位标签和定位基站群所组成的定位系统中的定位方法,所述定位基站群包括至少两个定位基站,该方法包括:该基站群中的任一定位基站接收定位标签定期发送的第一定位标签广播报文,该第一定位标签广播报文携带标记信息以及所述定位标签的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;所述定位基站记录所述定位标签的地址信息;所述定位基站根据所述标记信息确定所述定位标签处于所述基站的定位区域,并向所述定位标签返回定位标签广播回应报文。On the other hand, an embodiment of the present invention provides a positioning method applied to a positioning system consisting of a positioning tag and a positioning base station group, where the positioning base station group includes at least two positioning base stations, and the method includes: in the base station group The locating base station receives the first locating label broadcast packet that is periodically sent by the locating label, the first locating label broadcast packet carrying the tag information and the address information of the locating tag, the tag information indicating the first locating tag The broadcast message is a special departure protocol message; the positioning base station records address information of the positioning tag; the positioning base station determines, according to the tag information, that the positioning tag is located in a positioning area of the base station, and The positioning tag returns a positioning tag broadcast response message.
相对于现有技术中,定位基站根据现有的蓝牙广播协议报文进行判断,定位基站根据特殊离场协议中的特殊离场协议报文进行定位判断,可以使得定位基站的离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低
于已有协议发送数据的频率,从而可以节省定位基站的功耗。因为现有的现有的蓝牙广播协议报文(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)的发送阶段具有一定的限制性(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加了定位基站进行定位判断的功耗。Compared with the prior art, the positioning base station performs the judgment according to the existing Bluetooth broadcast protocol packet, and the positioning base station performs the positioning judgment according to the special departure protocol packet in the special departure protocol, which can make the departure base station judgment of the positioning base station more flexible. (not limited to sending with positioning data), and because of the use of special departure protocol messages, the transmission frequency is more flexible and usually low
The frequency at which data is transmitted by an existing protocol, thereby saving power consumption of the positioning base station. Because the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need It is bound to the transmission positioning data) and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station for positioning determination.
在一种可能的设计中,所述方法进一步包括:若在设定时间内所述定位基站没有收到携带有所述定位标签的地址信息的第二定位标签广播报文,则所述定位基站确定所述定位标签离开所述定位基站的定位区域。In a possible design, the method further includes: if the positioning base station does not receive the second positioning tag broadcast message carrying the address information of the positioning tag within a set time, the positioning base station Determining that the positioning tag leaves the positioning area of the positioning base station.
在一种可能的设计中,所述方法进一步包括:若在设定时间内所述定位基站收到携带有所述定位标签的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位标签处于所述定位基站的定位区域,并向所述定位标签返回定位标签广播回应报文;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位标签离开所述定位基站的定位区域。In a possible design, the method further includes: if the positioning base station receives the second positioning tag broadcast message carrying the address information of the positioning tag within a set time, determining the second Whether the tag information in the tag broadcast message is equal to the set value, and the tag information in the second tag broadcast message is used to indicate whether the second tag broadcast message is a special leave protocol message; If the tag information in the broadcast packet of the second locating tag is equal to the set value, determining that the locating tag is located in the locating area of the locating base station, and returning a locating tag broadcast response message to the locating tag; If the tag information in the second positioning tag broadcast message is not equal to the set value, the counter value is incremented by 1, and when the count value reaches the set threshold, determining that the positioning tag leaves the positioning base station Location area.
通过设定一定的计数值作为判断参考,从而避免频繁地出现离场在场结果,进行频繁地根据定位判断结果对定位标签上的定位业务功能的关闭和开启。此外,通过对定位标签发送的第二定位标签广播报文中标记信息是否等于设定值的判断可以防止非定位标签的蓝牙报文而出现的判断错误问题,从而提高了定位标签定位判断的准确定;而且还可以防止根据定位标签的非特定离场协议报文进行定位判断,从而仅根据定位标签发送的特殊离场协议报文进行定位判断,进而可以节省定位基站定位判断的功耗。By setting a certain count value as a judgment reference, the occurrence of the departure presence result is frequently avoided, and the positioning service function on the positioning tag is frequently turned off and on according to the positioning determination result. In addition, by determining whether the marking information in the second positioning label broadcast message sent by the positioning label is equal to the set value, the problem of judging the occurrence of the Bluetooth message of the non-positioning label can be prevented, thereby improving the accuracy of the positioning label positioning judgment. And determining the positioning judgment based on the non-specific departure protocol packet of the positioning label, so that the positioning judgment is performed only according to the special departure protocol packet sent by the positioning label, thereby saving the power consumption of the positioning base station positioning judgment.
在一种可能的设计中,所述定位标签广播报文和所述定位标签广播回应报文采用的特殊离场协议通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到。In a possible design, the positioning label broadcast message and the special departure protocol adopted by the positioning label broadcast response message are modified by a scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. get.
所述定位标签广播报文和所述定位标签广播回应报文通过采用该特殊离场协议相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol. The effect of consumption. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
此外,由于现有的蓝牙广播报文协议具有易于实施、安全性高、实时性好、效率高等优点,通过采用修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到的特殊离场协议,可以在保持现有的蓝牙广播报文协议所具有的具有易于实施、安全性高、实时性好、效率高等优点的基础上,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。In addition, because the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified. The special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like. On the basis of this, and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
在一种可能的设计中,所述的通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到的特殊离场协议中的定位标签广播报文不包括Data域。In a possible design, the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
通过删除依据现有可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议发送的定位标签广播报文中的Data域,使得定位标签和定位基站之间用于离场判断的通信更加灵活,且开销小,更能节省功耗的效果。The communication field used for the departure determination between the positioning tag and the positioning base station is deleted by deleting the Data field in the positioning tag broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol. More flexible, less overhead, and more power-saving effects.
再一方面,本申请实施例提供了一种定位设备,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,所述定位设备包括:
In a further aspect, the embodiment of the present application provides a positioning device, which is applied to a positioning device and a positioning system comprising a plurality of positioning base stations, and the positioning device comprises:
收发单元,用于定期向所述定位基站群发送定位设备广播报文;a transceiver unit, configured to periodically send a positioning device broadcast message to the positioning base station group;
处理单元,用于通过所述定位基站群返回的定位标签广播回应报文确定所述定位设备是否离开所述定位基站群的定位区域,并在所述定位设备离开所述定位基站群的定位区域的情况下,关闭所述定位设备上的除离场判断功能之外的定位业务功能。a processing unit, configured to determine, by using the positioning label broadcast response message returned by the positioning base station group, whether the positioning device leaves a positioning area of the positioning base station group, and the positioning device leaves the positioning area of the positioning base station group In this case, the positioning service function except the departure determination function on the positioning device is turned off.
通过增加定位标签的离场判断或定位判断功能,而且在判断出所述定位标签离开该定位基站群的定位区域后,关闭该定位标签上除了离场判断之外的其他定位业务功能,从而可以节省定位标签的功耗,使得该定位标签中的电源能够持续服务更长时间。By adding the departure determination or positioning judgment function of the positioning label, and after determining that the positioning label leaves the positioning area of the positioning base station group, the positioning service function except the departure determination is closed on the positioning label, thereby The power consumption of the positioning tag is saved, so that the power supply in the positioning tag can continue to serve for a longer time.
在一种可能的设计中,所述处理单元判断是否离开所述定位基站群的定位区域具体包括:所述处理单元在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;若所述处理单元在所述相同的信道上没有收到所述的定位基站群中的至少一个定位基站返回的定位标签广播回应报文,则确定所述定位设备已经离开所述定位基站群的定位区域。In a possible design, the determining, by the processing unit, whether to leave the positioning area of the positioning base station group, specifically: the processing unit listening to the positioning base station group on a same channel as the positioning label broadcast message a positioning tag broadcast response message returned by the positioning base station; if the processing unit does not receive the positioning tag broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, Determining that the positioning device has left the positioning area of the positioning base station group.
在一种可能的设计中,所述处理单元判断是否离开所述定位基站群的定位区域具体包括:所述处理单元在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;所述处理单元在所述相同的信道上收到所述的定位基站群中至少一个定位基站返回的定位标签广播回应报文,所述定位标签广播回应报文包括所述至少一个定位基站的蓝牙地址;所述处理单元确定所述至少一个定位基站的蓝牙地址是否具有规律性,若不具有规律性,则将计数值加1,并在所述计数值未达到设定阈值时,继续执行上述步骤;在所述计数值达到所述设定阈值时,确定所述定位设备已经离开所述定位基站群的定位区域。In a possible design, the determining, by the processing unit, whether to leave the positioning area of the positioning base station group, specifically: the processing unit listening to the positioning base station group on a same channel as the positioning label broadcast message a positioning label broadcast response message returned by the positioning base station; the processing unit receives, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, the positioning label The broadcast response message includes a Bluetooth address of the at least one positioning base station; the processing unit determines whether the Bluetooth address of the at least one positioning base station has regularity, and if not, increases the count value by one, and When the count value does not reach the set threshold, the foregoing steps are continued; when the count value reaches the set threshold, it is determined that the positioning device has left the positioning area of the positioning base station group.
通过对定位基站返回的蓝牙地址的规律性判断是否是所述基站群中的基站返回的回应报文,以防止非基站蓝牙回应的定位标签广播回应报文而出现的判断错误问题,从而提高了定位标签定位判断的准确定;此外,通过设定一定的计数值作为判断参考,从而避免频繁地出现离场在场结果,进行频繁地根据定位判断结果对定位标签上的定位业务功能的关闭和开启。The judging error of the Bluetooth address returned by the locating base station is whether it is a response message returned by the base station in the base station group, so as to prevent the erroneous error problem caused by the positioning tag broadcast response message of the non-base station Bluetooth response, thereby improving the problem The quasi-determination of the positioning label positioning judgment; in addition, by setting a certain count value as a judgment reference, thereby avoiding frequent occurrence of the departure presence result, frequently performing the closing and opening of the positioning service function on the positioning label according to the positioning determination result. .
在一种可能的设计中,所述处理单元进一步用于若所述定位标签确定所述至少一个定位基站的蓝牙地址具有规律性,则所述定位标签确定其处于所述定位基站群的定位区域,将所述计数值清零,开启所述定位标签上关闭的定位业务功能。In a possible design, the processing unit is further configured to: if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity, the positioning tag determines that it is in a positioning area of the positioning base station group Clearing the count value to zero, and turning on the positioning service function that is closed on the positioning label.
在一种可能设计中,所述处理单元通过下述方式之一确定所述至少一个定位基站的蓝牙地址是否具有规律性:所述定位区域内多个定位基站的蓝牙地址值相同;所述定位区域内多个定位基站的蓝牙地址值按照指定步长递增;和所述定位区域内多个定位基站的蓝牙地址值是根据特定算法公式计算得到。In a possible design, the processing unit determines whether the Bluetooth address of the at least one positioning base station has regularity in one of the following ways: the Bluetooth address values of the plurality of positioning base stations in the positioning area are the same; the positioning The Bluetooth address values of the plurality of positioning base stations in the area are incremented according to a specified step size; and the Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
在一种可能的设计中,所述定位标签上除了离场判断功能之外的定位业务功能包括至少下述功能之一:定位数据的采集功能、定位数据的计算功能和定位数据的发送功能。In a possible design, the positioning service function on the positioning label other than the departure determination function includes at least one of the following functions: a collection function of positioning data, a calculation function of positioning data, and a transmission function of positioning data.
在一种可能的设计中,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,该特殊离场协议通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到。In a possible design, the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol is modified by scanning a broadcastable message protocol and a linkable undirected broadcast protocol. Or not linked to the broadcast protocol.
所述定位标签广播报文和所述定位标签广播回应报文通过采用该特殊离场协议相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报
文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol. The effect of consumption. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field agreement
The text is more flexible (not limited to being sent with the positioning data), and because of the special departure protocol message, the transmission frequency is more flexible and usually lower than the frequency of the data transmitted by the existing protocol, so that the positioning base station can be saved more. Power consumption.
此外,由于现有的蓝牙广播报文协议具有易于实施、安全性高、实时性好、效率高等优点,通过采用修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到的特殊离场协议,可以在保持现有的蓝牙广播报文协议所具有的具有易于实施、安全性高、实时性好、效率高等优点的基础上,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。In addition, because the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified. The special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like. On the basis of this, and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
在一种可能的设计中,所述的通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到的特殊离场协议中的定位标签广播报文不包括Data域。In a possible design, the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
通过删除依据现有可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议发送的定位标签广播报文中的Data域,使得定位标签和定位基站之间用于离场判断的通信更加灵活,且开销小,更能节省功耗的效果。The communication field used for the departure determination between the positioning tag and the positioning base station is deleted by deleting the Data field in the positioning tag broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol. More flexible, less overhead, and more power-saving effects.
再一方面,本申请实施例提供了一种定位基站,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,所述定位基站为所述定位基站群中的任一定位基站,所述基站包括:收发单元,用于接收所述定位设备定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位设备的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;处理单元,用于所述定位基站记录所述定位设备的地址信息,所述定位基站根据所述标记信息确定所述定位设备处于所述基站的定位区域,并指示所述收发单元向所述定位设备返回定位标签广播回应报文。In a further aspect, the embodiment of the present application provides a positioning base station, where the positioning device is used in a positioning system composed of at least two positioning base stations, and the positioning base station is any one of the positioning base station groups. a locating base station, the base station includes: a transceiver unit, configured to receive a first locating label broadcast message periodically sent by the locating device, where the first locating label broadcast packet carries tag information and an address of the locating device The information indicating that the first positioning label broadcast message is a special departure protocol message; the processing unit is configured to record, by the positioning base station, address information of the positioning device, where the positioning base station is according to the tag The information determines that the positioning device is located in a positioning area of the base station, and instructs the transceiver unit to return a positioning label broadcast response message to the positioning device.
相对于现有技术中,定位基站根据现有的蓝牙广播协议报文进行判断,定位基站根据特殊离场协议中的特殊离场协议报文进行定位判断,可以使得定位基站的离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以节省定位基站的功耗。因为现有的现有的蓝牙广播协议报文(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)的发送阶段具有一定的限制性(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加了定位基站进行定位判断的功耗。Compared with the prior art, the positioning base station performs the judgment according to the existing Bluetooth broadcast protocol packet, and the positioning base station performs the positioning judgment according to the special departure protocol packet in the special departure protocol, which can make the departure base station judgment of the positioning base station more flexible. (Not limited to being sent with the positioning data), and because the special departure protocol message is adopted, the transmission frequency is more flexible and generally lower than the frequency of the data transmitted by the existing protocol, thereby saving the power consumption of the positioning base station. Because the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need It is bound to the transmission positioning data) and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station for positioning determination.
在一种可能的设计中,所述处理单元进一步用于若在设定时间内所述处理单元没有收到携带有所述定位设备的地址信息的第二定位标签广播报文,则确定所述定位设备离开所述定位基站的定位区域。In a possible design, the processing unit is further configured to determine, if the processing unit does not receive the second positioning tag broadcast message carrying the address information of the positioning device within a set time, The positioning device leaves the positioning area of the positioning base station.
在一种可能的设计中,所述处理单元进一步用于:若在设定时间内所述处理单元收到携带有所述定位设备的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位设备处于所述定位基站的定位区域,并向所述定位设备返回定位标签广播回应报文;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位设备离开所述定位基站的定位区域。In a possible design, the processing unit is further configured to: if the processing unit receives the second positioning tag broadcast message carrying the address information of the positioning device within a set time, determining the Whether the marking information in the second positioning label broadcast message is equal to the set value, and the marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message. If the tag information in the second positioning tag broadcast message is equal to the set value, determining that the positioning device is in the positioning area of the positioning base station, and returning a positioning tag broadcast response message to the positioning device; If the tag information in the second positioning tag broadcast message is not equal to the set value, the count value is incremented by 1, and when the count value reaches the set threshold, determining that the positioning device leaves the Locate the location area of the base station.
通过设定一定的计数值作为判断参考,从而避免频繁地出现离场在场结果,进行频繁地根据定位判断结果对定位标签上的定位业务功能的关闭和开启。此外,通过对定位标签发送的第二定位标签广播报文中标记信息是否等于设定值的判断可以防止非定位标签的蓝牙报文而出现的判断错误问题,从而提高了定位标签定位判断的准确定;而且还可以防止根据
定位标签的非特定离场协议报文进行定位判断,从而仅根据定位标签发送的特殊离场协议报文进行定位判断,进而可以节省定位基站定位判断的功耗。By setting a certain count value as a judgment reference, the occurrence of the departure presence result is frequently avoided, and the positioning service function on the positioning tag is frequently turned off and on according to the positioning determination result. In addition, by determining whether the marking information in the second positioning label broadcast message sent by the positioning label is equal to the set value, the problem of judging the occurrence of the Bluetooth message of the non-positioning label can be prevented, thereby improving the accuracy of the positioning label positioning judgment. And can also prevent
The non-specific departure protocol packet of the locating label is determined by the positioning, so that the positioning judgment is performed only according to the special departure protocol packet sent by the locating label, thereby saving the power consumption of the positioning base station positioning judgment.
在一种可能的设计中,所述定位标签广播报文和所述定位标签广播回应报文采用的特殊离场协议通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到。In a possible design, the positioning label broadcast message and the special departure protocol adopted by the positioning label broadcast response message are modified by a scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. get.
在一种可能的设计中,所述的通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到的特殊离场协议中的定位标签广播报文不包括Data域。In a possible design, the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
所述定位标签广播报文和所述定位标签广播回应报文通过采用该特殊离场协议相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol. The effect of consumption. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
此外,由于现有的蓝牙广播报文协议具有易于实施、安全性高、实时性好、效率高等优点,通过采用修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到的特殊离场协议,可以在保持现有的蓝牙广播报文协议所具有的具有易于实施、安全性高、实时性好、效率高等优点的基础上,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。In addition, because the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified. The special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like. On the basis of this, and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
而且通过删除依据现有可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议发送的定位标签广播报文中的Data域,使得定位标签和定位基站之间用于离场判断的通信更加灵活,且开销小,更能节省功耗的效果。Moreover, by deleting the Data field in the positioning label broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol, the positioning tag and the positioning base station are used for the departure determination. Communication is more flexible, and the overhead is small, which saves power consumption.
再一方面,本申请实施例提供了一种定位设备,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,所述定位设备包括:收发器,用于定期向所述定位基站群发送定位标签广播报文;处理器,用于通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位设备是否离开所述定位基站群的定位区域,并在所述定位设备离开所述定位基站群的定位区域的情况下,关闭所述定位设备上的除离场判断功能之外的定位业务功能。In a further aspect, the embodiment of the present application provides a positioning device, which is applied to a positioning device and a positioning system composed of at least two positioning base stations, and the positioning device includes: a transceiver, configured to periodically The positioning base station group sends a positioning label broadcast message; the processor is configured to determine, by using the positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning device leaves the positioning base station group An area, and in a case where the positioning device leaves the positioning area of the positioning base station group, the positioning service function except the departure determining function on the positioning device is turned off.
通过增加定位标签的离场判断或定位判断功能,而且在判断出所述定位标签离开该定位基站群的定位区域后,关闭该定位标签上除了离场判断之外的其他定位业务功能,从而可以节省定位标签的功耗,使得该定位标签中的电源能够持续服务更长时间。By adding the departure determination or positioning judgment function of the positioning label, and after determining that the positioning label leaves the positioning area of the positioning base station group, the positioning service function except the departure determination is closed on the positioning label, thereby The power consumption of the positioning tag is saved, so that the power supply in the positioning tag can continue to serve for a longer time.
在一种可能的设计中,所述处理器判断是否离开所述定位基站群的定位区域具体包括:所述处理器在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;若所述处理器在所述相同的信道上没有收到所述的定位基站群中的至少一个定位基站返回的定位标签广播回应报文,则确定所述定位设备已经离开所述定位基站群的定位区域。In a possible design, the determining, by the processor, whether to leave the positioning area of the positioning base station group includes: the processor listening to the positioning base station group on a same channel as the positioning label broadcast message. a positioning tag broadcast response message returned by the positioning base station; if the processor does not receive the positioning tag broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, Determining that the positioning device has left the positioning area of the positioning base station group.
在一种可能的设计中,所述处理器判断是否离开所述定位基站群的定位区域具体包括:所述处理器在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;所述处理器在所述相同的信道上收到所述的定位基站群中至少一个定位基站返回的定位标签广播回应报文,所述定位标签广播回应报文包括所述至少一个定位基站的蓝牙地址;所述处理器确定所述至少一个定位基站的蓝牙地址是否具有规律性,若不具有规律性,则将计数值加1,并在所述计数值未达到设定阈值时,继续执行上述步骤;在所述计数值达到所述设定阈值时,确定所述定位设备已经离开所述定位基站群的定
位区域。In a possible design, the determining, by the processor, whether to leave the positioning area of the positioning base station group includes: the processor listening to the positioning base station group on a same channel as the positioning label broadcast message. a positioning label broadcast response message returned by the positioning base station; the processor receiving, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, the positioning label The broadcast response message includes a Bluetooth address of the at least one positioning base station; the processor determines whether the Bluetooth address of the at least one positioning base station has regularity, and if there is no regularity, increments the count value by one, and When the count value does not reach the set threshold, the foregoing steps are continued; when the count value reaches the set threshold, it is determined that the positioning device has left the positioning base station group
Bit area.
通过对定位基站返回的蓝牙地址的规律性判断是否是所述基站群中的基站返回的回应报文,以防止非基站蓝牙回应的定位标签广播回应报文而出现的判断错误问题,从而提高了定位标签定位判断的准确定;此外,通过设定一定的计数值作为判断参考,从而避免频繁地出现离场在场结果,进行频繁地根据定位判断结果对定位标签上的定位业务功能的关闭和开启。The judging error of the Bluetooth address returned by the locating base station is whether it is a response message returned by the base station in the base station group, so as to prevent the erroneous error problem caused by the positioning tag broadcast response message of the non-base station Bluetooth response, thereby improving the problem The quasi-determination of the positioning label positioning judgment; in addition, by setting a certain count value as a judgment reference, thereby avoiding frequent occurrence of the departure presence result, frequently performing the closing and opening of the positioning service function on the positioning label according to the positioning determination result. .
在一种可能的设计中,所述处理器进一步用于若所述定位标签确定所述至少一个定位基站的蓝牙地址具有规律性,则所述定位标签确定其处于所述定位基站群的定位区域,将所述计数值清零,开启所述定位标签上关闭的定位业务功能。In a possible design, the processor is further configured to: if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity, the positioning tag determines that it is in a positioning area of the positioning base station group Clearing the count value to zero, and turning on the positioning service function that is closed on the positioning label.
在一种可能设计中,所述处理器通过下述方式之一确定所述至少一个定位基站的蓝牙地址是否具有规律性:所述定位区域内多个定位基站的蓝牙地址值相同;所述定位区域内多个定位基站的蓝牙地址值按照指定步长递增;和所述定位区域内多个定位基站的蓝牙地址值是根据特定算法公式计算得到。In a possible design, the processor determines whether the Bluetooth address of the at least one positioning base station has regularity in one of the following ways: the Bluetooth address values of the plurality of positioning base stations in the positioning area are the same; the positioning The Bluetooth address values of the plurality of positioning base stations in the area are incremented according to a specified step size; and the Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
在一种可能的设计中,所述定位标签上除了离场判断功能之外的定位业务功能包括至少下述功能之一:定位数据的采集功能、定位数据的计算功能和定位数据的发送功能。In a possible design, the positioning service function on the positioning label other than the departure determination function includes at least one of the following functions: a collection function of positioning data, a calculation function of positioning data, and a transmission function of positioning data.
在一种可能的设计中,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,该特殊离场协议通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到。In a possible design, the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol is modified by scanning a broadcastable message protocol and a linkable undirected broadcast protocol. Or not linked to the broadcast protocol.
所述定位标签广播报文和所述定位标签广播回应报文通过采用该特殊离场协议相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol. The effect of consumption. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
此外,由于现有的蓝牙广播报文协议具有易于实施、安全性高、实时性好、效率高等优点,通过采用修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到的特殊离场协议,可以在保持现有的蓝牙广播报文协议所具有的具有易于实施、安全性高、实时性好、效率高等优点的基础上,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。In addition, because the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified. The special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like. On the basis of this, and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
在一种可能的设计中,所述的通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到的特殊离场协议中的定位标签广播报文不包括Data域。In a possible design, the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
通过删除依据现有可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议发送的定位标签广播报文中的Data域,使得定位标签和定位基站之间用于离场判断的通信更加灵活,且开销小,更能节省功耗的效果。The communication field used for the departure determination between the positioning tag and the positioning base station is deleted by deleting the Data field in the positioning tag broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol. More flexible, less overhead, and more power-saving effects.
再一方面,本申请实施例提供了一种定位基站,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,所述定位基站为所述定位基站群中的任一定位基站,所述基站包括:收发器,用于接收所述定位设备定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位设备的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;处理器,用于所述定位基站记录所述定位设备的地址信息,所述定位基站根据所述标记信息确定所述定位设备处于所述基站的定位区域,并指示所述收发器向所述定位设备返回定位标签广播回应报文。
In a further aspect, the embodiment of the present application provides a positioning base station, where the positioning device is used in a positioning system composed of at least two positioning base stations, and the positioning base station is any one of the positioning base station groups. a locating base station, the base station includes: a transceiver, configured to receive a first locating label broadcast message periodically sent by the locating device, where the first locating label broadcast packet carries tag information and an address of the locating device The information indicating that the first positioning label broadcast message is a special departure protocol message, and the processor is configured to record, by the positioning base station, address information of the positioning device, where the positioning base station is according to the identifier The information determines that the positioning device is located in a positioning area of the base station, and instructs the transceiver to return a positioning label broadcast response message to the positioning device.
相对于现有技术中,定位基站根据现有的蓝牙广播协议报文进行判断,定位基站根据特殊离场协议中的特殊离场协议报文进行定位判断,可以使得定位基站的离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以节省定位基站的功耗。因为现有的现有的蓝牙广播协议报文(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)的发送阶段具有一定的限制性(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加了定位基站进行定位判断的功耗。Compared with the prior art, the positioning base station performs the judgment according to the existing Bluetooth broadcast protocol packet, and the positioning base station performs the positioning judgment according to the special departure protocol packet in the special departure protocol, which can make the departure base station judgment of the positioning base station more flexible. (Not limited to being sent with the positioning data), and because the special departure protocol message is adopted, the transmission frequency is more flexible and generally lower than the frequency of the data transmitted by the existing protocol, thereby saving the power consumption of the positioning base station. Because the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need It is bound to the transmission positioning data) and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station for positioning determination.
在一种可能的设计中,所述处理器进一步用于若在设定时间内所述收发器没有收到携带有所述定位设备的地址信息的第二定位标签广播报文,则确定所述定位设备离开所述定位基站的定位区域。In a possible design, the processor is further configured to determine, if the transceiver does not receive the second positioning tag broadcast message carrying the address information of the positioning device within a set time, The positioning device leaves the positioning area of the positioning base station.
在一种可能的设计中,所述处理单元进一步用于:若在设定时间内所述收发器收到携带有所述定位设备的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位设备处于所述定位基站的定位区域,并向所述定位设备返回定位标签广播回应报文;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位设备离开所述定位基站的定位区域。In a possible design, the processing unit is further configured to: if the transceiver receives a second positioning tag broadcast message carrying the address information of the positioning device within a set time, determining that the Whether the marking information in the second positioning label broadcast message is equal to the set value, and the marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message. If the tag information in the second positioning tag broadcast message is equal to the set value, determining that the positioning device is in the positioning area of the positioning base station, and returning a positioning tag broadcast response message to the positioning device; If the tag information in the second positioning tag broadcast message is not equal to the set value, the count value is incremented by 1, and when the count value reaches the set threshold, determining that the positioning device leaves the Locate the location area of the base station.
通过设定一定的计数值作为判断参考,从而避免频繁地出现离场在场结果,进行频繁地根据定位判断结果对定位标签上的定位业务功能的关闭和开启。此外,通过对定位标签发送的第二定位标签广播报文中标记信息是否等于设定值的判断可以防止非定位标签的蓝牙报文而出现的判断错误问题,从而提高了定位标签定位判断的准确定;而且还可以防止根据定位标签的非特定离场协议报文进行定位判断,从而仅根据定位标签发送的特殊离场协议报文进行定位判断,进而可以节省定位基站定位判断的功耗。By setting a certain count value as a judgment reference, the occurrence of the departure presence result is frequently avoided, and the positioning service function on the positioning tag is frequently turned off and on according to the positioning determination result. In addition, by determining whether the marking information in the second positioning label broadcast message sent by the positioning label is equal to the set value, the problem of judging the occurrence of the Bluetooth message of the non-positioning label can be prevented, thereby improving the accuracy of the positioning label positioning judgment. And determining the positioning judgment based on the non-specific departure protocol packet of the positioning label, so that the positioning judgment is performed only according to the special departure protocol packet sent by the positioning label, thereby saving the power consumption of the positioning base station positioning judgment.
在一种可能的设计中,所述定位标签广播报文和所述定位标签广播回应报文采用的特殊离场协议通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到。In a possible design, the positioning label broadcast message and the special departure protocol adopted by the positioning label broadcast response message are modified by a scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. get.
在一种可能的设计中,所述的通过修改可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议得到的特殊离场协议中的定位标签广播报文不包括Data域。In a possible design, the positioning tag broadcast message in the special departure protocol obtained by modifying the scannable broadcast message protocol, the linkable undirected broadcast protocol or the non-linkable broadcast protocol does not include the Data field.
所述定位标签广播报文和所述定位标签广播回应报文通过采用该特殊离场协议相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning label broadcast message and the positioning label broadcast response message are more flexible and more economical to save by using the special departure protocol to determine the positioning label according to the existing Bluetooth broadcast message protocol. The effect of consumption. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
此外,由于现有的蓝牙广播报文协议具有易于实施、安全性高、实时性好、效率高等优点,通过采用修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到的特殊离场协议,可以在保持现有的蓝牙广播报文协议所具有的具有易于实施、安全性高、实时性好、效率高等优点的基础上,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。In addition, because the existing Bluetooth broadcast message protocol has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., the existing Bluetooth broadcast message protocol (such as non-linkable broadcast protocol, linkable undirected broadcast) can be modified. The special departure protocol obtained by the protocol, the linkable directed broadcast protocol, or the scanable broadcast protocol can maintain the existing Bluetooth broadcast message protocol with the advantages of easy implementation, high security, good real-time performance, high efficiency, and the like. On the basis of this, and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, it has the characteristics of low power consumption.
而且通过删除依据现有可扫描广播报文协议、可链接无向广播协议或者不可链接广播协议发送的定位标签广播报文中的Data域,使得定位标签和定位基站之间用于离场判断的通信
更加灵活,且开销小,更能节省功耗的效果。Moreover, by deleting the Data field in the positioning label broadcast message sent according to the existing scannable broadcast message protocol, the linkable undirected broadcast protocol, or the non-linkable broadcast protocol, the positioning tag and the positioning base station are used for the departure determination. Communication
More flexible, less overhead, and more power-saving effects.
再一方面,本申请实施例提供了一种定位系统,该定位系统包括上述定位设备中的各种可能的设计方式以及上述定位基站中的各种可能的设计方式。In a further aspect, the embodiment of the present application provides a positioning system, which includes various possible design manners in the positioning device and various possible design manners in the positioning base station.
再一方面,本申请实施例提供了一种计算机可读存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述定位设备中的各种可能的设计方式中的方法。In still another aspect, an embodiment of the present application provides a computer readable storage medium, where the program storage code stores program code for indicating a method in performing various possible design manners in the positioning device.
再一方面,本申请实施例提供了一种计算机可读存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述定位基站中的各种可能的设计方式中的方法。In still another aspect, an embodiment of the present application provides a computer readable storage medium, where the program storage code stores program code for indicating a method in performing various possible design manners in the positioning base station.
图1为本发明实施例提供的一种定位系统组网架构示意图;FIG. 1 is a schematic structural diagram of a positioning system networking structure according to an embodiment of the present disclosure;
图2为本发明实施例提供的一种定位标签在场状态示意图;2 is a schematic diagram of a presence status of a positioning tag according to an embodiment of the present invention;
图3为本发明实施例提供的一种定位标签定位判断流程示意图;FIG. 3 is a schematic flowchart of a positioning label positioning determination process according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种定位基站定位判断流程示意图;FIG. 4 is a schematic flowchart of determining a positioning of a positioning base station according to an embodiment of the present disclosure;
图5为本发明实施例提供的一种定位系统定位判断流程示意图;FIG. 5 is a schematic diagram of a positioning and determining process of a positioning system according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种特殊离场协议的获得方式示意图;FIG. 6 is a schematic diagram of a manner of obtaining a special departure protocol according to an embodiment of the present invention;
图7为本发明实施例提供的另一种特殊离场协议的获得方式示意图;FIG. 7 is a schematic diagram of a manner of obtaining another special departure protocol according to an embodiment of the present invention;
图8为本发明实施例提供的再一种特殊离场协议的获得方式示意图;FIG. 8 is a schematic diagram of obtaining a special departure protocol according to an embodiment of the present invention; FIG.
图9为本发明实施例提供的一种定位设备结构示意图;FIG. 9 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种定位基站结构示意图;FIG. 10 is a schematic structural diagram of a positioning base station according to an embodiment of the present disclosure;
图11为本发明实施例提供的一种定位装置结构示意图;FIG. 11 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present invention;
图12为本发明实施例提供的一种定位系统结构示意图。FIG. 12 is a schematic structural diagram of a positioning system according to an embodiment of the present invention.
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which FIG. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例描述的网络架构以及业务场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本发明实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and the service scenario described in the embodiments of the present invention are used to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation of the technical solutions provided by the embodiments of the present invention. The technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
参见图1为本发明实施例提供的一种定位系统架构示意图,该定位系统包括定位标签(也可以称为定位设备)、定位基站和定位服务器,其中定位标签与定位基站通过低功耗蓝牙BLE(英文:Bluetooth Low Energy)采用蓝牙广播协议进行通信,其中,蓝牙广播协议报文包括不可链接广播协议、可链接无向广播协议、可链接定向广播协议、可扫描广播协议。定位标签向定位基站周期性发送蓝牙广播协议报文(例如不可链接广播报文),定位基站接收到定位标签的蓝牙广播协议报文后,提取数据并与RSSI(英文:Received Signal Strength Indication)组包成网络报文,通过网络(例如Wifi、ZigBee、4G等通信网络)上报到定位服务器,定位服务器接收到定位基站发送的数据后,经过计算得到定位标签的位置信息并显示到指定地图中,从而定位出定位标签所在的位置,或者定位服务器经过计算得到定位标签的位置信息后根据特定的应用做其他处理。需要说明的是,本申请实施例中的定位标签和定
位标签可以互用,指的是一种置于被定位对象上(包括人的衣服、安全帽、手机等设备)或者独立存在的定位器件,以及其他各类型的可以与定位基站进行蓝牙通信的定位器件。FIG. 1 is a schematic structural diagram of a positioning system according to an embodiment of the present invention. The positioning system includes a positioning tag (also referred to as a positioning device), a positioning base station, and a positioning server, wherein the positioning tag and the positioning base station pass the low-power Bluetooth BLE. (English: Bluetooth Low Energy) communicates using the Bluetooth broadcast protocol, wherein the Bluetooth broadcast protocol message includes a non-linkable broadcast protocol, a linkable undirected broadcast protocol, a linkable directed broadcast protocol, and a scannable broadcast protocol. The locating tag periodically sends a Bluetooth broadcast protocol packet (for example, a non-linkable broadcast packet) to the locating base station, and the locating base station receives the Bluetooth broadcast protocol packet of the locating label, and extracts the data and the RSSI (Received Signal Strength Indication) group. The network packet is packetized and reported to the positioning server through a network (for example, Wifi, ZigBee, 4G, etc.), and after receiving the data sent by the positioning base station, the positioning server obtains the location information of the positioning tag and displays it in the designated map. Therefore, the location where the positioning tag is located is located, or the positioning server calculates the location information of the positioning tag and performs other processing according to the specific application. It should be noted that the positioning label and the setting in the embodiment of the present application
Bit tags can be used interchangeably to refer to a positioning device placed on a positioned object (including a person's clothes, a helmet, a mobile phone, etc.) or an independent positioning device, and other types of Bluetooth communication that can be performed with a positioning base station. Position the device.
参考图2,本发明实施例提供的一种定位系统中包括有多个定位基站所组成的定位基站群,定位基站群中所有定位基站的定位区域构成了定位基站群的定位区域。图2示出了定位标签在场、离场和进场(在场的一种特殊情况)三种场景。其中,对于定位标签侧侧的判断而言,在场表示定位标签在所述定位基站群的定位区域内,即只要在定位基站群中任意一个定位基站的定位区域;离场表示定位标签离开所述定位基站的定位区域;进场表示定位标签进入所述定位基站的定位区域的过程;对于某特定定位基站侧的判断而言,在场表示该定位标签处于该特定定位基站的定位区域的状态,离场标识表示该定位标签离开该特定定位基站的定位区域的状态,进场标识表示该定位标签进入该特定定位基站的定位区域的状态。Referring to FIG. 2, a positioning system according to an embodiment of the present invention includes a positioning base station group composed of a plurality of positioning base stations, and a positioning area of all positioning base stations in the positioning base station group constitutes a positioning area of the positioning base station group. Figure 2 shows three scenarios in which the positioning tag is present, departed, and approached (a special case of presence). Wherein, for the determination of the side of the positioning tag, the presence indicator indicates that the positioning tag is located in the positioning area of the positioning base station group, that is, as long as the positioning area of the positioning base station is located in any one of the positioning base station groups; Positioning the location area of the base station; the approach indicates the process of the positioning tag entering the location area of the positioning base station; for the judgment of a specific positioning base station side, the presence field indicates that the positioning tag is in the state of the positioning area of the specific positioning base station, The field identifier indicates a state in which the positioning tag leaves the positioning area of the specific positioning base station, and the approach identifier indicates a state in which the positioning tag enters the positioning area of the specific positioning base station.
现有技术下,不管所述定位标签是否处于定位基站群的定位区域,该定位标签上的各项定位业务功能始终照常地持续工作,将导致持续耗电,无法有效地节省功耗。而且现有大部分的定位标签一般采用纽扣电池供电,该纽扣电池容量有限,如果不对定位标签使用功耗进行限制,纽扣电池电量使用周期短,继而需要充电或更换电池,成本非常高。In the prior art, regardless of whether the positioning tag is in the positioning area of the positioning base station group, each positioning service function on the positioning tag continues to work as usual, which will result in continuous power consumption and cannot effectively save power consumption. Moreover, most of the existing positioning tags are generally powered by button batteries. The capacity of the button batteries is limited. If the power consumption of the positioning tags is not limited, the battery life of the button batteries is short, and then the battery needs to be charged or replaced, and the cost is very high.
为了节省点位标签的功耗,使得该定位标签中的电源能够持续服务更长时间,本申请实施例提出一种定位方法,如图3所示,该方法包括如下部分:In order to save the power consumption of the tag, the power supply in the locating tag can be continuously served for a longer period of time. The embodiment of the present application provides a positioning method. As shown in FIG. 3, the method includes the following parts:
302:定位标签定期向所述定位基站群发送定位标签广播报文。302: The positioning tag periodically sends a positioning label broadcast message to the positioning base station group.
具体实施方式中,定位标签通过采用特殊离场协议向所述定位基站群定期发送定位标签广播报文,例如,按照一定的周期,而且该发送频率可以低于现有的蓝牙广播报文协议,从而可以进一步降低定位标签的功耗。当然该发送频率也可以根据实际需求而调整。具体实施方式中,该特殊离场协议可以通过修改已有的蓝牙广播报文协议(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)得到,其特性和现有的蓝牙广播报文协议基本一致,所以也具有易于实施、安全性高、实时性好、效率高等优点,而且由于这种蓝牙广播报文协议在广播信道上双方进行交互,具有功耗低的特性。需要说明的是,通过修改已有的蓝牙广播报文协议获得的特殊离场协议主要用于定位标签的离场判断,定位标签和定位基站的其他数据通信仍然采用已有的蓝牙广播报文协议。可以理解的是,该特殊离场协议也可以采用其他协议,本发明并不做特别限定。以下分别以该特殊离场协议是通过修改现有的可扫描广播报文协议、可链接无向广播协议或不可链接广播协议而得到的为例说明。需要说明的是,这里所使用的离场判断包括上述三种场景下任一状态的定位判断(例如包括在场和进场的判断),而不仅仅只是离开定位基站群或定位基站的判断。In a specific implementation manner, the positioning label periodically sends the positioning label broadcast message to the positioning base station group by using a special departure protocol, for example, according to a certain period, and the sending frequency may be lower than the existing Bluetooth broadcast message protocol. Thereby, the power consumption of the positioning tag can be further reduced. Of course, the transmission frequency can also be adjusted according to actual needs. In a specific implementation manner, the special departure protocol can be obtained by modifying an existing Bluetooth broadcast message protocol, such as a non-linkable broadcast protocol, a linkable undirected broadcast protocol, a linkable directed broadcast protocol, or a scannable broadcast protocol. The characteristics are basically the same as the existing Bluetooth broadcast message protocol, so it has the advantages of easy implementation, high security, good real-time performance, high efficiency, etc., and because the Bluetooth broadcast message protocol interacts on both sides of the broadcast channel, Low cost features. It should be noted that the special departure protocol obtained by modifying the existing Bluetooth broadcast message protocol is mainly used for determining the departure of the positioning label, and the other data communication of the positioning label and the positioning base station still adopts the existing Bluetooth broadcast message protocol. . It can be understood that the special departure protocol may also adopt other protocols, and the present invention is not particularly limited. The following is an example of the special departure protocol that is obtained by modifying an existing scannable broadcast message protocol, a linkable undirected broadcast protocol, or a non-linkable broadcast protocol. It should be noted that the departure determination used herein includes the positioning determination of any state in the above three scenarios (for example, including presence and approach determination), and not just the determination to leave the positioning base station group or the positioning base station.
方式一:通过修改可扫描广播报文协议得到特殊离场协议。具体参考图6,根据蓝牙标准的规定,现有的可扫描广播报文协议主要用于发送数据,应用场景主要是数据长度大于31字节且不大于62字节。现有的可扫描广播报文协议包括3个报文:SCAN_IND报文,SCAN_REQ报文以及SCAN_REP报文,其中SCAN_IND报文是由广播者(定位标签)向扫描者(定位基站)发送的,SCAN_REQ报文是由扫描者向广播者回应的报文,SCAN_REP报文是广播者收到扫描者的回应报文后向扫描者发送的扫描响应报文。Manner 1: A special departure protocol is obtained by modifying the scannable broadcast message protocol. Referring to FIG. 6 , according to the Bluetooth standard, the existing scanable broadcast message protocol is mainly used for sending data, and the application scenario is mainly that the data length is greater than 31 bytes and not greater than 62 bytes. The existing scannable broadcast message protocol includes three messages: a SCAN_IND message, a SCAN_REQ message, and a SCAN_REP message, wherein the SCAN_IND message is sent by the broadcaster (location tag) to the scanner (location base station), SCAN_REQ The message is a message that the scanner responds to the broadcaster, and the SCAN_REP message is a scan response message sent by the broadcaster to the scanner after receiving the response message of the scanner.
修改方式如下:The modification is as follows:
(1)删除扫描响应报文SCAN_RSP;(1) Delete the scan response message SCAN_RSP;
(2)修改SCAN_IND报文中的字段配置:删除Data域,修改Flag域中的值的意义,Flag域占1字节,携带标记信息,该标记信息的值,例如可以配置为0x81,表示该报文为特殊离场协议报文,从而定位基站根据该值判断报文是否是离场协议报文;
(2) Modify the field configuration in the SCAN_IND packet: delete the Data field, modify the meaning of the value in the Flag field, the Flag field occupies 1 byte, and carries the tag information. The value of the tag information, for example, can be configured as 0x81, indicating that The packet is a special departure protocol packet, so that the positioning base station determines, according to the value, whether the packet is an off-mission protocol packet;
(3)SCAN_REQ报文中的ScanA域表示定位基站的蓝牙地址(和现有的可扫描广播报文协议一致),该值可以有一定的变化,但其应具有规律性(例如,相同值、同步长递增、符合特定算法公式等特性),以便定位标签根据该值判断SCAN_REQ报文是否是定位区域中定位基站所发出的报文,从而防止非基站蓝牙回应SCAN_REQ报文的影响。(3) The ScanA field in the SCAN_REQ message indicates the Bluetooth address of the positioning base station (consistent with the existing scannable broadcast message protocol), and the value may have a certain change, but it should have regularity (for example, the same value, The synchronization length is incremented, and the characteristics of the specific algorithm formula are met, so that the positioning tag determines whether the SCAN_REQ message is a message sent by the positioning base station in the positioning area according to the value, thereby preventing the non-base station Bluetooth from responding to the SCAN_REQ message.
通过修改现有的可扫描广播报文协议后所形成的特殊离场协议包括SCAN_IND报文,SCAN_REQ报文。定位标签利用该SCAN_IND报文定期向所述定位基站群发送定位标签广播报文。The special departure protocol formed by modifying the existing scannable broadcast message protocol includes a SCAN_IND message and a SCAN_REQ message. The positioning tag periodically sends the positioning label broadcast message to the positioning base station group by using the SCAN_IND message.
现有的可扫描广播协议是在广播信道上双方进行交互,具有功耗低特性,而且修改后的特殊离场协议同样具有该功耗低的特性,而且不要求发送SCAN_RSP报文,进一步降低了蓝牙发送功耗,具有更进一步的功耗低的优点。The existing scannable broadcast protocol interacts on both sides of the broadcast channel and has low power consumption characteristics, and the modified special departure protocol also has the characteristics of low power consumption, and does not require sending SCAN_RSP messages, which further reduces the Bluetooth sends power consumption, which has the advantage of further lower power consumption.
方式二:通过修改现有的可链接无向广播协议得到特殊离场协议。具体参考图7,根据蓝牙标准的规定,现有的可链接无向广播协议包括ADV_IND报文,该ADV_IND由广播者(定位标签)向扫描者(定位基站)发送的。Method 2: Obtain a special departure agreement by modifying the existing linkable undirected broadcast protocol. Referring specifically to FIG. 7, according to the Bluetooth standard, the existing linkable undirected broadcast protocol includes an ADV_IND message, which is transmitted by the broadcaster (location tag) to the scanner (location base station).
修改方式如下:The modification is as follows:
(1)增加扫描者向广播者发送的ADV_IND报文,为了区别起见,将广播者(定位标签)向扫描者(定位基站)发送的ADV_IND报文标识为ADV_IND(1)报文,将扫描者(定位基站)向广播者(定位标签)发送的ADV_IND报文标识为ADV_IND(2)报文。(1) Increasing the ADV_IND message sent by the scanner to the broadcaster. For the sake of distinction, the ADV_IND message sent by the broadcaster (location tag) to the scanner (location base station) is identified as an ADV_IND(1) message, and the scanner is The ADV_IND message transmitted by the (location base station) to the broadcaster (location tag) is identified as an ADV_IND(2) message.
(2)修改ADV_IND(1)报文中的字段配置:删除Data域,修改Flag域中的值的意义,Flag域占1字节,携带标记信息,该标记信息的值,例如可以配置为0x81,表示该报文为特殊离场协议报文,从而定位基站根据该值判断报文是否是离场协议报文。(2) Modify the field configuration in the ADV_IND(1) message: delete the Data field, modify the meaning of the value in the Flag field, the Flag field occupies 1 byte, and carries the tag information. The value of the tag information can be configured, for example, as 0x81. Indicates that the packet is a special departure protocol packet, so that the positioning base station determines whether the packet is an off-mission protocol packet according to the value.
(3)修改ADV_IND(2)报文中的字段配置:将原ADV_IND报文中的ADvA(6byte)域相应地表示为ScanA(6byte),其表示定位基站蓝牙地址(和现有的可扫描广播报文协议一致),该值可以有一定的变化,但其应具有规律性(例如,相同值、同步长递增、符合特定算法公式等特性),以便定位标签根据该值判断SCAN_REQ报文是否是定位区域中定位基站所发出的报文,从而防止非基站蓝牙回应SCAN_REQ报文的影响。ADV_IND(2)中的Flag域表示为离场回应标识,值为ADV_IND(1)域中的Flag值加1,以便于收到该回应报文的广播者知道该报文是回应其发送的ADV_IND(1)报文。(3) Modify the field configuration in the ADV_IND(2) message: the ADvA (6byte) field in the original ADV_IND message is correspondingly represented as ScanA (6byte), which represents the positioning base station Bluetooth address (and the existing scannable broadcast) The message protocol is consistent. The value may have a certain change, but it should have regularity (for example, the same value, the synchronization length is incremented, and the specific algorithm formula is met), so that the positioning tag determines whether the SCAN_REQ message is based on the value. The packet sent by the base station is located in the location area, thereby preventing the non-base station Bluetooth from responding to the influence of the SCAN_REQ message. The Flag field in ADV_IND(2) is represented as the departure response flag, and the value is incremented by 1 in the ADV_IND(1) field so that the broadcaster receiving the response message knows that the message is in response to the ADV_IND it sent. (1) Message.
通过修改现有的可链接无向广播协议后所形成的特殊离场协议包括ADV_IND(1)报文和ADV_IND(2)报文。定位标签利用该ADV_IND(1)报文定期向所述定位基站群发送定位标签广播报文。The special departure protocol formed by modifying the existing linkable undirected broadcast protocol includes the ADV_IND(1) message and the ADV_IND(2) message. The positioning tag periodically sends a positioning label broadcast message to the positioning base station group by using the ADV_IND(1) message.
方式三:通过修改现有的不可链接广播协议得到特殊离场协议。参考图8,根据蓝牙标准的规定,原不可链接广播协议包括ADV_NOCONN_IND报文,该ADV_NOCONN_IND由广播者(定位标签)向扫描者(定位基站)发送的。Method 3: Obtain a special departure agreement by modifying the existing non-linkable broadcast protocol. Referring to FIG. 8, according to the Bluetooth standard, the original non-linkable broadcast protocol includes an ADV_NOCONN_IND message, which is transmitted by the broadcaster (location tag) to the scanner (location base station).
修改方式如下:The modification is as follows:
(1)增加扫描者向广播者发送的ADV_NOCONN_IND报文,为了区别起见,将广播者(定位标签)向扫描者(定位基站)发送的ADV_NOCONN_IND报文标识为ADV_NOCONN_IND(1)报文,将扫描者(定位基站)向广播者(定位标签)发送的ADV_NOCONN_IND报文标识为ADV_NOCONN_IND(2)报文。(1) Increasing the ADV_NOCONN_IND message sent by the scanner to the broadcaster. For the sake of distinction, the ADV_NOCONN_IND message sent by the broadcaster (location tag) to the scanner (location base station) is identified as an ADV_NOCONN_IND(1) message, and the scanner is The ADV_NOCONN_IND message sent by the (location base station) to the broadcaster (location tag) is identified as an ADV_NOCONN_IND(2) message.
(2)修改ADV_NOCONN_IND(1)报文中的字段配置:删除Data域,修改Flag域中的值的意义,Flag域占1字节,携带标记信息,该标记信息的值,例如可以配置为0x81,表示该报文为特殊离场协议报文,从而定位基站根据该值判断报文是否是离场协议报文。
(2) Modify the field configuration in the ADV_NOCONN_IND(1) message: delete the Data field and modify the meaning of the value in the Flag field. The Flag field occupies 1 byte and carries the tag information. The value of the tag information can be configured, for example, as 0x81. Indicates that the packet is a special departure protocol packet, so that the positioning base station determines whether the packet is an off-mission protocol packet according to the value.
(3)修改ADV_NOCONN_IND(2)报文中的字段配置:将原ADV_NOCONN_IND报文中的ADvA(6byte)域相应地表示为ScanA(6byte),其表示定位基站蓝牙地址(和现有的可扫描广播报文协议一致),该值可以有一定的变化,但其应具有规律性(例如,相同值、同步长递增、符合特定算法公式等特性),以便定位标签根据该值判断SCAN_REQ报文是否是定位区域中定位基站所发出的报文,从而防止非基站蓝牙回应SCAN_REQ报文的影响。ADV_NOCONN_IND(2)中的Flag域表示为离场回应标识,值为ADV_NOCONN_IND(1)域中的Flag值加1,以便于收到该回应报文的广播者知道该报文是回应其发送的ADV_NOCONN_IND(1)报文。(3) Modify the field configuration in the ADV_NOCONN_IND(2) message: the ADvA (6byte) field in the original ADV_NOCONN_IND message is correspondingly represented as ScanA (6byte), which indicates the positioning base station Bluetooth address (and the existing scannable broadcast) The message protocol is consistent. The value may have a certain change, but it should have regularity (for example, the same value, the synchronization length is incremented, and the specific algorithm formula is met), so that the positioning tag determines whether the SCAN_REQ message is based on the value. The packet sent by the base station is located in the location area, thereby preventing the non-base station Bluetooth from responding to the influence of the SCAN_REQ message. The Flag field in ADV_NOCONN_IND(2) is represented as the departure response flag, and the value of the Flag in the ADV_NOCONN_IND(1) field is incremented by one, so that the broadcaster receiving the response message knows that the message is in response to the ADV_NOCONN_IND it sent. (1) Message.
通过修改现有的可链接无向广播协议后所形成的特殊离场协议包括ADV_NOCONN_IND(1)报文和ADV_NOCONN_IND(2)报文。定位标签利用该ADV_NOCONN_IND(1)报文定期向所述定位基站群发送定位标签广播报文。The special departure protocol formed by modifying the existing linkable undirected broadcast protocol includes the ADV_NOCONN_IND(1) message and the ADV_NOCONN_IND(2) message. The positioning tag periodically sends a positioning label broadcast message to the positioning base station group by using the ADV_NOCONN_IND(1) message.
需要说明的是,在另外的实施方式中,该定位标签也可以用采用现有的蓝牙广播报文协议发送定位标签广播报文和接收返回的定位标签广播回应报文,并根据定位标签广播回应报文中携带的定位基站的蓝牙地址判断所述定位标签是否离开所述定位基站群的定位区域。该种方式下的具体判断步骤可以参考本实施方式以及图5的实施方式中的描述。相对现有技术而言,这种实施方式中的定位标签可以进行离场判断,并在判断所述定位标签是否离开定位基站群的定位区域后,关闭该定位标签上除了离场判断之外的其他定位业务功能,从而可以节省点位标签的功耗,使得该定位标签中的电源能够持续服务更长时间。It should be noted that, in another embodiment, the positioning label may also use the existing Bluetooth broadcast packet protocol to send the positioning label broadcast message and receive the returned positioning label broadcast response message, and broadcast the response according to the positioning label. The Bluetooth address of the positioning base station carried in the packet determines whether the positioning tag leaves the positioning area of the positioning base station group. The specific determination steps in this manner can be referred to the description in the present embodiment and the embodiment in FIG. 5. Compared with the prior art, the positioning tag in the implementation manner may perform the departure determination, and after determining whether the positioning tag leaves the positioning area of the positioning base station group, close the positioning label except the departure determination. Other positioning business functions can save power consumption of the point label, so that the power supply in the positioning label can continue to serve for a longer time.
定位标签根据特殊离场协议中的特殊离场协议报文(例如上述SCAN_IND报文DV_IND(1)报文或ADV_NOCONN_IND(1))进行定位判断,相对于定位标签根据已有的蓝牙广播报文协议进行判断而言,具有更加灵活性且相比而言更能节省功耗的效果。因为,已有的蓝牙广播报文协议报文的发送阶段具有一定的限制(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加定位基站的功耗,不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以更加节省定位基站的功耗。The positioning tag performs positioning determination according to a special departure protocol message in the special departure protocol (for example, the above SCAN_IND message DV_IND(1) message or ADV_NOCONN_IND(1)), and the positioning label is based on the existing Bluetooth broadcast message protocol. In terms of judgment, it is more flexible and is more energy efficient. Because the transmission phase of the existing Bluetooth broadcast message protocol packet has certain restrictions (for example, it needs to be bound to the transmission positioning data), and the transmission and reception frequency is high, thereby increasing the power consumption of the positioning base station, it is better to adopt the special separation. Field protocol packets are more flexible (not limited to being sent with positioning data), and because of the use of special off-mission protocol packets, the transmission frequency is more flexible and usually lower than the frequency of data sent by existing protocols. Save power consumption of the positioning base station.
304:所述定位标签通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域。304: The positioning tag determines, by using a positioning tag broadcast response message returned by at least one positioning base station in the positioning base station group, whether the positioning tag leaves a positioning area of the positioning base station group.
在一个具体实施方式中,所述定位标签在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;根据是否收到所述的定位基站群中的至少一个定位基站返回的定位标签广播回应报文以及定位标签广播回应报文中携带的定位基站蓝牙地址信息确定所述定位标签是否已经离开所述定位基站群的定位区域。具体判断离场或在场的过程参考如下图7中定位标签侧的定位判断,此处暂不详述。In a specific implementation, the positioning tag monitors a positioning tag broadcast response message returned by the positioning base station in the positioning base station group on a channel that is the same as the positioning tag broadcast message; The positioning label broadcast response message returned by the at least one positioning base station and the positioning base station Bluetooth address information carried in the positioning label broadcast response message determine whether the positioning label has left the positioning area of the positioning base station group. The process of determining the departure or presence is specifically referred to the positioning determination on the positioning label side in FIG. 7 below, and will not be described in detail herein.
306:在所述定位标签离开所述定位基站群的定位区域的情况下,关闭所述定位标签上的除离场判断功能之外的定位业务功能。306: If the positioning label leaves the positioning area of the positioning base station group, close the positioning service function except the departure field determining function on the positioning label.
定位标签离场后,除离场判断功能(包括定期发送定位标签广播报文和接收定位标签广播回应报文,计数,字段判断等)之外的所有定位业务功能都关闭,数据芯片(包括地磁、陀螺仪芯片但不限于此类芯片)进入休眠状态。定位业务功能包括诸如停止发送定位数据(例如发送蓝牙不可链接广播报文)、停止定位数据采集、以及定位数据计算等定位业务功能。After the positioning label leaves the field, all the positioning service functions except the departure judgment function (including the periodic transmission of the positioning label broadcast message and the receiving positioning label broadcast response message, counting, field judgment, etc.) are turned off, and the data chip (including the geomagnetic field) The gyroscope chip, but not limited to such a chip, enters a sleep state. The positioning service functions include positioning service functions such as stopping transmission of positioning data (for example, transmitting Bluetooth unlinkable broadcast messages), stopping positioning data collection, and positioning data calculation.
参考图4所示,为本申请实施例提供的另一种定位方法,该方法包括如下部分:Referring to FIG. 4, another positioning method provided by the embodiment of the present application includes the following parts:
402:接收定位标签定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位标签的地址信息,所述标记信息指示所述第一定位标签广播报文
为特殊离场协议报文。402: Receive a first positioning label broadcast message that is periodically sent by the positioning label, where the first positioning label broadcast message carries the tag information and the address information of the positioning tag, and the tag information indicates that the first positioning tag broadcasts Message
A special departure protocol message.
具体参考上述图3实施方式中的302部分,该第一定位标签广播报文采用特殊离场协议报文,如上所述,该特殊离场协议是通过修改可扫描广播报文协议、可链接无向广播协议或不可链接广播协议而得到。With reference to section 302 in the foregoing embodiment of FIG. 3, the first positioning label broadcast message uses a special departure protocol message. As described above, the special departure protocol is modified by scanning the broadcast message protocol. Obtained from a broadcast protocol or a non-linkable broadcast protocol.
在采用上述方式一中的扫描广播报文协议的情况下,所述定位标签的地址信息可以携带在SCAN_IND报文中的AdvA域,标记信息可以携带在SCAN_IND报文中的Flag域,指示所述第一定位标签广播报文为特殊离场协议报文。In the case of the scanning broadcast message protocol in the foregoing mode 1, the address information of the positioning tag may be carried in the AdvA domain in the SCAN_IND message, and the tag information may be carried in the Flag field in the SCAN_IND message, indicating the The first positioning label broadcast message is a special departure protocol message.
在采用上述方式二中的可链接无向广播协议的情况下,所述定位标签的地址信息可以携带在ADV_IND(1)报文中的AdvA域,标记信息可以携带在ADV_IND(1)报文中的Flag域,指示所述第一定位标签广播报文为特殊离场协议报文。In the case of using the linkable undirected broadcast protocol in the foregoing mode 2, the address information of the positioning tag may be carried in the AdvA domain in the ADV_IND(1) message, and the tag information may be carried in the ADV_IND(1) message. The Flag field indicates that the first positioning label broadcast message is a special departure protocol message.
在采用上述方式三中的不可链接广播协议的情况下,所述定位标签的地址信息可以携带在ADV_NOCONN_IND(1)报文中的AdvA域,标记信息可以携带在ADV_NOCONN_IND(1)报文中的Flag域,指示所述第一定位标签广播报文为特殊离场协议报文。In the case of using the non-linkable broadcast protocol in the foregoing mode 3, the address information of the positioning tag may be carried in the AdvA domain in the ADV_NOCONN_IND(1) message, and the tag information may be carried in the ADV_NOCONN_IND(1) message. The domain indicates that the first positioning label broadcast message is a special departure protocol message.
404:所述定位基站记录所述定位标签的地址信息。404: The positioning base station records address information of the positioning tag.
定位基站收到所述第一定位标签广播报文后,获取第一定位标签广播报文中的所述定位标签的地址信息,并将所述的定位标签的地址信息记录在该定位基站的存储设备中,具体可以包括各类存储设备,例如闪存,以及其他类型存储器,例如高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)等。After receiving the first positioning label broadcast message, the positioning base station obtains the address information of the positioning label in the first positioning label broadcast message, and records the address information of the positioning label in the storage of the positioning base station. The device may specifically include various types of storage devices, such as flash memory, and other types of memories, such as a high-speed random access memory (RAM), and may also include non-volatile memory.
406:所述定位基站根据所述标记信息确定所述定位标签处于所述基站的定位区域,并向所述定位标签返回定位标签广播回应报文。406: The positioning base station determines, according to the marking information, that the positioning label is located in a positioning area of the base station, and returns a positioning label broadcast response message to the positioning label.
定位基站收到所述第一定位标签广播报文后,获取第一定位标签广播报文中的标记信息,并确定所述第一定位标签广播报文为特殊离场协议报文,进而可以确定所述定位标签在所述定位基站的定位区域,并根据特殊离场协议向所述定位标签发送定位标签广播回应报文,对应以上描述的第一定位标签广播报文的报文形式,该定位标签广播回应报文相应的可以为SCAN_REQ报文,ADV_IND(2)报文或ADV_NOCONN_IND(2)。其中,采用该SCAN_REQ报文DV_IND(2)报文或ADV_NOCONN_IND(2)中ScanA域携带该定位基站的蓝牙地址向所述定位标签发送,定位标签根据该蓝牙地址进行离场判断。After receiving the broadcast packet of the first locating label, the locating base station obtains the marking information in the broadcast packet of the first locating label, and determines that the broadcast packet of the first locating label is a special detachment protocol packet, and then can determine The locating label is located in the locating area of the locating base station, and sends a locating label broadcast response message to the locating label according to the special detachment protocol, corresponding to the packet form of the first locating label broadcast message described above, the positioning The label broadcast response message may correspond to a SCAN_REQ message, an ADV_IND(2) message or an ADV_NOCONN_IND(2). The SCAN_REQ message DV_IND(2) message or the ScanA field of the ADV_NOCONN_IND(2) carries the Bluetooth address of the positioning base station to the positioning tag, and the positioning tag performs the departure determination according to the Bluetooth address.
在另外的具体实施方式中,所述定位基站可以进一步包括如下部分:In another specific implementation, the positioning base station may further include the following parts:
408:判断在设定时间内所述定位基站没有收到携带有所述定位标签的地址信息的第二定位标签广播报文;若判断结果为是,则转410;否则,转412。408: Determine that the positioning base station does not receive the second positioning label broadcast message carrying the address information of the positioning tag within the set time; if the determination result is yes, then go to 410; otherwise, go to 412.
410:若在设定时间内所述定位基站没有收到携带有所述定位标签的地址信息的第二定位标签广播报文,则确定所述定位标签离开所述定位基站的定位区域。410: If the positioning base station does not receive the second positioning label broadcast message carrying the address information of the positioning tag, the positioning label is determined to leave the positioning area of the positioning base station.
具体的,定位基站监控有没有收到携带与前述记录的第一定位标签广播报文中定位标签的地址信息相同的第二定位标签广播报文,如果在设定的时间内没有收到该第二定位标签广播报文,则确定所述定位标签已经离开所述定位基站的定位区域,该定位基站根据应用程序的配置确定是否做下一步处理,例如,将该判断结果发给如图1中的定位服务器,由该定位服务器根据相关的应用程序进行后续处理,因为定位服务器的定位业务处理与本发明不是很相关,此处不一一详述。可以理解的是,此处的第二定位标签广播报文的报文形式与上述第一定位标签广播报文一样,可以参考以上内容,此处不再赘述。Specifically, the positioning base station monitors whether the second positioning label broadcast message carrying the same address information as the positioning label in the first positioning label broadcast message recorded in the foregoing is received, and if the first time is not received within the set time, the second positioning label broadcast message is received. And determining, by the second positioning label broadcast message, that the positioning label has left the positioning area of the positioning base station, and the positioning base station determines whether to perform the next processing according to the configuration of the application, for example, sending the determination result to the following figure. The positioning server is further processed by the positioning server according to the related application, because the positioning service processing of the positioning server is not very relevant to the present invention, and will not be detailed here. It can be understood that the packet format of the second locating label broadcast packet is the same as that of the first locating label broadcast packet, and may be referred to the above content, and details are not described herein again.
412:若在设定时间内所述定位基站收到携带有所述定位标签的地址信息的第二定位标签广播报文,则进一步判断所述第二定位标签广播报文中的标记信息是否等于设定值,若判
断结果为是则转414,;否则,转416。其中所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文。412: If the positioning base station receives the second positioning label broadcast message carrying the address information of the positioning tag, the determining whether the tag information in the second positioning tag broadcast message is equal to Set value
If the result of the break is yes, then turn to 414; otherwise, turn to 416. The marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message.
具体的,定位基站收到第二定位标签广播报文后,获取该第二定位标签广播报文携带的地址信息,如果与前述记录的第一定位标签广播报文的定位标签的地址信息相同,则进一步判断所述第二定位标签广播报文中的标记信息是否等于设定值;如果判断结果为是,则转414;否则,转416。标记信息是否等于设定值的具体判断可以参考下述图7中定位系统中定位基站侧的判断。此处暂不详述。Specifically, after receiving the second positioning label broadcast message, the positioning base station obtains the address information carried by the second positioning label broadcast message, and if the address information of the positioning label of the first positioning label broadcast message is the same as the foregoing, Then, it is further determined whether the marking information in the second positioning label broadcast message is equal to the set value; if the determination result is yes, then go to 414; otherwise, go to 416. For the specific judgment of whether the flag information is equal to the set value, reference may be made to the judgment of the positioning base station side in the positioning system in FIG. 7 described below. It will not be detailed here.
414:确定所述定位标签处于所述定位基站的定位区域,并向所述定位标签返回定位标签广播回应报文。向所述定位标签返回定位标签广播回应报文的方式参考上述406部分,即可以采用SCAN_REQ报文DV_IND(2)报文或ADV_NOCONN_IND(2),并在其中的ScanA域携带该定位基站的蓝牙地址向所述定位标签发送,定位标签根据该蓝牙地址进行离场判断。414: Determine that the positioning tag is located in a positioning area of the positioning base station, and return a positioning label broadcast response message to the positioning tag. For the manner of returning the positioning label broadcast response message to the positioning tag, refer to the above part 406, that is, the SCAN_REQ message DV_IND(2) message or ADV_NOCONN_IND(2) may be used, and the ScanA domain of the positioning base station carries the Bluetooth address of the positioning base station. Sending to the positioning tag, the positioning tag performs the departure determination according to the Bluetooth address.
416:如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位标签离开所述定位基站的定位区域。416: If the flag information in the second positioning tag broadcast message is not equal to the set value, add the count value to 1, and determine the positioning tag when the count value reaches the set threshold. Leaving the location area of the positioning base station.
具体的判断可以参考下述图5中定位系统中描述的定位判断,此处暂不详述。For specific judgment, refer to the positioning judgment described in the positioning system in FIG. 5 below, which will not be described in detail herein.
相对于现有技术中,定位基站根据已有的协议报文进行判断,定位基站根据特殊离场协议中的特殊离场协议报文(如上述SCAN_IND报文DV_IND(1)报文或ADV_NOCONN_IND(1)进行定位判断),可以使得定位基站的离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以节省定位基站的功耗。因为现有的现有的蓝牙广播协议报文(如不可链接广播协议、可链接无向广播协议、可链接定向广播协议、或可扫描广播协议)的发送阶段具有一定的限制性(例如都需要和发送定位数据绑定在一起)以及发送接收频率高进而增加了定位基站进行定位判断的功耗,从而不如采用该特殊离场协议报文进行离场判断更加灵活(不限于和定位数据一起发送),而且由于采用了特殊离场协议报文,发送频率更加灵活且通常低于已有协议发送数据的频率,从而可以节省定位基站的功耗。Compared with the prior art, the positioning base station determines according to the existing protocol message, and the positioning base station according to the special departure protocol message in the special departure protocol (such as the above SCAN_IND message DV_IND(1) message or ADV_NOCONN_IND (1) The positioning judgment can make the departure determination of the positioning base station more flexible (not limited to being transmitted together with the positioning data), and because the special departure protocol message is adopted, the transmission frequency is more flexible and usually lower than the existing protocol to transmit data. The frequency, which can save the power consumption of the positioning base station. Because the existing existing Bluetooth broadcast protocol messages (such as unlinkable broadcast protocols, linkable undirected broadcast protocols, linkable directed broadcast protocols, or scannable broadcast protocols) have certain restrictions on the transmission phase (eg, both need Binding with the transmission of the positioning data, and the high transmission and reception frequency, thereby increasing the power consumption of the positioning base station for positioning determination, so that it is more flexible to use the special departure protocol packet for departure determination (not limited to sending with the positioning data) ), and because the special off-mission protocol message is adopted, the transmission frequency is more flexible and usually lower than the frequency of the data transmitted by the existing protocol, thereby saving the power consumption of the positioning base station.
参考图5,为本申请实施例提供的由定位标签500和定位基站600组成的定位系统如何判断定位标签是否离场的流程示意图,其包括:定位标签如何根据定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域,以及所述定位基站如何根据定位标签发送的定位标签广播报文确定定位标签对否离开所述基站的定位区域。具体说明如下:5 is a schematic flowchart of how a positioning system composed of a positioning tag 500 and a positioning base station 600 determines whether a positioning tag is out of the field, and includes: how the positioning tag broadcasts a response report according to the positioning tag returned by the positioning base station. The method determines whether the positioning tag leaves the positioning area of the positioning base station group, and how the positioning base station determines, according to the positioning label broadcast message sent by the positioning tag, whether the positioning tag leaves the positioning area of the base station. The specific instructions are as follows:
该定位系统系统包括定位标签500和定位基站600,需要说明的是该定位基站800是以上描述的定位基站群中的任一定位基站。该定位标签500定时器502,发射器506、接收器508以及存储器和处理器(图中未示出,具体可以参考图11,图,5中的508-518各步骤或功能模块或者子程序可以存储在存储器中,并由处理器执行所述功能模块或子程序完成定位系统的定位判断功能)。定位基站600包括接收器602、发射器608以及存储器和处理器(图中未示出,具体可以参考图11,图5中的604、606以及610-618各步骤或功能模块或者子程序可以存储在存储器中,并由处理器执行所述功能模块或子程序完成定位系统的定位判断功能)The positioning system includes a positioning tag 500 and a positioning base station 600. It should be noted that the positioning base station 800 is any one of the positioning base stations described above. The positioning tag 500 is a timer 502, a transmitter 506, a receiver 508, and a memory and a processor (not shown in the figure. For details, refer to steps 508-518 or function modules or subroutines in FIG. 11, FIG. Stored in the memory, and executed by the processor, the function module or subroutine completes the positioning judgment function of the positioning system). The positioning base station 600 includes a receiver 602, a transmitter 608, and a memory and a processor (not shown in the figure. For details, refer to FIG. 11, and steps 604, 606, and 610-618 in FIG. 5 or function modules or subroutines may be stored. In the memory, and the processor executes the function module or subroutine to complete the positioning judgment function of the positioning system)
如上图7所示,该定位系统进行定位标签离场判断包括两部分,定位标签侧和定位基站侧,下面结合图2所示的三种场景,即在场(对定位标签侧的判断而言,表示该定位标签处于所述定位基站群的定位区域的状态,对定位基站侧的判断而言,表示该定位标签处于所述定位基站的定位区域的状态)、离场(对定位标签侧的判断而言,表示该定位标签离开所述定位基站群的定位区域的状态,对定位基站侧的判断而言,表示该定位标签离开所述定位基站的
定位区域的状态)和进场(对定位标签侧的判断而言,表示该定位标签进入所述定位基站群的定位区域的状态,对定位基站侧的判断而言,表示该定位标签进入所述定位基站的定位区域的状态)对该定位定位标签和定位基站的定位判断详细说明如下:As shown in FIG. 7 , the positioning system performs the positioning label departure determination including two parts, the positioning label side and the positioning base station side, and is combined with the three scenarios shown in FIG. 2, that is, presence (for the judgment of the positioning label side, Indicates that the positioning tag is in the state of the positioning area of the positioning base station group, and the determination of the positioning base station side indicates that the positioning tag is in the positioning area of the positioning base station) and the departure (determination on the positioning tag side) a state indicating that the positioning tag leaves the positioning area of the positioning base station group, and determining, by the positioning base station side, that the positioning tag leaves the positioning base station
The state of the location area and the approach (for the determination of the location tag side, indicating the state in which the location tag enters the location area of the positioning base station group, and the determination of the location base station side indicates that the location tag enters the Positioning the positioning area of the base station) The positioning judgment of the positioning positioning label and the positioning base station is as follows:
1、定位标签侧1. Positioning label side
定位标签上电或复位时,默认处于在场状态。When the positioning tag is powered on or reset, it is in the default state by default.
(1)定位标签离场判断(1) Positioning label departure judgment
定位标签在场后,发射器506根据定时器502的定时(例如,每隔60s或其它大于0的值,或者其他设定时间,具体可以依据应用场景设定)向定位服基站600发送定位标签广播报文(例如,上文中提到的SCAN_IND报文,以下以此为例进行说明),定位标签在相同信道上监听定位标签广播回应报文(对应于上例如中的SCAN_REQ报文,以下以此为例进行说明)。After the positioning tag is present, the transmitter 506 sends the positioning tag broadcast to the positioning service base station 600 according to the timing of the timer 502 (for example, every 60s or other value greater than 0, or other set time, specifically according to the application scenario setting). The message (for example, the SCAN_IND message mentioned above, as exemplified below), the positioning tag monitors the positioning tag broadcast response message on the same channel (corresponding to the SCAN_REQ message in the above, for example) Take an example for explanation).
510:定位标签确定在所述信道上是否收到定位基站600的发射器608发送的定位标签广播回应报文(例如,SCAN_REQ报文);如果是,则转512;如果否,则转514。在另外一种实施方式中,可以在设定时间内在所述信道上没有收到定位基站600的发射器608发送的定位标签广播回应报文的情况下确定所述定位标签离场,即离开所述定位基站群的定位区域。510: The positioning tag determines whether a positioning tag broadcast response message (for example, a SCAN_REQ message) sent by the transmitter 608 of the positioning base station 600 is received on the channel; if yes, then go to 512; if not, go to 514. In another embodiment, if the positioning label broadcast response message sent by the transmitter 608 of the positioning base station 600 is not received on the channel within a set time, the positioning label is determined to leave the field, that is, leave the station. The positioning area of the positioning base station group is described.
512:定位标签判断从所述定位基站发送的SCAN_REQ报文中的ScanA域的值(例如,该值具体为定位基站的蓝牙地址)是否等于设定值(该设定值表示有规律性的值,如相同值、同步长递增、符合特定算法公式);如果是,则转520,确定该定位标签依然在场,即在所述定位基站群的定位区域,且清除计数(例如,计数值为0);如果否,则转514。512: The positioning tag determines whether a value of a ScanA field in the SCAN_REQ message sent from the positioning base station (for example, the value is specifically a Bluetooth address of the positioning base station) is equal to a set value (the set value indicates a regular value) , if the same value, the synchronization length is incremented, and the specific algorithm formula is met; if yes, then 520, determining that the positioning tag is still present, that is, in the positioning area of the positioning base station group, and clearing the count (for example, the count value is 0) ); if no, go to 514.
上述有规律性的值具体可以包括下述情况之一:The above regular value may specifically include one of the following conditions:
相同值:定位区域内所有定位基站或定位基站群内所有定位基站的蓝牙地址值相等;The same value: the Bluetooth address values of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are equal;
同步长递增:定位区域内所有定位基站或定位基站群内所有定位基站的蓝牙地址按照指定步长递增;Synchronization long increment: the Bluetooth addresses of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are incremented according to the specified step size;
符合特定算法公式:定位区域内所有定位基站或定位基站群内所有定位基站的蓝牙地址是根据该算法公式计算得到;Corresponding to a specific algorithm formula: the Bluetooth addresses of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are calculated according to the algorithm formula;
其他:定位区域内所有定位基站或定位基站群内所有定位基站的蓝牙地址是按照其他规律性方式计算得到蓝牙地址。Others: The Bluetooth addresses of all the positioning base stations in the positioning area or all the positioning base stations in the positioning base station group are calculated according to other regular manners.
514:如果所述定位标签确定在设定时间内在所述信道上未收到SCAN_REQ报文,或所述SCAN_REQ报文中的ScanA域的值不等于设定值,则将计数值加1,转516。514: If the positioning tag determines that the SCAN_REQ message is not received on the channel within the set time, or the value of the ScanA field in the SCAN_REQ message is not equal to the set value, then the count value is incremented by one. 516.
516:当确定计数超过限定值时(例如,3或其它大于0的值,依据应用场景设定),则判断所述定位标签已离场,即离开所述定位基站群的定位区域,并维持计数值不变。516: When it is determined that the count exceeds the limit value (for example, 3 or other values greater than 0, according to the application scenario), it is determined that the positioning tag has left the field, that is, leaves the positioning area of the positioning base station group, and maintains The count value does not change.
定位标签离场后,除离场判断功能(包括定期发送SCAN_IND报文,接收SCAN_REQ报文,计数,字段判断)之外的所有定位业务功能都关闭,数据芯片(包括地磁、陀螺仪芯片但不限于此类芯片)进入休眠状态。定位业务功能包括诸如停止发送定位数据(例如发送蓝牙不可链接广播报文)、停止定位数据采集、以及定位数据计算等定位业务功能。After the positioning label leaves the field, all the positioning service functions except the departure judgment function (including periodically sending SCAN_IND message, receiving SCAN_REQ message, counting, field judgment) are turned off, and the data chip (including geomagnetic and gyro chip is not Limited to such chips) go to sleep. The positioning service functions include positioning service functions such as stopping transmission of positioning data (for example, transmitting Bluetooth unlinkable broadcast messages), stopping positioning data collection, and positioning data calculation.
如果定位标签自身不进行上述离场判断,那么上述定位业务功能,如发送定位数据功能、定位数据采集和计算功能等功能不管是在离场还是在场,都会保持运行状态,从而导致定位标签保持高功耗状态,缩短电池使用周期。If the positioning tag itself does not perform the above-mentioned departure determination, the above-mentioned positioning service functions, such as the function of transmitting positioning data, positioning data collection and calculation functions, remain in the running state regardless of whether they are in the field or in the field, thereby causing the positioning tag to remain high. Power consumption state, shorten battery life cycle.
(2)定位标签进场判断(2) Positioning label entry judgment
定位标签离场后,定时器依然定期发送SCAN_IND报文,并在相同信道上监听SCAN_REQ报文。如果信道上收到SCAN_REQ报文且ScanA域等于设定值,则判断自身已进场,并清除计数值;否则自身依然离场,且维持计数值不变。具体详细判断过程参考上述离
场判断。此处不再赘述。After the positioning label leaves the field, the timer still sends the SCAN_IND message periodically and listens for the SCAN_REQ message on the same channel. If the SCAN_REQ message is received on the channel and the ScanA field is equal to the set value, it is judged that it has entered the field and clears the count value; otherwise, it still leaves the field and keeps the count value unchanged. Specific detailed judgment process reference to the above
Field judgment. I will not repeat them here.
定位标签进场后,开启所有定位业务功能,包括以上所述的发送定位数据功能、定位数据采集和计算功能等功能。After the positioning tag enters the field, all positioning service functions are enabled, including the functions of sending positioning data, positioning data collection and calculation functions as described above.
2、定位基站侧2. Positioning the base station side
需要说明的是,如上所说,该定位基站为所述定位基站群中任一定位基站。It should be noted that, as described above, the positioning base station is any one of the positioning base stations in the positioning base station group.
604:定位基站判断在设定的时间内所述定位基站的接收器602中有没有接收到定位标签发送的定位标签广播报文后(此处以SCAN_IND报文为例说明);如果判断结果为是,则转610;如果为否,则转612,或者如果为否,则直接确定该定位标签已经离开所述定位标签的定位区域。604: The positioning base station determines whether the receiver 602 of the positioning base station receives the positioning label broadcast message sent by the positioning tag within a set time (the SCAN_IND message is used as an example here); if the judgment result is yes Then, go to 610; if no, go to 612, or if it is no, directly determine that the positioning tag has left the positioning area of the positioning tag.
需要说明的是,这里以特定的定位标签为例说明,该特定的定位标签可以是该定位基站之前已经收到过该定位标签的定位标签广播报文,并记录该下定位标签,例如,通过记录定位标签广播报文中的定位标签的地址信息,利用该地址信息关联该定位标签。It should be noted that the specific positioning label is used as an example. The specific positioning label may be a positioning label broadcast message that has been received by the positioning base station before the positioning of the positioning label, and the lower positioning label is recorded, for example, by The address information of the positioning tag in the broadcast packet of the positioning tag is recorded, and the positioning tag is associated with the address information.
610:定位基站的接收器602收到定位标签的定位标签广播报文后,向所述对归纳为标签返回定位标签广播回应报文,并进一步判断定位标签广播报文中的标记信息是否为设定值;如果判断结果为是,则转618,确定定位标签在场,即在所述定位基站的定位区域;如果判断结果为否,则转612将计数值加1。610: After receiving the positioning label broadcast message of the positioning tag, the receiver 602 of the positioning base station returns a positioning label broadcast response message to the pair of the label, and further determines whether the marking information in the positioning label broadcast message is set. If the result of the determination is yes, then go to 618 to determine that the positioning tag is present, that is, in the positioning area of the positioning base station; if the determination result is no, then turn 612 to increase the count value by one.
具体的以SCAN_IND报文和SCAN_REQ报文为例进行说明,定位基站协议栈收到SCAN_IND报文后自动发送SCAN_REQ报文,并上报应用层,应用层根据需求处理SCAN_IND报文,也可不处理。如果应用层收到SCAN_IND报文且Flag域等于设定值,则判断定位标签在场,如果Flag域不等于设定值,则转612。具体的判断方式可以参考上面该实施方式中的定位标签侧的判断,此处不一一赘述。The SCAN_IND message and the SCAN_REQ message are used as an example to illustrate that the SCAN_REQ message is automatically sent after the SCAN_IND message is received by the positioning base station protocol stack, and is reported to the application layer. The application layer processes the SCAN_IND message according to requirements, and may not process it. If the application layer receives the SCAN_IND message and the Flag field is equal to the set value, it is determined that the positioning tag is present, and if the Flag field is not equal to the set value, then 612 is performed. For the specific judgment manner, refer to the judgment of the positioning label side in the above embodiment, and details are not described herein.
612:将所述的计数值加1。612: Add 1 to the count value.
614:判断计数值是是否超过限定值时(例如3或者其他数值,具体可以根据需要设定);如果判断结果为是,则转616,确定定位标签已离开所述定位基站的定位区域。614: Determine whether the count value exceeds the limit value (for example, 3 or other values, specifically may be set as needed); if the determination result is yes, then go to 616 to determine that the positioning tag has left the positioning area of the positioning base station.
定位基站确定定位标签离场或进场后,根据应用需求进行处理。After the positioning base station determines that the positioning label leaves the field or enters the field, it processes according to the application requirements.
图9是根据本申请实施例提供的一种定位设备900的结构示意性框图,图10所示的设备可以为前述方法实施例中(如图1-3和5中)的定位设备或定位标签,可以实现上述定位设备或定位标签的功能。所述定位设备应用于所述定位系统中,该定位设备包括收发单元902和处理单元904。FIG. 9 is a schematic block diagram of a structure of a positioning device 900 according to an embodiment of the present application. The device shown in FIG. 10 may be a positioning device or a positioning tag in the foregoing method embodiment (as shown in FIGS. 1-3 and 5). The function of the above positioning device or positioning tag can be realized. The positioning device is applied to the positioning system, and the positioning device comprises a transceiver unit 902 and a processing unit 904.
收发单元900,用于定期向所述定位基站群发送定位标签广播报文;The transceiver unit 900 is configured to periodically send a positioning label broadcast message to the positioning base station group;
处理单元902,用于通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域,并在所述定位标签离开所述定位基站群的定位区域的情况下,关闭所述定位标签上的除离场判断功能之外的定位业务功能。The processing unit 902 is configured to determine, by using a positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning label leaves a positioning area of the positioning base station group, and leave the positioning label in the positioning label When the location area of the base station group is located, the positioning service function except the departure determination function on the positioning label is turned off.
所述收发单元902定期向所述定位基站群发送定位标签广播报文的具体方式请参考前述图3以及图5实施方式中的描述,此处不再赘述。For details of the manner in which the transceiver unit 902 periodically sends the locating label broadcast message to the locating base station group, refer to the description in the foregoing embodiment of FIG. 3 and FIG. 5, and details are not described herein again.
所述处理单元904通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域的具体实施方式可以参考前述图3以及图5中的具体判断离场方法,此处不再赘述。The processing unit 904, by using the positioning label broadcast response message returned by the at least one positioning base station of the positioning base station group, to determine whether the positioning label leaves the positioning area of the positioning base station group, may refer to FIG. 3 and the foregoing. The specific method of determining the departure in 5 is not repeated here.
所述处理单元904进一步用于在所述定位标签处于所述定位基站群的定位区域的情况下,开启所述定位设备上关闭的定位业务功能。
The processing unit 904 is further configured to: when the positioning tag is in a positioning area of the positioning base station group, turn on a positioning service function that is turned off on the positioning device.
图10是根据本申请实施例提供的一种定位基站1000的结构示意性框图,图10所示的定位基站可以为前述方法实施例中(如图1-2和4-5中)的定位基站,可以实现上述实施方式中的定位基站的功能。所述定位基站应用于所述定位系统中,该定位基站包括收发单元1002和处理单元1004。FIG. 10 is a schematic block diagram of a structure of a positioning base station 1000 according to an embodiment of the present application. The positioning base station shown in FIG. 10 may be a positioning base station in the foregoing method embodiment (as shown in FIGS. 1-2 and 4-5). The function of the positioning base station in the above embodiment can be implemented. The positioning base station is applied to the positioning system, and the positioning base station includes a transceiver unit 1002 and a processing unit 1004.
所述收发单元1002用于接收定位标签定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位标签的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;The transceiver unit 1002 is configured to receive a first positioning label broadcast message that is periodically sent by the positioning label, where the first positioning label broadcasts a message carrying tag information and address information of the positioning tag, where the tag information indicates The first positioning label broadcast message is a special departure protocol message;
所述处理单元1004用于记录所述定位标签的地址信息,所述定位基站根据所述标记信息确定所述定位标签处于所述基站的定位区域,并指示所述收发单元向所述定位标签返回定位标签广播回应报文。The processing unit 1004 is configured to record address information of the positioning tag, and the positioning base station determines, according to the tag information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to return to the positioning tag. The positioning tag broadcasts a response message.
所述收发单元1002接收定位标签定期发送的第一定位标签广播报文的具体方式请参考前述图4和图5实施方式中的描述,此处不再赘述。For details of the manner in which the transceiver unit 1002 receives the first locating label broadcast packet that is periodically sent by the locating label, refer to the description in the foregoing embodiment of FIG. 4 and FIG. 5, and details are not described herein again.
所述处理单元1004记录所述定位标签的地址信息,根据所述标记信息确定所述定位标签处于所述基站的定位区域,并指示所述收发单元向所述定位标签返回定位标签广播回应报文的具体实施方式可以参考前述图4和图5中的具体实施,此处不再赘述。The processing unit 1004 records the address information of the positioning tag, determines that the positioning tag is located in the positioning area of the base station, and instructs the transceiver unit to return a positioning tag broadcast response message to the positioning tag. For specific implementations, reference may be made to the specific implementations in the foregoing FIG. 4 and FIG. 5, and details are not described herein again.
在另一具体实施方式中,所述处理单元1004进一步用于若在设定时间内所述处理单元没有收到携带有所述定位标签的地址信息的第二定位标签广播报文,则确定所述定位设备离开所述定位基站的定位区域;或者若在设定时间内所述处理单元收到携带有所述定位设备的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位设备处于所述定位基站的定位区域,并向所述定位设备返回定位标签广播回应报文;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位设备离开所述定位基站的定位区域。具体实施方式可以参考前述图4和图5中的具体实施,此处不再赘述。In another embodiment, the processing unit 1004 is further configured to determine, if the processing unit does not receive the second positioning tag broadcast message carrying the address information of the positioning tag within a set time, Determining the second positioning by the positioning device leaving the positioning area of the positioning base station; or if the processing unit receives the second positioning label broadcast message carrying the address information of the positioning device within a set time Whether the tag information in the tag broadcast message is equal to the set value, and the tag information in the second locator tag broadcast message is used to indicate whether the second locator tag broadcast message is a special leave protocol message; If the tag information in the broadcast packet of the second locating label is equal to the set value, determining that the locating device is in the locating area of the locating base station, and returning a locating label broadcast response message to the locating device; If the tag information in the second positioning tag broadcast message is not equal to the set value, the count value is incremented by 1, and when the count value reaches the set threshold, it is determined. Said positioning device is positioned away from the location area of the base station. For specific implementations, reference may be made to the foregoing specific implementations in FIG. 4 and FIG. 5, and details are not described herein again.
图11是本申请实施例提供的一种定位装置1100示意性结构图,图11所示的定位装置可以为前述方法实施方式中(如图1-5中)的定位设备或定位标签和定位基站,可以实现上述定位设备或定位标签和定位基站设备的功能。如图11所示,该装置1100包括处理器1102、存储器1104和收发器1108,以及连接该处理器1102、存储器1104和收发器1108的各种连接线1110。收发器1106用于该装置与外界进行通信,存储器1104用于存放程序指令或程序1106,存储器1104可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器,处理器1302可以调用存储器1104中存放的程序指令执行相应功能。Figure 11 is a schematic structural diagram of a positioning device 1100 according to an embodiment of the present application. The positioning device shown in Figure 11 may be a positioning device or a positioning tag and a positioning base station in the foregoing method embodiment (as shown in Figure 1-5). The functions of the above positioning device or the positioning tag and the positioning base station device can be implemented. As shown in FIG. 11, the apparatus 1100 includes a processor 1102, a memory 1104, and a transceiver 1108, and various connection lines 1110 that connect the processor 1102, the memory 1104, and the transceiver 1108. The transceiver 1106 is configured to communicate with the outside device, the memory 1104 is configured to store program instructions or programs 1106, and the memory 1104 may include a high speed random access memory (RAM: Random Access Memory), and may also include non-unstable memory ( Non-volatile memory, such as at least one disk storage, processor 1302 can invoke program instructions stored in memory 1104 to perform the corresponding functions.
在一种具体的实施方式中,所述的定位装置为前述的定位设备,在该实施方式中:In a specific embodiment, the positioning device is the aforementioned positioning device, and in this embodiment:
收发器1102,用于定期向所述定位基站群发送定位标签广播报文;The transceiver 1102 is configured to periodically send a positioning label broadcast message to the positioning base station group;
处理器1104,用于通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域,并在所述定位标签离开所述定位基站群的定位区域的情况下,关闭所述定位标签上的除离场判断功能之外的定位业务功能。The processor 1104 is configured to determine, by using a positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning label leaves a positioning area of the positioning base station group, and leave the positioning label in the positioning label When the location area of the base station group is located, the positioning service function except the departure determination function on the positioning label is turned off.
所述收发器1102定期向所述定位基站群发送定位标签广播报文的具体方式请参考前述图3以及图5实施方式中的描述,此处不再赘述。
For the specific manner in which the transceiver 1102 periodically sends the locating label broadcast message to the locating base station group, refer to the description in the foregoing embodiment of FIG. 3 and FIG. 5, and details are not described herein again.
所述处理器1104通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域的具体实施方式可以参考前述图3以及图5中的具体判断离场方法,此处不再赘述。The processor 1104 determines, by using the positioning label broadcast response message returned by the at least one positioning base station of the positioning base station group, whether the positioning label leaves the positioning area of the positioning base station group. For example, refer to FIG. 3 and the foregoing. The specific method of determining the departure in 5 is not repeated here.
所述处理器1104进一步用于在所述定位设备处于所述定位基站群的定位区域的情况下,开启所述定位设备上关闭的定位业务功能。The processor 1104 is further configured to: when the positioning device is in a positioning area of the positioning base station group, turn on a positioning service function that is closed on the positioning device.
在另一种具体的实施方式中,所述的定位装置为前述的定位基站,在该实施方式中:In another specific implementation manner, the positioning device is the foregoing positioning base station, and in this embodiment:
所述收发器1102,用于接收定位标签定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位标签的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;The transceiver 1102 is configured to receive a first positioning label broadcast message that is periodically sent by the positioning label, where the first positioning label broadcasts a message carrying tag information and address information of the positioning tag, where the tag information indicates The first positioning label broadcast message is a special departure protocol message;
所述处理器1104,用于所述定位基站记录所述定位标签的地址信息,所述定位基站根据所述标记信息确定所述定位标签处于所述基站的定位区域,并指示所述收发单元向所述定位标签返回定位标签广播回应报文。The processor 1104 is configured to record, by the positioning base station, address information of the positioning tag, where the positioning base station determines, according to the marking information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to The positioning tag returns a positioning tag broadcast response message.
所述收发器1102接收定位标签定期发送的第一定位标签广播报文的具体方式请参考前述图4和图5实施方式中的描述,此处不再赘述。For details of the manner in which the transceiver 1102 receives the first locating label broadcast packet that is periodically sent by the locating label, refer to the description in the foregoing embodiments of FIG. 4 and FIG. 5, and details are not described herein again.
所述处理器1104记录所述定位标签的地址信息,根据所述标记信息确定所述定位标签处于所述基站的定位区域,并指示所述收发单元向所述定位标签返回定位标签广播回应报文的具体实施方式可以参考前述图4和图5中的具体实施,此处不再赘述。The processor 1104 records the address information of the positioning tag, determines, according to the tag information, that the positioning tag is located in a positioning area of the base station, and instructs the transceiver unit to return a positioning tag broadcast response message to the positioning tag. For specific implementations, reference may be made to the specific implementations in the foregoing FIG. 4 and FIG. 5, and details are not described herein again.
在另一具体实施方式中,所述处理器1104进一步用于若在设定时间内所述处理单元没有收到携带有所述定位标签的地址信息的第二定位标签广播报文,则确定所述定位设备离开所述定位基站的定位区域;或者若在设定时间内所述处理单元收到携带有所述定位设备的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位设备处于所述定位基站的定位区域,并向所述定位设备返回定位标签广播回应报文;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位设备离开所述定位基站的定位区域。具体实施方式可以参考前述图4和图5中的具体实施,此处不再赘述。In another embodiment, the processor 1104 is further configured to determine, if the processing unit does not receive the second positioning tag broadcast message carrying the address information of the positioning tag within a set time, Determining the second positioning by the positioning device leaving the positioning area of the positioning base station; or if the processing unit receives the second positioning label broadcast message carrying the address information of the positioning device within a set time Whether the tag information in the tag broadcast message is equal to the set value, and the tag information in the second locator tag broadcast message is used to indicate whether the second locator tag broadcast message is a special leave protocol message; If the tag information in the broadcast packet of the second locating label is equal to the set value, determining that the locating device is in the locating area of the locating base station, and returning a locating label broadcast response message to the locating device; If the tag information in the second positioning tag broadcast message is not equal to the set value, the count value is incremented by 1, and when the count value reaches the set threshold, the location is determined. Positioning the positioning device away from the positioning area of the base station. For specific implementations, reference may be made to the foregoing specific implementations in FIG. 4 and FIG. 5, and details are not described herein again.
需要说明的是,该图11所示的实施方式中,除了上述几种通过处理器执行存储器上的程序代码指令方式等常规方式之外,本实施方式也可以基于物理服务器结合网络功能虚拟化NFV技术实现的虚拟第一网络设备和第二网络设备,所述虚拟第一网络设备为虚拟路由器或交换机。本领域技术人员通过阅读本申请即可结合NFV技术在物理服务器上虚拟出具有上述功能的多个PE设备。此处不再赘述。It should be noted that, in the embodiment shown in FIG. 11 , in addition to the above-mentioned conventional manners such as executing the program code command mode on the memory by the processor, the present embodiment may also virtualize the NFV based on the physical server combined with the network function. A technically implemented virtual first network device and a second network device, the virtual first network device being a virtual router or a switch. Those skilled in the art can use the NFV technology to virtualize a plurality of PE devices having the above functions on a physical server by reading the present application. I will not repeat them here.
图12是根据本申请实施例提供的一种定位系统1200示意性结构图,图12所示的系统包括的定位设备1202和定位基站1204,其中,所述的定位设备可以为图1-5和9中的实施方式中的定位设备或定位标签;所述的定位基站可以为上述图1-5和9图1-5和9中的实施方式中的定位基站。本实施方式中的定位设备和定位基站的功能或者所执行的步骤具体参考上述各实施方式,此处不再赘述。FIG. 12 is a schematic structural diagram of a positioning system 1200 according to an embodiment of the present application. The system shown in FIG. 12 includes a positioning device 1202 and a positioning base station 1204, wherein the positioning device may be FIG. 1-5 and The positioning device or the positioning tag in the embodiment of 9; the positioning base station may be the positioning base station in the embodiments in Figures 1-5 and 9 of Figures 1-5 and 9 above. The functions of the locating device and the locating base station in the present embodiment or the steps to be performed are specifically referred to the foregoing embodiments, and are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所公开的系统和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互
之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. Another point, the mutuals shown or discussed
The coupling or direct coupling or communication connection between the two may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit. The above integrated modules can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、随机存取存储器(英文全称:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储数据的介质。
The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a random access memory (English name: Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like, which can store data.
Claims (30)
- 一种定位方法,应用于定位标签和由至少两个定位基站构成定位基站群所组成的定位系统中,其特征在于,所述方法包括:A positioning method is applied to a positioning system and a positioning system comprising a positioning base station group formed by at least two positioning base stations, wherein the method comprises:定位标签定期向所述定位基站群发送定位标签广播报文;The positioning tag periodically sends a positioning label broadcast message to the positioning base station group;所述定位标签通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域;Determining, by the positioning tag broadcast response message returned by the at least one positioning base station in the positioning base station group, whether the positioning tag leaves a positioning area of the positioning base station group;在所述定位标签离开所述定位基站群的定位区域的情况下,关闭所述定位标签上的除离场判断功能之外的定位业务功能。And in a case that the positioning tag leaves the positioning area of the positioning base station group, the positioning service function except the departure field determining function on the positioning label is closed.
- 如权利要求1所述的方法,其特征在于,所述定位标签在确定所述定位标签处于所述定位基站群的定位区域的情况下,开启所述定位标签上关闭的定位业务功能。The method according to claim 1, wherein the positioning tag turns on a positioning service function that is turned off on the positioning tag if it is determined that the positioning tag is in a positioning area of the positioning base station group.
- 如权利要求1或2所述的方法,其特征在于,所述定位标签通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域具体包括:The method according to claim 1 or 2, wherein the positioning tag determines whether the positioning tag leaves the positioning base station group by using a positioning tag broadcast response message returned by at least one positioning base station in the positioning base station group. The location area specifically includes:所述定位标签在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;The locating tag monitors a positioning tag broadcast response message returned by the positioning base station in the positioning base station group on a channel that is the same as the ping packet broadcast message;若所述定位标签在所述相同的信道上没有收到所述的定位基站群中的至少一个定位基站返回的定位标签广播回应报文,则确定所述定位标签已经离开所述定位基站群的定位区域。Determining that the positioning tag has left the positioning base station group if the positioning tag does not receive the positioning tag broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel. Positioning area.
- 如权利要求1或2所述的方法,其特征在于,所述定位标签通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位标签是否离开所述定位基站群的定位区域具体包括:The method according to claim 1 or 2, wherein the positioning tag determines whether the positioning tag leaves the positioning base station group by using a positioning tag broadcast response message returned by at least one positioning base station in the positioning base station group. The location area specifically includes:S1:所述定位标签在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;S1: The positioning tag monitors a positioning tag broadcast response message returned by the positioning base station in the positioning base station group on a channel that is the same as the positioning tag broadcast message.S2:所述定位标签在所述相同的信道上收到所述的定位基站群中至少一个定位基站返回的定位标签广播回应报文,所述定位标签广播回应报文包括所述至少一个定位基站的蓝牙地址;S2: The positioning tag receives, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, where the positioning label broadcast response message includes the at least one positioning base station Bluetooth address;S3:所述定位标签确定所述至少一个定位基站的蓝牙地址是否具有规律性,若不具有规律性,则将计数值加1,并在所述计数值未达到设定阈值时,继续执行步骤S1至S3;S3: The positioning tag determines whether the Bluetooth address of the at least one positioning base station has regularity. If there is no regularity, the counting value is increased by 1, and when the counting value does not reach the set threshold, the step further is performed. S1 to S3;S4:在所述计数值达到所述设定阈值时,确定所述定位标签已经离开所述定位基站群的定位区域。S4: When the count value reaches the set threshold, determine that the positioning tag has left the positioning area of the positioning base station group.
- 如权利要求4所述的方法,其特征在于,若在所述步骤S3中所述定位标签确定所述至少一个定位基站的蓝牙地址具有规律性,则所述定位标签确定所述定位标签处于所述定位基站群的定位区域,将所述计数值清零,开启所述定位标签上关闭的定位业务功能。The method according to claim 4, wherein if the positioning tag determines that the Bluetooth address of the at least one positioning base station has regularity in the step S3, the positioning tag determines that the positioning tag is in the Locating the location area of the base station group, clearing the count value, and turning on the positioning service function that is closed on the positioning label.
- 如权利要求4或5所述的方法,其特征在于,所述确定所述至少一个定位基站的蓝牙地址是否具有规律性具体包括如下情况之一: The method according to claim 4 or 5, wherein the determining whether the Bluetooth address of the at least one positioning base station has regularity specifically includes one of the following cases:所述定位区域内多个定位基站的蓝牙地址值相同;The Bluetooth address values of the plurality of positioning base stations in the positioning area are the same;所述定位区域内多个定位基站的蓝牙地址值按照指定步长递增;以及The Bluetooth address values of the plurality of positioning base stations in the positioning area are incremented by a specified step size;所述定位区域内多个定位基站的蓝牙地址值是根据特定算法公式计算得到。The Bluetooth address values of the plurality of positioning base stations in the positioning area are calculated according to a specific algorithm formula.
- 如权利要求2-5所述的任一方法,其特征在于,所述定位标签上关闭的定位业务功能包括至少下述功能之一:定位数据的采集功能、定位数据的计算功能和定位数据的发送功能。The method according to any one of claims 2-5, wherein the positioning service function that is closed on the positioning tag comprises at least one of the following functions: a positioning data collection function, a positioning data calculation function, and a positioning data. Send function.
- 如权利要求1-7所述的任一方法,其特征在于,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,所述特殊离场协议包括SCAN_IND报文和SCAN_REQ报文,所述定位标签广播报文为所述SCAN_IND报文,所述定位标签广播回应报文为所述SCAN_REQ报文,所述特殊离场协议通过修改可扫描广播报文协议得到。The method of any of claims 1-7, wherein the positioning tag broadcast message and the positioning tag broadcast response message adopt a special departure protocol, and the special departure protocol comprises a SCAN_IND message and The SCAN_REQ packet, the locating label broadcast message is the SCAN_IND message, the locating label broadcast response message is the SCAN_REQ message, and the special departure protocol is obtained by modifying a scannable broadcast message protocol.
- 如权利要求8所述的方法,其特征在于,所述特殊离场协议不包括SCAN_REP报文,且所述SCAN_IND报文不包括Data域。The method of claim 8 wherein said special departure protocol does not include a SCAN_REP message and said SCAN_IND message does not include a Data field.
- 如权利要求1-7所述的任一方法,其特征在于,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,所述特殊离场协议包括ADV_IND(1)报文和ADV_IND(2)报文,所述定位标签广播报文为所述ADV_IND(1)报文,所述定位标签广播回应报文为所述ADV_IND(2)报文,所述特殊离场协议通过修改可链接无向广播协议得到。The method of any of claims 1-7, wherein the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol comprises ADV_IND(1) The message and the ADV_IND(2) message, the positioning tag broadcast message is the ADV_IND(1) message, and the positioning tag broadcast response message is the ADV_IND(2) message, the special departure The protocol is obtained by modifying the linkable undirected broadcast protocol.
- 如权利要求10所述的方法,其特征在于,所述ADV_IND(1)和ADV_IND(2)报文不包括Data域,所述ADV_IND(2)中包括ScanA字段携带所述定位基站的蓝牙地址。The method of claim 10, wherein the ADV_IND(1) and ADV_IND(2) messages do not include a Data field, and the ADV_IND(2) includes a ScanA field carrying a Bluetooth address of the positioning base station.
- 如权利要求1-7所述的任一方法,其特征在于,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,所述特殊离场协议包括ADV_NOCONN_IND(1)报文和ADV_NOCONN_IND(2)报文,所述定位标签广播报文为所述ADV_NOCONN_IND(1)报文,所述定位标签广播回应报文为所述ADV_NOCONN_IND(2)报文,所述特殊离场协议通过修改不可链接广播协议得到。The method according to any one of claims 1-7, wherein the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the special departure protocol includes ADV_NOCONN_IND(1) The message and the ADV_NOCONN_IND(2) message, the positioning tag broadcast message is the ADV_NOCONN_IND(1) message, and the positioning tag broadcast response message is the ADV_NOCONN_IND(2) message, the special departure The protocol is obtained by modifying the unlinkable broadcast protocol.
- 如权利要求12所述的方法,其特征在于,所述ADV_NOCONN_IND(1)和ADV_NOCONN_IND(2)报文不包括Data域,所述ADV_NOCONN_IND(2)中包括ScanA字段携带所述定位基站的蓝牙地址。The method of claim 12, wherein the ADV_NOCONN_IND(1) and ADV_NOCONN_IND(2) messages do not include a Data field, and the ADV_NOCONN_IND(2) includes a ScanA field carrying a Bluetooth address of the positioning base station.
- 一种定位方法,应用于定位标签和由至少两个定位基站构成定位基站群所组成的定位系统中,其特征在于,所述方法包括:A positioning method is applied to a positioning system and a positioning system comprising a positioning base station group formed by at least two positioning base stations, wherein the method comprises:所述定位基站群中任一定位基站接收定位标签定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位标签的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;The positioning base station of the positioning base station receives the first positioning label broadcast message that is periodically sent by the positioning label, the first positioning label broadcast message carrying the label information and the address information of the positioning label, the label information Instructing the first positioning label broadcast message to be a special departure protocol message;所述定位基站记录所述定位标签的地址信息;The positioning base station records address information of the positioning tag;所述定位基站根据所述标记信息确定所述定位标签处于所述基站的定位区域,并向所述 定位标签返回定位标签广播回应报文。Determining, by the positioning base station, that the positioning tag is located in a positioning area of the base station according to the marking information, and The positioning tag returns a positioning tag broadcast response message.
- 如权利要求14所述的方法,其特征在于,进一步包括:The method of claim 14 further comprising:若在设定时间内所述定位基站没有收到携带有所述定位标签的地址信息的第二定位标签广播报文,则确定所述定位标签离开所述定位基站的定位区域。If the positioning base station does not receive the second positioning label broadcast message carrying the address information of the positioning tag, the positioning label is determined to leave the positioning area of the positioning base station.
- 如权利要求15所述的方法,其特征在于,进一步包括:The method of claim 15 further comprising:若在设定时间内所述定位基站收到携带有所述定位标签的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;If the positioning base station receives the second positioning tag broadcast message carrying the address information of the positioning tag, the determining whether the tag information in the second positioning tag broadcast message is equal to the set value The marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位标签处于所述定位基站的定位区域,并向所述定位标签返回定位标签广播回应报文;If the tag information in the broadcast packet of the second locating label is equal to the set value, determining that the locating tag is in a locating area of the locating base station, and returning a locating tag broadcast response message to the locating tag;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位标签离开所述定位基站的定位区域。If the flag information in the second positioning tag broadcast message is not equal to the set value, add the count value to 1, and when the count value reaches the set threshold, determine that the positioning tag leaves the location The positioning area of the positioning base station is described.
- 如权利要求16所述的方法,所述标记信息等于设定值表示所述标记信息指示所述的第二定位标签广播报文是为特殊离场协议报文。The method of claim 16, wherein the flag information is equal to a set value indicating that the tag information indicates that the second positioning tag broadcast message is a special departure protocol message.
- 如权利要求14-17所述的任一方法,其特征在于,所述定位标签广播报文和所述定位标签广播回应报文采用特殊离场协议,所述离场协议报文包括SCAN_IND报文和SCAN_REQ报文,所述定位标签广播报文为所述SCAN_IND报文,所述定位标签广播回应报文为所述SCAN_REQ报文,所述特殊离场协议通过修改可扫描广播报文协议得到。The method according to any one of claims 14-17, wherein the positioning label broadcast message and the positioning label broadcast response message adopt a special departure protocol, and the departure protocol message includes a SCAN_IND message. And the SCAN_REQ message, the positioning tag broadcast message is the SCAN_IND message, the positioning tag broadcast response message is the SCAN_REQ message, and the special departure protocol is obtained by modifying a scannable broadcast message protocol.
- 如权利要求18所述的方法,其特征在于,所述特殊离场协议不包括SCAN_REP报文,且所述的标记信息记录在所述所述SCAN_IND报文中的Flag域中,所述SCAN_IND报文不包括Data域。The method according to claim 18, wherein said special departure protocol does not include a SCAN_REP message, and said tag information is recorded in a Flag field in said SCAN_IND message, said SCAN_IND message The text does not include the Data field.
- 一种定位设备,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,其特征在于,所述定位设备包括:A positioning device is applied to a positioning device and a positioning system comprising a positioning base station group composed of at least two positioning base stations, wherein the positioning device comprises:收发单元,用于定期向所述定位基站群发送定位设备广播报文;a transceiver unit, configured to periodically send a positioning device broadcast message to the positioning base station group;处理单元,用于通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位设备是否离开所述定位基站群的定位区域,并在所述定位设备离开所述定位基站群的定位区域的情况下,关闭所述定位设备上的除离场判断功能之外的定位业务功能。a processing unit, configured to determine, by using a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, whether the positioning device leaves a positioning area of the positioning base station group, and leave the positioning in the positioning device In the case of the location area of the base station group, the positioning service function other than the departure determination function on the positioning device is turned off.
- 如权利要求20所述的定位设备,其特征在于,所述处理单元进一步用于在所述定位设备处于所述定位基站群的定位区域的情况下,开启所述定位设备上关闭的定位业务功能。The locating device according to claim 20, wherein the processing unit is further configured to: when the positioning device is in a positioning area of the positioning base station group, turn on a positioning service function that is closed on the positioning device .
- 如权利要求20或21所述的定位设备,其特征在于,所述处理单元通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位设备是否离开所述定位基站群的定位区域具体包括: The locating device according to claim 20 or 21, wherein the processing unit determines whether the positioning device leaves the positioning base station by using a positioning tag broadcast response message returned by at least one positioning base station in the positioning base station group. The location area of the group specifically includes:所述处理单元在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;The processing unit monitors a positioning label broadcast response message returned by the positioning base station in the positioning base station group on a channel that is the same as the positioning label broadcast message;若所述收发单元在所述相同的信道上没有收到所述的定位基站群中的至少一个定位基站返回的定位标签广播回应报文,则所述处理单元确定所述定位设备已经离开所述定位基站群的定位区域。If the transceiver unit does not receive the positioning label broadcast response message returned by the at least one positioning base station in the positioning base station group on the same channel, the processing unit determines that the positioning device has left the Locate the location area of the base station group.
- 如权利要求20或21所述的定位设备,其特征在于,所述处理单元通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位设备是否离开所述定位基站群的定位区域具体包括:The locating device according to claim 20 or 21, wherein the processing unit determines whether the positioning device leaves the positioning base station by using a positioning tag broadcast response message returned by at least one positioning base station in the positioning base station group. The location area of the group specifically includes:S1:所述处理单元在与发送所述定位标签广播报文相同的信道上监听所述定位基站群中的定位基站返回的定位标签广播回应报文;S1: The processing unit monitors a positioning label broadcast response message returned by the positioning base station in the positioning base station group on a channel that is the same as the positioning label broadcast message.S2:所述收发单元在所述相同的信道上收到所述的定位基站群中至少一个定位基站返回的定位标签广播回应报文,所述定位标签广播回应报文包括所述至少一个定位基站的蓝牙地址;S2: The transceiver unit receives, on the same channel, a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, where the positioning label broadcast response message includes the at least one positioning base station Bluetooth address;S3:所述处理单元确定所述至少一个定位基站的蓝牙地址是否具有规律性,若不具有规律性,则将计数值加1,并在所述计数值未达到设定阈值时,继续执行步骤S1至S3;S3: The processing unit determines whether the Bluetooth address of the at least one positioning base station has regularity. If there is no regularity, the counter value is incremented by 1, and when the count value does not reach the set threshold, the step is further executed. S1 to S3;S4:在所述计数值达到所述设定阈值时,确定所述定位设备已经离开所述定位基站群的定位区域。S4: When the count value reaches the set threshold, determine that the positioning device has left the positioning area of the positioning base station group.
- 如权利要求23所述的定位设备,其特征在于,若在所述步骤S3中所述处理单元确定所述至少一个定位基站的蓝牙地址具有规律性,则所述处理单元确定所述定位设备处于所述定位基站群的定位区域,将所述计数值清零,开启所述定位设备上关闭的定位业务功能。The locating device according to claim 23, wherein if the processing unit determines that the Bluetooth address of the at least one positioning base station has regularity in the step S3, the processing unit determines that the positioning device is The positioning area of the positioning base station group is cleared to zero, and the positioning service function that is closed on the positioning device is enabled.
- 一种定位基站,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,所述定位基站为所述定位基站群中的任一定位基站,其特征在于,所述基站包括:A positioning base station is applied to a positioning device and a positioning system comprising a positioning base station group formed by at least two positioning base stations, wherein the positioning base station is any one of the positioning base stations, wherein the The base station includes:收发单元,用于接收所述定位设备定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位设备的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;a transceiver unit, configured to receive a first positioning tag broadcast message that is periodically sent by the positioning device, where the first positioning tag broadcasts a message carrying tag information and address information of the positioning device, where the tag information indicates The first positioning label broadcast message is a special departure protocol message;处理单元,用于所述定位基站记录所述定位设备的地址信息,所述定位基站根据所述标记信息确定所述定位设备处于所述基站的定位区域,并指示所述收发单元向所述定位设备返回定位标签广播回应报文。a processing unit, configured to record, by the positioning base station, address information of the positioning device, where the positioning base station determines, according to the marking information, that the positioning device is located in a positioning area of the base station, and instructs the transceiver unit to perform the positioning The device returns a positioning label broadcast response message.
- 如权利要求25所述的定位基站,其特征下雨,所述处理单元进一步用于:The positioning base station of claim 25, wherein the processing unit is further configured to:若在设定时间内所述收发单元没有收到携带有所述定位设备的地址信息的第二定位标签广播报文,则确定所述定位设备离开所述定位基站的定位区域。If the transceiver unit does not receive the second positioning label broadcast message carrying the address information of the positioning device, the positioning device is determined to leave the positioning area of the positioning base station.
- 如权利要求26所述的定位基站,其特征在于,所述处理单元进一步用于:The positioning base station according to claim 26, wherein the processing unit is further configured to:若在设定时间内所述收发单元收到携带有所述定位设备的地址信息的第二定位标签广播报文,则判断所述第二定位标签广播报文中的标记信息是否等于设定值,所述第二定位标签广播报文中的标记信息用于指示所述第二定位标签广播报文是否为特殊离场协议报文;If the transceiver unit receives the second positioning tag broadcast message carrying the address information of the positioning device, the determining whether the tag information in the second positioning tag broadcast message is equal to the set value The marking information in the second positioning label broadcast message is used to indicate whether the second positioning label broadcast message is a special departure protocol message;如果所述第二定位标签广播报文中的标记信息等于设定值,则确定所述定位设备处于所 述定位基站的定位区域,并向所述定位设备返回定位标签广播回应报文;If the tag information in the second positioning tag broadcast message is equal to the set value, determining that the positioning device is in the location Locating a positioning area of the base station, and returning a positioning label broadcast response message to the positioning device;如果所述第二定位标签广播报文中的标记信息不等于设定值,则将所述计数值加1,并在所述计数值达到所述设定阈值时,确定所述定位设备离开所述定位基站的定位区域。If the flag information in the second positioning tag broadcast message is not equal to the set value, add the count value to 1, and when the count value reaches the set threshold, determine that the positioning device leaves the location The positioning area of the positioning base station is described.
- 如权利要求27所述的定位基站,所述标记信息等于设定值表示所述标记信息指示所述的第二定位标签广播报文是为特殊离场协议报文。The positioning base station according to claim 27, wherein the flag information is equal to a set value indicating that the tag information indicates that the second positioning tag broadcast message is a special departure protocol message.
- 一种定位设备,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,其特征在于,所述定位设备包括:A positioning device is applied to a positioning device and a positioning system comprising a positioning base station group composed of at least two positioning base stations, wherein the positioning device comprises:收发器,用于定期向所述定位基站群发送定位标签广播报文;a transceiver, configured to periodically send a positioning label broadcast message to the positioning base station group;处理器,用于通过所述定位基站群中至少一个定位基站返回的定位标签广播回应报文确定所述定位设备是否离开所述定位基站群的定位区域,并在所述定位设备离开所述定位基站群的定位区域的情况下,关闭所述定位设备上的除离场判断功能之外的定位业务功能。a processor, configured to determine, by using a positioning label broadcast response message returned by at least one positioning base station in the positioning base station group, whether the positioning device leaves a positioning area of the positioning base station group, and leave the positioning in the positioning device In the case of the location area of the base station group, the positioning service function other than the departure determination function on the positioning device is turned off.
- 一种定位基站,应用于定位设备和由至少两个定位基站构成定位基站群所组成的定位系统中,所述定位基站为所述定位基站群中的任一定位基站,其特征在于,所述基站包括:A positioning base station is applied to a positioning device and a positioning system comprising a positioning base station group formed by at least two positioning base stations, wherein the positioning base station is any one of the positioning base stations, wherein the The base station includes:收发器,用于接收定位设备定期发送的第一定位标签广播报文,所述的第一定位标签广播报文携带标记信息以及所述定位设备的地址信息,所述标记信息指示所述第一定位标签广播报文为特殊离场协议报文;a transceiver, configured to receive a first positioning label broadcast message that is periodically sent by the positioning device, where the first positioning label broadcast message carries the tag information and address information of the positioning device, and the tag information indicates the first The locating label broadcast packet is a special departure protocol packet.处理器,用于所述定位基站记录所述定位设备的地址信息,所述定位基站根据所述标记信息确定所述定位设备处于所述基站的定位区域,并指示所述收发单元向所述定位设备返回定位标签广播回应报文。 a processor, configured to record, by the positioning base station, address information of the positioning device, where the positioning base station determines, according to the marking information, that the positioning device is located in a positioning area of the base station, and instructs the transceiver unit to perform the positioning The device returns a positioning label broadcast response message.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611225051.X | 2016-12-27 | ||
CN201611225051.XA CN108260080B (en) | 2016-12-27 | 2016-12-27 | Positioning method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018121084A1 true WO2018121084A1 (en) | 2018-07-05 |
Family
ID=62706819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/109753 WO2018121084A1 (en) | 2016-12-27 | 2017-11-07 | Positioning method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108260080B (en) |
WO (1) | WO2018121084A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572769A (en) * | 2019-08-05 | 2019-12-13 | 杨文国 | Guiding method and system |
CN113724528A (en) * | 2021-09-01 | 2021-11-30 | 南通理工学院 | Intelligent parking guidance system and method thereof |
CN114845367A (en) * | 2022-05-31 | 2022-08-02 | 成都四相致新科技有限公司 | Positioning method, positioning system, positioning device and readable storage medium |
CN115866511A (en) * | 2022-11-18 | 2023-03-28 | 东土科技(宜昌)有限公司 | Monitoring method and device for hardware equipment in positioning system |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112825588B (en) * | 2019-11-21 | 2022-01-21 | 珠海格力电器股份有限公司 | Power supply control method, system and device for tooling vehicle base station and storage medium |
CN112118562A (en) * | 2020-10-26 | 2020-12-22 | 珠海格力电器股份有限公司 | Positioning method, system and storage medium |
CN112291838A (en) * | 2020-10-28 | 2021-01-29 | 深圳市锐尔觅移动通信有限公司 | Positioning module control method and device, electronic equipment and storage medium |
CN113543090A (en) * | 2021-05-14 | 2021-10-22 | 浙江大华技术股份有限公司 | Method, device and storage medium for reducing power consumption of Bluetooth receiving device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7502619B1 (en) * | 2008-01-22 | 2009-03-10 | Katz Daniel A | Location determination of low power wireless devices over a wide area |
CN104780607A (en) * | 2015-04-24 | 2015-07-15 | 杭州华三通信技术有限公司 | Bluetooth wearable device locating method, Bluetooth repeater device and Bluetooth monitor device |
CN204681599U (en) * | 2015-04-29 | 2015-09-30 | 辽宁工业大学 | A kind of indoor fusion navigation system based on WiFi and bluetooth |
CN105553963A (en) * | 2015-12-10 | 2016-05-04 | 小米科技有限责任公司 | Control method and device of positioning services |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104904246A (en) * | 2013-01-10 | 2015-09-09 | 诺基亚技术有限公司 | Handling calibration data |
US9398437B2 (en) * | 2013-12-16 | 2016-07-19 | Nokia Technologies Oy | Method, apparatus, and computer program product for service discovery in wireless short-range communication |
-
2016
- 2016-12-27 CN CN201611225051.XA patent/CN108260080B/en active Active
-
2017
- 2017-11-07 WO PCT/CN2017/109753 patent/WO2018121084A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7502619B1 (en) * | 2008-01-22 | 2009-03-10 | Katz Daniel A | Location determination of low power wireless devices over a wide area |
CN104780607A (en) * | 2015-04-24 | 2015-07-15 | 杭州华三通信技术有限公司 | Bluetooth wearable device locating method, Bluetooth repeater device and Bluetooth monitor device |
CN204681599U (en) * | 2015-04-29 | 2015-09-30 | 辽宁工业大学 | A kind of indoor fusion navigation system based on WiFi and bluetooth |
CN105553963A (en) * | 2015-12-10 | 2016-05-04 | 小米科技有限责任公司 | Control method and device of positioning services |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572769A (en) * | 2019-08-05 | 2019-12-13 | 杨文国 | Guiding method and system |
CN113724528A (en) * | 2021-09-01 | 2021-11-30 | 南通理工学院 | Intelligent parking guidance system and method thereof |
CN114845367A (en) * | 2022-05-31 | 2022-08-02 | 成都四相致新科技有限公司 | Positioning method, positioning system, positioning device and readable storage medium |
CN115866511A (en) * | 2022-11-18 | 2023-03-28 | 东土科技(宜昌)有限公司 | Monitoring method and device for hardware equipment in positioning system |
CN115866511B (en) * | 2022-11-18 | 2023-11-24 | 东土科技(宜昌)有限公司 | Method and device for monitoring hardware equipment in positioning system |
Also Published As
Publication number | Publication date |
---|---|
CN108260080B (en) | 2020-10-23 |
CN108260080A (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018121084A1 (en) | Positioning method, device and system | |
US11343766B2 (en) | Method for indicating downlink service data and device | |
US9332376B2 (en) | Method and technical equipment for short range data transmission | |
EP3095293B1 (en) | Method and apparatus for bluetooth low energy suspend and resume | |
US20140010140A1 (en) | Group media access control message for machine-to-machine devices and method to update a group identifier | |
WO2018126512A1 (en) | Paging signal sending method and paging signal receiving method, apparatus and system | |
US20220353948A1 (en) | Method and device for sidelink communication | |
WO2018227494A1 (en) | Measurement gap configuration method, apparatus, device, terminal and system | |
US8712447B2 (en) | Method of transmitting and receiving a paging message in a mobile communication system | |
US9813988B2 (en) | Method and device for data transmission in wireless local area network | |
KR101941848B1 (en) | Transmission node for energy saving of reception node, the reception node, and communication method thereof | |
CN102695256B (en) | A kind of parallel transmission method for wireless sensor network and system thereof | |
WO2019024590A1 (en) | Method and device for transmitting data | |
TW201547306A (en) | Power management of communication devices | |
US9226229B2 (en) | Method for internet protocol-based sleep mode control using synchronization information | |
CA2507299A1 (en) | Methods and apparatus for expeditiously releasing network resources for a mobile station based on low battery and lost signal conditions | |
US9191894B2 (en) | Power saving for multi-hop communications | |
WO2017167141A1 (en) | Method and device for sending wireless local area network beacon | |
WO2018076356A1 (en) | Communication method, network device, and terminal | |
WO2012155861A1 (en) | Method for mobile terminal to execute specific operations, mobile terminal and communications system | |
US20230292241A1 (en) | Method for data obtaining and communication device | |
WO2023025279A1 (en) | Communication processing method and communication apparatus | |
WO2020107396A1 (en) | Bluetooth positioning method and bluetooth device | |
WO2015089770A1 (en) | Method and apparatus for sta state transition in wlan system | |
US9504045B2 (en) | Bluetooth service estimation apparatus and bluetooth service estimation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17885632 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17885632 Country of ref document: EP Kind code of ref document: A1 |