WO2020192171A1 - Indoor positioning control method, system and electronic device - Google Patents

Indoor positioning control method, system and electronic device Download PDF

Info

Publication number
WO2020192171A1
WO2020192171A1 PCT/CN2019/123028 CN2019123028W WO2020192171A1 WO 2020192171 A1 WO2020192171 A1 WO 2020192171A1 CN 2019123028 W CN2019123028 W CN 2019123028W WO 2020192171 A1 WO2020192171 A1 WO 2020192171A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
positioning
matrix
sub
transmission node
Prior art date
Application number
PCT/CN2019/123028
Other languages
French (fr)
Chinese (zh)
Inventor
赵毓斌
黄峻健
须成忠
Original Assignee
深圳先进技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳先进技术研究院 filed Critical 深圳先进技术研究院
Publication of WO2020192171A1 publication Critical patent/WO2020192171A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the application belongs to the technical field of indoor positioning, and particularly relates to an indoor positioning control method, system and electronic equipment.
  • GPS is currently the most mature positioning technology, but the limitations of its signals that cannot be accurately positioned through buildings have become increasingly prominent, and its effects in indoor positioning and navigation are not ideal.
  • Using wireless technology to achieve positioning has become a development trend in the field of positioning research.
  • a variety of positioning technologies have been proposed for the development of different scenarios, positioning costs, positioning accuracy and other conditions.
  • the more commonly used indoor positioning technologies include:
  • Method based on range detection (call-ID); the user Bluetooth enters the signal coverage range of the Bluetooth access point, the user connects to the access point, the access point transmits the user's information to the server, and the server transmits the location range of the access point Provide users with access points to achieve positioning.
  • the user end can only obtain the location of the Bluetooth coverage area of its access point, and can only achieve room-level positioning, and no precise positioning has been obtained.
  • RSSI Receiveived Signal Strength Indication
  • Positioning method based on querying and broadcasting Bluetooth RSSI value the user searches for and obtains at least three nearby Bluetooth tags that continuously broadcast their own information and RSSI value through a Bluetooth-enabled device, and calculates the indoor coordinates of the user based on the RSSI value , And finally determine the location.
  • this method can accurately locate, but the positioning environment requires a large number of Bluetooth tags, and its continuous broadcast information causes mutual interference of indoor positioning signals, which makes the RSSI value obtained by the user unstable, and the beacon Bluetooth is always in working state and cannot be used in the cloud. Excessive control, energy consumption and loss affect the stability of the system and increase the burden of system maintenance.
  • Wi-Fi positioning technology Due to the popularity of Wi-Fi networks, it is now widely used. Wi-Fi positioning is based on the existing WLAN network, and uses the RSSI value positioning method. Wi-Fi positioning can reach meter-level positioning (1-10 meters). When Wi-Fi is turned on, the device can scan to obtain the signals and IDs of the surrounding APs. The user sends this information to the server, and the server calculates the user's location and feeds it back to the user.
  • APs consume high energy and must be placed where they can be connected to a power source, and their erection costs are relatively high. These problems restrict the use and development of their positioning.
  • the present application provides an indoor positioning control method, system, and electronic device, which aim to solve at least one of the above technical problems in the prior art to a certain extent.
  • An indoor positioning control method includes the following steps:
  • Step a Obtain the user's positioning data through the transmission node
  • Step b Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
  • Step c Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
  • the transmission node includes a Bluetooth function module, a WiFi function module, a micro-processing module, a storage module, and a power supply module
  • the Bluetooth function module is used to obtain users
  • the WiFi function module is used to forward positioning data and communicate with the cloud server
  • the micro-processing module is used to process and send positioning data, and perform energy-saving control of the Bluetooth function module and the WiFi function module.
  • the storage module is used to store the position coordinate information of the transmission node
  • the power supply module is used to supply power to the transmission node;
  • the working state of the transmission node includes a working mode, a waiting mode and an intermittent sleep mode.
  • the technical solution adopted by the embodiment of the present application further includes: the step a further includes: according to the size of the current positioning plane, uniformly dividing the current positioning plane into n*m positioning sub-areas, each positioning sub-areas uses matrix elements a i ,j is numbered; and each positioning sub-area is evenly divided into p*k trigger areas with length and width of c and d respectively, and each trigger area is numbered by matrix elements b t,r ; wherein, the positioning sub-area
  • the trigger area of the area includes independent trigger area, adjacent trigger area and common trigger area.
  • the technical solution adopted by the embodiment of the application further includes: in the step b, the cloud server calculates the positioning sub-region where the user is currently located based on the positioning data through the box algorithm, and calculates the coordinates of the boundary points of the positioning sub-regions respectively The positioning sub-area matrix and the trigger area matrix are extracted, and the energy-saving control matrix is obtained, including:
  • Step b1 Obtain the numbers of the matrix elements corresponding to the positioning sub-area and the numbers of the matrix elements corresponding to the trigger area according to the boundary point coordinates; among them, the coordinates of the boundary point A are reduced, X A /a, Y A /b Round down to get the number x A , y A , element of the matrix element of the positioning subarea
  • the representative positioning sub-region is the location of boundary point A:
  • X A and Y A modulate a and b respectively to obtain the relative coordinates (x 1 , y 1 ) in the positioning sub-region, Round down x 1 /c and y 1 /d to get the subscripts x a , y b , elements of the trigger area matrix
  • the representative trigger area is the specific range of boundary point A in the positioning sub-area:
  • Step b2 The cloud server assigns values to the elements of the positioning sub-regions based on the positioning sub-region numbers calculated by the boundary point coordinates, and constructs the positioning sub-region matrix s A of the boundary point A according to the assignment;
  • Step b3 Assign values to the elements of the trigger area according to the trigger area number calculated by the coordinate of the boundary point to construct the trigger area matrix s A ′ of the boundary point;
  • Step b4 The sum of the positioning sub-area matrix and the trigger area matrix constitutes the control matrix of the boundary point A, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S;
  • the technical solution adopted by the embodiment of the present application further includes: in the step c, the control instruction is generated according to the value of each element in the energy-saving control matrix, and the control instruction is broadcast to the transmission node, and the transmission node
  • the working status is controlled specifically as follows: an element assigned a value of 0 indicates that the positioning sub-area represented by the element is not approached by a user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value of greater than 0 and less than 5 indicates that the user is close to the positioning sub-area, The transmission node in the area enters the waiting mode; the element with a value greater than or equal to 5 indicates that the user is in the location sub-area or the user will arrive in the area, the transmission node in the area enters the working mode, and the element with a value of 8 indicates that the boundary point is located in the location In the sub-area, the transmission nodes in the positioning sub-area are in working mode.
  • an indoor positioning control system including:
  • Transmission node used to obtain user positioning data
  • Cloud server based on the positioning data, calculate the positioning sub-area where the user is currently located by the box algorithm, and calculate the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, according to the
  • the energy-saving control matrix is obtained by locating the sub-area matrix and the triggering area matrix; and generating control instructions according to the energy-saving control matrix, broadcasting the control instructions to the transmission node, and controlling the working state of the transmission node.
  • the technical solution adopted by the embodiment of the application further includes: the transmission node includes a Bluetooth function module, a WiFi function module, a micro-processing module, a storage module, and a power supply module.
  • the Bluetooth function module is used to obtain user positioning data.
  • the functional module is used to forward positioning data and communicate with the cloud server, the micro-processing module is used to process and send positioning data, and perform energy-saving control of the Bluetooth function module and the WiFi function module, and the storage module is used to store and transmit
  • the position coordinate information of the node, the power module is used to supply power to the transmission node;
  • the working state of the transmission node includes a working mode, a waiting mode and an intermittent sleep mode.
  • the technical solution adopted in the embodiment of this application also includes a region dividing module: used to uniformly divide the current positioning plane into n*m positioning subregions according to the size of the current positioning plane, and each positioning subregion uses matrix elements a i, j Numbering; and each positioning sub-region is evenly divided into p*k trigger regions with length and width of c and d respectively, and each trigger region is numbered by matrix elements b t, r ; wherein, the positioning sub-region
  • the trigger area includes independent trigger area, adjacent trigger area and common trigger area.
  • the technical solution adopted in the embodiment of the application further includes: the cloud server specifically includes:
  • Positioning area calculation module used to calculate the current positioning sub-area of the user through the box algorithm based on the positioning data, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element number and trigger of the positioning sub-area according to the boundary point coordinates.
  • the area corresponds to the number of the matrix element; among them, the coordinate of the boundary point A is reduced, X A /a, Y A /b is rounded down to get the number of the matrix element of the positioning sub-area x A , y A , element
  • the representative positioning sub-region is the location of boundary point A:
  • X A and Y A modulate a and b respectively to obtain the relative coordinates (x 1 , y 1 ) in the positioning sub-region, Round down x 1 /c and y 1 /d to get the subscripts x a , y b , elements of the trigger area matrix
  • the representative trigger area is the specific range of boundary point A in the positioning sub-area:
  • Control matrix calculation module used to assign values to the elements of the positioning sub-area according to the positioning sub-area number calculated by the boundary point coordinates, and to construct the positioning sub-area matrix s A of the boundary point A according to the assignment; the trigger area number calculated according to the boundary point coordinates Assign values to the elements of the trigger area to construct the boundary point trigger area matrix s′ A ; the sum of the positioning sub-area matrix and the trigger area matrix constitutes the control matrix of the boundary point A, and the sum of the control matrices of the four boundary points constitutes the energy-saving control Matrix S;
  • the technical solution adopted in the embodiment of the application further includes: the cloud server generates a control instruction according to the value of each element in the energy-saving control matrix, and broadcasts the control instruction to the transmission node, and controls the working state of the transmission node.
  • an element assigned a value of 0 indicates that the location sub-area represented by the element is not close to the user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value greater than 0 and less than 5 indicates that the user is close to the location sub-area, and the transmission node in the area Enter the waiting mode; the element assigned a value of 5 or more indicates that the user is in the positioning sub-area or the user will reach the area, and the transmission node in the area enters the working mode.
  • the element assigned a value of 8 indicates that the boundary point is located in the positioning sub-area.
  • the transmission nodes in the positioning sub-area are in working mode.
  • an electronic device including:
  • At least one processor At least one processor
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform the following operations of the indoor positioning control method described above:
  • Step a Obtain the user's positioning data through the transmission node
  • Step b Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
  • Step c Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
  • the beneficial effects produced by the embodiments of the present application are: the indoor positioning control method, system and electronic equipment of the embodiments of the present application obtain positioning data through the transmission node, and the cloud server performs positioning calculations according to the positioning data, and performs positioning calculations according to the positioning calculations.
  • the working status of transmission nodes in different positioning sub-areas is controlled, and energy saving and consumption reduction of the positioning system is realized.
  • the present application can reduce the interference of positioning signals, reduce the energy consumption of the positioning device, and can meet the positioning requirements of self-positioning and searching and tracking targets.
  • Fig. 1 is a flowchart of an indoor positioning control method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of the division of positioning sub-regions according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the structure of a positioning sub-region according to an embodiment of the present application.
  • Figure 4 is a schematic diagram of the box algorithm
  • Figure 5 is a schematic structural diagram of an indoor positioning control system according to an embodiment of the present application.
  • Figure 6 is a schematic diagram of simulation results
  • FIG. 7 is a schematic diagram of a hardware device structure of an indoor positioning control method provided by an embodiment of the present application.
  • FIG. 1 is a flowchart of an indoor positioning control method according to an embodiment of the present application.
  • the indoor positioning control method of the embodiment of the present application includes the following steps:
  • Step 100 Obtain the positioning data of the user through the transmission node, and transmit the position coordinate information of the transmission node itself and the positioning data to the cloud server;
  • the transmission node of the embodiment of the present application includes a 2.4G and BLE4.0 low-power Bluetooth function module, a 2.4G or 5.8G low-power WiFi function module, a micro-processing module, a storage module, and a power supply module.
  • the Bluetooth function module is used to obtain the user's positioning data, such as the user's Bluetooth signal address, data packet type, channel number, and user sent signal strength RSSI (Received Signal Strength Indication) value and other data.
  • the WiFi function module supports 802.11b/g/n protocol standards and is mainly used for forwarding positioning data and communicating with cloud servers.
  • the transmission node processes and sends positioning data through the micro-processing module and performs energy-saving control of the Bluetooth function module and the WiFi function module.
  • the data processing of the micro-processing module includes screening, integrating and saving positioning data.
  • the transmission node is independently powered by the power supply module, without external power supply.
  • the transmission node saves fixed position coordinate information in the positioning system, and the position coordinate information is determined by the actual layout environment.
  • the acquired positioning data and the position coordinate information of the transmission node itself are sent to the cloud server, so that the cloud server can perform positioning calculation.
  • the transmission node in the embodiment of the present application includes three working states: working mode, waiting mode, and intermittent sleep mode.
  • the cloud server realizes energy saving of the positioning system by controlling the working state of the transmission node.
  • the specific working status is as follows:
  • the transmission node performs a high-frequency search for the user's positioning data, and then sends the positioning data to the cloud server; among them, the search frequency can be set through the cloud server according to the specific use environment.
  • Intermittent sleep mode The transmission node periodically sleeps and wakes up in this mode, and the cycle can be adjusted according to positioning requirements. During sleep, the Bluetooth function module and WiFi function module of the transmission node enter a deep sleep state, and the transmission node consumes almost no energy. When waking up, the WiFi function module of the transmission node is turned on to monitor the control commands of the cloud server.
  • Step 200 Divide the current positioning plane into a certain number of positioning sub-areas, and use matrix elements to respectively number each positioning sub-areas;
  • the division of positioning sub-areas is mainly for reducing the positioning range and managing the working status of transmission nodes in each area.
  • the method of dividing the positioning sub-areas is as follows: according to the size of the positioning plane, the positioning plane is evenly divided into multiple positioning sub-areas with length and width a and b respectively. As shown in Figure 2, the positioning plane is divided into n*m positioning sub-regions. Area, each positioning sub-area is numbered by matrix elements a i, j , and the cloud server can determine the position of each positioning sub-area by querying the number.
  • the positioning sub-area includes three types of trigger areas: an independent trigger area, an adjacent trigger area, and a common trigger area.
  • Each trigger area can trigger the transmission nodes of the surrounding positioning sub-areas to open and expand the positioning area of the positioning plane, so as to avoid the decrease in positioning accuracy caused by users crossing areas.
  • the positioning sub-region is evenly divided into p*k trigger regions with length and width c and d respectively, and each trigger region is numbered by matrix elements b t, r .
  • the part without shading in the middle is an independent trigger area.
  • the user is located in the independent trigger area, it means that the user is temporarily active in the positioning sub-area.
  • the transmission nodes in the positioning sub-area are in working mode, and the positioning sub-area is around The transmission node in the positioning sub-area of is in the waiting mode, waiting for the control command from the cloud server, and the other transmission nodes are in the intermittent sleep mode.
  • the shading of the surrounding horizontal lines is the adjacent trigger area. When the user is located in the adjacent trigger area, it means that the user will cross to the adjacent positioning sub-area.
  • the cloud server will control the waiting mode in the adjacent positioning sub-area in advance.
  • the transmission node enters the working mode to expand the positioning area to ensure positioning accuracy.
  • the grid shading at the end of the circumference is the common trigger area. When the user is positioned in the common trigger area, it is impossible to determine the area the user wants to cross.
  • the cloud server will control the three adjacent positioning sub-areas in advance to be in waiting mode
  • the transmission node enters the working mode to expand the positioning area.
  • Step 300 Based on the positioning data, use the box algorithm to calculate the user's current positioning sub-area, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element numbers of the positioning sub-area and the corresponding matrix elements of the trigger area according to the boundary point coordinates. The number;
  • the box algorithm is specifically: the cloud server converts the positioning data obtained by the transmission node into ranging information, and constructs the box through the box algorithm according to the ranging information from the smart beacon to the user.
  • the inscribed circle of the box is a circle with the smart beacon as the center and the distance converted by the ranging information as the radius.
  • Figure 4 it is a schematic diagram of the box algorithm. More than three boxes can determine the location of the sub-area as shown in the figure. The center of the positioning sub-area is the positioning point of the user.
  • the midpoint A (X A , Y A ), B (X B , Y B ), C (X C , Y C ), D (X D , Y D ) of the midpoint of each side length of the positioning sub-region represents the positioning of the positioning sub-region
  • the boundary is used to determine the positioning sub-areas that overlap with the current positioning sub-areas, and serves as a basis for the cloud server to control the working status of the transmission nodes in each positioning sub-areas.
  • Performing a reduction operation on the boundary point coordinates can obtain the number of the matrix element corresponding to the positioning sub-region.
  • the coordinates of boundary point A are reduced, X A /a, Y A /b are rounded down, and the number x A , y A , element
  • the representative positioning sub-region is the location of the positioning boundary point A:
  • the coordinate of boundary point A is reduced, X A and Y A are modulo a and b respectively, and the relative coordinates (x 1 , y 1 ) in the positioning sub-region can be obtained.
  • y 1 /d is rounded down to get the subscript x a , y b , element of the trigger area matrix
  • the representative trigger area is the specific range of the boundary point A in the positioning sub-area;
  • Cloud server based on elements
  • the control matrix is calculated to perform energy-saving control on the transmission nodes in the positioning sub-area.
  • Step 400 Calculate the positioning sub-area matrix and the trigger area matrix according to the numbers of the matrix elements corresponding to the positioning sub-area and the numbers of the matrix elements corresponding to the trigger area, and finally calculate the energy-saving control matrix;
  • the cloud server assigns values to the elements of the positioning sub-area according to the number of the positioning sub-area calculated by the boundary point coordinates. Taking point A as an example, the cloud server Assign the value of 1 to the elements around the location and the positioning subregion, and assign the value of 0 to other positioning subregions, and construct the positioning subregion matrix s A of the boundary points of the region according to the assignment. As in formula (3), the positioning sub-region matrix with the boundary point at the positioning sub-region a 3,2 is the color region shown in Figure 2.
  • the elements in the matrix are a 2,1 , a 2,2 , a 2,3 , a 3,1 , a 3,2 , a 3,3 , a 4,1 , a 4,2 , a 4,3 are assigned the value 1, and other elements are assigned the value 0.
  • the trigger area element calculated by the server according to the boundary point coordinates Numbers are assigned to the elements of the trigger area to construct the boundary point trigger area matrix s A ′.
  • the sum of the positioning sub-area matrix and the triggering area matrix of the boundary point of the positioning sub-area constitutes the control matrix of the boundary point, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S of the system as in formula (4);
  • Step 500 The cloud server generates a control instruction according to the value of each element in the energy-saving control matrix, and broadcasts the control instruction to the transmission node to control the working state of the transmission node;
  • the cloud server generates a control instruction according to the value of each element in the energy-saving control matrix: an element assigned a value of 0 indicates that the positioning sub-area represented by the element is not approached by a user, and the transmission node in the area enters the intermittent sleep mode; An element greater than 0 and less than 5 indicates that the user is close to the location sub-area, and the transmission node in the area enters the waiting mode; an element assigned a value greater than or equal to 5 indicates that the user is in the location sub-area or the user will arrive in the area, and the transmission node in the area enters Work mode, where an element assigned a value of 8 indicates that the boundary point of the positioning area is located in the positioning sub-area.
  • the cloud server constructs control instructions with row elements, broadcasts the control instructions to the transmission node, and the transmission node extracts the corresponding assigned value according to the matrix element number of the positioning sub-area where it is located, and performs the conversion of the working state according to the assigned value. That is: when the value extracted by the transmission node is greater than or equal to 5, the transmission node in the corresponding positioning subarea executes the working mode; when the value extracted by the transmission node is greater than 0 and less than 5, the transmission node in the corresponding positioning subarea executes Waiting mode; when the value extracted by the transmission node is 0, the transmission node in the corresponding positioning sub-area executes the intermittent sleep mode.
  • FIG. 5 is a schematic structural diagram of an indoor positioning control system according to an embodiment of the present application.
  • the indoor positioning control system of the embodiment of the present application includes a transmission node and a cloud server.
  • the transmission node is used to obtain the user's positioning data, and transmits the position coordinate information and positioning data of the transmission node itself to the cloud server;
  • the cloud server is used to perform positioning calculations according to the position coordinate information and positioning data of the transmission node itself, and according to the positioning The calculation result controls the working status of the transmission node.
  • the transmission node of the embodiment of the present application includes 2.4G and BLE4.0 low-power Bluetooth function modules, 2.4G or 5.8G low-power WiFi function modules, micro-processing modules, storage modules, and power modules.
  • the Bluetooth function module is used to obtain the user's positioning data, such as the user's Bluetooth signal address, data packet type, channel number, and user sent signal strength RSSI (Received Signal Strength Indication) value and other data.
  • the WiFi function module supports 802.11b/g/n protocol standards and is mainly used for forwarding positioning data and communicating with cloud servers.
  • the micro-processing module is used to process and send positioning data and perform energy-saving control of the Bluetooth function module and the WiFi function module.
  • the data processing of the micro-processing module includes screening, integrating and saving positioning data.
  • the power module is used to independently power the transmission node without an external power supply.
  • the transmission node stores fixed position coordinate information in the positioning system, and the position coordinate information is determined by the actual layout environment.
  • the acquired positioning data and the position coordinate information of the transmission node itself are sent to the cloud server, so that the cloud server can perform positioning calculation.
  • the transmission node in the embodiment of the present application includes three working states: working mode, waiting mode and intermittent sleep mode.
  • the cloud server realizes energy saving of the positioning system by controlling the working state of the transmission node.
  • the specific working status is as follows:
  • the transmission node performs a high-frequency search for the user's positioning data, and then sends the positioning data to the cloud server; among them, the search frequency can be set through the cloud server according to the specific use environment.
  • Intermittent sleep mode The transmission node periodically sleeps and wakes up in this mode, and the cycle can be adjusted according to positioning requirements. During sleep, the Bluetooth function module and WiFi function module of the transmission node enter a deep sleep state, and the transmission node consumes almost no energy. When waking up, the WiFi function module of the transmission node is turned on to monitor the control commands of the cloud server.
  • Area division module used to divide the current positioning plane into a certain number of positioning sub-areas, and use matrix elements to number each positioning sub-areas; among them, the division of the positioning sub-areas is mainly to reduce the positioning range and manage each area The working status of the transmission node.
  • the method of dividing the positioning sub-areas is as follows: according to the size of the positioning plane, the positioning plane is evenly divided into multiple positioning sub-areas with length and width a and b respectively. As shown in Figure 2, the positioning plane is divided into n*m positioning sub-regions. Area, each positioning sub-area is numbered by matrix elements a i, j , and the cloud server can determine the position of each positioning sub-area by querying the number.
  • the positioning sub-area includes three types of trigger areas: an independent trigger area, an adjacent trigger area, and a common trigger area.
  • Each trigger area can trigger the transmission nodes of the surrounding positioning sub-areas to open and expand the positioning area of the positioning plane, so as to avoid the decrease in positioning accuracy caused by users crossing areas.
  • the positioning sub-region is evenly divided into p*k trigger regions with length and width c and d respectively, and each trigger region is numbered by matrix elements b t, r .
  • the part without shading in the middle is an independent trigger area.
  • the user is located in the independent trigger area, it means that the user is temporarily active in the positioning sub-area.
  • the transmission nodes in the positioning sub-area are in working mode, and the positioning sub-area is around The transmission node in the positioning sub-area of is in the waiting mode, waiting for the control command from the cloud server, and the other transmission nodes are in the intermittent sleep mode.
  • the shading of the surrounding horizontal lines is the adjacent trigger area. When the user is located in the adjacent trigger area, it means that the user will cross to the adjacent positioning sub-area.
  • the cloud server will control the waiting mode in the adjacent positioning sub-area in advance.
  • the transmission node enters the working mode to expand the positioning area to ensure positioning accuracy.
  • the grid shading at the end of the circumference is the common trigger area. When the user is positioned in the common trigger area, it is impossible to determine the area the user wants to cross.
  • the cloud server will control the three adjacent positioning sub-areas in advance to be in waiting mode
  • the transmission node enters the working mode to expand the positioning area.
  • the cloud server specifically includes:
  • Positioning area calculation module used to calculate the current positioning sub-area of the user through the box algorithm based on the positioning data, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element number and trigger of the positioning sub-area according to the boundary point coordinates.
  • the area corresponds to the number of the matrix element;
  • the box algorithm is specifically: the cloud server converts the positioning data obtained by the transmission node into distance measurement information, and builds the box through the box algorithm based on the distance measurement information from the smart beacon to the user.
  • the inscribed circle of the box is a circle with the smart beacon as the center and the distance converted by the ranging information as the radius. As shown in Figure 4, it is a schematic diagram of the box algorithm.
  • More than three boxes can determine the location of the sub-area as shown in the figure.
  • the center of the positioning sub-area is the positioning point of the user.
  • the midpoints A (X A , Y A ), B (X B , Y B ), C (X C , Y C ), and D (X D , Y D ) of each side of the positioning sub-region represent the positioning of the positioning sub-region
  • the boundary is used to determine the positioning sub-areas that overlap with the current positioning sub-areas, and serves as a basis for the cloud server to control the working status of the transmission nodes in each positioning sub-areas.
  • Performing a reduction operation on the boundary point coordinates can obtain the number of the matrix element corresponding to the positioning sub-region.
  • the coordinates of boundary point A are reduced, X A /a, Y A /b are rounded down, and the number x A , y A , element
  • the representative positioning sub-region is the location of the positioning boundary point A:
  • the coordinate of boundary point A is reduced, X A and Y A are modulo a and b respectively, and the relative coordinates (x 1 , y 1 ) in the positioning sub-region can be obtained.
  • y 1 /d is rounded down to get the subscript x a , y b , element of the trigger area matrix
  • the representative trigger area is the specific range of the boundary point A in the positioning sub-area;
  • Cloud server based on elements
  • the control matrix is calculated to perform energy-saving control on the transmission nodes in the positioning sub-area.
  • Control matrix calculation module used to calculate the positioning sub-area matrix and the triggering area matrix according to the number of the matrix element corresponding to the positioning sub-area and the number of the matrix element corresponding to the trigger area, and finally calculate the energy-saving control matrix; the cloud server is based on the boundary point coordinates The calculated positioning sub-area number assigns values to the positioning sub-area elements. Taking point A as an example, the cloud server Assign the value of 1 to the elements around the location and the positioning subregion, and assign the value of 0 to other positioning subregions, and construct the positioning subregion matrix s A of the boundary points of the region according to the assignment. As in formula (3), the positioning sub-region matrix with the boundary point at the positioning sub-region a 3,2 is the color region shown in Figure 2.
  • the elements in the matrix are a 2,1 , a 2,2 , a 2,3 , a 3,1 , a 3,2 , a 3,3 , a 4,1 , a 4,2 , a 4,3 are assigned the value 1, and other elements are assigned the value 0.
  • the trigger area element calculated by the cloud server according to the boundary point coordinates Numbers are assigned to the elements of the trigger area to construct the boundary point trigger area matrix s A ′.
  • the sum of the positioning sub-area matrix and the triggering area matrix of the boundary point of the positioning sub-area constitutes the control matrix of the boundary point, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S of the system as in formula (4);
  • Control module used to generate control instructions according to the value of each element in the energy-saving control matrix, and broadcast the control instruction to the transmission node to control the working state of the transmission node; among them, to generate the control instruction according to the value of each element in the energy-saving control matrix Specifically: an element assigned a value of 0 indicates that the location sub-area represented by the element is not close to the user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value greater than 0 and less than 5 indicates that the user is close to the location sub-area, and the transmission in the area The node enters the waiting mode; the element assigned a value greater than or equal to 5 indicates that the user is in the positioning sub-area or the user will arrive in the area, and the transmission node in the area enters the working mode.
  • the element assigned a value of 8 indicates that the boundary point of the positioning area is located in the location Within the sub-region.
  • the cloud server constructs control instructions with row elements, broadcasts the control instructions to the transmission node, and the transmission node extracts the corresponding assignment value according to the matrix element number of the positioning sub-area where it is located, and performs the working status according to the assignment value Conversion. That is: when the value extracted by the transmission node is greater than or equal to 5, the transmission node in the corresponding positioning subarea executes the working mode; when the value extracted by the transmission node is greater than 0 and less than 5, the transmission node in the corresponding positioning subarea executes Waiting mode; when the value extracted by the transmission node is 0, the transmission node in the corresponding positioning sub-area executes the intermittent sleep mode.
  • FIG. 6 is a schematic diagram of the simulation results.
  • the simulation process is as follows: The 60*60m 2 positioning plane is divided into 6*6 positioning sub-areas with length and width of 10m. In the positioning sub-area, there are 5*5 trigger areas with length and width of 2m. It is assumed to be obtained by the box algorithm The coordinates of the boundary points of the positioning area are A(24,17), B(23,17), C(23.5,16.5), D(23.5,18.5). After the area matching calculation, the shaded area in Fig. 6 can be obtained. The four boundary points are all located in the positioning sub-area represented by the element a 3 , 2. Therefore, the positioning sub-area matrix of the boundary points is the same as s, as in formula (5):
  • Point D is located in the adjacent trigger area on the right side of the positioning sub-area, and the trigger area matrix is s d ′ as in formula (7):
  • control matrix S The sum of the positioning sub-area matrix and the trigger area matrix of all boundary points is the control matrix S, as in formula (8):
  • the control command string [000000 444000 485000 444000 000000 000000] can be obtained.
  • the positioning sub-regions corresponding to the elements a 3,2 and a 3,3 are shown in Fig.6.
  • the transmission nodes in the a 3,2 and a 3,3 regions perform the working mode, and the elements a 2,1 , a 2,2 , a 2, 3 , a 3,1 , a 4,1 , a 4,2 , a 4,3 corresponding to the transmission node of the positioning sub-area execute the waiting mode, and other transmission nodes execute the intermittent sleep mode.
  • the simulation result proves that the positioning accuracy of this application can also reach the required target, proving its feasibility.
  • FIG. 7 is a schematic diagram of a hardware device structure of an indoor positioning control method provided by an embodiment of the present application.
  • the device includes one or more processors and memory. Taking a processor as an example, the device may also include: an input system and an output system.
  • the processor, the memory, the input system, and the output system may be connected by a bus or in other ways.
  • the connection by a bus is taken as an example.
  • the memory can be used to store non-transitory software programs, non-transitory computer executable programs, and modules.
  • the processor executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory, that is, realizing the processing methods of the foregoing method embodiments.
  • the memory may include a program storage area and a data storage area, where the program storage area can store an operating system and an application program required by at least one function; the data storage area can store data and the like.
  • the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid state storage devices.
  • the storage may optionally include storage remotely arranged with respect to the processor, and these remote storages may be connected to the processing system through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input system can receive input digital or character information, and generate signal input.
  • the output system may include display devices such as a display screen.
  • the one or more modules are stored in the memory, and when executed by the one or more processors, the following operations of any of the foregoing method embodiments are performed:
  • Step a Obtain the user's positioning data through the transmission node
  • Step b Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
  • Step c Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
  • the embodiments of the present application provide a non-transitory (non-volatile) computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions can perform the following operations:
  • Step a Obtain the user's positioning data through the transmission node
  • Step b Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
  • Step c Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
  • the embodiment of the present application provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer To make the computer do the following:
  • Step a Obtain the user's positioning data through the transmission node
  • Step b Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
  • Step c Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
  • the indoor positioning control method, system and electronic device of the embodiments of the application obtain positioning data through the transmission node, and the cloud server performs positioning calculation according to the positioning data, and controls the working status of the transmission node in different positioning sub-regions according to the positioning calculation result to realize the positioning system Energy saving.
  • the present application can reduce the interference of positioning signals, reduce the energy consumption of the positioning device, and can meet the positioning requirements of self-positioning and searching and tracking targets.

Abstract

The present application relates to an indoor positioning control method, a system and an electronic device. The method comprises: step a: obtaining positioning data of a user by means of a transmission node; step b: a cloud server calculating the positioning sub-area in which the user is currently located on the basis of the positioning data by means of a box algorithm, calculating a positioning sub-area matrix and a trigger area matrix according to boundary point coordinates of the positioning sub-area, and obtaining an energy-saving control matrix according to the positioning sub-area matrix and the trigger area matrix; and step c: generating a control command according to the energy-saving control matrix, and broadcasting the control command to the transmission node to control the working state of the transmission node. In the present application, positioning data is obtained by means of the transmission node, and the cloud server performs positioning calculation according to the positioning data, and controls the working states of transmission nodes in different positioning sub-areas according to positioning calculation results such that the positioning system saves energy and reduces consumption.

Description

一种室内定位控制方法、系统及电子设备Indoor positioning control method, system and electronic equipment 技术领域Technical field
本申请属于室内定位技术领域,特别涉及一种室内定位控制方法、系统及电子设备。The application belongs to the technical field of indoor positioning, and particularly relates to an indoor positioning control method, system and electronic equipment.
背景技术Background technique
现如今,室内定位已经成为当下一大研究热点。GPS是目前最成熟的定位技术,但是其信号无法透过建筑物进行精准定位的局限性日渐凸显,它在室内定位导航的效果并不理想。利用无线技术实现定位已成为定位研究领域的发展趋势。对于不同的场景、定位成本、定位精度等条件发展提出了多种定位技术。Nowadays, indoor positioning has become a major research focus. GPS is currently the most mature positioning technology, but the limitations of its signals that cannot be accurately positioned through buildings have become increasingly prominent, and its effects in indoor positioning and navigation are not ideal. Using wireless technology to achieve positioning has become a development trend in the field of positioning research. A variety of positioning technologies have been proposed for the development of different scenarios, positioning costs, positioning accuracy and other conditions.
目前较为常用的室内定位技术包括:At present, the more commonly used indoor positioning technologies include:
1:基于范围检测的方法(call-ID);用户蓝牙进入到蓝牙接入点信号覆盖范围,用户连接接入点,接入点将用户的信息传输到服务器,服务器将接入点的位置范围通过接入点提供给用户实现定位。用户端只能得到其接入点蓝牙所覆盖范围的位置,只能达到房间级别的定位,并未有得到精确定位。1: Method based on range detection (call-ID); the user Bluetooth enters the signal coverage range of the Bluetooth access point, the user connects to the access point, the access point transmits the user's information to the server, and the server transmits the location range of the access point Provide users with access points to achieve positioning. The user end can only obtain the location of the Bluetooth coverage area of its access point, and can only achieve room-level positioning, and no precise positioning has been obtained.
2:基于连接标签蓝牙获取其RSSI(Received Signal Strength Indication)值的定位方法;用户蓝牙搜索并接入定位的标签蓝牙,获取标签蓝牙的位置信息和RSSI值。通过RSSI值计算出用户所在蓝牙覆盖的范围的具体范围,定位精度虽然比房间级有所提高,但是仍然还是一个较大的位置范围,而且与标签蓝牙建立连接的时间过长,影响了定位体验效果。2: A positioning method based on the connection tag Bluetooth to obtain its RSSI (Received Signal Strength Indication) value; the user Bluetooth searches for and accesses the positioned tag Bluetooth to obtain the location information and RSSI value of the tag Bluetooth. Calculate the specific range of the Bluetooth coverage of the user through the RSSI value. Although the positioning accuracy is higher than that of the room level, it is still a larger position range, and it takes too long to establish a connection with the tag Bluetooth, which affects the positioning experience effect.
3:基于查询广播蓝牙RSSI值的定位方法;用户通过具备蓝牙功能的设备搜索并获取附近最少三个不断广播自身信息的标签蓝牙的位置信息和RSSI值,根据RSSI值计算出用户所在室内的坐标,最终确定位置。该方法虽能够精确定 位,但是定位环境需要布置大量的标签蓝牙,而其不断的广播信息造成室内定位信号的相互干扰,使得用户获取的RSSI值不稳定,信标蓝牙一直处于工作状态无法进行云端控制,能耗和损耗过大,影响了系统的稳定,并增加了系统维护的负担。3: Positioning method based on querying and broadcasting Bluetooth RSSI value; the user searches for and obtains at least three nearby Bluetooth tags that continuously broadcast their own information and RSSI value through a Bluetooth-enabled device, and calculates the indoor coordinates of the user based on the RSSI value , And finally determine the location. Although this method can accurately locate, but the positioning environment requires a large number of Bluetooth tags, and its continuous broadcast information causes mutual interference of indoor positioning signals, which makes the RSSI value obtained by the user unstable, and the beacon Bluetooth is always in working state and cannot be used in the cloud. Excessive control, energy consumption and loss affect the stability of the system and increase the burden of system maintenance.
4:Wi-Fi定位技术:由于Wi-Fi网络的普及,现应用广泛。Wi-Fi定位基于现有WLAN网络,采用获取RSSI值定位方式。Wi-Fi定位可以达到米级定位(1~10米)。设备在开启Wi-Fi的情况下,可以扫描获得周围AP的信号和ID,用户将这些信息发送到服务器,由服务器将用户位置计算出来并反馈给用户。然而AP的耗能较高,必须布置在能接入电源的位置,而其架设成本也相对较高,这些问题制约了其定位的使用和发展。4: Wi-Fi positioning technology: Due to the popularity of Wi-Fi networks, it is now widely used. Wi-Fi positioning is based on the existing WLAN network, and uses the RSSI value positioning method. Wi-Fi positioning can reach meter-level positioning (1-10 meters). When Wi-Fi is turned on, the device can scan to obtain the signals and IDs of the surrounding APs. The user sends this information to the server, and the server calculates the user's location and feeds it back to the user. However, APs consume high energy and must be placed where they can be connected to a power source, and their erection costs are relatively high. These problems restrict the use and development of their positioning.
基于现有室内定位技术存在的技术问题,有必要提供一种新的室内定位方法,以减少定位信号的干扰,降低定位装置的耗能,并能够满足自身定位和搜索追踪目标的定位需求。Based on the technical problems existing in the existing indoor positioning technology, it is necessary to provide a new indoor positioning method to reduce the interference of the positioning signal, reduce the energy consumption of the positioning device, and meet the positioning needs of self-positioning and searching and tracking targets.
发明内容Summary of the invention
本申请提供了一种室内定位控制方法、系统及电子设备,旨在至少在一定程度上解决现有技术中的上述技术问题之一。The present application provides an indoor positioning control method, system, and electronic device, which aim to solve at least one of the above technical problems in the prior art to a certain extent.
为了解决上述问题,本申请提供了如下技术方案:In order to solve the above-mentioned problems, this application provides the following technical solutions:
一种室内定位控制方法,包括以下步骤:An indoor positioning control method includes the following steps:
步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制 矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
本申请实施例采取的技术方案还包括:在所述步骤a中,所述传输节点包括蓝牙功能模块、WiFi功能模块、微处理模块、存储模块和电源模块,所述蓝牙功能模块用于获取用户的定位数据,所述WiFi功能模块用于定位数据的转发以及和云端服务器通信,所述微处理模块用于定位数据的处理、发送,并执行对蓝牙功能模块和WiFi功能模块的节能控制,所述存储模块用于存储传输节点的位置坐标信息,所述电源模块用于向传输节点供电;所述传输节点的工作状态包括工作模式、等待模式和间歇休眠模式。The technical solution adopted by the embodiment of the application further includes: in the step a, the transmission node includes a Bluetooth function module, a WiFi function module, a micro-processing module, a storage module, and a power supply module, and the Bluetooth function module is used to obtain users The WiFi function module is used to forward positioning data and communicate with the cloud server, and the micro-processing module is used to process and send positioning data, and perform energy-saving control of the Bluetooth function module and the WiFi function module. The storage module is used to store the position coordinate information of the transmission node, and the power supply module is used to supply power to the transmission node; the working state of the transmission node includes a working mode, a waiting mode and an intermittent sleep mode.
本申请实施例采取的技术方案还包括:所述步骤a还包括:根据当前定位平面的尺寸,均匀将当前定位平面划分为n*m个定位子区域,每个定位子区域以矩阵元素a i,j进行编号;并将每个定位子区域均匀划分为长宽分别为c,d的p*k个触发区域,每个触发区域以矩阵元素b t,r进行编号;其中,所述定位子区域的触发区域包括独立触发区域、相邻触发区域和公共触发区域。 The technical solution adopted by the embodiment of the present application further includes: the step a further includes: according to the size of the current positioning plane, uniformly dividing the current positioning plane into n*m positioning sub-areas, each positioning sub-areas uses matrix elements a i ,j is numbered; and each positioning sub-area is evenly divided into p*k trigger areas with length and width of c and d respectively, and each trigger area is numbered by matrix elements b t,r ; wherein, the positioning sub-area The trigger area of the area includes independent trigger area, adjacent trigger area and common trigger area.
本申请实施例采取的技术方案还包括:在所述步骤b中,所述云端服务器基于定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,得到节能控制矩阵具体包括:The technical solution adopted by the embodiment of the application further includes: in the step b, the cloud server calculates the positioning sub-region where the user is currently located based on the positioning data through the box algorithm, and calculates the coordinates of the boundary points of the positioning sub-regions respectively The positioning sub-area matrix and the trigger area matrix are extracted, and the energy-saving control matrix is obtained, including:
步骤b1:根据所述边界点坐标分别获取定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号;其中,对边界点A的坐标进行缩小运算,X A/a,Y A/b向下取整得到定位子区域矩阵元素的编号x A,y A,元素
Figure PCTCN2019123028-appb-000001
代表的定位子区域为边界点A所在位置:
Step b1: Obtain the numbers of the matrix elements corresponding to the positioning sub-area and the numbers of the matrix elements corresponding to the trigger area according to the boundary point coordinates; among them, the coordinates of the boundary point A are reduced, X A /a, Y A /b Round down to get the number x A , y A , element of the matrix element of the positioning subarea
Figure PCTCN2019123028-appb-000001
The representative positioning sub-region is the location of boundary point A:
Figure PCTCN2019123028-appb-000002
Figure PCTCN2019123028-appb-000002
对边界点A所在位置进行两次缩小运算得到触发区域对应矩阵元素的编号,X A,Y A分别对a,b取模,得到在定位子区域中的相对坐标(x 1,y 1),对x 1/c,y 1/d向下取整得到触发区域矩阵元素下标x a,y b,元素
Figure PCTCN2019123028-appb-000003
代表的触发区域即为边界点A在定位子区域的具体范围:
Perform two reduction operations on the location of the boundary point A to obtain the number of the matrix element corresponding to the trigger area. X A and Y A modulate a and b respectively to obtain the relative coordinates (x 1 , y 1 ) in the positioning sub-region, Round down x 1 /c and y 1 /d to get the subscripts x a , y b , elements of the trigger area matrix
Figure PCTCN2019123028-appb-000003
The representative trigger area is the specific range of boundary point A in the positioning sub-area:
Figure PCTCN2019123028-appb-000004
Figure PCTCN2019123028-appb-000004
步骤b2:云端服务器根据边界点坐标计算出的定位子区域编号对定位子区域元素进行赋值,根据赋值构建边界点A的定位子区域矩阵s AStep b2: The cloud server assigns values to the elements of the positioning sub-regions based on the positioning sub-region numbers calculated by the boundary point coordinates, and constructs the positioning sub-region matrix s A of the boundary point A according to the assignment;
步骤b3:根据边界点坐标计算出的触发区域编号对触发区域元素进行赋值,构建边界点的触发区域矩阵s A′; Step b3: Assign values to the elements of the trigger area according to the trigger area number calculated by the coordinate of the boundary point to construct the trigger area matrix s A ′ of the boundary point;
步骤b4:所述定位子区域矩阵与触发区域矩阵之和构成边界点A的控制矩阵,四个边界点的控制矩阵之和构成节能控制矩阵S;Step b4: The sum of the positioning sub-area matrix and the trigger area matrix constitutes the control matrix of the boundary point A, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S;
S=∑(s+s′)。S=∑(s+s').
本申请实施例采取的技术方案还包括:在所述步骤c中,所述根据节能控制矩阵中各个元素的值生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制具体为:赋值为0的元素表示该元素所代表的定位子区域没有用户靠近,区域内的传输节点进入间歇休眠模式;赋值大于0小于5的元素表示用户靠近该定位子区域,区域内的传输节点进入等待模式;赋值大于等于5的元素表示用户在该定位子区域或者用户将会到达该区域,区域内的传输节点进入工作模式,赋值为8的元素表示边界点位于该定位子区域内,该定位子区域内的传输节点处于工作模式。The technical solution adopted by the embodiment of the present application further includes: in the step c, the control instruction is generated according to the value of each element in the energy-saving control matrix, and the control instruction is broadcast to the transmission node, and the transmission node The working status is controlled specifically as follows: an element assigned a value of 0 indicates that the positioning sub-area represented by the element is not approached by a user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value of greater than 0 and less than 5 indicates that the user is close to the positioning sub-area, The transmission node in the area enters the waiting mode; the element with a value greater than or equal to 5 indicates that the user is in the location sub-area or the user will arrive in the area, the transmission node in the area enters the working mode, and the element with a value of 8 indicates that the boundary point is located in the location In the sub-area, the transmission nodes in the positioning sub-area are in working mode.
本申请实施例采取的另一技术方案为:一种室内定位控制系统,包括:Another technical solution adopted in the embodiment of the present application is: an indoor positioning control system, including:
传输节点:用于获取用户的定位数据;Transmission node: used to obtain user positioning data;
云端服务器:用于基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;并根据所述节能控制矩阵生成控制指令,将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Cloud server: based on the positioning data, calculate the positioning sub-area where the user is currently located by the box algorithm, and calculate the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, according to the The energy-saving control matrix is obtained by locating the sub-area matrix and the triggering area matrix; and generating control instructions according to the energy-saving control matrix, broadcasting the control instructions to the transmission node, and controlling the working state of the transmission node.
本申请实施例采取的技术方案还包括:所述传输节点包括蓝牙功能模块、WiFi功能模块、微处理模块、存储模块和电源模块,所述蓝牙功能模块用于获取用户的定位数据,所述WiFi功能模块用于定位数据的转发以及和云端服务器通信,所述微处理模块用于定位数据的处理、发送,并执行对蓝牙功能模块和WiFi功能模块的节能控制,所述存储模块用于存储传输节点的位置坐标信息,所述电源模块用于向传输节点供电;所述传输节点的工作状态包括工作模式、等待模式和间歇休眠模式。The technical solution adopted by the embodiment of the application further includes: the transmission node includes a Bluetooth function module, a WiFi function module, a micro-processing module, a storage module, and a power supply module. The Bluetooth function module is used to obtain user positioning data. The functional module is used to forward positioning data and communicate with the cloud server, the micro-processing module is used to process and send positioning data, and perform energy-saving control of the Bluetooth function module and the WiFi function module, and the storage module is used to store and transmit The position coordinate information of the node, the power module is used to supply power to the transmission node; the working state of the transmission node includes a working mode, a waiting mode and an intermittent sleep mode.
本申请实施例采取的技术方案还包括区域划分模块:用于根据当前定位平面的尺寸,均匀将当前定位平面划分为n*m个定位子区域,每个定位子区域以矩阵元素a i,j进行编号;并将每个定位子区域均匀划分为长宽分别为c,d的p*k个触发区域,每个触发区域以矩阵元素b t,r进行编号;其中,所述定位子区域的触发区域包括独立触发区域、相邻触发区域和公共触发区域。 The technical solution adopted in the embodiment of this application also includes a region dividing module: used to uniformly divide the current positioning plane into n*m positioning subregions according to the size of the current positioning plane, and each positioning subregion uses matrix elements a i, j Numbering; and each positioning sub-region is evenly divided into p*k trigger regions with length and width of c and d respectively, and each trigger region is numbered by matrix elements b t, r ; wherein, the positioning sub-region The trigger area includes independent trigger area, adjacent trigger area and common trigger area.
本申请实施例采取的技术方案还包括:所述云端服务器具体包括:The technical solution adopted in the embodiment of the application further includes: the cloud server specifically includes:
定位区域计算模块:用于基于定位数据,通过盒子算法计算出用户当前所在的定位子区域,根据定位子区域获得边界点坐标,并根据边界点坐标分别获取定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号;其中, 对边界点A的坐标进行缩小运算,X A/a,Y A/b向下取整得到定位子区域矩阵元素的编号x A,y A,元素
Figure PCTCN2019123028-appb-000005
代表的定位子区域为边界点A所在位置:
Positioning area calculation module: used to calculate the current positioning sub-area of the user through the box algorithm based on the positioning data, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element number and trigger of the positioning sub-area according to the boundary point coordinates. The area corresponds to the number of the matrix element; among them, the coordinate of the boundary point A is reduced, X A /a, Y A /b is rounded down to get the number of the matrix element of the positioning sub-area x A , y A , element
Figure PCTCN2019123028-appb-000005
The representative positioning sub-region is the location of boundary point A:
Figure PCTCN2019123028-appb-000006
Figure PCTCN2019123028-appb-000006
对边界点A所在位置进行两次缩小运算得到触发区域对应矩阵元素的编号,X A,Y A分别对a,b取模,得到在定位子区域中的相对坐标(x 1,y 1),对x 1/c,y 1/d向下取整得到触发区域矩阵元素下标x a,y b,元素
Figure PCTCN2019123028-appb-000007
代表的触发区域即为边界点A在定位子区域的具体范围:
Perform two reduction operations on the location of the boundary point A to obtain the number of the matrix element corresponding to the trigger area. X A and Y A modulate a and b respectively to obtain the relative coordinates (x 1 , y 1 ) in the positioning sub-region, Round down x 1 /c and y 1 /d to get the subscripts x a , y b , elements of the trigger area matrix
Figure PCTCN2019123028-appb-000007
The representative trigger area is the specific range of boundary point A in the positioning sub-area:
Figure PCTCN2019123028-appb-000008
Figure PCTCN2019123028-appb-000008
控制矩阵计算模块:用于根据边界点坐标计算出的定位子区域编号对定位子区域元素进行赋值,根据赋值构建边界点A的定位子区域矩阵s A;根据边界点坐标计算出的触发区域编号对触发区域元素进行赋值,构建边界点的触发区域矩阵s′ A;所述定位子区域矩阵与触发区域矩阵之和构成边界点A的控制矩阵,四个边界点的控制矩阵之和构成节能控制矩阵S; Control matrix calculation module: used to assign values to the elements of the positioning sub-area according to the positioning sub-area number calculated by the boundary point coordinates, and to construct the positioning sub-area matrix s A of the boundary point A according to the assignment; the trigger area number calculated according to the boundary point coordinates Assign values to the elements of the trigger area to construct the boundary point trigger area matrix s′ A ; the sum of the positioning sub-area matrix and the trigger area matrix constitutes the control matrix of the boundary point A, and the sum of the control matrices of the four boundary points constitutes the energy-saving control Matrix S;
S=∑(s+s′)。S=∑(s+s').
本申请实施例采取的技术方案还包括:所述云端服务器根据节能控制矩阵中各个元素的值生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制具体为:赋值为0的元素表示该元素所代表的定位子区域没有用户靠近,区域内的传输节点进入间歇休眠模式;赋值大于0小于5的元素表示用户靠近该定位子区域,区域内的传输节点进入等待模式;赋值大于等于5的元素表示用户在该定位子区域或者用户将会到达该区域,区域内的传输节点进入工作模式,赋值为8的元素表示边界点位于该定位子区域内, 该定位子区域内的传输节点处于工作模式。The technical solution adopted in the embodiment of the application further includes: the cloud server generates a control instruction according to the value of each element in the energy-saving control matrix, and broadcasts the control instruction to the transmission node, and controls the working state of the transmission node. As: an element assigned a value of 0 indicates that the location sub-area represented by the element is not close to the user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value greater than 0 and less than 5 indicates that the user is close to the location sub-area, and the transmission node in the area Enter the waiting mode; the element assigned a value of 5 or more indicates that the user is in the positioning sub-area or the user will reach the area, and the transmission node in the area enters the working mode. The element assigned a value of 8 indicates that the boundary point is located in the positioning sub-area. The transmission nodes in the positioning sub-area are in working mode.
本申请实施例采取的又一技术方案为:一种电子设备,包括:Another technical solution adopted by the embodiments of the present application is: an electronic device, including:
至少一个处理器;以及At least one processor; and
与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的室内定位控制方法的以下操作:The memory stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform the following operations of the indoor positioning control method described above:
步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
相对于现有技术,本申请实施例产生的有益效果在于:本申请实施例的室内定位控制方法、系统及电子设备通过传输节点获取定位数据,云端服务器根据定位数据进行定位计算,并根据定位计算结果控制不同定位子区域内传输节点的工作状态,实现定位系统节能降耗。同时,本申请在保证定位精度的前提下,可以减少定位信号的干扰,降低定位装置的耗能,能够满足自身定位和搜索追踪目标的定位需求。Compared with the prior art, the beneficial effects produced by the embodiments of the present application are: the indoor positioning control method, system and electronic equipment of the embodiments of the present application obtain positioning data through the transmission node, and the cloud server performs positioning calculations according to the positioning data, and performs positioning calculations according to the positioning calculations. As a result, the working status of transmission nodes in different positioning sub-areas is controlled, and energy saving and consumption reduction of the positioning system is realized. At the same time, under the premise of ensuring positioning accuracy, the present application can reduce the interference of positioning signals, reduce the energy consumption of the positioning device, and can meet the positioning requirements of self-positioning and searching and tracking targets.
附图说明Description of the drawings
图1是本申请实施例的室内定位控制方法的流程图;Fig. 1 is a flowchart of an indoor positioning control method according to an embodiment of the present application;
图2是本申请实施例的定位子区域划分示意图;FIG. 2 is a schematic diagram of the division of positioning sub-regions according to an embodiment of the present application;
图3是本申请实施例的定位子区域结构示意图;FIG. 3 is a schematic diagram of the structure of a positioning sub-region according to an embodiment of the present application;
图4为盒子算法示意图;Figure 4 is a schematic diagram of the box algorithm;
图5是本申请实施例的室内定位控制系统的结构示意图;Figure 5 is a schematic structural diagram of an indoor positioning control system according to an embodiment of the present application;
图6为仿真结果示意图;Figure 6 is a schematic diagram of simulation results;
图7是本申请实施例提供的室内定位控制方法的硬件设备结构示意图。FIG. 7 is a schematic diagram of a hardware device structure of an indoor positioning control method provided by an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and not used to limit the application.
请参阅图1,是本申请实施例的室内定位控制方法的流程图。本申请实施例的室内定位控制方法包括以下步骤:Please refer to FIG. 1, which is a flowchart of an indoor positioning control method according to an embodiment of the present application. The indoor positioning control method of the embodiment of the present application includes the following steps:
步骤100:通过传输节点获取用户的定位数据,并将传输节点自身的位置坐标信息和定位数据一起传输至云端服务器;Step 100: Obtain the positioning data of the user through the transmission node, and transmit the position coordinate information of the transmission node itself and the positioning data to the cloud server;
步骤100中,本申请实施例的传输节点包括基于2.4G和BLE4.0低功耗蓝牙功能模块、基于2.4G或5.8G低功耗WiFi功能模块、微处理模块、存储模块和电源模块。其中,蓝牙功能模块用于获取用户的定位数据,例如用户蓝牙信号的地址、数据包类型、信道号以及用户发送信号功率强度RSSI(Received Signal Strength Indication)值等数据。WiFi功能模块支持802.11b/g/n协议标准,主要用于定位数据的转发以及和云端服务器通信。传输节点通过微处理模块处理并发送定位数据以及执行对蓝牙功能模块和WiFi功能模块的节能控制。其中,微处理模块的数据处理包括对定位数据进行筛选、整合及保存等。传输节点由电 源模块独立供电,无需外接电源。同时,传输节点在定位系统中保存有固定的位置坐标信息,位置坐标信息由实际布置环境确定。在定位过程中,将获取的定位数据和传输节点自身的位置坐标信息一起发送给云端服务器,便于云端服务器进行定位计算。In step 100, the transmission node of the embodiment of the present application includes a 2.4G and BLE4.0 low-power Bluetooth function module, a 2.4G or 5.8G low-power WiFi function module, a micro-processing module, a storage module, and a power supply module. Among them, the Bluetooth function module is used to obtain the user's positioning data, such as the user's Bluetooth signal address, data packet type, channel number, and user sent signal strength RSSI (Received Signal Strength Indication) value and other data. The WiFi function module supports 802.11b/g/n protocol standards and is mainly used for forwarding positioning data and communicating with cloud servers. The transmission node processes and sends positioning data through the micro-processing module and performs energy-saving control of the Bluetooth function module and the WiFi function module. Among them, the data processing of the micro-processing module includes screening, integrating and saving positioning data. The transmission node is independently powered by the power supply module, without external power supply. At the same time, the transmission node saves fixed position coordinate information in the positioning system, and the position coordinate information is determined by the actual layout environment. In the positioning process, the acquired positioning data and the position coordinate information of the transmission node itself are sent to the cloud server, so that the cloud server can perform positioning calculation.
具体的,本申请实施例中的传输节点包括工作模式、等待模式和间歇休眠模式三种工作状态,云端服务器通过控制传输节点的工作状态实现定位系统的节能。具体工作状态如下:Specifically, the transmission node in the embodiment of the present application includes three working states: working mode, waiting mode, and intermittent sleep mode. The cloud server realizes energy saving of the positioning system by controlling the working state of the transmission node. The specific working status is as follows:
(1)工作模式:传输节点进行高频搜索用户的定位数据,再将定位数据发送到云端服务器;其中,搜索频率可根据具体使用环境通过云端服务器设置。(1) Working mode: The transmission node performs a high-frequency search for the user's positioning data, and then sends the positioning data to the cloud server; among them, the search frequency can be set through the cloud server according to the specific use environment.
(2)等待模式:传输节点的蓝牙功能模块进入休眠状态,WiFi功能模块切换到低功耗模式,并监听云端服务器的控制指令,此时传输节点的能耗将会降低。(2) Waiting mode: The Bluetooth function module of the transmission node enters a dormant state, the WiFi function module switches to a low power consumption mode, and listens to the control instructions of the cloud server. At this time, the energy consumption of the transmission node will be reduced.
(3)间歇休眠模式:传输节点在此模式时进行周期性的休眠和唤醒,周期可根据定位需求进行调整。休眠时传输节点的蓝牙功能模块和WiFi功能模块进入深度休眠状态,传输节点几乎不耗能。唤醒时,传输节点的WiFi功能模块打开,监听云端服务器的控制指令。(3) Intermittent sleep mode: The transmission node periodically sleeps and wakes up in this mode, and the cycle can be adjusted according to positioning requirements. During sleep, the Bluetooth function module and WiFi function module of the transmission node enter a deep sleep state, and the transmission node consumes almost no energy. When waking up, the WiFi function module of the transmission node is turned on to monitor the control commands of the cloud server.
步骤200:将当前定位平面划分为一定数量的定位子区域,并以矩阵元素分别为每个定位子区域进行编号;Step 200: Divide the current positioning plane into a certain number of positioning sub-areas, and use matrix elements to respectively number each positioning sub-areas;
步骤200中,划分定位子区域主要是为了缩小定位范围和管理各个区域内传输节点的工作状态。定位子区域划分方式为:根据定位平面的尺寸,均匀将定位平面划分为长宽分别为a、b的多个定位子区域,如图2所示,将定位平面划分为n*m个定位子区域,每个定位子区域以矩阵元素a i,j进行编号,云端服务器通过查询编号就可以确定各个定位子区域的位置。 In step 200, the division of positioning sub-areas is mainly for reducing the positioning range and managing the working status of transmission nodes in each area. The method of dividing the positioning sub-areas is as follows: according to the size of the positioning plane, the positioning plane is evenly divided into multiple positioning sub-areas with length and width a and b respectively. As shown in Figure 2, the positioning plane is divided into n*m positioning sub-regions. Area, each positioning sub-area is numbered by matrix elements a i, j , and the cloud server can determine the position of each positioning sub-area by querying the number.
具体的,定位子区域包括独立触发区域、相邻触发区域和公共触发区域三种触发区域类型。各个触发区域可以触发周围定位子区域的传输节点以开启扩大定位平面的定位面积,避免因用户跨区域造成的定位精度降低。具体如图3所示,将定位子区域均匀划分为长宽分别为c,d的p*k个触发区域,每个触发区域以矩阵元素b t,r进行编号。其中,中间无底纹部分为独立触发区域,用户被定位到位于独立触发区域时,表示用户暂时在该定位子区域活动,因此该定位子区域内的传输节点处于工作模式,该定位子区域周围的定位子区域内的传输节点处于等待模式,等待云端服务器的控制指令,其他传输节点则处于间歇休眠模式。四周横线底纹部分为相邻触发区域,用户被定位到位于相邻触发区域时表示用户将要跨越到相邻的定位子区域,云端服务器将会提前控制相邻定位子区域中处于等待模式的传输节点进入工作模式,扩大定位区域保证定位精度。而四周端部的网格底纹部分为公共触发区域,用户被定位到位于公共触发区域时无法判断用户要跨越的区域,云端服务器将会提前控制相邻的三个定位子区域中处于等待模式的传输节点进入工作模式,扩大定位区域。 Specifically, the positioning sub-area includes three types of trigger areas: an independent trigger area, an adjacent trigger area, and a common trigger area. Each trigger area can trigger the transmission nodes of the surrounding positioning sub-areas to open and expand the positioning area of the positioning plane, so as to avoid the decrease in positioning accuracy caused by users crossing areas. Specifically, as shown in Fig. 3, the positioning sub-region is evenly divided into p*k trigger regions with length and width c and d respectively, and each trigger region is numbered by matrix elements b t, r . Among them, the part without shading in the middle is an independent trigger area. When the user is located in the independent trigger area, it means that the user is temporarily active in the positioning sub-area. Therefore, the transmission nodes in the positioning sub-area are in working mode, and the positioning sub-area is around The transmission node in the positioning sub-area of is in the waiting mode, waiting for the control command from the cloud server, and the other transmission nodes are in the intermittent sleep mode. The shading of the surrounding horizontal lines is the adjacent trigger area. When the user is located in the adjacent trigger area, it means that the user will cross to the adjacent positioning sub-area. The cloud server will control the waiting mode in the adjacent positioning sub-area in advance. The transmission node enters the working mode to expand the positioning area to ensure positioning accuracy. The grid shading at the end of the circumference is the common trigger area. When the user is positioned in the common trigger area, it is impossible to determine the area the user wants to cross. The cloud server will control the three adjacent positioning sub-areas in advance to be in waiting mode The transmission node enters the working mode to expand the positioning area.
步骤300:基于定位数据,通过盒子算法计算出用户当前所在的定位子区域,根据定位子区域获得边界点坐标,并根据边界点坐标分别获取定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号;Step 300: Based on the positioning data, use the box algorithm to calculate the user's current positioning sub-area, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element numbers of the positioning sub-area and the corresponding matrix elements of the trigger area according to the boundary point coordinates. The number;
步骤300中,盒子算法具体为:云端服务器将传输节点获得的定位数据转换为测距信息,依据智能信标到用户的测距信息,通过盒子算法构建盒子。盒子内切圆为以智能信标为中心,测距信息转换的距离为半径的圆。具体如图4所示,为盒子算法示意图。三个以上盒子可以确定定位子区域如图中所示的区域阴影部分。定位子区域中心即为用户的定位点。定位子区域各边长的中点A(X A,Y A),B(X B,Y B),C(X C,Y C),D(X D,Y D)代表定位子区域的定位 边界,用于判断与当前定位子区域有交集的定位子区域,作为云端服务器控制各个定位子区域内传输节点工作状态的依据。 In step 300, the box algorithm is specifically: the cloud server converts the positioning data obtained by the transmission node into ranging information, and constructs the box through the box algorithm according to the ranging information from the smart beacon to the user. The inscribed circle of the box is a circle with the smart beacon as the center and the distance converted by the ranging information as the radius. As shown in Figure 4, it is a schematic diagram of the box algorithm. More than three boxes can determine the location of the sub-area as shown in the figure. The center of the positioning sub-area is the positioning point of the user. The midpoint A (X A , Y A ), B (X B , Y B ), C (X C , Y C ), D (X D , Y D ) of the midpoint of each side length of the positioning sub-region represents the positioning of the positioning sub-region The boundary is used to determine the positioning sub-areas that overlap with the current positioning sub-areas, and serves as a basis for the cloud server to control the working status of the transmission nodes in each positioning sub-areas.
对边界点坐标进行缩小运算可以得到定位子区域对应矩阵元素的编号。如式(1),对边界点A的坐标进行缩小运算,X A/a,Y A/b向下取整,可得到定位子区域矩阵元素的编号x A,y A,元素
Figure PCTCN2019123028-appb-000009
代表的定位子区域就是定位边界点A所在位置:
Performing a reduction operation on the boundary point coordinates can obtain the number of the matrix element corresponding to the positioning sub-region. As in formula (1), the coordinates of boundary point A are reduced, X A /a, Y A /b are rounded down, and the number x A , y A , element
Figure PCTCN2019123028-appb-000009
The representative positioning sub-region is the location of the positioning boundary point A:
Figure PCTCN2019123028-appb-000010
Figure PCTCN2019123028-appb-000010
对边界点所在位置进行两次缩小运算可以得到触发区域对应矩阵元素的编号。如式(2),对边界点A的坐标进行缩小运算,X A,Y A分别对a,b取模,可以得到在定位子区域中的相对坐标(x 1,y 1),对x 1/c,y 1/d向下取整,可得到触发区域矩阵元素下标x a,y b,元素
Figure PCTCN2019123028-appb-000011
代表的触发区域就是边界点A在定位子区域的具体范围;
Perform two reduction operations on the location of the boundary point to obtain the number of the matrix element corresponding to the trigger area. As in formula (2), the coordinate of boundary point A is reduced, X A and Y A are modulo a and b respectively, and the relative coordinates (x 1 , y 1 ) in the positioning sub-region can be obtained. For x 1 /c, y 1 /d is rounded down to get the subscript x a , y b , element of the trigger area matrix
Figure PCTCN2019123028-appb-000011
The representative trigger area is the specific range of the boundary point A in the positioning sub-area;
Figure PCTCN2019123028-appb-000012
Figure PCTCN2019123028-appb-000012
云端服务器根据元素
Figure PCTCN2019123028-appb-000013
计算出控制矩阵对定位子区域内的传输节点进行节能控制。
Cloud server based on elements
Figure PCTCN2019123028-appb-000013
The control matrix is calculated to perform energy-saving control on the transmission nodes in the positioning sub-area.
步骤400:根据定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号计算出定位子区域矩阵和触发区域矩阵,最终计算出节能控制矩阵;Step 400: Calculate the positioning sub-area matrix and the trigger area matrix according to the numbers of the matrix elements corresponding to the positioning sub-area and the numbers of the matrix elements corresponding to the trigger area, and finally calculate the energy-saving control matrix;
步骤400中,云端服务器根据边界点坐标计算出的定位子区域编号对定位子区域元素进行赋值。以A点为例,云端服务器对
Figure PCTCN2019123028-appb-000014
处和该定位子区域周围的元素赋值为1,其他定位子区域赋值为0,根据赋值构建区域边界点的定位子区域矩阵s A。如式(3)为边界点位于定位子区域a 3,2处的定位子区域矩阵如 图2所示的彩色区域,矩阵中的元素a 2,1,a 2,2,a 2,3,a 3,1,a 3,2,a 3,3,a 4,1,a 4,2,a 4,3赋值为1,其他元素赋值为0。
In step 400, the cloud server assigns values to the elements of the positioning sub-area according to the number of the positioning sub-area calculated by the boundary point coordinates. Taking point A as an example, the cloud server
Figure PCTCN2019123028-appb-000014
Assign the value of 1 to the elements around the location and the positioning subregion, and assign the value of 0 to other positioning subregions, and construct the positioning subregion matrix s A of the boundary points of the region according to the assignment. As in formula (3), the positioning sub-region matrix with the boundary point at the positioning sub-region a 3,2 is the color region shown in Figure 2. The elements in the matrix are a 2,1 , a 2,2 , a 2,3 , a 3,1 , a 3,2 , a 3,3 , a 4,1 , a 4,2 , a 4,3 are assigned the value 1, and other elements are assigned the value 0.
Figure PCTCN2019123028-appb-000015
Figure PCTCN2019123028-appb-000015
服务器根据边界点坐标计算出的触发区域元素
Figure PCTCN2019123028-appb-000016
编号对触发区域元素进行赋值构建边界点的触发区域矩阵s A′。具体的,赋值规则有9种,如下:
The trigger area element calculated by the server according to the boundary point coordinates
Figure PCTCN2019123028-appb-000016
Numbers are assigned to the elements of the trigger area to construct the boundary point trigger area matrix s A ′. Specifically, there are 9 types of assignment rules, as follows:
1)当
Figure PCTCN2019123028-appb-000017
时,定位子区域边界点位于独立触发区域,则只有元素
Figure PCTCN2019123028-appb-000018
赋值为1,其他元素赋值为0。
1) When
Figure PCTCN2019123028-appb-000017
When the boundary point of the positioning sub-area is located in the independent trigger area, only the element
Figure PCTCN2019123028-appb-000018
Assign the value 1 and other elements as 0.
2)当
Figure PCTCN2019123028-appb-000019
时,定位子区域边界点位于定位子区域左侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000020
和左侧的元素
Figure PCTCN2019123028-appb-000021
被赋值为1,其他元素赋值为0。如果左侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000022
赋值为1,其他元素赋值为0。
2) When
Figure PCTCN2019123028-appb-000019
When the positioning sub-region boundary point is located in the adjacent trigger area on the left of the positioning sub-region, the element
Figure PCTCN2019123028-appb-000020
And the element on the left
Figure PCTCN2019123028-appb-000021
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the left, only elements
Figure PCTCN2019123028-appb-000022
Assign the value 1 and other elements as 0.
3)当
Figure PCTCN2019123028-appb-000023
时,定位子区域边界点位于定位子区域右侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000024
和右侧的元素
Figure PCTCN2019123028-appb-000025
被赋值为1,其他元素赋值为0。如果左侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000026
赋值为1,其他元素赋值为0。
3) When
Figure PCTCN2019123028-appb-000023
When the positioning sub-area boundary point is located in the adjacent trigger area on the right side of the positioning sub-area, the element
Figure PCTCN2019123028-appb-000024
And the elements on the right
Figure PCTCN2019123028-appb-000025
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the left, only elements
Figure PCTCN2019123028-appb-000026
Assign the value 1 and other elements as 0.
4)当
Figure PCTCN2019123028-appb-000027
时,定位子区域边界点位于定位子区域上侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000028
和上侧的元素
Figure PCTCN2019123028-appb-000029
被赋值为1,其他元素赋值为0。如果上侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000030
赋值为1,其他元素赋值为0。
4) When
Figure PCTCN2019123028-appb-000027
When the positioning sub-area boundary point is located in the adjacent trigger area on the upper side of the positioning sub-area, the element
Figure PCTCN2019123028-appb-000028
And the upper element
Figure PCTCN2019123028-appb-000029
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the upper side, only elements
Figure PCTCN2019123028-appb-000030
Assign the value 1 and other elements as 0.
5)当
Figure PCTCN2019123028-appb-000031
时,定位子区域边界点位于定位子区域下侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000032
和上侧的元素
Figure PCTCN2019123028-appb-000033
被赋值为1,其他元素赋值为0。如果下侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000034
赋值为1,其他元素赋值为0。
5) When
Figure PCTCN2019123028-appb-000031
When the positioning sub-region boundary point is located in the adjacent trigger area below the positioning sub-region, the element
Figure PCTCN2019123028-appb-000032
And the upper element
Figure PCTCN2019123028-appb-000033
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the lower side, only elements
Figure PCTCN2019123028-appb-000034
Assign the value 1 and other elements as 0.
6)当
Figure PCTCN2019123028-appb-000035
时,定位子区域边界点位于定位子区域左上侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000036
和上侧元素
Figure PCTCN2019123028-appb-000037
左上侧元素
Figure PCTCN2019123028-appb-000038
和左侧元素
Figure PCTCN2019123028-appb-000039
被赋值为1,其他元素赋值为0。
6) When
Figure PCTCN2019123028-appb-000035
When the positioning sub-area boundary point is located in the common trigger area on the upper left side of the positioning sub-area, the element
Figure PCTCN2019123028-appb-000036
And upper element
Figure PCTCN2019123028-appb-000037
Upper left element
Figure PCTCN2019123028-appb-000038
And the left element
Figure PCTCN2019123028-appb-000039
It is assigned a value of 1, and other elements are assigned a value of 0.
7)当
Figure PCTCN2019123028-appb-000040
时,定位子区域边界点位于定位子区域右上侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000041
和上侧元素
Figure PCTCN2019123028-appb-000042
右上侧元素
Figure PCTCN2019123028-appb-000043
和右侧元素
Figure PCTCN2019123028-appb-000044
被赋值为1,其他元素赋值为0。
7) When
Figure PCTCN2019123028-appb-000040
When the positioning sub-region boundary point is located in the common trigger area on the upper right side of the positioning sub-region, the element
Figure PCTCN2019123028-appb-000041
And upper element
Figure PCTCN2019123028-appb-000042
Upper right element
Figure PCTCN2019123028-appb-000043
And the right element
Figure PCTCN2019123028-appb-000044
It is assigned a value of 1, and other elements are assigned a value of 0.
8)当
Figure PCTCN2019123028-appb-000045
时,定位子区域边界点位于定位子区域左下侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000046
和下侧元素
Figure PCTCN2019123028-appb-000047
左下侧元素
Figure PCTCN2019123028-appb-000048
和左侧元素
Figure PCTCN2019123028-appb-000049
被赋值为1,其他元素赋值为0。
8) When
Figure PCTCN2019123028-appb-000045
, The boundary point of the positioning sub-region is located in the common trigger area on the lower left side of the positioning sub-region, then the element
Figure PCTCN2019123028-appb-000046
And the lower element
Figure PCTCN2019123028-appb-000047
Lower left element
Figure PCTCN2019123028-appb-000048
And the left element
Figure PCTCN2019123028-appb-000049
It is assigned a value of 1, and other elements are assigned a value of 0.
9)当
Figure PCTCN2019123028-appb-000050
时,定位子区域边界点位于定位子区域右下侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000051
和下侧元素
Figure PCTCN2019123028-appb-000052
右下侧元素
Figure PCTCN2019123028-appb-000053
和右侧元素
Figure PCTCN2019123028-appb-000054
被赋值为1,其他元素赋值为0。
9) When
Figure PCTCN2019123028-appb-000050
, The boundary point of the positioning sub-area is located in the common trigger area on the lower right side of the positioning sub-area, then the element
Figure PCTCN2019123028-appb-000051
And the lower element
Figure PCTCN2019123028-appb-000052
Lower right element
Figure PCTCN2019123028-appb-000053
And the right element
Figure PCTCN2019123028-appb-000054
It is assigned a value of 1, and other elements are assigned a value of 0.
定位子区域边界点的定位子区域矩阵与触发区域矩阵之和构成该边界点的控制矩阵,四个边界点的控制矩阵之和构成系统的节能控制矩阵S如式(4);The sum of the positioning sub-area matrix and the triggering area matrix of the boundary point of the positioning sub-area constitutes the control matrix of the boundary point, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S of the system as in formula (4);
S=∑(s+s′)      (4);S=∑(s+s′) (4);
步骤500:云端服务器根据节能控制矩阵中各个元素的值生成控制指令,并将控制指令广播到传输节点,对传输节点的工作状态进行控制;Step 500: The cloud server generates a control instruction according to the value of each element in the energy-saving control matrix, and broadcasts the control instruction to the transmission node to control the working state of the transmission node;
步骤500中,云端服务器根据节能控制矩阵中各个元素的值生成控制指令具体为:赋值为0的元素表示该元素所代表的定位子区域没有用户靠近,区域内的传输节点进入间歇休眠模式;赋值大于0小于5的元素表示用户靠近该定位子区域,区域内的传输节点进入等待模式;赋值大于等于5的元素表示用户在该定位子区域或者用户将会到达该区域,区域内的传输节点进入工作模式,其中,赋值为8的元素表示定位区域边界点位于该定位子区域内。In step 500, the cloud server generates a control instruction according to the value of each element in the energy-saving control matrix: an element assigned a value of 0 indicates that the positioning sub-area represented by the element is not approached by a user, and the transmission node in the area enters the intermittent sleep mode; An element greater than 0 and less than 5 indicates that the user is close to the location sub-area, and the transmission node in the area enters the waiting mode; an element assigned a value greater than or equal to 5 indicates that the user is in the location sub-area or the user will arrive in the area, and the transmission node in the area enters Work mode, where an element assigned a value of 8 indicates that the boundary point of the positioning area is located in the positioning sub-area.
云端服务器以行元素构建控制指令,将控制指令广播到传输节点,传输节点根据自身所在的定位子区域的矩阵元素编号提取出对应的赋值数值,根据赋值数值进行工作状态的转换。即:当传输节点提取到的数值大于等于5时,对应的定位子区域内的传输节点执行工作模式;当传输节点提取到的数值大于0小于5时,对应的定位子区域内的传输节点执行等待模式;当传输节点提取到的数值为0时,对应定位子区域内的传输节点执行间歇休眠模式。The cloud server constructs control instructions with row elements, broadcasts the control instructions to the transmission node, and the transmission node extracts the corresponding assigned value according to the matrix element number of the positioning sub-area where it is located, and performs the conversion of the working state according to the assigned value. That is: when the value extracted by the transmission node is greater than or equal to 5, the transmission node in the corresponding positioning subarea executes the working mode; when the value extracted by the transmission node is greater than 0 and less than 5, the transmission node in the corresponding positioning subarea executes Waiting mode; when the value extracted by the transmission node is 0, the transmission node in the corresponding positioning sub-area executes the intermittent sleep mode.
请参阅图5,是本申请实施例的室内定位控制系统的结构示意图。本申请实施例的室内定位控制系统包括传输节点和云端服务器。传输节点用于获取用户的定位数据,并将传输节点自身的位置坐标信息和定位数据一起传输至云端服务器;云端服务器用于根据传输节点自身的位置坐标信息和定位数据进行定位计算,并根据定位计算结果控制传输节点的工作状态。Please refer to FIG. 5, which is a schematic structural diagram of an indoor positioning control system according to an embodiment of the present application. The indoor positioning control system of the embodiment of the present application includes a transmission node and a cloud server. The transmission node is used to obtain the user's positioning data, and transmits the position coordinate information and positioning data of the transmission node itself to the cloud server; the cloud server is used to perform positioning calculations according to the position coordinate information and positioning data of the transmission node itself, and according to the positioning The calculation result controls the working status of the transmission node.
具体的,本申请实施例的传输节点包括基于2.4G和BLE4.0低功耗蓝牙功能模块、基于2.4G或5.8G低功耗WiFi功能模块、微处理模块、存储模块和电源模块。其中,蓝牙功能模块用于获取用户的定位数据,例如用户蓝牙信号的地址、数据包类型、信道号以及用户发送信号功率强度RSSI(Received Signal Strength Indication)值等数据。WiFi功能模块支持802.11b/g/n协议标准,主要用于定位数据的转发以及和云端服务器通信。微处理模块用于处理并发送定位数据以及 执行对蓝牙功能模块和WiFi功能模块的节能控制。其中,微处理模块的数据处理包括对定位数据进行筛选、整合及保存等。电源模块用于为传输节点独立供电,无需外接电源。本申请实施例中,传输节点在定位系统中保存有固定的位置坐标信息,位置坐标信息由实际布置环境确定。在定位过程中,将获取的定位数据和传输节点自身的位置坐标信息一起发送给云端服务器,便于云端服务器进行定位计算。Specifically, the transmission node of the embodiment of the present application includes 2.4G and BLE4.0 low-power Bluetooth function modules, 2.4G or 5.8G low-power WiFi function modules, micro-processing modules, storage modules, and power modules. Among them, the Bluetooth function module is used to obtain the user's positioning data, such as the user's Bluetooth signal address, data packet type, channel number, and user sent signal strength RSSI (Received Signal Strength Indication) value and other data. The WiFi function module supports 802.11b/g/n protocol standards and is mainly used for forwarding positioning data and communicating with cloud servers. The micro-processing module is used to process and send positioning data and perform energy-saving control of the Bluetooth function module and the WiFi function module. Among them, the data processing of the micro-processing module includes screening, integrating and saving positioning data. The power module is used to independently power the transmission node without an external power supply. In the embodiment of the present application, the transmission node stores fixed position coordinate information in the positioning system, and the position coordinate information is determined by the actual layout environment. In the positioning process, the acquired positioning data and the position coordinate information of the transmission node itself are sent to the cloud server, so that the cloud server can perform positioning calculation.
本申请实施例中的传输节点包括工作模式、等待模式和间歇休眠模式三种工作状态,云端服务器通过控制传输节点的工作状态实现定位系统的节能。具体工作状态如下:The transmission node in the embodiment of the present application includes three working states: working mode, waiting mode and intermittent sleep mode. The cloud server realizes energy saving of the positioning system by controlling the working state of the transmission node. The specific working status is as follows:
(1)工作模式:传输节点进行高频搜索用户的定位数据,再将定位数据发送到云端服务器;其中,搜索频率可根据具体使用环境通过云端服务器设置。(1) Working mode: The transmission node performs a high-frequency search for the user's positioning data, and then sends the positioning data to the cloud server; among them, the search frequency can be set through the cloud server according to the specific use environment.
(2)等待模式:传输节点的蓝牙功能模块进入休眠状态,WiFi功能模块切换到低功耗模式,并监听云端服务器的控制指令,此时传输节点的能耗将会降低。(2) Waiting mode: The Bluetooth function module of the transmission node enters a dormant state, the WiFi function module switches to a low power consumption mode, and listens to the control instructions of the cloud server. At this time, the energy consumption of the transmission node will be reduced.
(3)间歇休眠模式:传输节点在此模式时进行周期性的休眠和唤醒,周期可根据定位需求进行调整。休眠时传输节点的蓝牙功能模块和WiFi功能模块进入深度休眠状态,传输节点几乎不耗能。唤醒时,传输节点的WiFi功能模块打开,监听云端服务器的控制指令。(3) Intermittent sleep mode: The transmission node periodically sleeps and wakes up in this mode, and the cycle can be adjusted according to positioning requirements. During sleep, the Bluetooth function module and WiFi function module of the transmission node enter a deep sleep state, and the transmission node consumes almost no energy. When waking up, the WiFi function module of the transmission node is turned on to monitor the control commands of the cloud server.
本申请实施例的室内定位控制系统还包括:The indoor positioning control system of the embodiment of the present application further includes:
区域划分模块:用于将当前定位平面划分为一定数量的定位子区域,并以矩阵元素分别为每个定位子区域进行编号;其中,划分定位子区域主要是为了缩小定位范围和管理各个区域内传输节点的工作状态。定位子区域划分方式为:根据定位平面的尺寸,均匀将定位平面划分为长宽分别为a、b的多个定位 子区域,如图2所示,将定位平面划分为n*m个定位子区域,每个定位子区域以矩阵元素a i,j进行编号,云端服务器通过查询编号就可以确定各个定位子区域的位置。 Area division module: used to divide the current positioning plane into a certain number of positioning sub-areas, and use matrix elements to number each positioning sub-areas; among them, the division of the positioning sub-areas is mainly to reduce the positioning range and manage each area The working status of the transmission node. The method of dividing the positioning sub-areas is as follows: according to the size of the positioning plane, the positioning plane is evenly divided into multiple positioning sub-areas with length and width a and b respectively. As shown in Figure 2, the positioning plane is divided into n*m positioning sub-regions. Area, each positioning sub-area is numbered by matrix elements a i, j , and the cloud server can determine the position of each positioning sub-area by querying the number.
具体的,定位子区域包括独立触发区域、相邻触发区域和公共触发区域三种触发区域类型。各个触发区域可以触发周围定位子区域的传输节点以开启扩大定位平面的定位面积,避免因用户跨区域造成的定位精度降低。具体如图3所示,将定位子区域均匀划分为长宽分别为c,d的p*k个触发区域,每个触发区域以矩阵元素b t,r进行编号。其中,中间无底纹部分为独立触发区域,用户被定位到位于独立触发区域时,表示用户暂时在该定位子区域活动,因此该定位子区域内的传输节点处于工作模式,该定位子区域周围的定位子区域内的传输节点处于等待模式,等待云端服务器的控制指令,其他传输节点则处于间歇休眠模式。四周横线底纹部分为相邻触发区域,用户被定位到位于相邻触发区域时表示用户将要跨越到相邻的定位子区域,云端服务器将会提前控制相邻定位子区域中处于等待模式的传输节点进入工作模式,扩大定位区域保证定位精度。而四周端部的网格底纹部分为公共触发区域,用户被定位到位于公共触发区域时无法判断用户要跨越的区域,云端服务器将会提前控制相邻的三个定位子区域中处于等待模式的传输节点进入工作模式,扩大定位区域。 Specifically, the positioning sub-area includes three types of trigger areas: an independent trigger area, an adjacent trigger area, and a common trigger area. Each trigger area can trigger the transmission nodes of the surrounding positioning sub-areas to open and expand the positioning area of the positioning plane, so as to avoid the decrease in positioning accuracy caused by users crossing areas. Specifically, as shown in Fig. 3, the positioning sub-region is evenly divided into p*k trigger regions with length and width c and d respectively, and each trigger region is numbered by matrix elements b t, r . Among them, the part without shading in the middle is an independent trigger area. When the user is located in the independent trigger area, it means that the user is temporarily active in the positioning sub-area. Therefore, the transmission nodes in the positioning sub-area are in working mode, and the positioning sub-area is around The transmission node in the positioning sub-area of is in the waiting mode, waiting for the control command from the cloud server, and the other transmission nodes are in the intermittent sleep mode. The shading of the surrounding horizontal lines is the adjacent trigger area. When the user is located in the adjacent trigger area, it means that the user will cross to the adjacent positioning sub-area. The cloud server will control the waiting mode in the adjacent positioning sub-area in advance. The transmission node enters the working mode to expand the positioning area to ensure positioning accuracy. The grid shading at the end of the circumference is the common trigger area. When the user is positioned in the common trigger area, it is impossible to determine the area the user wants to cross. The cloud server will control the three adjacent positioning sub-areas in advance to be in waiting mode The transmission node enters the working mode to expand the positioning area.
本申请实施例中,云端服务器具体包括:In the embodiment of this application, the cloud server specifically includes:
定位区域计算模块:用于基于定位数据,通过盒子算法计算出用户当前所在的定位子区域,根据定位子区域获得边界点坐标,并根据边界点坐标分别获取定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号;其中,盒子算法具体为:云端服务器将传输节点获得的定位数据转换为测距信息,依据智能信标到用户的测距信息,通过盒子算法构建盒子。盒子内切圆为以智能 信标为中心,测距信息转换的距离为半径的圆。具体如图4所示,为盒子算法示意图。三个以上盒子可以确定定位子区域如图中所示的区域阴影部分。定位子区域中心即为用户的定位点。定位子区域各边长的中点A(X A,Y A),B(X B,Y B),C(X C,Y C),D(X D,Y D)代表定位子区域的定位边界,用于判断与当前定位子区域有交集的定位子区域,作为云端服务器控制各个定位子区域内传输节点工作状态的依据。 Positioning area calculation module: used to calculate the current positioning sub-area of the user through the box algorithm based on the positioning data, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element number and trigger of the positioning sub-area according to the boundary point coordinates. The area corresponds to the number of the matrix element; the box algorithm is specifically: the cloud server converts the positioning data obtained by the transmission node into distance measurement information, and builds the box through the box algorithm based on the distance measurement information from the smart beacon to the user. The inscribed circle of the box is a circle with the smart beacon as the center and the distance converted by the ranging information as the radius. As shown in Figure 4, it is a schematic diagram of the box algorithm. More than three boxes can determine the location of the sub-area as shown in the figure. The center of the positioning sub-area is the positioning point of the user. The midpoints A (X A , Y A ), B (X B , Y B ), C (X C , Y C ), and D (X D , Y D ) of each side of the positioning sub-region represent the positioning of the positioning sub-region The boundary is used to determine the positioning sub-areas that overlap with the current positioning sub-areas, and serves as a basis for the cloud server to control the working status of the transmission nodes in each positioning sub-areas.
对边界点坐标进行缩小运算可以得到定位子区域对应矩阵元素的编号。如式(1),对边界点A的坐标进行缩小运算,X A/a,Y A/b向下取整,可得到定位子区域矩阵元素的编号x A,y A,元素
Figure PCTCN2019123028-appb-000055
代表的定位子区域就是定位边界点A所在位置:
Performing a reduction operation on the boundary point coordinates can obtain the number of the matrix element corresponding to the positioning sub-region. As in formula (1), the coordinates of boundary point A are reduced, X A /a, Y A /b are rounded down, and the number x A , y A , element
Figure PCTCN2019123028-appb-000055
The representative positioning sub-region is the location of the positioning boundary point A:
Figure PCTCN2019123028-appb-000056
Figure PCTCN2019123028-appb-000056
对边界点所在位置进行两次缩小运算可以得到触发区域对应矩阵元素的编号。如式(2),对边界点A的坐标进行缩小运算,X A,Y A分别对a,b取模,可以得到在定位子区域中的相对坐标(x 1,y 1),对x 1/c,y 1/d向下取整,可得到触发区域矩阵元素下标x a,y b,元素
Figure PCTCN2019123028-appb-000057
代表的触发区域就是边界点A在定位子区域的具体范围;
Perform two reduction operations on the location of the boundary point to obtain the number of the matrix element corresponding to the trigger area. As in formula (2), the coordinate of boundary point A is reduced, X A and Y A are modulo a and b respectively, and the relative coordinates (x 1 , y 1 ) in the positioning sub-region can be obtained. For x 1 /c, y 1 /d is rounded down to get the subscript x a , y b , element of the trigger area matrix
Figure PCTCN2019123028-appb-000057
The representative trigger area is the specific range of the boundary point A in the positioning sub-area;
Figure PCTCN2019123028-appb-000058
Figure PCTCN2019123028-appb-000058
云端服务器根据元素
Figure PCTCN2019123028-appb-000059
计算出控制矩阵对定位子区域内的传输节点进行节能控制。
Cloud server based on elements
Figure PCTCN2019123028-appb-000059
The control matrix is calculated to perform energy-saving control on the transmission nodes in the positioning sub-area.
控制矩阵计算模块:用于根据定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号计算出定位子区域矩阵和触发区域矩阵,最终计算出节 能控制矩阵;其中,云端服务器根据边界点坐标计算出的定位子区域编号对定位子区域元素进行赋值。以A点为例,云端服务器对
Figure PCTCN2019123028-appb-000060
处和该定位子区域周围的元素赋值为1,其他定位子区域赋值为0,根据赋值构建区域边界点的定位子区域矩阵s A。如式(3)为边界点位于定位子区域a 3,2处的定位子区域矩阵如图2所示的彩色区域,矩阵中的元素a 2,1,a 2,2,a 2,3,a 3,1,a 3,2,a 3,3,a 4,1,a 4,2,a 4,3赋值为1,其他元素赋值为0。
Control matrix calculation module: used to calculate the positioning sub-area matrix and the triggering area matrix according to the number of the matrix element corresponding to the positioning sub-area and the number of the matrix element corresponding to the trigger area, and finally calculate the energy-saving control matrix; the cloud server is based on the boundary point coordinates The calculated positioning sub-area number assigns values to the positioning sub-area elements. Taking point A as an example, the cloud server
Figure PCTCN2019123028-appb-000060
Assign the value of 1 to the elements around the location and the positioning subregion, and assign the value of 0 to other positioning subregions, and construct the positioning subregion matrix s A of the boundary points of the region according to the assignment. As in formula (3), the positioning sub-region matrix with the boundary point at the positioning sub-region a 3,2 is the color region shown in Figure 2. The elements in the matrix are a 2,1 , a 2,2 , a 2,3 , a 3,1 , a 3,2 , a 3,3 , a 4,1 , a 4,2 , a 4,3 are assigned the value 1, and other elements are assigned the value 0.
Figure PCTCN2019123028-appb-000061
Figure PCTCN2019123028-appb-000061
云端服务器根据边界点坐标计算出的触发区域元素
Figure PCTCN2019123028-appb-000062
编号对触发区域元素进行赋值构建边界点的触发区域矩阵s A′。具体的,赋值规则有9种,如下:
The trigger area element calculated by the cloud server according to the boundary point coordinates
Figure PCTCN2019123028-appb-000062
Numbers are assigned to the elements of the trigger area to construct the boundary point trigger area matrix s A ′. Specifically, there are 9 types of assignment rules, as follows:
1)当
Figure PCTCN2019123028-appb-000063
时,定位子区域边界点位于独立触发区域,则只有元素
Figure PCTCN2019123028-appb-000064
赋值为1,其他元素赋值为0。
1) When
Figure PCTCN2019123028-appb-000063
When the boundary point of the positioning sub-area is located in the independent trigger area, only the element
Figure PCTCN2019123028-appb-000064
Assign the value 1 and other elements as 0.
2)当
Figure PCTCN2019123028-appb-000065
时,定位子区域边界点位于定位子区域左侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000066
和左侧的元素
Figure PCTCN2019123028-appb-000067
被赋值为1,其他元素赋值为0。如果左侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000068
赋值为1,其他元素赋值为0。
2) When
Figure PCTCN2019123028-appb-000065
When the positioning sub-region boundary point is located in the adjacent trigger area on the left of the positioning sub-region, the element
Figure PCTCN2019123028-appb-000066
And the element on the left
Figure PCTCN2019123028-appb-000067
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the left, only elements
Figure PCTCN2019123028-appb-000068
Assign the value 1 and other elements as 0.
3)当
Figure PCTCN2019123028-appb-000069
时,定位子区域边界点位于定位子区域右侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000070
和右侧的元素
Figure PCTCN2019123028-appb-000071
被赋值为1,其他元素赋值为0。如果左侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000072
赋值为1,其他元素赋值为0。
3) When
Figure PCTCN2019123028-appb-000069
When the positioning sub-area boundary point is located in the adjacent trigger area on the right side of the positioning sub-area, the element
Figure PCTCN2019123028-appb-000070
And the elements on the right
Figure PCTCN2019123028-appb-000071
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the left, only elements
Figure PCTCN2019123028-appb-000072
Assign the value 1 and other elements as 0.
4)当
Figure PCTCN2019123028-appb-000073
时,定位子区域边界点位于定位子区域上侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000074
和上侧的元素
Figure PCTCN2019123028-appb-000075
被赋值为1,其他元素赋值为0。如果上侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000076
赋值为1,其他元素赋值为0。
4) When
Figure PCTCN2019123028-appb-000073
When the positioning sub-area boundary point is located in the adjacent trigger area on the upper side of the positioning sub-area, the element
Figure PCTCN2019123028-appb-000074
And the upper element
Figure PCTCN2019123028-appb-000075
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the upper side, only elements
Figure PCTCN2019123028-appb-000076
Assign the value 1 and other elements as 0.
5)当
Figure PCTCN2019123028-appb-000077
时,定位子区域边界点位于定位子区域下侧的相邻触发区域中,则元素
Figure PCTCN2019123028-appb-000078
和上侧的元素
Figure PCTCN2019123028-appb-000079
被赋值为1,其他元素赋值为0。如果下侧没有元素,则只有元素
Figure PCTCN2019123028-appb-000080
赋值为1,其他元素赋值为0。
5) When
Figure PCTCN2019123028-appb-000077
When the positioning sub-region boundary point is located in the adjacent trigger area below the positioning sub-region, the element
Figure PCTCN2019123028-appb-000078
And the upper element
Figure PCTCN2019123028-appb-000079
It is assigned a value of 1, and other elements are assigned a value of 0. If there are no elements on the lower side, only elements
Figure PCTCN2019123028-appb-000080
Assign the value 1 and other elements as 0.
6)当
Figure PCTCN2019123028-appb-000081
时,定位子区域边界点位于定位子区域左上侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000082
和上侧元素
Figure PCTCN2019123028-appb-000083
左上侧元素
Figure PCTCN2019123028-appb-000084
和左侧元素
Figure PCTCN2019123028-appb-000085
被赋值为1,其他元素赋值为0。
6) When
Figure PCTCN2019123028-appb-000081
When the positioning sub-area boundary point is located in the common trigger area on the upper left side of the positioning sub-area, the element
Figure PCTCN2019123028-appb-000082
And upper element
Figure PCTCN2019123028-appb-000083
Upper left element
Figure PCTCN2019123028-appb-000084
And the left element
Figure PCTCN2019123028-appb-000085
It is assigned a value of 1, and other elements are assigned a value of 0.
7)当
Figure PCTCN2019123028-appb-000086
时,定位子区域边界点位于定位子区域右上侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000087
和上侧元素
Figure PCTCN2019123028-appb-000088
右上侧元素
Figure PCTCN2019123028-appb-000089
和右侧元素
Figure PCTCN2019123028-appb-000090
被赋值为1,其他元素赋值为0。
7) When
Figure PCTCN2019123028-appb-000086
When the positioning sub-region boundary point is located in the common trigger area on the upper right side of the positioning sub-region, the element
Figure PCTCN2019123028-appb-000087
And upper element
Figure PCTCN2019123028-appb-000088
Upper right element
Figure PCTCN2019123028-appb-000089
And the right element
Figure PCTCN2019123028-appb-000090
It is assigned a value of 1, and other elements are assigned a value of 0.
8)当
Figure PCTCN2019123028-appb-000091
时,定位子区域边界点位于定位子区域左下侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000092
和下侧元素
Figure PCTCN2019123028-appb-000093
左下侧元素
Figure PCTCN2019123028-appb-000094
和左侧元素
Figure PCTCN2019123028-appb-000095
被赋值为1,其他元素赋值为0。
8) When
Figure PCTCN2019123028-appb-000091
, The boundary point of the positioning sub-region is located in the common trigger area on the lower left side of the positioning sub-region, then the element
Figure PCTCN2019123028-appb-000092
And the lower element
Figure PCTCN2019123028-appb-000093
Lower left element
Figure PCTCN2019123028-appb-000094
And the left element
Figure PCTCN2019123028-appb-000095
It is assigned a value of 1, and other elements are assigned a value of 0.
9)当
Figure PCTCN2019123028-appb-000096
时,定位子区域边界点位于定位子区域右下侧的公共触发区域中,则元素
Figure PCTCN2019123028-appb-000097
和下侧元素
Figure PCTCN2019123028-appb-000098
右下侧元素
Figure PCTCN2019123028-appb-000099
和右侧元素
Figure PCTCN2019123028-appb-000100
被赋值为1,其他元素赋值为0。
9) When
Figure PCTCN2019123028-appb-000096
, The boundary point of the positioning sub-area is located in the common trigger area on the lower right side of the positioning sub-area, then the element
Figure PCTCN2019123028-appb-000097
And the lower element
Figure PCTCN2019123028-appb-000098
Lower right element
Figure PCTCN2019123028-appb-000099
And the right element
Figure PCTCN2019123028-appb-000100
It is assigned a value of 1, and other elements are assigned a value of 0.
定位子区域边界点的定位子区域矩阵与触发区域矩阵之和构成该边界点的控制矩阵,四个边界点的控制矩阵之和构成系统的节能控制矩阵S如式(4);The sum of the positioning sub-area matrix and the triggering area matrix of the boundary point of the positioning sub-area constitutes the control matrix of the boundary point, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S of the system as in formula (4);
S=∑(s+s′)      (4);S=∑(s+s′) (4);
控制模块:用于根据节能控制矩阵中各个元素的值生成控制指令,并将控制指令广播到传输节点,对传输节点的工作状态进行控制;其中,根据节能控制矩阵中各个元素的值生成控制指令具体为:赋值为0的元素表示该元素所代表的定位子区域没有用户靠近,区域内的传输节点进入间歇休眠模式;赋值大于0小于5的元素表示用户靠近该定位子区域,区域内的传输节点进入等待模式;赋值大于等于5的元素表示用户在该定位子区域或者用户将会到达该区域,区域内的传输节点进入工作模式,其中,赋值为8的元素表示定位区域边界点位于该定位子区域内。Control module: used to generate control instructions according to the value of each element in the energy-saving control matrix, and broadcast the control instruction to the transmission node to control the working state of the transmission node; among them, to generate the control instruction according to the value of each element in the energy-saving control matrix Specifically: an element assigned a value of 0 indicates that the location sub-area represented by the element is not close to the user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value greater than 0 and less than 5 indicates that the user is close to the location sub-area, and the transmission in the area The node enters the waiting mode; the element assigned a value greater than or equal to 5 indicates that the user is in the positioning sub-area or the user will arrive in the area, and the transmission node in the area enters the working mode. The element assigned a value of 8 indicates that the boundary point of the positioning area is located in the location Within the sub-region.
本申请实施例中,云端服务器以行元素构建控制指令,将控制指令广播到传输节点,传输节点根据自身所在的定位子区域的矩阵元素编号提取出对应的赋值数值,根据赋值数值进行工作状态的转换。即:当传输节点提取到的数值大于等于5时,对应的定位子区域内的传输节点执行工作模式;当传输节点提取到的数值大于0小于5时,对应的定位子区域内的传输节点执行等待模式;当传输节点提取到的数值为0时,对应定位子区域内的传输节点执行间歇休眠模式。In the embodiment of this application, the cloud server constructs control instructions with row elements, broadcasts the control instructions to the transmission node, and the transmission node extracts the corresponding assignment value according to the matrix element number of the positioning sub-area where it is located, and performs the working status according to the assignment value Conversion. That is: when the value extracted by the transmission node is greater than or equal to 5, the transmission node in the corresponding positioning subarea executes the working mode; when the value extracted by the transmission node is greater than 0 and less than 5, the transmission node in the corresponding positioning subarea executes Waiting mode; when the value extracted by the transmission node is 0, the transmission node in the corresponding positioning sub-area executes the intermittent sleep mode.
经过实验验证系统仿真,证明了本申请的可靠有效性。具体如图6所示,为仿真结果示意图。仿真过程如下:将60*60m 2的定位平面划分为6*6个长宽都为10m的定位子区域,定位子区域中有5*5个长宽为2m的触发区域,假设经过盒子算法获得定位区域边界点的坐标为A(24,17)、B(23,17),C(23.5,16.5),D(23.5,18.5)。经过区域匹配计算可得到图6中的阴影区域,其中四个边界点都在元素a 3,2所代表的定位子区域,因此边界点的定位子区域矩阵相同为s,如式(5): The system simulation is verified by experiments, which proves the reliability and validity of this application. The details are shown in Figure 6, which is a schematic diagram of the simulation results. The simulation process is as follows: The 60*60m 2 positioning plane is divided into 6*6 positioning sub-areas with length and width of 10m. In the positioning sub-area, there are 5*5 trigger areas with length and width of 2m. It is assumed to be obtained by the box algorithm The coordinates of the boundary points of the positioning area are A(24,17), B(23,17), C(23.5,16.5), D(23.5,18.5). After the area matching calculation, the shaded area in Fig. 6 can be obtained. The four boundary points are all located in the positioning sub-area represented by the element a 3 , 2. Therefore, the positioning sub-area matrix of the boundary points is the same as s, as in formula (5):
Figure PCTCN2019123028-appb-000101
Figure PCTCN2019123028-appb-000101
对边界点求触发区域位置,分别求得b 2,4,b 2,4,b 2,3,b 2,5,根据赋值规则给元素赋值。A、B、C三点都在独立触发区域,触发区域矩阵相同为s′,如式(6) Find the position of the trigger area for the boundary point, and obtain b 2,4 , b 2,4 , b 2,3 , b 2,5 respectively , and assign values to the elements according to the assignment rules. The three points A, B, and C are all in the independent trigger area, and the trigger area matrix is the same as s′, as in formula (6)
Figure PCTCN2019123028-appb-000102
Figure PCTCN2019123028-appb-000102
D点位于定位子区域右侧的相邻触发区域,触发区域矩阵为s d′如式(7): Point D is located in the adjacent trigger area on the right side of the positioning sub-area, and the trigger area matrix is s d ′ as in formula (7):
Figure PCTCN2019123028-appb-000103
Figure PCTCN2019123028-appb-000103
所有边界点的定位子区域矩阵和触发区域矩阵之和为控制矩阵S,如式(8):The sum of the positioning sub-area matrix and the trigger area matrix of all boundary points is the control matrix S, as in formula (8):
Figure PCTCN2019123028-appb-000104
Figure PCTCN2019123028-appb-000104
根据控制矩阵,可得到控制指令字符串[000000 444000 485000 444000 000000 000000]。元素a 3,2和a 3,3对应的定位子区域如图6中a 3,2和a 3,3区域的传输节点执行工作模式,元素a 2,1,a 2,2,a 2,3,a 3,1,a 4,1,a 4,2,a 4,3对应的定位子 区域的传输节点执行等待模式,其他传输节点执行间歇休眠模式。仿真结果证明本申请的定位精度也可以达到需求目标,证明其可行性。 According to the control matrix, the control command string [000000 444000 485000 444000 000000 000000] can be obtained. The positioning sub-regions corresponding to the elements a 3,2 and a 3,3 are shown in Fig.6. The transmission nodes in the a 3,2 and a 3,3 regions perform the working mode, and the elements a 2,1 , a 2,2 , a 2, 3 , a 3,1 , a 4,1 , a 4,2 , a 4,3 corresponding to the transmission node of the positioning sub-area execute the waiting mode, and other transmission nodes execute the intermittent sleep mode. The simulation result proves that the positioning accuracy of this application can also reach the required target, proving its feasibility.
图7是本申请实施例提供的室内定位控制方法的硬件设备结构示意图。如图7所示,该设备包括一个或多个处理器以及存储器。以一个处理器为例,该设备还可以包括:输入系统和输出系统。FIG. 7 is a schematic diagram of a hardware device structure of an indoor positioning control method provided by an embodiment of the present application. As shown in Figure 7, the device includes one or more processors and memory. Taking a processor as an example, the device may also include: an input system and an output system.
处理器、存储器、输入系统和输出系统可以通过总线或者其他方式连接,图7中以通过总线连接为例。The processor, the memory, the input system, and the output system may be connected by a bus or in other ways. In FIG. 7, the connection by a bus is taken as an example.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块。处理器通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例的处理方法。As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory, that is, realizing the processing methods of the foregoing method embodiments.
存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至处理系统。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory may include a program storage area and a data storage area, where the program storage area can store an operating system and an application program required by at least one function; the data storage area can store data and the like. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid state storage devices. In some embodiments, the storage may optionally include storage remotely arranged with respect to the processor, and these remote storages may be connected to the processing system through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
输入系统可接收输入的数字或字符信息,以及产生信号输入。输出系统可包括显示屏等显示设备。The input system can receive input digital or character information, and generate signal input. The output system may include display devices such as a display screen.
所述一个或者多个模块存储在所述存储器中,当被所述一个或者多个处理器执行时,执行上述任一方法实施例的以下操作:The one or more modules are stored in the memory, and when executed by the one or more processors, the following operations of any of the foregoing method embodiments are performed:
步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例提供的方法。The above-mentioned products can execute the methods provided in the embodiments of the present application, and have functional modules and beneficial effects corresponding to the execution methods. For technical details not described in detail in this embodiment, please refer to the method provided in the embodiment of this application.
本申请实施例提供了一种非暂态(非易失性)计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行以下操作:The embodiments of the present application provide a non-transitory (non-volatile) computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions can perform the following operations:
步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行以下操作:The embodiment of the present application provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer To make the computer do the following:
步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所 在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
本申请实施例的室内定位控制方法、系统及电子设备通过传输节点获取定位数据,云端服务器根据定位数据进行定位计算,并根据定位计算结果控制不同定位子区域内传输节点的工作状态,实现定位系统节能降耗。同时,本申请在保证定位精度的前提下,可以减少定位信号的干扰,降低定位装置的耗能,能够满足自身定位和搜索追踪目标的定位需求。The indoor positioning control method, system and electronic device of the embodiments of the application obtain positioning data through the transmission node, and the cloud server performs positioning calculation according to the positioning data, and controls the working status of the transmission node in different positioning sub-regions according to the positioning calculation result to realize the positioning system Energy saving. At the same time, under the premise of ensuring positioning accuracy, the present application can reduce the interference of positioning signals, reduce the energy consumption of the positioning device, and can meet the positioning requirements of self-positioning and searching and tracking targets.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本申请中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本申请所示的这些实施例,而是要符合与本申请所公开的原理和新颖特点相一致的最宽的范围。The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use this application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined in this application can be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application will not be limited to the embodiments shown in this application, but should conform to the widest scope consistent with the principles and novel features disclosed in this application.

Claims (11)

  1. 一种室内定位控制方法,其特征在于,包括以下步骤:An indoor positioning control method, characterized by comprising the following steps:
    步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
    步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
    步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
  2. 根据权利要求1所述的室内定位控制方法,其特征在于,在所述步骤a中,所述传输节点包括蓝牙功能模块、WiFi功能模块、微处理模块、存储模块和电源模块,所述蓝牙功能模块用于获取用户的定位数据,所述WiFi功能模块用于定位数据的转发以及和云端服务器通信,所述微处理模块用于定位数据的处理、发送,并执行对蓝牙功能模块和WiFi功能模块的节能控制,所述存储模块用于存储传输节点的位置坐标信息,所述电源模块用于向传输节点供电;所述传输节点的工作状态包括工作模式、等待模式和间歇休眠模式。The indoor positioning control method according to claim 1, wherein in the step a, the transmission node includes a Bluetooth function module, a WiFi function module, a microprocessor module, a storage module, and a power supply module, and the Bluetooth function The module is used to obtain the user's positioning data, the WiFi function module is used to forward positioning data and communicate with the cloud server, and the micro-processing module is used to process and send positioning data, and perform communication between the Bluetooth function module and the WiFi function module. The storage module is used to store the position coordinate information of the transmission node, and the power module is used to supply power to the transmission node; the working state of the transmission node includes working mode, waiting mode and intermittent sleep mode.
  3. 根据权利要求1或2所述的室内定位控制方法,其特征在于,所述步骤a还包括:根据当前定位平面的尺寸,均匀将当前定位平面划分为n*m个定位子区域,每个定位子区域以矩阵元素a i,j进行编号;并将每个定位子区域均匀划分为长宽分别为c,d的p*k个触发区域,每个触发区域以矩阵元素b t,r进行编号;其中,所述定位子区域的触发区域包括独立触发区域、相邻触发区域和公共触发区域。 The indoor positioning control method according to claim 1 or 2, wherein the step a further comprises: according to the size of the current positioning plane, uniformly dividing the current positioning plane into n*m positioning sub-areas, and each positioning The sub-regions are numbered by matrix elements a i, j ; each positioning sub-region is evenly divided into p*k trigger regions with length and width of c, d, and each trigger region is numbered by matrix elements b t, r ; Wherein, the trigger area of the positioning sub-area includes an independent trigger area, an adjacent trigger area and a common trigger area.
  4. 根据权利要求3所述的室内定位控制方法,其特征在于,在所述步骤b中,所述云端服务器基于定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,得到节能控制矩阵具体包括:The indoor positioning control method according to claim 3, characterized in that, in the step b, the cloud server calculates the positioning sub-area where the user is currently located based on the positioning data through the box algorithm, and calculates the positioning sub-region where the user is currently located according to the positioning data. The boundary point coordinates are respectively calculated for the positioning sub-area matrix and the trigger area matrix, and the energy-saving control matrix obtained includes:
    步骤b1:根据所述边界点坐标分别获取定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号;其中,对边界点A的坐标进行缩小运算,X A/a,Y A/b向下取整得到定位子区域矩阵元素的编号x A,y A,元素
    Figure PCTCN2019123028-appb-100001
    代表的定位子区域为边界点A所在位置:
    Step b1: Obtain the numbers of the matrix elements corresponding to the positioning sub-area and the numbers of the matrix elements corresponding to the trigger area according to the boundary point coordinates; among them, the coordinates of the boundary point A are reduced, X A /a, Y A /b Round down to get the number x A , y A , element of the matrix element of the positioning subarea
    Figure PCTCN2019123028-appb-100001
    The representative positioning sub-region is the location of boundary point A:
    Figure PCTCN2019123028-appb-100002
    Figure PCTCN2019123028-appb-100002
    对边界点A所在位置进行两次缩小运算得到触发区域对应矩阵元素的编号,X A,Y A分别对a,b取模,得到在定位子区域中的相对坐标(x 1,y 1),对x 1/c,y 1/d向下取整得到触发区域矩阵元素下标x a,y b,元素
    Figure PCTCN2019123028-appb-100003
    代表的触发区域即为边界点A在定位子区域的具体范围:
    Perform two reduction operations on the location of the boundary point A to obtain the number of the matrix element corresponding to the trigger area. X A and Y A modulate a and b respectively to obtain the relative coordinates (x 1 , y 1 ) in the positioning sub-region, Round down x 1 /c and y 1 /d to get the subscripts x a , y b , elements of the trigger area matrix
    Figure PCTCN2019123028-appb-100003
    The representative trigger area is the specific range of boundary point A in the positioning sub-area:
    Figure PCTCN2019123028-appb-100004
    Figure PCTCN2019123028-appb-100004
    步骤b2:云端服务器根据边界点坐标计算出的定位子区域编号对定位子区域元素进行赋值,根据赋值构建边界点A的定位子区域矩阵s AStep b2: The cloud server assigns values to the elements of the positioning sub-regions based on the positioning sub-region numbers calculated by the boundary point coordinates, and constructs the positioning sub-region matrix s A of the boundary point A according to the assignment;
    步骤b3:根据边界点坐标计算出的触发区域编号对触发区域元素进行赋值,构建边界点的触发区域矩阵s′ AStep b3: Assign values to the elements of the trigger area according to the trigger area number calculated from the coordinates of the boundary point to construct the trigger area matrix s′ A of the boundary point;
    步骤b4:所述定位子区域矩阵与触发区域矩阵之和构成边界点A的控制矩阵,四个边界点的控制矩阵之和构成节能控制矩阵S;Step b4: The sum of the positioning sub-area matrix and the trigger area matrix constitutes the control matrix of the boundary point A, and the sum of the control matrices of the four boundary points constitutes the energy-saving control matrix S;
    S=∑(s+s′)。S=∑(s+s').
  5. 根据权利要求4所述的室内定位控制方法,其特征在于,在所述步骤c中,所述根据节能控制矩阵中各个元素的值生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制具体为:赋值为0的元素表示该元素所代表的定位子区域没有用户靠近,区域内的传输节点进入间歇休眠模式;赋值大于0小于5的元素表示用户靠近该定位子区域,区域内的传输节点进入等待模式;赋值大于等于5的元素表示用户在该定位子区域或者用户将会到达该区域,区域内的传输节点进入工作模式,赋值为8的元素表示边界点位于该定位子区域内,该定位子区域内的传输节点处于工作模式。The indoor positioning control method according to claim 4, characterized in that, in the step c, the control instruction is generated according to the value of each element in the energy-saving control matrix, and the control instruction is broadcast to the transmission node. The working state of the transmission node is specifically controlled as follows: an element assigned a value of 0 indicates that the positioning sub-area represented by the element is not approached by a user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value greater than 0 and less than 5 indicates that the user is approaching In the positioning sub-area, the transmission node in the area enters the waiting mode; the element with a value greater than or equal to 5 indicates that the user is in the positioning sub-area or the user will arrive in the area, the transmission node in the area enters the working mode, and the element with a value of 8 indicates The boundary point is located in the positioning sub-area, and the transmission nodes in the positioning sub-area are in working mode.
  6. 一种室内定位控制系统,其特征在于,包括:An indoor positioning control system, characterized in that it comprises:
    传输节点:用于获取用户的定位数据;Transmission node: used to obtain user positioning data;
    云端服务器:用于基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;并根据所述节能控制矩阵生成控制指令,将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Cloud server: based on the positioning data, calculate the positioning sub-area where the user is currently located by the box algorithm, and calculate the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, according to the The energy-saving control matrix is obtained by locating the sub-area matrix and the triggering area matrix; and generating control instructions according to the energy-saving control matrix, broadcasting the control instructions to the transmission node, and controlling the working state of the transmission node.
  7. 根据权利要求6所述的室内定位控制系统,其特征在于,所述传输节点包括蓝牙功能模块、WiFi功能模块、微处理模块、存储模块和电源模块,所述蓝牙功能模块用于获取用户的定位数据,所述WiFi功能模块用于定位数据的转发以及和云端服务器通信,所述微处理模块用于定位数据的处理、发送,并执行对蓝牙功能模块和WiFi功能模块的节能控制,所述存储模块用于存储传输节点的位置坐标信息,所述电源模块用于向传输节点供电;所述传输节点的工作状态包括工作模式、等待模式和间歇休眠模式。The indoor positioning control system according to claim 6, wherein the transmission node includes a Bluetooth function module, a WiFi function module, a microprocessor module, a storage module, and a power supply module, and the Bluetooth function module is used to obtain the user's position The WiFi function module is used to forward positioning data and communicate with the cloud server, the micro-processing module is used to process and send positioning data, and perform energy-saving control of the Bluetooth function module and the WiFi function module, and the storage The module is used to store the position coordinate information of the transmission node, the power module is used to supply power to the transmission node; the working state of the transmission node includes a working mode, a waiting mode and an intermittent sleep mode.
  8. 根据权利要求6或7所述的室内定位控制系统,其特征在于,还包括:The indoor positioning control system according to claim 6 or 7, characterized in that it further comprises:
    区域划分模块:用于根据当前定位平面的尺寸,均匀将当前定位平面划分为n*m个定位子区域,每个定位子区域以矩阵元素a i,j进行编号;并将每个定位子区域均匀划分为长宽分别为c,d的p*k个触发区域,每个触发区域以矩阵元素b t,r进行编号;其中,所述定位子区域的触发区域包括独立触发区域、相邻触发区域和公共触发区域。 Area division module: used to evenly divide the current positioning plane into n*m positioning sub-areas according to the size of the current positioning plane, and each positioning sub-area is numbered by matrix elements a i, j ; and each positioning sub-area Evenly divided into p*k trigger areas with length and width of c, d, each trigger area is numbered by matrix elements b t, r ; wherein, the trigger area of the positioning sub-area includes independent trigger area and adjacent trigger area. Area and common trigger area.
  9. 根据权利要求8所述的室内定位控制系统,其特征在于,所述云端服务器具体包括:The indoor positioning control system according to claim 8, wherein the cloud server specifically comprises:
    定位区域计算模块:用于基于定位数据,通过盒子算法计算出用户当前所在的定位子区域,根据定位子区域获得边界点坐标,并根据边界点坐标分别获取定位子区域对应矩阵元素的编号以及触发区域对应矩阵元素的编号;其中,对边界点A的坐标进行缩小运算,X A/a,Y A/b向下取整得到定位子区域矩阵元素的编号x A,y A,元素
    Figure PCTCN2019123028-appb-100005
    代表的定位子区域为边界点A所在位置:
    Positioning area calculation module: used to calculate the current positioning sub-area of the user through the box algorithm based on the positioning data, obtain the boundary point coordinates according to the positioning sub-area, and obtain the corresponding matrix element number and trigger of the positioning sub-area according to the boundary point coordinates. The area corresponds to the number of the matrix element; among them, the coordinate of the boundary point A is reduced, X A /a, Y A /b is rounded down to get the number of the matrix element of the positioning sub-area x A , y A , element
    Figure PCTCN2019123028-appb-100005
    The representative positioning sub-region is the location of boundary point A:
    Figure PCTCN2019123028-appb-100006
    Figure PCTCN2019123028-appb-100006
    对边界点A所在位置进行两次缩小运算得到触发区域对应矩阵元素的编号,X A,Y A分别对a,b取模,得到在定位子区域中的相对坐标(x 1,y 1),对x 1/c,y 1/d向下取整得到触发区域矩阵元素下标x a,y b,元素
    Figure PCTCN2019123028-appb-100007
    代表的触发区域即为边界点A在定位子区域的具体范围:
    Perform two reduction operations on the location of the boundary point A to obtain the number of the matrix element corresponding to the trigger area. X A and Y A modulate a and b respectively to obtain the relative coordinates (x 1 , y 1 ) in the positioning sub-region, Round down x 1 /c and y 1 /d to get the subscripts x a , y b , elements of the trigger area matrix
    Figure PCTCN2019123028-appb-100007
    The representative trigger area is the specific range of boundary point A in the positioning sub-area:
    Figure PCTCN2019123028-appb-100008
    Figure PCTCN2019123028-appb-100008
    控制矩阵计算模块:用于根据边界点坐标计算出的定位子区域编号对定位子区域元素进行赋值,根据赋值构建边界点A的定位子区域矩阵s A;根据边界点坐标计算出的触发区域编号对触发区域元素进行赋值,构建边界点的触发区域 矩阵s′ A;所述定位子区域矩阵与触发区域矩阵之和构成边界点A的控制矩阵,四个边界点的控制矩阵之和构成节能控制矩阵S; Control matrix calculation module: used to assign values to the elements of the positioning sub-area according to the positioning sub-area number calculated by the boundary point coordinates, and to construct the positioning sub-area matrix s A of the boundary point A according to the assignment; the trigger area number calculated according to the boundary point coordinates Assign values to the elements of the trigger area to construct the boundary point trigger area matrix s′ A ; the sum of the positioning sub-area matrix and the trigger area matrix constitutes the control matrix of the boundary point A, and the sum of the control matrices of the four boundary points constitutes the energy-saving control Matrix S;
    S=∑(s+s′)。S=∑(s+s').
  10. 根据权利要求9所述的室内定位控制系统,其特征在于,所述云端服务器根据节能控制矩阵中各个元素的值生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制具体为:赋值为0的元素表示该元素所代表的定位子区域没有用户靠近,区域内的传输节点进入间歇休眠模式;赋值大于0小于5的元素表示用户靠近该定位子区域,区域内的传输节点进入等待模式;赋值大于等于5的元素表示用户在该定位子区域或者用户将会到达该区域,区域内的传输节点进入工作模式,赋值为8的元素表示边界点位于该定位子区域内,该定位子区域内的传输节点处于工作模式。The indoor positioning control system according to claim 9, wherein the cloud server generates a control instruction according to the value of each element in the energy-saving control matrix, and broadcasts the control instruction to the transmission node, and the transmission node The working status is controlled specifically as follows: an element assigned a value of 0 indicates that the positioning sub-area represented by the element is not approached by a user, and the transmission node in the area enters intermittent sleep mode; an element assigned a value of greater than 0 and less than 5 indicates that the user is close to the positioning sub-area, The transmission node in the area enters the waiting mode; the element with a value greater than or equal to 5 indicates that the user is in the location sub-area or the user will arrive in the area, the transmission node in the area enters the working mode, and the element with a value of 8 indicates that the boundary point is located in the location In the sub-area, the transmission nodes in the positioning sub-area are in working mode.
  11. 一种电子设备,包括:An electronic device including:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述1至5任一项所述的室内定位控制方法的以下操作:The memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the indoor positioning described in any one of 1 to 5 above The following operations of the control method:
    步骤a:通过传输节点获取用户的定位数据;Step a: Obtain the user's positioning data through the transmission node;
    步骤b:云端服务器基于所述定位数据,通过盒子算法计算出用户当前所在的定位子区域,并根据所述定位子区域的边界点坐标分别计算出定位子区域矩阵和触发区域矩阵,根据所述定位子区域矩阵和触发区域矩阵得到节能控制矩阵;Step b: Based on the positioning data, the cloud server calculates the positioning sub-area where the user is currently located through the box algorithm, and calculates the positioning sub-area matrix and the trigger area matrix respectively according to the boundary point coordinates of the positioning sub-area, and according to the Position the sub-area matrix and the trigger area matrix to obtain the energy-saving control matrix;
    步骤c:根据所述节能控制矩阵生成控制指令,并将所述控制指令广播到传输节点,对所述传输节点的工作状态进行控制。Step c: Generate a control instruction according to the energy-saving control matrix, and broadcast the control instruction to a transmission node to control the working state of the transmission node.
PCT/CN2019/123028 2019-03-26 2019-12-04 Indoor positioning control method, system and electronic device WO2020192171A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910233308.3A CN110087179B (en) 2019-03-26 2019-03-26 Indoor positioning control method and system and electronic equipment
CN201910233308.3 2019-03-26

Publications (1)

Publication Number Publication Date
WO2020192171A1 true WO2020192171A1 (en) 2020-10-01

Family

ID=67413658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123028 WO2020192171A1 (en) 2019-03-26 2019-12-04 Indoor positioning control method, system and electronic device

Country Status (2)

Country Link
CN (1) CN110087179B (en)
WO (1) WO2020192171A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117252620A (en) * 2023-09-26 2023-12-19 深圳市凯必禾信息科技有限公司 Marketing information pushing system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087179B (en) * 2019-03-26 2020-07-21 深圳先进技术研究院 Indoor positioning control method and system and electronic equipment
CN110907963B (en) * 2019-12-06 2022-09-02 Oppo广东移动通信有限公司 Satellite positioning engine control method and device and electronic equipment
CN114264308A (en) * 2021-12-24 2022-04-01 四川启睿克科技有限公司 Indoor positioning method by using floor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144476A (en) * 2013-05-08 2014-11-12 中国移动通信集团山东有限公司 Electricity saving method of wireless access points, strategy control device and electricity saving system
CN108401280A (en) * 2018-02-07 2018-08-14 新华三技术有限公司 A kind of AP power-economizing methods, device and AC
CN110087179A (en) * 2019-03-26 2019-08-02 深圳先进技术研究院 A kind of indoor positioning control method, system and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2350663B1 (en) * 2008-08-14 2011-11-18 Vodafone España, S.A.U. DETERMINATION OF THE POSITION OF A MOBILE STATION.
CN102573058B (en) * 2012-01-16 2016-01-06 上海齐汇通讯技术有限公司 A kind of wireless sensor network Precise Position System and method
CN103476118B (en) * 2013-09-29 2016-03-23 哈尔滨工业大学 A kind of WLAN indoor location fingerprint positioning method for monitoring in real time
CN103533647B (en) * 2013-10-24 2016-05-18 福建师范大学 A kind of radio frequency map adaptive location method based on sub-clustering mechanism and robustness regression
CN104159293B (en) * 2014-07-08 2018-01-19 上海交通大学 Towards the indoor orientation method of high speed unmanned rotary wing aircraft
CN106291468B (en) * 2016-10-09 2018-08-03 无锡职业技术学院 It is a kind of can quick positioning system and its localization method in the sonication chamber of remote monitoring
CN106793072B (en) * 2016-12-08 2020-02-21 重庆大学 Rapid building method of indoor positioning system
CN106705958A (en) * 2016-12-30 2017-05-24 中国科学院深圳先进技术研究院 Indoor positioning method and device based on geomagnetic field
KR102130933B1 (en) * 2017-03-16 2020-07-08 론프록스 코퍼레이션 Systems and methods for positioning indoors using wireless positioning nodes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144476A (en) * 2013-05-08 2014-11-12 中国移动通信集团山东有限公司 Electricity saving method of wireless access points, strategy control device and electricity saving system
CN108401280A (en) * 2018-02-07 2018-08-14 新华三技术有限公司 A kind of AP power-economizing methods, device and AC
CN110087179A (en) * 2019-03-26 2019-08-02 深圳先进技术研究院 A kind of indoor positioning control method, system and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117252620A (en) * 2023-09-26 2023-12-19 深圳市凯必禾信息科技有限公司 Marketing information pushing system

Also Published As

Publication number Publication date
CN110087179B (en) 2020-07-21
CN110087179A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
WO2020192171A1 (en) Indoor positioning control method, system and electronic device
WO2021218223A1 (en) Bluetooth mesh-based illumination control method and related system
Chandirasekaran et al. Cat swarm algorithm in wireless sensor networks for optimized cluster head selection: a real time approach
CN103345298B (en) Method of data center energy saving system based on virtual IT resource distribution technology
CN101971675A (en) Wireless network including post groupcast time
CN105309012A (en) Method, device, and system for waking up access point device
WO2021139593A1 (en) Energy saving method and apparatus, computer device and storage medium
CN103079212B (en) A kind of dynamic frequency allocation method based on interference matrix
US10924995B2 (en) Wake-up radio roaming
RU2014117727A (en) COORDINATION OF SELF-OPTIMIZATION OPERATIONS IN A SELF-ORGANIZING NETWORK
Zhang Real-time detection of energy consumption of IoT network nodes based on artificial intelligence
Han et al. Impacts of traveling paths on energy provisioning for industrial wireless rechargeable sensor networks
CN109495840B (en) Wireless communication method, device, system and storage medium
Xue et al. Prediction-based protocol for mobile target tracking in wireless sensor networks
CN102104522A (en) Real-time communication optimizing method and equipment orienting to cyber-physical system
CN108234562A (en) A kind of apparatus control method, control device and controlled plant
Gou et al. Reconstruction of coverage hole model and cooperative repair optimization algorithm in heterogeneous wireless sensor networks
CN113110589A (en) Distributed relative positioning method and system for compact formation configuration of unmanned aerial vehicle cluster
CN106792484B (en) Tree-structure wireless sensor network networking method and system thereof
CN207911031U (en) Indoor positioning navigation system
CN102595594B (en) Wireless sensor network node positioning method based on node distribution density
Yu et al. A fast hierarchical physical topology update scheme for edge-cloud collaborative IoT systems
Ma et al. Research on localization technology in wireless sensor networks
Kim et al. The implementation of smart home system based on 3G and ZigBee in wireless network systems
Saha et al. Improved harmony search based clustering protocol for wireless sensor networks with mobile sink

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: 19922173

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: 19922173

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19922173

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/03/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19922173

Country of ref document: EP

Kind code of ref document: A1