WO2020042146A1 - 定位信息确定方法、定位方法、节点、网关及物联网系统 - Google Patents
定位信息确定方法、定位方法、节点、网关及物联网系统 Download PDFInfo
- Publication number
- WO2020042146A1 WO2020042146A1 PCT/CN2018/103519 CN2018103519W WO2020042146A1 WO 2020042146 A1 WO2020042146 A1 WO 2020042146A1 CN 2018103519 W CN2018103519 W CN 2018103519W WO 2020042146 A1 WO2020042146 A1 WO 2020042146A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- parameter
- gateway
- preset
- value
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/14—Determining absolute distances from a plurality of spaced points of known location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present application relates to the technical field of the Internet of Things, and more particularly, to a positioning information determination method, a positioning method, a node, a gateway, and an Internet of Things system.
- the Internet of Things is a network of connected items.
- the Internet of Things collects the information of the terminal (also called a node) through the lowest-level device, that is, the gateway, and reports it to the upper-layer devices (such as the monitoring station) of the Internet of Things, so that the terminal can be monitored and managed.
- the commonly used node positioning method is to add a GPS module to a node and use GPS signals for positioning. This method not only increases the hardware cost of the node, but because the IoT node is generally powered by the battery, and the GPS module needs to consume power, therefore, adding the GPS module will undoubtedly shorten the working time of the node.
- the purpose of this application is to provide a positioning information determination method, a positioning method, a node, a gateway, and an Internet of Things system, so as to realize positioning of a node at a lower cost and power consumption.
- a positioning information determination method applied to a node includes:
- a synchronization policy sends an adjustment instruction to each of the target gateways, and the adjustment instruction is used to instruct the target gateway to adjust the value of at least one preset parameter to determine that the node is located with the target gateway as The central annular area, where the preset parameter is related to the coverage distance of the gateway signal; the determined annular area is used to determine the location of the node.
- the request for obtaining a positioning mode includes:
- the performing information exchange with gateways around the node, and determining a preset number of target gateways among the gateways around the node according to the interaction results including:
- the number of the candidate gateways is greater than or equal to the preset number, determining a preset number of target gateways among the candidate gateways;
- the number of gateways to be selected is less than the preset number, adjust the value of the at least one preset parameter in synchronization with the gateways around the node to increase the signal coverage distance of the gateways around the node ; Return to the step of performing the broadcasting the first positioning request message.
- the performing information exchange with gateways around the node, and determining a preset number of target gateways among the gateways around the node according to the interaction results including:
- the number of the received second positioning request information is greater than or equal to the preset number, determining a preset number of target gateways among the gateways sending the second positioning request message;
- the value of the at least one preset parameter is adjusted in synchronization with the gateway around the node, so as to expand the gateway around the node.
- the signal covers the distance; and returns to the step of receiving the second positioning request information sent by a gateway around the node.
- the sending an adjustment instruction to each of the target gateways according to a preset synchronization strategy includes:
- the target gateway If the determination result is no, send a second adjustment instruction to the target gateway, and restore the value of the parameter to be adjusted to the value before the last adjustment, and the second adjustment instruction is used to instruct the target gateway Returning the value of the parameter to be adjusted to the value before the last adjustment; if there are unadjusted parameters, selecting the next preset parameter among the at least one preset parameter as the parameter to be adjusted, And returning to the step of determining the target value of the parameter to be adjusted according to a preset adjustment strategy, and in the case where there is no unadjusted parameter, sending an adjustment end message to the target gateway, so that the target gateway Determine the annular area centered on the target gateway where the node is located according to the coverage distance determined in the last two times and the position of the target gateway.
- the sending an adjustment instruction to each of the target gateways according to a preset synchronization strategy includes:
- the target gateway If the determination result is no, send a fifth adjustment instruction to the target gateway, and restore the value of the parameter to be adjusted to the value before the last adjustment; the fifth adjustment instruction is used to instruct the target gateway Restore the value of the parameter to be adjusted to the value before the last adjustment;
- a sixth adjustment instruction is sent to the target gateway to instruct the target gateway to select a next preset parameter among the at least one preset parameter according to the preset selection strategy.
- a parameter to be adjusted and returning to executing the step of adjusting the value of the parameter to be adjusted to a target value according to the preset adjustment strategy;
- the at least one preset parameter is at least one of the following three parameters: a spreading factor, a bandwidth, and a transmission power.
- a positioning information determining method applied to a gateway includes:
- the node performs information interaction with the node entering the positioning mode, so that the node determines a preset number of target gateways according to the interaction result, the preset number is a positive integer greater than or equal to 3;
- an adjustment instruction sent by the node is received, adjusting the value of at least one preset parameter in response to the adjustment instruction, so as to determine a ring area centered on the gateway where the node is located; the The preset parameter is related to the coverage distance of the gateway signal; the determined circular area is used to determine the location of the node.
- the request for obtaining a positioning mode includes:
- the performing information interaction with a node entering a positioning mode includes:
- the performing information interaction with a node entering a positioning mode includes:
- the timing is an order in which all gateways entering a positioning mode send the second positioning request message to the node;
- the node sends the second positioning request message.
- the value of at least one preset parameter is adjusted in response to the adjustment instruction, so as to determine the gateway to which the node is located.
- Centered circular area including:
- the value of the parameter to be adjusted is adjusted to The target value
- the value of the parameter to be adjusted is restored to the value before the last adjustment
- the ring-shaped area centered on the gateway where the node is located is determined according to the coverage distance determined in the last two times and the location of the gateway.
- the value of at least one preset parameter is adjusted in response to the adjustment instruction, so as to determine the gateway to which the node is located.
- Centered circular area including:
- a preset parameter is selected as the parameter to be adjusted according to a preset selection strategy; the value of the parameter to be adjusted is adjusted to the target value according to the preset adjustment strategy; The value of the at least one preset parameter determines a signal coverage distance of the gateway;
- the value of the parameter to be adjusted is restored to the value before the last adjustment
- the next preset parameter is selected as the parameter to be adjusted according to the preset selection strategy, and the execution returns to the adjustment of the parameter to be adjusted according to the preset adjustment strategy.
- the ring-shaped area centered on the gateway where the node is located is determined according to the last two determined coverage distances and the position of the gateway to be synchronized.
- a method for determining positioning information includes:
- Both the node to be located and the gateways around the node to be located enter a positioning mode
- the node to be located performs information interaction with its surrounding gateways, and determines a preset number of target gateways among the gateways around the node to be located according to the interaction result, the preset number is a positive integer greater than or equal to 3 ;
- the node to be located sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the location of the node to be located.
- the target gateway is a circular area with a center; the preset parameter is related to a coverage distance of the gateway signal; and the determined circular area is used to determine a position where the node is located.
- the node to be located and a gateway around the node to be located both enter a positioning mode, including:
- the node to be located obtains a first positioning mode activation request, and in response to the first positioning mode activation request, sends a second positioning mode activation request to a home gateway of the node to be located, and enters a positioning mode;
- the first A positioning mode start request is generated by a user trigger, or the first positioning mode start request is sent by a preset terminal device to the node;
- the home gateway of the node to be located sends a third positioning mode activation request to the positioning server, and enters the positioning mode;
- the neighboring gateway of the home gateway enters a positioning mode in response to a fourth positioning mode activation request sent by the positioning server.
- the node to be located and a gateway around the node to be located both enter a positioning mode, including:
- the home gateway of the node to be located, and the neighboring gateway of the home gateway receive a fifth positioning mode activation request sent by the positioning server;
- the home gateway sends a sixth positioning mode activation request to the node to be located in response to the fifth positioning mode activation request, and enters a positioning mode, and the neighboring gateway of the home gateway responds to the fifth positioning mode activation request.
- the node to be located enters a positioning mode in response to the sixth positioning mode start request.
- the node to be located performs information interaction with the gateways around it, and determines a preset number of target gateways among the gateways around the node to be located according to the interaction result, including:
- a gateway around the node to be located receives the first positioning request message, sending a response message to the node to be located;
- the node to be located performs information interaction with the gateways around it, and determines a preset number of target gateways among the gateways around the node to be located according to the interaction result, including:
- a gateway around the node to be located sends a second positioning request message to the node to be located according to a preset timing
- the node to be located sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the pending
- the ring area where the bit node is located centered on the target gateway includes:
- the target gateway adjusts the value of the parameter to be adjusted to the target value in response to the first adjustment instruction, and determines a signal coverage distance of the target gateway according to the target value;
- the node to be located returns to execute the step of determining a target value of the parameter to be adjusted according to a preset adjustment strategy
- the node to be located sends a second adjustment instruction to the target gateway, and restores the value of the parameter to be adjusted to the value before the last adjustment;
- the target gateway restores the value of the parameter to be adjusted to the value before the last adjustment
- the node to be located selects the next preset parameter as the parameter to be adjusted, and returns to the step of determining the target value of the parameter to be adjusted according to the preset adjustment strategy, When there are no unadjusted parameters, the node to be located sends an adjustment end message to the target gateway;
- the target gateway determines a ring-shaped area centered on the target gateway where the node to be located is located according to the last two determined coverage distances and the position of the target gateway.
- the node to be located sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the
- the ring area where the bit node is located centered on the target gateway includes:
- the node to be located sends a third adjustment instruction to the target gateway
- the target gateway selects a preset parameter among the at least one preset parameter as a parameter to be adjusted according to a preset selection strategy
- the node to be located sends a fourth adjustment instruction to the target gateway
- the target gateway In response to the fourth adjustment instruction, the target gateway returns to execute the step of adjusting the value of the parameter to be adjusted to the target value according to a preset adjustment strategy;
- the node to be located returns to execute the step of adjusting the value of the parameter to be adjusted to the target value according to a preset adjustment strategy
- the node to be located sends a fifth adjustment instruction to the target gateway, and restores the value of the parameter to be adjusted to the value before the last adjustment;
- the target gateway restores the value of the parameter to be adjusted to the value before the last adjustment
- the node to be located sends a sixth adjustment instruction to the target gateway;
- the target gateway selects a next preset parameter among the at least one preset parameter as a parameter to be adjusted according to the preset selection strategy, and returns to execute the pressing the preset A step of the adjustment strategy determining a target value of the parameter to be adjusted;
- the node to be located Selecting, by the node to be located, the next preset parameter among the at least one preset parameter as the parameter to be adjusted according to the preset selection strategy, and returning to executing the determination of the parameter to be adjusted according to the preset adjustment strategy
- the node to be located sends an adjustment end instruction to the target gateway;
- the target gateway determines a circular area centered on the target gateway where the node is located according to the coverage distance determined the last two times and the position of the target gateway.
- a positioning method in which the position of a node is determined by using the annular region determined by the method for determining positioning information according to any one of the preceding, includes:
- a point is determined as the position of the node in the overlapping area.
- a node including:
- a first acquisition module configured to acquire a request to enter a positioning mode
- a first response module configured to enter a positioning mode in response to the request
- a first interaction module configured to perform information interaction with gateways around the node, and determine a preset number of target gateways among the gateways around the node according to the interaction result, where the preset number is greater than or equal to 3 Positive integer
- a first synchronization module configured to send an adjustment instruction to each of the target gateways according to a preset synchronization strategy, where the adjustment instruction is used to instruct the target gateway to adjust a value of at least one preset parameter to determine the
- the ring area where the node is located is centered on the target gateway, wherein the preset parameter is related to the coverage distance of the gateway signal; the determined ring area is used to determine the location of the node.
- the foregoing node is preferably that the first obtaining module is specifically configured to:
- the first interaction module is specifically configured to:
- the number of the candidate gateways is greater than or equal to the preset number, determining a preset number of target gateways among the candidate gateways;
- the number of gateways to be selected is less than the preset number, adjust the value of the at least one preset parameter in synchronization with the gateways around the node to increase the signal coverage distance of the gateways around the node ; Return to the step of performing the broadcasting the first positioning request message.
- the first interaction module is specifically configured to:
- the number of the received second positioning request information is greater than or equal to the preset number, determining a preset number of target gateways among the gateways sending the second positioning request message;
- the value of the at least one preset parameter is adjusted in synchronization with the gateway around the node, so as to expand the gateway around the node.
- the signal covers the distance; and returns to the step of receiving the second positioning request information sent by a gateway around the node.
- the first synchronization module is specifically configured to:
- the target gateway If the determination result is no, send a second adjustment instruction to the target gateway, and restore the value of the parameter to be adjusted to the value before the last adjustment, and the second adjustment instruction is used to instruct the target gateway Returning the value of the parameter to be adjusted to the value before the last adjustment; if there are unadjusted parameters, selecting the next preset parameter among the at least one preset parameter as the parameter to be adjusted, And returning to the step of determining the target value of the parameter to be adjusted according to a preset adjustment strategy, and in the case where there is no unadjusted parameter, sending an adjustment end message to the target gateway, so that the target gateway Determine the annular area centered on the target gateway where the node is located according to the coverage distance determined in the last two times and the position of the target gateway.
- the first synchronization module is specifically configured to:
- the target gateway If the determination result is no, send a fifth adjustment instruction to the target gateway, and restore the value of the parameter to be adjusted to the value before the last adjustment; the fifth adjustment instruction is used to instruct the target gateway Restore the value of the parameter to be adjusted to the value before the last adjustment;
- a sixth adjustment instruction is sent to the target gateway to instruct the target gateway to select a next preset parameter among the at least one preset parameter according to the preset selection strategy.
- a parameter to be adjusted and returning to executing the step of adjusting the value of the parameter to be adjusted to a target value according to the preset adjustment strategy;
- the at least one preset parameter is at least one of the following three parameters: a spreading factor, a bandwidth, and a transmission power.
- a gateway including:
- a second acquisition module configured to acquire a request to enter a positioning mode
- a second response module configured to enter a positioning mode in response to the request
- a second interaction module configured to perform information interaction with a node that enters a positioning mode, so that the node determines a preset number of target gateways according to the interaction result, where the preset number is a positive integer greater than or equal to 3;
- a second synchronization module configured to adjust a value of at least one preset parameter in response to the adjustment instruction sent by the node, so as to determine that the node is located with the gateway as A central circular area; the preset parameter is related to the coverage distance of the gateway signal; the determined circular area is used to determine the position of the node.
- the second obtaining module is specifically configured to:
- the second interaction module is specifically configured to:
- the second interaction module is specifically configured to:
- the timing is an order in which all gateways entering a positioning mode send the second positioning request message to the node;
- the node sends the second positioning request message.
- the second synchronization module is specifically configured to:
- the value of the parameter to be adjusted is adjusted to The target value
- the value of the parameter to be adjusted is restored to the value before the last adjustment
- the ring-shaped area centered on the gateway where the node is located is determined according to the coverage distance determined in the last two times and the location of the gateway.
- the second synchronization module is specifically configured to:
- a preset parameter is selected as the parameter to be adjusted according to a preset selection strategy; the value of the parameter to be adjusted is adjusted to the target value according to the preset adjustment strategy; The value of the at least one preset parameter determines a signal coverage distance of the gateway;
- the value of the parameter to be adjusted is restored to the value before the last adjustment
- the next preset parameter is selected as the parameter to be adjusted according to the preset selection strategy, and the execution returns to the adjustment of the parameter to be adjusted according to the preset adjustment strategy.
- the ring-shaped area centered on the gateway where the node is located is determined according to the last two determined coverage distances and the position of the gateway to be synchronized.
- An Internet of Things system includes a node according to any one of the preceding items, a gateway according to any one of the preceding items, and a positioning server; the gateway communicates with the positioning server through the Internet.
- a positioning information determination method a positioning method, a node, a gateway, and an IoT system provided by this application.
- the node and the gateway around the node both enter a positioning mode, and then the node is around At least three gateways are determined as target gateways among the gateways, and a node performs information interaction with the at least three target gateways, so that the target gateway determines a ring area centered on the target gateway where the node is located, so that the ring area can be overlapped according to the overlap of the ring areas.
- the area determines the location of the node. Since this method does not require the node to add a GPS module, it can achieve positioning of the node at a lower cost and power consumption.
- FIG. 1 is a schematic structural diagram of an Internet of Things system according to an embodiment of the present application.
- FIG. 2 is an implementation flowchart of a method for determining positioning information according to an embodiment of the present application
- FIG. 3 is an implementation flowchart of a node to be located and a gateway around the node to be located in a positioning mode according to an embodiment of the present application;
- FIG. 4 is another implementation flowchart of a node to be located and a gateway around the node to be located that are in a positioning mode according to an embodiment of the present application;
- FIG. 5 is an embodiment of the present application.
- a to-be-located node sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the location of the to-be-located node.
- FIG. 6 is an embodiment of the present application.
- a to-be-located node sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy, to instruct the target gateway to adjust the value of at least one preset parameter, so as to determine the location of the Another implementation flowchart of the ring area centered on the target gateway;
- FIG. 7 is an implementation flowchart of a method for determining positioning information applied to a node according to an embodiment of the present application
- FIG. 8 is an implementation flowchart of a method for determining positioning information applied to a gateway according to an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a node according to an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a gateway according to an embodiment of the present application.
- FIG. 1 is a schematic structural diagram of an IoT system according to an embodiment of the present application, including: a positioning server, a plurality of gateways, and nodes. Among them, there may be several nodes. Show one. Among them, the positioning server and the gateway can communicate through the Internet, and the gateway and the gateway can also communicate through the Internet. The gateway and the node communicate with each other based on LoRa (Long Range), that is, the gateway and the node communicate through the LoRa wireless module.
- LoRa Long Range
- FIG. 2 is an implementation flowchart of a method for determining positioning information according to an embodiment of the present application, which may include:
- Step S21 Both the node to be located and the gateways around the node to be located enter the positioning mode.
- the gateways around the node to be located include: the home gateway of the node to be located, and the neighboring gateways of the home gateway.
- the nodes and gateways in the Internet of Things are both provided with a normal working mode and a positioning mode.
- the home gateway of the node to be located refers to the gateway that communicates with the node to be located when both the node to be located and the gateway are in the normal working mode.
- both the node and the gateway are in the normal working mode, the working frequencies of the adjacent gateways are different. Therefore, the node can only communicate with one of the gateways at the same time.
- both the node and the gateway around the node are required to enter a positioning mode, that is, the working frequency of the node and the gateway around the node are adjusted to the same preset frequency.
- the working bandwidth of the gateways are adjusted to the same preset bandwidth, and the spreading factors of the nodes and the gateways around the nodes are also adjusted to the same preset spreading factor, so that in addition to communicating with the home gateway, the node can also communicate with the home network.
- the gateway's neighboring gateways communicate.
- Step S22 The to-be-located node performs information interaction with its surrounding gateways, and determines a preset number (for convenience of description, N) of the target gateways among the gateways around the to-be-located node according to the interaction result, and the preset number is Is a positive integer greater than or equal to 3.
- the node to be located performs information interaction with the gateways around it to determine which gateways can communicate with the node to be located and the signal quality of the gateways that communicate with the node to be located.
- the signal quality can be characterized by the signal-to-noise ratio. The larger the signal-to-noise ratio, the better the signal quality, and the smaller the signal-to-noise ratio, the worse the signal quality.
- the node to be located can determine the target gateway according to the signal-to-noise ratio of the signal transmitted by the gateway. Specifically, among the gateways that can communicate with the node to be located, the N gateways with the highest signal-to-noise ratio of the transmitted signal are selected as the target gateway.
- the determined preset number of target gateways may include the home gateway of the node to be located, or may not include the home gateway of the node to be located.
- Step S23 The node to be located sends an adjustment instruction to each target gateway according to a preset synchronization strategy, so that the node to be located and the target gateway adjust the value of at least one preset parameter synchronously, so that the target gateway determines the location of the node to be located.
- a ring area centered on the target gateway, this ring area is the positioning information.
- the adjustment instruction is used to instruct the target gateway to adjust the value of the at least one preset parameter.
- the preset synchronization strategy refers to a strategy in which the node to be located and the target gateway adjust the at least one preset parameter synchronously.
- the at least one preset parameter is a parameter associated with the signal coverage distance of the gateway.
- the at least one preset parameter may be at least one of the following three parameters: a spreading factor, a bandwidth, and a transmission power.
- the signal coverage distance of the target gateway can be adjusted, so that the target gateway can cover the minimum coverage distance when the target gateway's signal can cover the node to be located,
- the maximum coverage distance when the node to be located can be covered, and the location of the gateway can determine the ring area corresponding to the target gateway where the node to be located is located. That is, each target gateway determines a ring area where the node to be located is located.
- the position of the node to be located can be calculated based on the N ring areas. Specifically:
- a point in the overlapping area as the position of the node to be located.
- a point in the overlapping area may be randomly determined as the position of the node to be located, or the centroid of the above-mentioned overlapping area may be calculated, and the position of the center of mass may be used as the position of the node to be located.
- the above-mentioned process of calculating the position of the node to be located may be completed at the positioning server, that is, the target gateway sends the obtained positioning information to the positioning server, and the positioning server calculates the position of the node to be located according to the positioning information. or,
- the above-mentioned process of calculating the position of the node to be located may be completed on the side of the node to be located, that is, the target gateway sends the obtained positioning information to the node to be located, and the node to be located calculates the position of the node to be located according to the positioning information.
- both the node and the gateways around the node enter a positioning mode, and then the node determines at least three gateways among the surrounding gateways as target gateways.
- At least three target gateways perform information interaction, so that the target gateway determines a ring area centered on the target gateway where the node is located, so that the node position can be determined according to the overlapping area of the ring area. Since this method does not require the node to add a GPS module, it can achieve positioning of the node at a lower cost and power consumption.
- FIG. 3 is an implementation flowchart of a node to be located and a gateway around the node to be located in a positioning mode according to an embodiment of the present application, which may include:
- Step S31 The node to be located obtains a request for starting the first positioning mode.
- the first positioning mode start request may be generated by a user trigger, or the first positioning mode start request may be sent to a node by a preset terminal device.
- the preset terminal may be a mobile communication terminal, such as a mobile phone, or a remote controller that matches the node.
- Step S32 The node to be located sends a second positioning mode initiation request to the home gateway of the node to be located in response to the first positioning mode initiation request.
- Step S33 The node to be located enters a positioning mode.
- the node to be located enters the positioning mode after sending a second positioning mode start request.
- Step S34 The home gateway of the node to be located sends a third positioning mode activation request to the positioning server in response to the second positioning mode activation request.
- steps S34 and S33 are not specifically limited, and step S34 may be executed before step S33, may be executed after step S33, or executed simultaneously with step S33.
- Step S35 The home gateway of the node to be located enters the positioning mode.
- the home gateway of the positioning node After the home gateway of the positioning node sends a third positioning mode start request, it enters the positioning mode.
- Step S36 The positioning server sends a fourth positioning mode activation request to a neighboring gateway of the home gateway in response to the third positioning mode activation request.
- steps S36 and S35 are not specifically limited, and step S36 may be executed before step S35, may be executed after step S35, or executed simultaneously with step S35.
- Step S37 The neighboring gateway of the home gateway enters the positioning mode in response to the fourth positioning mode start request sent by the positioning server.
- a positioning mode initiation request is initiated by a node to be located.
- FIG. 4 is another implementation flowchart of a node to be located and a gateway around the node to be located in the positioning mode according to an embodiment of the present application, which may include:
- Step S41 The positioning server sends a fifth positioning mode activation request to the home gateway of the node to be located and the neighboring gateway of the home gateway.
- Step S42 In response to the fifth positioning mode start request, the home gateway sends a sixth positioning mode start request to the node to be located.
- Step S43 The home gateway enters a positioning mode.
- the home gateway of the node to be located After the home gateway of the node to be located sends a sixth positioning mode start request to the node to be located, it enters the positioning mode.
- Step S44 The neighboring gateway of the home gateway enters the positioning mode in response to the fifth positioning mode start request.
- step S44 is not necessarily executed after step S43, and step S44 may be executed at any time between step S41 and step S45.
- Step S45 The node to be located enters the positioning mode in response to the sixth positioning mode start request.
- the positioning server initiates a positioning mode start request.
- the node to be located performs information interaction with the gateways around it, and an implementation manner of determining a preset number of target gateways among the gateways around the node to be located according to the interaction result may be:
- the node to be located broadcasts a first positioning request message.
- the gateway can receive the first A positioning request message.
- the gateway around the node to be located After receiving the first positioning request message, the gateway around the node to be located sends a response message to the node to be located.
- the gateway may send a response message to the node to be located according to a preset timing.
- the preset timing is the chronological order in which the gateways around the node to be located send information (such as the above response message) to the node to be located. Different gateways send information to the node to be located at different times to avoid multiple gateways simultaneously Nodes sending messages cause the channel to be blocked.
- the preset timing may be generated by the positioning server.
- the positioning server can randomly generate a time sequence.
- the positioning server may generate a sequence based on the size of the unique address code of the gateway, that is, the larger the address code, the earlier the time to send information; the smaller the address code, the later the time to send information; or the smaller the address code , The earlier the message is sent; the larger the address code, the later the message is sent.
- the gateway around the node to be located can receive the first positioning request message, the gateway sends a response message to the node to be located.
- the gateway may determine the time for sending the response message by itself according to the sending time of the first positioning request message carried in the first positioning request message and the preset timing. Specifically, the gateway may use the sending time of the first positioning request message as a time reference, and send a response message to the node after waiting for a duration corresponding to the timing according to the timing of the self-sending information defined by the preset timing.
- the gateway After receiving the first positioning request message, if the gateway ranks first in the above sequence, it uses the sending time of the first positioning request message as the starting time, and sends a response message to the node after waiting for a preset time t. If you take the second place in the above timing, you use the sending time of the first positioning request message as the starting time, and send a response message to the node after waiting for 2t, and so on. If you rank m in the above timing, Bit, the sending time of the first positioning request message is used as the starting time, and a response message is sent to the node after the waiting time m * t.
- the gateway to which the node to be located sends the response message is determined as the gateway to be selected.
- N target gateways are determined among the gateways to be selected.
- the N gateways with the best signal quality can be selected from the candidate gateways as the target gateway.
- the N gateways with the best signal quality may be the N gateways with the highest signal-to-noise ratio of the transmitted signal.
- the number of gateways to be selected is less than the preset number N, adjust the value of at least one preset parameter in synchronization with the gateways around the node to be located to expand the signal coverage of the gateways around the node to be located; A step and subsequent steps of positioning a request message. That is, after the nodes and gateways to be located synchronize and adjust the values of the preset parameters, they again perform information interaction with the gateways around them to determine greater than or equal to N candidate gateways, thereby determining N target gateways.
- the number of gateways to be selected is less than the preset number N, indicating that the number of gateways that can communicate with the node to be located is less than N. Therefore, the nodes to be located and the surrounding gateways need to be adjusted to adjust the value of the preset parameters in order to expand the number of to be located.
- the node to be located determines a preset parameter among the at least one preset parameter as the parameter to be adjusted.
- the node to be located determines the target value of the parameter to be adjusted according to a preset adjustment strategy.
- the preset adjustment strategy refers to an adjustment strategy in which the gateway's signal coverage distance increases after the value of the parameter to be adjusted is adjusted to the target value.
- the value of the parameter to be adjusted can be increased by a preset step size, or the preset step size can be decreased to make the value of the parameter to be adjusted to the target value.
- Step size If the value of the parameter to be adjusted is smaller and the signal coverage distance of the gateway is larger, the value of the parameter to be adjusted is adjusted to a smaller step size corresponding to the parameter to be adjusted. That is, different parameters have different preset step sizes.
- the node to be located sends the target value of the parameter to be adjusted to the gateways around the node to be located, so that the surrounding gateways adjust the value of the parameter to be adjusted to the target value.
- the node to be located can send the target value of the parameter to be adjusted to the home gateway of the node to be located.
- the home gateway sends the target value of the parameter to be adjusted to the positioning server, and the positioning server sends the target value of the parameter to be adjusted to Other gateways besides the home gateway among the gateways around the node to be located.
- the nodes to be located can also directly send the target values of the parameters to be adjusted to these gateways.
- the node to be located After the node to be located sends the value of the parameter to be adjusted to the surrounding gateways, it adjusts the value of the parameter to be adjusted to the target value.
- the node to be located After the node to be located adjusts the value of the parameter to be adjusted to the target value, it returns to the step of performing the broadcast of the first positioning request message and the subsequent steps. That is, the node to be located and the gateway synchronize the value of the parameter to be adjusted to the target value, and then perform information interaction with the gateways around it, and determine a preset number of gateways around the node to be located according to the interaction result Destination gateway.
- the node to be located sends a parameter adjustment instruction to the gateway around the node to be located, so that the gateway around the node to be located determines a parameter to be adjusted among the at least one preset parameter according to a preset parameter adjustment strategy, and adjusts the The value of the adjustment parameter is adjusted to the target value.
- one of the at least one preset parameter is determined to be adjusted once to adjust the value of the parameter to be adjusted to the above target. Value.
- the process of determining the parameters to be adjusted by the node to be located and the gateway is the same as the process of adjusting the parameters to be adjusted, so as to achieve the purpose of adjusting the parameters of the node to be synchronized with the gateway.
- the positioning node After the value adjustment of the parameter to be adjusted by the positioning node is completed, it returns to the step of broadcasting the first positioning request message and the subsequent steps. That is, the node to be located and the gateway synchronize the value of the parameter to be adjusted to the target value, and then perform information interaction with the surrounding gateways again, and determine a preset number of gateways around the node to be located according to the interaction result. Destination gateway.
- the node to be located determines the parameter to be adjusted and its target value, and then sends the target value of the parameter to be adjusted to the gateway, and the gateway directly adjusts the value of the parameter to be adjusted to the target value. value.
- the node to be located only sends an adjustment instruction to the gateway, and the gateway determines the parameter to be adjusted, calculates the value of the parameter to be adjusted, and then adjusts the value of the parameter to be adjusted to the target value.
- the node to be located performs information exchange with its surrounding gateways
- another preset implementation of determining a preset number of target gateways among the gateways around the node to be located according to the interaction result may be:
- the gateway around the node to be located sends a second positioning request message to the node to be located according to a preset timing.
- the preset timing is the chronological order in which the gateways around the node to be located send information (such as the second positioning request message above) to the node to be located. Different gateways send information to the node to be located at different times to avoid multiple gateways simultaneously. Sending information to the node to be located causes the channel to be blocked.
- the preset timing may be generated by the positioning server. E.g:
- the positioning server can randomly generate a time series. or,
- the positioning server can generate the sequence according to the size of the unique address code of the gateway, that is, the larger the address code, the earlier the information is sent; the smaller the address code, the later the information is sent; or, the smaller the address code, the information is sent The earlier the time is; the larger the address code is, the later the message is sent.
- the positioning mode start request sent by the positioning server may carry the sending time of the positioning mode start request, and the gateway may use the sending time of the positioning mode start request as a reference time for sending the second positioning request message.
- the preset timing determines the time when the second positioning request message is sent by itself.
- the node to be located determines the number of second positioning request messages received.
- the node to be located determines N target gateways among the gateways sending the second positioning request message.
- the node to be located synchronizes with the surrounding gateway to adjust the value of the at least one preset parameter to expand the signal of the gateway around the node to be located Coverage range; returns to the step of determining the number of received second positioning request messages.
- the node to be located determines one parameter among the at least one preset parameter as the parameter to be adjusted.
- the node to be located determines the target value of the parameter to be adjusted according to a preset adjustment strategy.
- the node to be located sends the target value of the parameter to be adjusted to the gateway around the node to be located, so that the surrounding gateways adjust the value of the parameter to be adjusted to the target value.
- the gateway After the gateway adjusts the value of the parameter to be adjusted to the target value, it sends a second positioning request message to the node to be located again.
- the gateway may determine the time for sending the second positioning request message according to the time when the target value of the parameter to be adjusted is sent by the node to be located and the preset timing described above, so as to avoid sending the second positioning request message to the node to be located at the same time to cause the channel Blocked.
- the node to be located can send the target value of the parameter to be adjusted to the home gateway of the node to be located.
- the home gateway sends the target value of the parameter to be adjusted to the positioning server, and the positioning server sends the target value of the parameter to be adjusted to Other gateways besides the home gateway among the gateways around the node to be located.
- the nodes to be located can also directly send the target values of the parameters to be adjusted to these gateways.
- the node to be located After the node to be located sends the value of the parameter to be adjusted to the surrounding gateways, it adjusts the value of the parameter to be adjusted to the target value.
- the node to be located After the node to be located adjusts the value of the parameter to be adjusted to the target value, it returns to the step of determining the number of received second positioning request messages and the subsequent steps. That is, the node to be located and the gateway synchronize the value of the parameter to be adjusted to the target value, and then perform information interaction with the surrounding gateways again, and determine a preset number of gateways around the node to be located according to the interaction result. Destination gateway.
- the node to be located sends a parameter adjustment instruction to the gateway around the node to be located, so that the gateway around the node to be located determines a parameter to be adjusted among the at least one preset parameter according to a preset parameter adjustment strategy, and adjusts the The value of the adjustment parameter is adjusted to the target value.
- one of the at least one preset parameter is determined to be adjusted once to adjust the value of the parameter to be adjusted to the above target. Value.
- the process of determining the parameters to be adjusted by the node to be located and the gateway is the same as the process of adjusting the parameters to be adjusted, so as to achieve the purpose of synchronizing the parameters of the node to be adjusted with the gateway.
- the positioning node After the value adjustment of the parameters to be adjusted by the positioning node is completed, it returns to the step of determining the number of the received second positioning request messages and the subsequent steps. That is, the node to be located and the gateway synchronize the value of the parameter to be adjusted to the target value, and then perform information interaction with the surrounding gateways again, and determine a preset number of gateways around the node to be located according to the interaction result. Destination gateway.
- the node to be located sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the location of the node to be located.
- An implementation flowchart of a ring area centered at the target gateway is shown in FIG. 5 and may include:
- Step S501 The node to be located selects a preset parameter from at least one preset parameter as the parameter to be adjusted.
- Step S502 The node to be located determines the target value of the parameter to be adjusted according to a preset adjustment strategy.
- the preset adjustment strategy refers to an adjustment strategy in which the gateway's signal coverage distance decreases after the value of the parameter to be adjusted is adjusted to the target value.
- the value of the parameter to be adjusted can be increased by a preset step size, or the preset step size can be decreased to make the value of the parameter to be adjusted to the target value. Specifically, when other preset parameters are unchanged, if the value of the parameter to be adjusted is larger, and the signal coverage distance of the gateway is larger, the value of the parameter to be adjusted is adjusted to a smaller value corresponding to the parameter to be adjusted. Set the step size. If the value of the parameter to be adjusted is smaller and the signal coverage distance of the gateway is larger, the value of the parameter to be adjusted is increased to a preset step size corresponding to the parameter to be adjusted.
- the aforementioned spreading factor, bandwidth, and transmission power as an example: when the spreading factor and bandwidth are the same, the greater the transmission power of the gateway, the greater the signal coverage distance of the gateway, the smaller the transmission power of the gateway, and the signal coverage of the gateway.
- the power is the same, the larger the spreading factor of the gateway, the greater the signal coverage distance of the gateway, and the smaller the spreading factor of the gateway, the smaller the signal coverage distance of the gateway.
- the preset step size can be 1, the corresponding bandwidth, and the preset step size can be the preset minimum bandwidth, for example, the minimum bandwidth can be 62.kHz.
- the preset step size can be 1dB.
- the value of the parameter to be adjusted when the parameter to be adjusted is the transmission power, the value of the parameter to be adjusted may be reduced by 1 dB, so that the signal coverage distance of the gateway is reduced.
- the value of the parameter to be adjusted when the parameter to be adjusted is the working bandwidth, the value of the parameter to be adjusted can be increased by 62.kHz to reduce the signal coverage distance of the gateway.
- the parameter to be adjusted is a spreading factor, the value of the parameter to be adjusted can be reduced by 1 to reduce the signal coverage distance of the gateway.
- Step S503 The node to be located sends a first adjustment instruction to the target gateway A carrying the target value of the parameter to be adjusted.
- the target gateway that adjusts parameters synchronously with the node to be located is referred to as the target gateway A here.
- Step S504 The target gateway A adjusts the value of the parameter to be adjusted to the target value in response to the first adjustment instruction.
- Step S505 The target gateway A determines the signal coverage distance of the target gateway A according to the target value of the parameter to be adjusted.
- the target gateway A may determine a signal coverage distance of the target gateway A according to a target value of the parameter to be adjusted and values of other parameters except the parameter to be adjusted in the at least one preset parameter.
- the signal coverage distance of the target gateway A may be determined after the value of the parameter to be adjusted is adjusted to the target value according to the preset correspondence between the value of the at least one preset parameter and the signal coverage distance of the gateway.
- Step S506 The node to be located adjusts the value of the parameter to be adjusted to the target value.
- step S506 does not have to be performed after step S505, and step S506 may be performed at any time after step S503 and before step S507.
- Step S507 The node to be located determines whether the signal transmitted by the target gateway A can be received. If the determination result is yes, it returns to step S502 to determine a new target value. If the determination result is no, step S508 is performed.
- Step S508 The node to be located sends a second adjustment instruction to the target gateway A, and the second adjustment instruction carries the value of the parameter to be adjusted before the last adjustment.
- the node to be located determines the value of the parameter to be adjusted before the last adjustment, and encapsulates the value before the last adjustment in a second adjustment instruction and sends it to the target gateway A.
- the node to be located may first adjust the value of the at least one preset parameter to be the same as the value of the at least one preset parameter of the target gateways other than the target gateway A among the N target gateways, so that it can be performed with other target gateways.
- Communication and the gateway can communicate through the Internet, and the gateway and the positioning server can also communicate through the Internet, so that the node to be located can communicate with the above target gateway A through other target gateways and the Internet, or the node to be located can Communicate with target gateway A through other target gateways and the Internet and positioning server.
- Step S509 In response to the second adjustment instruction, the target gateway A restores the value of the parameter to be adjusted to the value before the last adjustment.
- Step S510 The node to be located restores the value of the parameter to be adjusted to the value before the last adjustment.
- Step S511 The node to be located determines whether there are unadjusted parameters. If there are unadjusted parameters, step S512 is performed. If there are no unadjusted parameters, step S513 is performed.
- Step S512 The node to be located selects the next preset parameter as the parameter to be adjusted from the at least one preset parameter, and returns to step S502.
- Step S513 The node to be located sends an adjustment end message to the target gateway A.
- Step S514 The target gateway A determines the annular area centered on the target gateway A where the node to be located is located according to the coverage distance determined in the last two times and the position of the target gateway A.
- the coverage distance determined by target gateway A for the last two times refers to: the coverage distance determined by target gateway A before the value of the parameter to be adjusted is restored, and the coverage distance determined after the value of the parameter to be adjusted is restored.
- the embodiment shown in FIG. 5 is a process for the node to be located to adjust the at least one preset parameter synchronously with any target gateway.
- the node to be located is synchronizing with other target gateways.
- the value of the preset parameter of the node to be located is adjusted to be the same as the value of the preset parameter of other target gateways, so that the node to be located can communicate with other target gateways.
- the node to be located and the target gateway are synchronized to adjust parameters, there will be part of the same process. Therefore, at the initial stage of parameter adjustment, the node to be located can synchronize and adjust parameters with all target gateways.
- the positioning node When a signal transmitted by a target gateway is reached, the positioning node first interacts with the target gateway, and after the parameters of the target gateway are adjusted, it interacts with each other target gateway one by one to complete the remaining one by one. The parameters of the target gateway are adjusted synchronously.
- the node to be located sends an adjustment instruction to each of the target gateways according to a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the location of the node to be located.
- a preset synchronization strategy to instruct the target gateway to adjust the value of at least one preset parameter in order to determine the location of the node to be located.
- Step S601 The node to be located sends a third adjustment instruction to the target gateway A.
- Step S602 In response to the third adjustment instruction, the target gateway A selects a preset parameter among the at least one preset parameter as a parameter to be adjusted according to a preset selection strategy.
- Step S603 The target gateway A adjusts the value of the parameter to be adjusted to the target value according to a preset adjustment strategy.
- Step S604 The target gateway A determines the signal coverage distance of the target gateway A according to the target value of the parameter to be adjusted.
- the target gateway A may determine the signal coverage distance of the target gateway A according to the target value of the parameter to be adjusted and the value of other preset parameters except the parameter to be adjusted among the at least one preset parameter.
- the signal coverage distance of the target gateway A may be determined after the value of the parameter to be adjusted is adjusted to the target value according to the preset correspondence between the value of the at least one preset parameter and the signal coverage distance of the gateway.
- Step S605 After the node to be located sends a third adjustment instruction to the target gateway A, a preset parameter is selected among the at least one preset parameter as the parameter to be adjusted according to the preset selection strategy.
- step S605 is not necessarily executed after step S604, and it may be executed at any time after step S601 and before step S606.
- Step S606 The node to be located adjusts the value of the parameter to be adjusted to the target value according to the preset adjustment strategy.
- the node to be located and the target gateway A use the same adjustment strategy to adjust the value of the parameter to be adjusted, so that the value of the parameter to be adjusted is the same.
- Step S607 The node to be located determines whether the signal transmitted by the target gateway A can be received. If the determination result is yes, step S608 is performed, and if the determination result is no, step S610 is performed.
- Step S608 The node to be located sends a fourth adjustment instruction to the target gateway A, and returns to step S606 to adjust the value of the parameter to be adjusted to the new target value.
- Step S609 In response to the fourth adjustment instruction, the target gateway A returns to execute step S603, that is, the value of the parameter to be adjusted is adjusted to the new target value.
- Step S610 The node to be located sends a fifth adjustment instruction to the target gateway A.
- Step S611 In response to the fifth adjustment instruction, the target gateway A restores the value of the parameter to be adjusted to the value before the last adjustment.
- Step S612 The node to be located restores the value of the parameter to be adjusted to the value before the last adjustment.
- Step S613 The node to be located determines whether there are unadjusted parameters. If there are unadjusted parameters, step S614 is performed; if there are no unadjusted parameters, step S617 is performed.
- Step S614 The node to be located sends a sixth adjustment instruction to the target gateway A.
- Step S615 In response to the sixth adjustment instruction, the target gateway A selects the next preset parameter among the at least one preset parameter as the parameter to be adjusted according to the preset selection strategy, and returns to execute step S603;
- Step S616 The node to be located selects the next preset parameter among the at least one preset parameter as the parameter to be adjusted according to the preset selection strategy, and returns to execute step S606.
- step S616 may be performed after step S615, or may be performed before step S615, or both.
- Step S617 The node to be located sends an adjustment end instruction to the target gateway A.
- Step S618 In response to the adjustment end instruction, the target gateway A determines a ring area centered on the target gateway A based on the target gateway A based on the coverage distance determined in the last two times and the position of the target gateway A.
- the coverage distance determined by target gateway A for the last two times refers to: the coverage distance determined by target gateway A before the value of the parameter to be adjusted is restored, and the coverage distance determined after the value of the parameter to be adjusted is restored.
- the target value of the parameter to be adjusted is calculated by the node to be located, it is sent to the target gateway, and the target gateway directly adjusts the value of the parameter to be adjusted to the target. Just take the value.
- the node to be located sends a parameter adjustment instruction to the target gateway, and the node to be located and the target gateway adjust the value of the parameter to be adjusted according to the same adjustment strategy.
- the embodiment shown in FIG. 6 is a process in which the node to be located adjusts the at least one preset parameter synchronously with any target gateway.
- the node to be located Before the other target gateways adjust the parameters synchronously, the values of the preset parameters of the nodes to be located are adjusted to be the same as the values of the preset parameters of the other target gateways, so that the nodes to be located can communicate with other target gateways.
- the node to be located and the target gateway are synchronized to adjust parameters, there will be part of the same process. Therefore, at the initial stage of parameter adjustment, the node to be located can synchronize and adjust parameters with all target gateways.
- the positioning node When a signal transmitted by a target gateway is reached, the positioning node first interacts with the target gateway, and after the parameters of the target gateway are adjusted, it interacts with each other target gateway one by one to complete the remaining one by one. The parameters of the target gateway are adjusted synchronously.
- the present application also provides a method for determining positioning information applied to a node, and a method for determining positioning information applied to a gateway.
- FIG. 7 is an implementation flowchart of a method for determining positioning information applied to a node according to an embodiment of the present application, which may include:
- Step S71 Acquire a request to enter the positioning mode.
- Step S72 Enter the positioning mode in response to the request to enter the positioning mode.
- Step S73 Perform information exchange with the gateways around the node, and determine a preset number of target gateways among the gateways around the node according to the interaction result, and the preset number is a positive integer greater than or equal to 3. Among them, the gateways around the nodes have all entered the positioning mode.
- the gateways around the nodes include the home gateways of the nodes and the neighboring gateways of the home gateways.
- Step S74 Send an adjustment instruction to each target gateway according to a preset synchronization strategy, where the adjustment instruction is used to instruct the target gateway to adjust the value of at least one preset parameter to determine the ring in which the node is centered on the target gateway.
- Area the above preset parameters are related to the coverage distance of the gateway signal. The determined circular area is used to determine the position of the node.
- An implementation manner of obtaining the request to enter the positioning mode may be:
- the preset device may be a mobile communication terminal, such as a mobile phone. It can also be a remote controller that matches the node.
- An implementation manner of performing information interaction with the gateways around the node and determining a preset number of target gateways among the gateways around the node according to the interaction result may be:
- the gateway sending the response message corresponding to the first positioning request message is determined as the candidate gateway.
- the target gateway of the preset number is determined from the gateways to be selected.
- the number of gateways to be selected is less than the preset number, adjust the value of the at least one preset parameter in synchronization with the gateways around the node to expand the signal coverage distance of the gateways around the node; return to perform broadcast first positioning request message A step of.
- a preset number of target gateways are determined among the gateways that send the second positioning request message.
- the method returns the step of executing the second positioning request information sent by the gateway around the receiving node.
- An implementation manner of sending an adjustment instruction to each target gateway according to a preset synchronization strategy may be:
- a preset parameter is selected as the parameter to be adjusted from the at least one preset parameter.
- the target gateway If the judgment result is no, send a second adjustment instruction to the target gateway and restore the value of the parameter to be adjusted to the value before the last adjustment.
- the second adjustment instruction is used to instruct the target gateway to take the value of the parameter to be adjusted. Revert to the value before the last adjustment; if there are unadjusted parameters, select the next preset parameter as the parameter to be adjusted from at least one of the above preset parameters, and return to execute the preset adjustment strategy to determine the In the step of adjusting the target value of the parameter, in the absence of unadjusted parameters, an adjustment end message is sent to the target gateway so that the target gateway determines the node's location based on the coverage distance determined by the last two times and the location of the target gateway. The ring area centered on the target gateway.
- Another implementation manner of sending an adjustment instruction to each target gateway according to a preset synchronization strategy may be:
- the target value is a signal coverage distance of the target gateway according to the value of the at least one preset parameter.
- a preset parameter is selected as the parameter to be adjusted from the at least one preset parameter, and the value of the parameter to be adjusted is adjusted to the target value according to the preset adjustment strategy.
- a fourth adjustment instruction is sent to the target gateway to instruct the target gateway to return to the step of adjusting the value of the parameter to be adjusted to the target value according to a preset adjustment strategy.
- the judgment result is no, send a fifth adjustment instruction to the target gateway and restore the value of the parameter to be adjusted to the value before the last adjustment; the fifth adjustment instruction is used to instruct the target gateway to restore the value of the parameter to be adjusted The value before the last adjustment.
- a sixth adjustment instruction is sent to the target gateway to instruct the target gateway to select the next preset parameter as the parameter to be adjusted among the at least one preset parameter according to the preset selection strategy, and return Perform the step of adjusting the value of the parameter to be adjusted to the target value according to a preset adjustment strategy.
- an adjustment end instruction is sent to the target gateway, so that the target gateway determines the ring area around the target gateway where the node is located according to the coverage distance determined by the last two times and the position of the target gateway.
- the at least one preset parameter is at least one of the following three parameters: a spreading factor, a bandwidth, and a transmission power.
- FIG. 8 is an implementation flowchart of a method for determining positioning information applied to a gateway according to an embodiment of the present application, which may include:
- Step S81 Obtain a request to enter the positioning mode.
- Step S82 Enter the positioning mode in response to the request for entering the positioning mode.
- Step S83 Perform information interaction with the node entering the positioning mode, so that the node entering the positioning mode determines a preset number of target gateways according to the interaction result, and the preset number is a positive integer greater than or equal to 3.
- the gateway is the home gateway of the node or the neighboring gateway of the home gateway.
- Step S84 if an adjustment instruction sent by the node is received, the value of at least one preset parameter is adjusted in response to the adjustment instruction, in order to determine the gateway-centric ring area where the node is located; the above preset parameters are all Parameters related to the coverage distance of the gateway signal. The determined circular area is used to determine the position of the node.
- An implementation manner of obtaining the request to enter the positioning mode may be:
- a request from a receiving node to enter positioning mode is a request from a receiving node to enter positioning mode.
- An implementation manner of performing information interaction with a node that enters a positioning mode may be:
- Another implementation manner for performing information interaction with a node that enters the positioning mode may be:
- the second positioning request message is sent to the node according to a preset timing; the above timing is the order in which all gateways entering the positioning mode send the second positioning request message to the node.
- an implementation manner of adjusting the value of at least one preset parameter in response to the adjustment instruction may be:
- the value of the parameter to be adjusted is adjusted to the target value.
- the signal coverage distance of the gateway is determined according to the value of the at least one preset parameter.
- the value of the parameter to be adjusted is restored to the value before the last adjustment.
- the gateway-centric ring area where the node is located is determined according to the coverage distance determined in the last two times and the position of the gateway.
- Another implementation manner of adjusting the value of at least one preset parameter in response to the adjustment instruction may be:
- a preset parameter is selected as the parameter to be adjusted according to the preset selection strategy; the value of the parameter to be adjusted is adjusted to the target value according to the preset adjustment strategy; Set the parameter value to determine the signal coverage distance of the gateway.
- the fourth adjustment instruction sent by the node If the fourth adjustment instruction sent by the node is received, it returns to the step of adjusting the value of the parameter to be adjusted to the target value according to a preset adjustment strategy.
- the value of the parameter to be adjusted is restored to the value before the last adjustment.
- the next preset parameter is selected as the parameter to be adjusted according to the preset selection strategy, and the execution is performed according to the preset adjustment strategy to adjust the value of the parameter to be adjusted to the target value.
- the ring-centric area where the node is located is determined based on the coverage distance determined in the last two times and the position of the gateway to be synchronized.
- the simulation proves that the method for determining positioning information provided by the embodiments of the present application is effective and feasible.
- this application also provides an IoT node.
- a schematic structural diagram of the node is shown in FIG. 9 and may include:
- the first obtaining module 91 is configured to obtain a request to enter a positioning mode
- the first response module 92 is configured to enter a positioning mode in response to the request
- the first interaction module 93 is configured to perform information interaction with gateways around the node, and determine a preset number of target gateways among the gateways around the node according to the interaction result, where the preset number is greater than or equal to 3 Positive integer.
- the gateways around the nodes have all entered the positioning mode, and the gateways around the nodes include the home gateway of the node and the neighboring gateways of the home gateway;
- the first synchronization module 94 is configured to send an adjustment instruction to each of the target gateways according to a preset synchronization strategy, where the adjustment instruction is used to instruct the target gateway to adjust a value of at least one preset parameter to determine the
- the node is located in a circular area centered on the target gateway, and the preset parameter is related to a coverage distance of the gateway signal. The determined circular area is used to determine the position of the node.
- the node and the gateways around the node both enter a positioning mode, and then the node determines at least three gateways among the surrounding gateways as target gateways.
- the target gateways perform information interaction so that the target gateway determines the ring area where the node is located, so that the position of the node can be determined according to the overlapping area of the ring area. Since this method does not require the node to add a GPS module, it can achieve positioning of the node at a lower cost and power consumption.
- the first obtaining module 91 may be specifically configured to:
- the first interaction module 93 may be specifically configured to:
- the number of the candidate gateways is greater than or equal to the preset number, determining a preset number of target gateways among the candidate gateways;
- the number of gateways to be selected is less than the preset number, adjust the value of the at least one preset parameter in synchronization with the gateways around the node to increase the signal coverage distance of the gateways around the node ; Return to the step of performing the broadcasting the first positioning request message.
- the first interaction module 93 may be specifically configured to:
- the number of the received second positioning request information is greater than or equal to the preset number, determining a preset number of target gateways among the gateways sending the second positioning request message;
- the value of the at least one preset parameter is adjusted in synchronization with the gateway around the node, so as to expand the gateway around the node.
- the signal covers the distance; and returns to the step of receiving the second positioning request information sent by a gateway around the node.
- the first synchronization module 94 may be specifically configured to:
- the target gateway If the determination result is no, send a second adjustment instruction to the target gateway, and restore the value of the parameter to be adjusted to the value before the last adjustment, and the second adjustment instruction is used to instruct the target gateway Returning the value of the parameter to be adjusted to the value before the last adjustment; if there are unadjusted parameters, selecting the next preset parameter among the at least one preset parameter as the parameter to be adjusted, And returning to the step of determining the target value of the parameter to be adjusted according to a preset adjustment strategy, and in the case where there is no unadjusted parameter, sending an adjustment end message to the target gateway, so that the target gateway Determine the annular area centered on the target gateway where the node is located according to the coverage distance determined in the last two times and the position of the target gateway.
- the first synchronization module 94 may be specifically configured to:
- the target gateway If the determination result is no, send a fifth adjustment instruction to the target gateway, and restore the value of the parameter to be adjusted to the value before the last adjustment; the fifth adjustment instruction is used to instruct the target gateway Restore the value of the parameter to be adjusted to the value before the last adjustment;
- a sixth adjustment instruction is sent to the target gateway to instruct the target gateway to select a next preset parameter among the at least one preset parameter according to the preset selection strategy.
- a parameter to be adjusted and returning to executing the step of adjusting the value of the parameter to be adjusted to a target value according to the preset adjustment strategy;
- the at least one preset parameter is at least one of the following three parameters: a spreading factor, a bandwidth, and a transmission power.
- this application further provides an IoT gateway.
- a schematic structural diagram of the gateway is shown in FIG. 10 and may include:
- the second obtaining module 101 is configured to obtain a request to enter a positioning mode
- the second response module 102 is configured to enter a positioning mode in response to the request
- the second interaction module 103 is configured to perform information interaction with a node entering the positioning mode, so that the node determines a preset number of target gateways according to the interaction result, where the preset number is a positive integer greater than or equal to 3.
- the gateway is a home gateway of the node or a neighboring gateway of the home gateway;
- the second synchronization module 104 is configured to adjust the value of at least one preset parameter in response to the adjustment instruction sent by the node, so as to determine that the node is located with the gateway as A central circular area; the preset parameter is related to the coverage distance of the gateway signal; the determined circular area is used to determine the position of the node.
- the node and the gateways around the node both enter a positioning mode, and then the node determines at least three gateways among the surrounding gateways as target gateways.
- the target gateways perform information interaction so that the target gateway determines the ring area where the node is located, so that the position of the node can be determined according to the overlapping area of the ring area. Since this method does not require the node to add a GPS module, it can achieve positioning of the node at a lower cost and power consumption.
- the second obtaining module 101 may be specifically configured to:
- the second interaction module 103 may be specifically configured to:
- the second interaction module 103 may be specifically configured to:
- the timing is an order in which all gateways entering a positioning mode send the second positioning request message to the node;
- the node sends the second positioning request message.
- the second synchronization module 104 may be specifically configured to:
- the value of the parameter to be adjusted is adjusted to The target value
- the value of the parameter to be adjusted is restored to the value before the last adjustment
- the ring-shaped area centered on the gateway where the node is located is determined according to the coverage distance determined in the last two times and the location of the gateway.
- the second synchronization module 104 may be specifically configured to:
- a preset parameter is selected as the parameter to be adjusted according to a preset selection strategy; the value of the parameter to be adjusted is adjusted to the target value according to the preset adjustment strategy; The value of the at least one preset parameter determines a signal coverage distance of the gateway;
- the value of the parameter to be adjusted is restored to the value before the last adjustment
- the next preset parameter is selected as the parameter to be adjusted according to the preset selection strategy, and the execution returns to the adjustment of the parameter to be adjusted according to the preset adjustment strategy.
- the ring-shaped area centered on the gateway where the node is located is determined according to the last two determined coverage distances and the position of the gateway to be synchronized.
- the Internet of Things system includes the nodes and gateways disclosed in the foregoing embodiments, and further includes a positioning server. among them:
- Nodes and gateways can communicate based on LoRa.
- the gateway and the positioning server can communicate through the Internet.
- the gateways can also communicate via the Internet.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit.
- the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of the present invention is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present invention.
- the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (35)
- 一种定位信息确定方法,应用于节点,其特征在于,包括:获取进入定位模式的请求;响应于所述请求进入定位模式;与所述节点周边的网关进行信息交互,并根据交互结果在所述节点周边的网关中确定预设个数的目标网关,所述预设个数为大于或等于3的正整数;按照预置同步策略向每个所述目标网关发送调节指令,所述调节指令用于指示所述目标网关对至少一个预设参数的取值进行调节,以确定所述节点所处的以所述目标网关为中心的环形区域,其中所述预设参数与网关信号的覆盖距离相关;所确定的环形区域用于确定所述节点所处的位置。
- 根据权利要求1所述的方法,其特征在于,所述获取进入定位模式的请求包括:获取用户触发生成的进入定位模式的请求;或者,接收预设装置发送的进入定位模式的请求。
- 根据权利要求1所述的方法,其特征在于,所述与所述节点周边的网关进行信息交互,并根据交互结果在所述节点周边的网关中确定预设个数的目标网关,包括:广播第一定位请求消息;将发送与所述第一定位请求消息对应的响应消息的网关,确定为待选网关;若所述待选网关的个数大于或等于所述预设个数,在所述待选网关中确定预设个数的目标网关;若所述待选网关的个数小于所述预设个数,则与所述节点周边的网关同步调整所述至少一个预设参数的取值,以扩大所述节点周边的网关的信号覆盖距离;返回执行所述广播第一定位请求消息的步骤。
- 根据权利要求1所述的方法,其特征在于,所述与所述节点周边的网关进行信息交互,并根据交互结果在所述节点周边的网关中确定预设个数的目标网关,包括:接收所述节点周边的网关发送的第二定位请求信息;若接收到的第二定位请求信息的个数大于或等于所述预设个数,在发送所述第二定位请求消息的网关中确定预设个数的目标网关;若接收到的第二定位请求信息的个数小于所述预设个数,则与所述节点周边的网关同步调整所述至少一个预设参数的取值,以扩大所述节点周边的网关的信号覆盖距离;返回执行所述接收所述节点周边的网关发送的第二定位请求信息的步骤。
- 根据权利要求1所述的方法,其特征在于,所述按照预置同步策略向每个所述目标网关发送调节指令,包括:在所述至少一个预设参数中选择一个预设参数作为待调整参数;按预设调整策略确定所述待调整参数的目标取值;向所述目标网关发送携带所述待调整参数的目标取值的第一调节指令,所述第一调节指令用于指示所述目标网关将所述待调整参数的取值调整为所述目标取值,并依据所述至少一个预设参数的取值确定所述目标网关的信号覆盖距离;将所述待调整参数的取值调整为所述目标取值;判断是否能够接收到所述目标网关发射的信号;若判断结果为是,返回执行所述按预设调整策略确定所述待调整参数的目标取值的步骤;若判断结果为否,向所述目标网关发送第二调节指令,并将所述待调整参数的取值恢复为最后一次调整前的取值,所述第二调节指令用于指示所述目标网关将所述待调整参数的取值恢复为最后一次调整前的取值;在还有未调整的参数的情况下,在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按预设调整策略确定所述待调整参数的目标取值的步骤,在不存在未调整的参数的情况下,向所述目标网关发送调整结束消息,以使所述目标网关依据最后两次确定的覆盖距离,以及所述目标网关的位置确定所述节点所处的以所述目标网关为中心的环形区域。
- 根据权利要求1所述的方法,其特征在于,所述按照预置同步策略 向每个所述目标网关发送调节指令,包括:向所述目标网关发送第三调节指令,以指示所述目标网关按预设选择策略在所述至少一个预设参数中选择一个预设参数作为待调整参数,按预设调整策略将所述待调整参数的取值调整为目标取值,依据所述至少一个预设参数的取值确定所述目标网关的信号覆盖距离;按所述预设选择策略在所述至少一个预设参数中选择一个预设参数作为待调整参数,按所述预设调整策略将所述待调整参数的取值调整为所述目标取值;判断是否能够接收到所述目标网关发射的信号;若判断结果为是,则向所述目标网关发送第四调节指令,以指示所述目标网关返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;返回执行所述按所述预设调整策略将所述待调整参数的取值调整为所述目标取值的步骤;若判断结果为否,向所述目标网关发送第五调节指令,并将所述待调整参数的取值恢复为最后一次调整前的取值;所述第五调节指令用于指示所述目标网关将所述待调整参数的取值恢复为最后一次调整前的取值;在还有未调整的参数的情况下,向所述目标网关发送第六调节指令,以指示所述目标网关按所述预设选择策略在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按所述预设调整策略将所述待调整参数的取值调整为目标取值的步骤;按所述预设选择策略在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按所述预设调整策略将所述待调整参数的取值调整为所述目标取值的步骤,在不存在未调整的参数的情况下,向所述目标网关发送调整结束指令,以使所述目标网关依据最后两次确定的覆盖距离,以及所述目标网关的位置确定所述节点所处的以所述目标网关为中心的环形区域。
- 根据权利要求1-6任意一项所述的方法,其特征在于,所述至少一个预设参数为如下三个参数中的至少一个:扩频因子,带宽,发射功率。
- 一种定位信息确定方法,应用于网关,其特征在于,包括:获取进入定位模式的请求;响应于所述请求进入定位模式;与进入定位模式的节点进行信息交互,以使所述节点根据交互结果确定预设个数的目标网关,所述预设个数为大于或等于3的正整数;若接收到所述节点发送的调节指令,响应于所述调节指令对至少一个预设参数的取值进行调节,以便于确定所述节点所处的以所述网关为中心的环形区域;所述预设参数与网关信号的覆盖距离相关;所确定的环形区域用于确定所述节点所处的位置。
- 根据权利要求8所述的方法,其特征在于,所述获取进入定位模式的请求包括:接收定位服务器发送的进入定位模式的请求;或者,接收所述节点发送的进入定位模式的请求。
- 根据权利要求8所述的方法,其特征在于,所述与进入定位模式的节点进行信息交互,包括:接收所述节点广播的第一定位请求消息;响应于所述第一定位请求消息,向所述节点发送响应消息;或者,接收定位服务器发送的参数调整请求,响应于所述参数调整请求,对所述至少一个预设参数的取值进行调整,以扩大所述网关的信号覆盖距离。
- 根据权利要求8所述的方法,其特征在于,所述与进入定位模式的节点进行信息交互,包括:按照预设时序向所述节点发送第二定位请求消息;所述时序为所有进入定位模式的网关向所述节点发送所述第二定位请求消息的顺序;或者,接收定位服务器发送的参数调整请求;响应于所述参数调整请求,对所述至少一个预设参数的取值进行调整,以扩大所述网关的信号覆盖范围;按照所述预设时序向所述节点发送所述第二定位请求消息。
- 根据权利要求8所述的方法,其特征在于,所述若接收到所述节点发送的调节指令,响应于所述调节指令对至少一个预设参数的取值进行调节,以便于确定所述节点所处的以所述网关为中心的环形区域,包括:若接收到所述节点发送的第一调节指令,所述第一调节指令中携带有所述至少一个预设参数中待调整参数的目标取值,则将所述待调整参数的取值调整为所述目标取值;依据所述至少一个预设参数的取值确定所述网关的信号覆盖距离;若接收到所述节点发送的第二调节指令,则将所述待调整参数的取值恢复为最后一次调整前的取值;若接收到所述节点发送的调整结束消息,依据最后两次确定的覆盖距离,以及所述网关的位置确定所述节点所处的以所述网关为中心的环形区域。
- 根据权利要求8所述的方法,其特征在于,所述若接收到所述节点发送的调节指令,响应于所述调节指令对至少一个预设参数的取值进行调节,以便于确定所述节点所处的以所述网关为中心的环形区域,包括:若接收到所述节点发送的第三调节指令,则按预设选择策略选择一个预设参数作为待调整参数;按预设调整策略将所述待调整参数的取值调整为目标取值;依据所述至少一个预设参数的取值确定所述网关的信号覆盖距离;若接收到所述节点发送的第四调节指令,则返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;若接收到所述节点发送的第五调节指令,则将所述待调整参数的取值恢复为最后一次调整前的取值;若接收到所述节点发送的第六调节指令,则按所述预设选择策略选择下一个预设参数作为待调整参数,并返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;若接收到所述节点发送的调整结束指令,依据最后两次确定的覆盖距离,以及所述待同步网关的位置确定所述节点所处的以所述网关为中心的环形区域。
- 一种定位信息确定方法,其特征在于,包括:待定位节点,以及所述待定位节点周围的网关均进入定位模式;所述待定位节点与其周围的网关进行信息交互,并根据交互结果在所述待定位节点周围的网关中确定预设个数的目标网关,所述预设个数为大于或等于3的正整数;所述待定位节点按照预置同步策略向每个所述目标网关发送调节指令,以指示所述目标网关对至少一个预设参数的取值进行调节,以便确定所述待定位节点所处的以所述目标网关为中心的环形区域;所述预设参数与网关信号的覆盖距离相关;所确定的环形区域用于确定所述节点所处的位置。
- 根据权利要求14所述的方法,其特征在于,所述待定位节点,以及所述待定位节点周围的网关均进入定位模式,包括:所述待定位节点获取第一定位模式启动请求,响应于所述第一定位模式启动请求,向所述待定位节点的归属网关发送第二定位模式启动请求,并进入定位模式;所述第一定位模式启动请求由用户触发生成,或者,所述第一定位模式启动请求由预设终端设备向所述节点发送;所述待定位节点的归属网关响应于所述第二定位模式启动请求,向定位服务器发送第三定位模式启动请求,并进入定位模式;所述归属网关的邻近网关响应于所述定位服务器发送的第四定位模式启动请求,进入定位模式。
- 根据权利要求14所述的方法,其特征在于,所述待定位节点,以及所述待定位节点周围的网关均进入定位模式,包括:所述待定位节点的归属网关,以及所述归属网关的邻近网关接收定位服务器发送的第五定位模式启动请求;所述归属网关响应于所述第五定位模式启动请求向所述待定位节点发送第六定位模式启动请求,并进入定位模式,所述归属网关的邻近网关响应于所述第五定位模式启动请求,进入定位模式;所述待定位节点响应于所述第六定位模式启动请求,进入定位模式。
- 根据权利要求14所述的方法,其特征在于,所述待定位节点与其 周围的网关进行信息交互,并根据交互结果在所述待定位节点周围的网关中确定预设个数的目标网关,包括:所述待定位节点广播第一定位请求消息;所述待定位节点周围的网关若接收到所述第一定位请求消息,向所述待定位节点发送响应消息;所述待定位节点将发送所述响应消息的网关,确定为待选网关;若所述待选网关的个数大于或等于所述预设个数,在所述待选网关中确定预设个数的目标网关;若所述待选网关的个数小于所述预设个数,则与所述待定位节点周围的网关同步调整所述至少一个预设参数的取值,以扩大所述待定位节点周围的网关的信号覆盖距离;返回执行所述广播第一定位请求消息的步骤。
- 根据权利要求14所述的方法,其特征在于,所述待定位节点与其周围的网关进行信息交互,并根据交互结果在所述待定位节点周围的网关中确定预设个数的目标网关,包括:所述待定位节点周围的网关按照预设时序向所述待定位节点发送第二定位请求消息;所述待定位节点确定接收到的第二定位请求消息的个数;若接收到的第二定位请求信息的个数大于或等于所述预设个数,在发送所述第二定位请求消息的网关中确定预设个数的目标网关;若接收到的第二定位请求信息的个数小于所述预设个数,则与所述待定位节点周围的网关同步调整所述至少一个预设参数的取值,以扩大所述待定位节点周围的网关的信号覆盖距离;返回执行所述确定接收到的第二定位请求消息的个数的步骤。
- 根据权利要求14所述的方法,其特征在于,所述待定位节点按照预置同步策略向每个所述目标网关发送调节指令,以指示所述目标网关对至少一个预设参数的取值进行调节,以便确定所述待定位节点所处的以所述目标网关为中心的环形区域,包括:所述待定位节点在所述至少一个预设参数中选择一个预设参数作为待调整参数;所述待定位节点按预设调整策略确定所述待调整参数的目标取值;所述待定位节点向所述目标网关发送携带所述待调整参数的目标取值的第一调节指令;所述目标网关响应于所述第一调节指令,将所述待调整参数的取值调整为所述目标取值,并依据所述目标取值确定所述目标网关的信号覆盖距离;所述待定位节点将所述待调整参数的取值调整为所述目标取值;所述待定位节点判断是否能够接收到所述目标网关发射的信号;若判断结果为是,所述待定位节点返回执行所述按预设调整策略确定所述待调整参数的目标取值的步骤;若判断结果为否,所述待定位节点向所述目标网关发送第二调节指令,并将所述待调整参数的取值恢复为最后一次调整前的取值;所述目标网关响应于所述第二调节指令,将所述待调整参数的取值恢复为最后一次调整前的取值;在还有未调整的参数的情况下,所述待定位节点选择下一个预设参数作为待调整参数,并返回执行所述按预设调整策略确定所述待调整参数的目标取值的步骤,在不存在未调整的参数的情况下,所述待定位节点向所述目标网关发送调整结束消息;所述目标网关响应于所述调整结束消息,依据最后两次确定的覆盖距离,以及所述目标网关的位置确定所述待定位节点所处的以所述目标网关为中心的环形区域。
- 根据权利要求14所述的方法,其特征在于,所述待定位节点按照预置同步策略向每个所述目标网关发送调节指令,以指示所述目标网关对至少一个预设参数的取值进行调节,以便确定所述待定位节点所处的以所述目标网关为中心的环形区域,包括:所述待定位节点向所述目标网关发送第三调节指令;所述目标网关响应于所述第三调节指令,按预设选择策略在所述至少一个预设参数中选择一个预设参数作为待调整参数;所述目标网关按预设调整策略将所述待调整参数的取值调整为目标取值;所述目标网关依据所述目标取值确定所述网关的信号覆盖距离;所述待定位节点按所述预设选择策略在所述至少一个预设参数中选择一个预设参数作为待调整参数;所述待定位节点按所述预设调整策略将所述待调整参数的取值调整为所述目标取值;所述待定位节点判断是否能够接收到所述目标网关发射的信号;若判断结果为是,所述待定位节点向所述目标网关发送第四调节指令;所述目标网关响应于所述第四调节指令,返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;所述待定位节点返回执行所述按预设调整策略将所述待调整参数的取值调整为所述目标取值的步骤;若判断结果为否,所述待定位节点向所述目标网关发送第五调节指令,并将所述待调整参数的取值恢复为最后一次调整前的取值;所述目标网关响应于所述第五调节指令,将所述待调整参数的取值恢复为最后一次调整前的取值;在还有未调整的参数的情况下,所述待定位节点向所述目标网关发送第六调节指令;所述目标网关响应于所述第六调节指令,按所述预设选择策略在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按所述预设调整策略确定所述待调整参数的目标取值的步骤;所述待定位节点按所述预设选择策略在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按所述预设调整策略确定所述待调整参数的目标取值的步骤,在不存在未调整的参数的情况下,所述待定位节点向所述目标网关发送调整结束指令;所述目标网关响应于所述调整结束指令,依据最后两次确定的覆盖距离,以及所述目标网关的位置确定所述节点所处的以所述目标网关为中心的环形区域。
- 一种定位方法,其特征在于,应用如权利要求1-20任意一项所述的确定定位信息的方法确定的环形区域确定节点的位置,包括:计算所述预设个数的网关确定的环形区域的交叠区域;在所述交叠区域中确定一点作为所述节点的位置。
- 一种节点,其特征在于,包括:第一获取模块,用于获取进入定位模式的请求;第一响应模块,用于响应于所述请求进入定位模式;第一交互模块,用于与所述节点周边的网关进行信息交互,并根据交互结果在所述节点周边的网关中确定预设个数的目标网关,所述预设个数为大于或等于3的正整数;第一同步模块,用于按照预置同步策略向每个所述目标网关发送调节指令,所述调节指令用于指示所述目标网关对至少一个预设参数的取值进行调节,以确定所述节点所处的以所述目标网关为中心的环形区域,其中,所述预设参数与网关信号的覆盖距离相关;所确定的环形区域用于确定所述节点所处的位置。
- 根据权利要求22所述的节点,其特征在于,所述第一获取模块具体用于:获取用户触发生成的进入定位模式的请求;或者,接收预设装置发送的进入定位模式的请求。
- 根据权利要求22所述的节点,其特征在于,所述第一交互模块具体用于:广播第一定位请求消息;将发送与所述第一定位请求消息对应的响应消息的网关,确定为待选网关;若所述待选网关的个数大于或等于所述预设个数,在所述待选网关中确定预设个数的目标网关;若所述待选网关的个数小于所述预设个数,则与所述节点周边的网关同步调整所述至少一个预设参数的取值,以扩大所述节点周边的网关的信号覆盖距离;返回执行所述广播第一定位请求消息的步骤。
- 根据权利要求22所述的节点,其特征在于,所述第一交互模块具体用于:接收所述节点周边的网关发送的第二定位请求信息;若接收到的第二定位请求信息的个数大于或等于所述预设个数,在发送所述第二定位请求消息的网关中确定预设个数的目标网关;若接收到的第二定位请求信息的个数小于所述预设个数,则与所述节点周边的网关同步调整所述至少一个预设参数的取值,以扩大所述节点周边的网关的信号覆盖距离;返回执行所述接收所述节点周边的网关发送的第二定位请求信息的步骤。
- 根据权利要求22所述的节点,其特征在于,所述第一同步模块具体用于:在所述至少一个预设参数中选择一个预设参数作为待调整参数;按预设调整策略确定所述待调整参数的目标取值;向所述目标网关发送携带所述待调整参数的目标取值的第一调节指令,所述第一调节指令用于指示所述目标网关将所述待调整参数的取值调整为所述目标取值,并依据所述至少一个预设参数的取值确定所述目标网关的信号覆盖距离;将所述待调整参数的取值调整为所述目标取值;判断是否能够接收到所述目标网关发射的信号;若判断结果为是,返回执行所述按预设调整策略确定所述待调整参数的目标取值的步骤;若判断结果为否,向所述目标网关发送第二调节指令,并将所述待调整参数的取值恢复为最后一次调整前的取值,所述第二调节指令用于指示所述目标网关将所述待调整参数的取值恢复为最后一次调整前的取值;在还有未调整的参数的情况下,在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按预设调整策略确定所述待调整参数的目标取值的步骤,在不存在未调整的参数的情况下,向所述目标网关发送调整结束消息,以使所述目标网关依据最后两次确定的覆盖距离,以及所述目标网关的位置确定所述节点所处的以所述目标网关为中心的环形区域。
- 根据权利要求22所述的节点,其特征在于,所述第一同步模块具 体用于:向所述目标网关发送第三调节指令,以指示所述目标网关按预设选择策略在所述至少一个预设参数中选择一个预设参数作为待调整参数,按预设调整策略将所述待调整参数的取值调整为目标取值,依据所述至少一个预设参数的取值确定所述目标网关的信号覆盖距离;按所述预设选择策略在所述至少一个预设参数中选择一个预设参数作为待调整参数,按所述预设调整策略将所述待调整参数的取值调整为所述目标取值;判断是否能够接收到所述目标网关发射的信号;若判断结果为是,则向所述目标网关发送第四调节指令,以指示所述目标网关返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;返回执行所述按所述预设调整策略将所述待调整参数的取值调整为所述目标取值的步骤;若判断结果为否,向所述目标网关发送第五调节指令,并将所述待调整参数的取值恢复为最后一次调整前的取值;所述第五调节指令用于指示所述目标网关将所述待调整参数的取值恢复为最后一次调整前的取值;在还有未调整的参数的情况下,向所述目标网关发送第六调节指令,以指示所述目标网关按所述预设选择策略在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按所述预设调整策略将所述待调整参数的取值调整为目标取值的步骤;按所述预设选择策略在所述至少一个预设参数中选择下一个预设参数作为待调整参数,并返回执行所述按所述预设调整策略将所述待调整参数的取值调整为所述目标取值的步骤,在不存在未调整的参数的情况下,向所述目标网关发送调整结束指令,以使所述目标网关依据最后两次确定的覆盖距离,以及所述目标网关的位置确定所述节点所处的以所述目标网关为中心的环形区域。
- 根据权利要求22-27任意一项所述的节点,其特征在于,所述至少一个预设参数为如下三个参数中的至少一个:扩频因子,带宽,发射功 率。
- 一种网关,其特征在于,包括:第二获取模块,用于获取进入定位模式的请求;第二响应模块,用于响应于所述请求进入定位模式;第二交互模块,用于与进入定位模式的节点进行信息交互,以使所述节点根据交互结果确定预设个数的目标网关,所述预设个数为大于或等于3的正整数;第二同步模块,用于若接收到所述节点发送的调节指令,响应于所述调节指令对至少一个预设参数的取值进行调节,以便于确定所述节点所处的以所述网关为中心的环形区域;所述预设参数与网关信号的覆盖距离相关;所确定的环形区域用于确定所述节点所处的位置。
- 根据权利要求29所述的网关,其特征在于,所述第二获取模块具体用于:接收定位服务器发送的进入定位模式的请求;或者,接收所述节点发送的进入定位模式的请求。
- 根据权利要求29所述的网关,其特征在于,所述第二交互模块具体用于:接收所述节点广播的第一定位请求消息;响应于所述第一定位请求消息,向所述节点发送响应消息;或者,接收定位服务器发送的参数调整请求,响应于所述参数调整请求,对所述至少一个预设参数的取值进行调整,以扩大所述网关的信号覆盖距离。
- 根据权利要求29所述的网关,其特征在于,所述第二交互模块具体用于:按照预设时序向所述节点发送第二定位请求消息;所述时序为所有进入定位模式的网关向所述节点发送所述第二定位请求消息的顺序;或者,接收定位服务器发送的参数调整请求;响应于所述参数调整请求,对 所述至少一个预设参数的取值进行调整,以扩大所述网关的信号覆盖范围;按照所述预设时序向所述节点发送所述第二定位请求消息。
- 根据权利要求29所述的网关,其特征在于,所述第二同步模块具体用于:若接收到所述节点发送的第一调节指令,所述第一调节指令中携带有所述至少一个预设参数中待调整参数的目标取值,则将所述待调整参数的取值调整为所述目标取值;依据所述至少一个预设参数的取值确定所述网关的信号覆盖距离;若接收到所述节点发送的第二调节指令,则将所述待调整参数的取值恢复为最后一次调整前的取值;若接收到所述节点发送的调整结束消息,依据最后两次确定的覆盖距离,以及所述网关的位置确定所述节点所处的以所述网关为中心的环形区域。
- 根据权利要求29所述的网关,其特征在于,所述第二同步模块具体用于:若接收到所述节点发送的第三调节指令,则按预设选择策略选择一个预设参数作为待调整参数;按预设调整策略将所述待调整参数的取值调整为目标取值;依据所述至少一个预设参数的取值确定所述网关的信号覆盖距离;若接收到所述节点发送的第四调节指令,则返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;若接收到所述节点发送的第五调节指令,则将所述待调整参数的取值恢复为最后一次调整前的取值;若接收到所述节点发送的第六调节指令,则按所述预设选择策略选择下一个预设参数作为待调整参数,并返回执行所述按预设调整策略将所述待调整参数的取值调整为目标取值的步骤;若接收到所述节点发送的调整结束指令,依据最后两次确定的覆盖距离,以及所述待同步网关的位置确定所述节点所处的以所述网关为中心的环形区域。
- 一种物联网系统,其特征在于,包括如权利要求22-28任意一项所述的节点,以及如权利要求29-34任意一项所述的网关,以及定位服务器;所述网关与所述定位服务器之间通过互联网进行通信。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/103519 WO2020042146A1 (zh) | 2018-08-31 | 2018-08-31 | 定位信息确定方法、定位方法、节点、网关及物联网系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/103519 WO2020042146A1 (zh) | 2018-08-31 | 2018-08-31 | 定位信息确定方法、定位方法、节点、网关及物联网系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020042146A1 true WO2020042146A1 (zh) | 2020-03-05 |
Family
ID=69644789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/103519 WO2020042146A1 (zh) | 2018-08-31 | 2018-08-31 | 定位信息确定方法、定位方法、节点、网关及物联网系统 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2020042146A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164408A (zh) * | 2011-03-16 | 2011-08-24 | 河海大学常州校区 | 一种基于传输延迟的无线传感器网络环形定位方法及其改进方法 |
CN102711243A (zh) * | 2012-06-13 | 2012-10-03 | 暨南大学 | 一种基于rssi改进的apit定位方法 |
US20140153424A1 (en) * | 2012-11-30 | 2014-06-05 | Soongsil University Research Consortium Techno-Park | Wireless positioning method and apparatus using wireless sensor network |
CN105338466A (zh) * | 2014-07-08 | 2016-02-17 | 华为软件技术有限公司 | 位置信息获取方法及设备 |
CN105635974A (zh) * | 2016-03-17 | 2016-06-01 | 南京邮电大学 | 一种基于方向决策的动态路径节点定位方法 |
CN105828435A (zh) * | 2016-05-30 | 2016-08-03 | 天津大学 | 基于接收信号强度优化的距离修正加权质心定位方法 |
-
2018
- 2018-08-31 WO PCT/CN2018/103519 patent/WO2020042146A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164408A (zh) * | 2011-03-16 | 2011-08-24 | 河海大学常州校区 | 一种基于传输延迟的无线传感器网络环形定位方法及其改进方法 |
CN102711243A (zh) * | 2012-06-13 | 2012-10-03 | 暨南大学 | 一种基于rssi改进的apit定位方法 |
US20140153424A1 (en) * | 2012-11-30 | 2014-06-05 | Soongsil University Research Consortium Techno-Park | Wireless positioning method and apparatus using wireless sensor network |
CN105338466A (zh) * | 2014-07-08 | 2016-02-17 | 华为软件技术有限公司 | 位置信息获取方法及设备 |
CN105635974A (zh) * | 2016-03-17 | 2016-06-01 | 南京邮电大学 | 一种基于方向决策的动态路径节点定位方法 |
CN105828435A (zh) * | 2016-05-30 | 2016-08-03 | 天津大学 | 基于接收信号强度优化的距离修正加权质心定位方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9899873B2 (en) | System and method for generating a power receiver identifier in a wireless power network | |
CN103648181B (zh) | 一种无线网络音响设备的无线网络连接方法 | |
RU2658863C9 (ru) | Способ связи носимого устройства, система связи и соответствующее устройство | |
EP3169086B1 (en) | Connection method for multimedia playing device, master device, control terminal, and system | |
WO2019128906A1 (zh) | 一种待配网设备接入网络热点设备的方法、装置和系统 | |
CN108141398B (zh) | 自主群发起者的智能信道选择 | |
JP6290439B2 (ja) | アクセスポイント開始型ネイバー報告要求 | |
US20140141826A1 (en) | Systems and methods for implementing multiple band service discovery | |
JP2015525548A5 (zh) | ||
US20190342687A1 (en) | Dynamically Changing Master Audio Playback Device | |
KR102600894B1 (ko) | 전자 장치를 이용한 위치 측정 장치 및 방법 | |
JP2020511908A (ja) | 物理デバイス間のブルートゥースネットワーキングの制御方法、装置およびシステム | |
JP2017500772A (ja) | デバイストゥーデバイス同期のための階層構造を構成し、維持するための分散アルゴリズム | |
US10663555B2 (en) | Communication device, communication method, and computer-readable recording medium | |
WO2011140906A1 (zh) | 一种无线传感器网络中设备入网方法及装置 | |
JP6248188B2 (ja) | ネットワーク化した再生デバイスの動作モード間での移行 | |
CN105007367A (zh) | 一种基于移动终端的查找处理方法及系统 | |
TWI510041B (zh) | 基於鄰近度的通信的方法和裝置 | |
US20150181010A1 (en) | Local Wireless Link Quality Notification for Wearable Audio Devices | |
WO2020042146A1 (zh) | 定位信息确定方法、定位方法、节点、网关及物联网系统 | |
JP5445542B2 (ja) | アクセスポイント及びプログラム | |
WO2019113733A1 (zh) | 切换控制方法、控制终端和无人机 | |
CN110876191B (zh) | 定位信息确定方法、定位方法、节点、网关及物联网系统 | |
JP4882774B2 (ja) | アクセスポイント及びプログラム | |
CN111182612B (zh) | 一种自组网中节点的入网同步方法及装置 |
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: 18931786 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: 18931786 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18931786 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 13.08.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18931786 Country of ref document: EP Kind code of ref document: A1 |