CN111597833B - Intelligent equipment configuration method and device for autonomous configuration - Google Patents
Intelligent equipment configuration method and device for autonomous configuration Download PDFInfo
- Publication number
- CN111597833B CN111597833B CN202010357567.XA CN202010357567A CN111597833B CN 111597833 B CN111597833 B CN 111597833B CN 202010357567 A CN202010357567 A CN 202010357567A CN 111597833 B CN111597833 B CN 111597833B
- Authority
- CN
- China
- Prior art keywords
- intelligent
- intelligent equipment
- current position
- current
- position label
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000004891 communication Methods 0.000 claims description 29
- 230000005540 biological transmission Effects 0.000 claims description 22
- 238000012544 monitoring process Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 25
- 230000008859 change Effects 0.000 abstract description 3
- 238000009434 installation Methods 0.000 description 9
- 238000007689 inspection Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0008—General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an intelligent device configuration method and device for autonomous configuration, wherein the method comprises the following steps: acquiring a current position label of the intelligent device; the position tag is used for representing the area where the intelligent equipment is located; comparing the current position label with the original position label of the intelligent equipment to determine whether the current position label is the same as the original position label; if the current position tag is different from the current position tag, searching whether other intelligent devices with the current position tag exist, and acquiring the device data of the other intelligent devices with the current position tag when the other intelligent devices with the current position tag exist. The invention solves the problem that the position of the equipment is not matched with the data generated by the equipment due to the change of the position of the equipment in the prior art, reduces the workload and difficulty of intelligent equipment maintenance and saves the maintenance cost of the intelligent equipment.
Description
Technical Field
The invention relates to the technical field of intelligent equipment, in particular to an intelligent equipment configuration method and device for autonomous configuration.
Background
In the wisdom fire control field, in order to satisfy the security requirement, the building often needs to install multiple fire control equipment, like smoke detector, temperature-sensing detector and electric fire control detector etc.. The traditional equipment configuration method is carried out on a platform, equipment information is uploaded to the platform after the equipment is installed and powered on, the platform marks the equipment with a specific label, but the equipment does not know the position of the equipment, a platform maintenance worker needs to know the installation position of the field equipment through the field installation worker to mark the equipment with the label, the manual operation is easy to cause errors, labor is consumed, and the operation is troublesome.
As mentioned above, data generated by a device is often associated with an installation location, and if the location is installed incorrectly after the device is maintained or the location is changed due to other reasons, the data generated by the device is the data of a new location, however, the location tag is not changed, and the data platform uploaded by the device is identified as the data of the original location, so that incorrect data is generated. In order to prevent such errors, a maintenance worker is required to perform detection processing after each maintenance, and once the errors occur, the maintenance worker is difficult to check the errors, which brings inconvenience to the maintenance worker.
In the related art, an effective solution has not been proposed to the problem that the data generated by the device is not matched with the location due to the change of the location of the device.
Disclosure of Invention
The invention provides an intelligent device configuration method and device capable of performing configuration autonomously, which are used for at least solving the problem that data generated by a device is not matched with the position due to the change of the position of the device in the prior art.
To solve the above technical problem, according to an aspect of an embodiment of the present invention, there is provided an intelligent device configuration method, including: acquiring a current position label of the intelligent device; the position tag is used for representing the area where the intelligent equipment is located; comparing the current position label with the original position label of the intelligent equipment to determine whether the current position label is the same as the original position label; if the current position tag is different from the current position tag, searching whether other intelligent devices with the current position tag exist, and acquiring the device data of the other intelligent devices with the current position tag when the other intelligent devices with the current position tag exist.
Further, before obtaining the current location tag of the smart device, the method further includes: monitoring whether the intelligent equipment is maintained; and if so, triggering to acquire the current position label of the intelligent device.
Further, the device data is data related to the current location; obtaining device data for other smart devices having a current location tag, comprising: communicating with other intelligent equipment with the current position label and sending a request for acquiring equipment data; and receiving the device data sent by other intelligent devices with the current position tags.
Further, finding whether there are other smart devices with current location tags includes: broadcasting a search instruction to a network where a plurality of intelligent devices are located; if response data of the search instruction is received, determining that other intelligent equipment with the current position label exists; otherwise, determining that no other intelligent device with the current position label exists.
Further, after finding whether there are other smart devices with the current location tag, the method further includes: and reporting the alarm information with the current position label when other intelligent equipment with the current position label does not exist.
Further, still include: monitoring whether the equipment data of the intelligent equipment is acquired by other intelligent equipment; and if so, clearing the equipment data of the intelligent equipment.
Further, obtaining a current location tag of the smart device includes: receiving a communication signal sent by an anchor node, and determining the strength of the communication signal; and determining the current position label of the intelligent device according to the strength of the communication signal and the coordinates of the anchor node.
Further, determining the current location tag of the smart device according to the strength of the communication signal and the coordinates of the anchor node, including: determining the current coordinate of the intelligent equipment by adopting an RSSI (received signal strength indicator) positioning algorithm according to the strength of the communication signal and the coordinate of the anchor node; sending the current coordinates of the intelligent equipment to an anchor node, and determining a current position label of the intelligent equipment through the anchor node; and receiving the current position label sent by the anchor node.
Furthermore, the number of the anchor nodes is multiple, and each anchor node corresponds to one communication signal; determining current coordinates of the smart device using an RSSI positioning algorithm, comprising: calculating the distance between each anchor node and the intelligent equipment according to the strength of each communication signal; and determining the current coordinate of the intelligent equipment by adopting a multi-point positioning algorithm according to the distance between each anchor node and the intelligent equipment and the coordinate of each anchor node.
Further, the current coordinates of the intelligent device are determined by adopting a multipoint positioning algorithm, and the method comprises the following steps: and taking each anchor node as an origin, taking the distance between each anchor node and the intelligent equipment as a radius, obtaining a plurality of circles, and determining the intersection point of the circles as the current coordinate of the intelligent equipment.
Further, determining, by the anchor node, a current location tag of the smart device includes: the anchor node compares the current coordinates of the intelligent device with the regional information in the transmission range of the anchor node to obtain the current position label of the intelligent device, and sends the current position label to the intelligent device.
Further, before the anchor node compares the current coordinates of the smart device with the area information of its own transmission range, the method further includes: the anchor node receives the regional information of the self transmission range sent by the platform; the platform is an anchor node and an upper management end of the intelligent device, the platform acquires a space range where the intelligent device and the anchor node are located in advance, the space range is divided into a plurality of square areas, and each square area corresponds to one position tag; the area information of the self transmission range at least comprises: the center coordinates of a plurality of square areas contained in the self-transmission range, the corresponding position labels and the side lengths of the squares.
Further, the anchor node compares the current coordinate of the intelligent device with the region information of the transmission range of the anchor node to obtain the current position label of the intelligent device, and the method comprises the following steps: determining the nearest central coordinate in the current coordinate of the intelligent device and the central coordinates of the plurality of square areas; judging whether the distance between the current coordinate of the intelligent equipment and the nearest center coordinate is smaller than the side length of the square or not; if so, determining that the position label of the square area where the nearest center coordinate is located is the current position label of the intelligent device.
Further, after obtaining the current location tag of the smart device, the method further includes: sending the current position label and the internal address of the intelligent device to a platform; the platform marks the intelligent equipment as a known node; the platform is further used for setting the known node closest to the anchor node as the anchor node when the number of the anchor nodes is smaller than the preset number.
According to another aspect of the embodiments of the present invention, there is provided an intelligent device configuration apparatus, including: the acquisition module is used for acquiring a current position label of the intelligent equipment; the position tag is used for representing the area where the intelligent equipment is located; the determining module is used for comparing the current position label with the original position label of the intelligent equipment and determining whether the current position label is the same as the original position label; and the backup module is used for searching whether other intelligent equipment with the current position label exists or not if the intelligent equipment with the current position label is different from the intelligent equipment with the current position label, and acquiring the equipment data of the other intelligent equipment with the current position label when the other intelligent equipment with the current position label exists.
According to a further aspect of embodiments of the present invention, there is provided a storage medium containing computer-executable instructions for performing the intelligent device configuration method as described above when executed by a computer processor.
The invention provides an intelligent equipment configuration method scheme for autonomous configuration, which is characterized in that a current position label of intelligent equipment is obtained and compared with an original position label of the intelligent equipment, whether the current position label is the same as the original position label or not is determined, namely whether the intelligent equipment changes the position or not is determined. If the intelligent device changes the position, whether other intelligent devices with the current position labels exist is searched, and when other intelligent devices with the current position labels exist, the device data of the other intelligent devices with the current position labels are obtained. Through the scheme, the intelligent equipment autonomously completes configuration, the configuration is not required to be carried out on the platform, and the contact is established between the intelligent equipment and the position, when the position is wrongly installed after the intelligent equipment is maintained, only the equipment data of the original position needs to be uploaded to the intelligent equipment, the inspection and the replacement are not required, the problem that the data generated by the equipment and the position are not matched due to the fact that the equipment is changed in position is simply and efficiently solved, the workload and the difficulty of the intelligent equipment maintenance are reduced, and the intelligent equipment maintenance cost is saved.
Drawings
FIG. 1 is an alternative flow diagram of a smart device configuration method according to an embodiment of the present invention;
FIG. 2 is an alternative flow chart of a smart device location acquisition method according to an embodiment of the present invention;
FIG. 3 is another alternative flow diagram of a smart device configuration method according to an embodiment of the present invention; and
fig. 4 is an alternative block diagram of the configuration apparatus of the smart device according to the embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Example 1
In preferred embodiment 1 of the present invention, a method for configuring an intelligent device is provided, which can be directly applied to various intelligent device groups to implement autonomous configuration of the intelligent device. In particular, fig. 1 shows an alternative flow chart of the method, which, as shown in fig. 1, comprises the following steps S102-S106:
s102: acquiring a current position label of the intelligent device; the position tag is used for representing the area where the intelligent equipment is located;
s104: comparing the current position label with the original position label of the intelligent equipment to determine whether the current position label is the same as the original position label;
s106: if the current position tag is different from the current position tag, searching whether other intelligent devices with the current position tag exist, and acquiring the device data of the other intelligent devices with the current position tag when the other intelligent devices with the current position tag exist.
In the foregoing embodiment, a solution for configuring an intelligent device autonomously is provided, where a current location tag of the intelligent device is obtained and compared with an original location tag of the intelligent device, so as to determine whether the current location tag is the same as the original location tag, that is, determine whether the intelligent device changes location. If the intelligent device changes the position, whether other intelligent devices with the current position labels exist is searched, and when other intelligent devices with the current position labels exist, the device data of the other intelligent devices with the current position labels are obtained. Through the scheme, the intelligent equipment autonomously completes configuration, the configuration is not required to be carried out on the platform, and the contact is established between the intelligent equipment and the position, when the position is wrongly installed after the intelligent equipment is maintained, only the equipment data of the original position needs to be uploaded to the intelligent equipment, the inspection and the replacement are not required, the problem that the data generated by the equipment and the position are not matched due to the fact that the equipment is changed in position is simply and efficiently solved, the workload and the difficulty of the intelligent equipment maintenance are reduced, and the intelligent equipment maintenance cost is saved.
Before obtaining the current location tag of the smart device, the method further includes: monitoring whether the intelligent equipment is maintained; and if so, triggering to acquire the current position label of the intelligent device. The situation that the position of the intelligent device changes can occur after the intelligent device is maintained, and the scheme can also be adopted for other situations that the position of the intelligent device changes can occur.
In a preferred embodiment of the invention, the device data is data relating to the current location; obtaining device data for other smart devices having a current location tag, comprising: communicating with other intelligent equipment with the current position label and sending a request for acquiring equipment data; and receiving the device data sent by other intelligent devices with the current position tags. Namely, historical data generated by the current position is acquired for the control of the intelligent device and the like. The historical data is stored in the smart device that was previously at the location, i.e., the other smart devices with the current location tag.
Preferably, the searching whether other intelligent devices with the current position tags exist comprises: broadcasting a search instruction to a network where a plurality of intelligent devices are located; if response data of the search instruction is received, determining that other intelligent equipment with the current position label exists; otherwise, determining that no other intelligent device with the current position label exists.
After finding whether other intelligent devices with current position tags exist, the method further comprises the following steps: and reporting the alarm information with the current position label when other intelligent equipment with the current position label does not exist.
Optionally, the method further comprises: monitoring whether the equipment data of the intelligent equipment is acquired by other intelligent equipment; and if so, clearing the equipment data of the intelligent equipment. The historical data is cleared in time, the memory is released, and the situation that data in multiple positions are stored in the memory when the intelligent device is used again, so that wrong data are used, can be avoided.
In another preferred embodiment of the present invention, obtaining the current location tag of the smart device includes: receiving a communication signal sent by an anchor node, and determining the strength of the communication signal; and determining the current position label of the intelligent device according to the strength of the communication signal and the coordinates of the anchor node.
Determining the current position label of the intelligent device according to the strength of the communication signal and the coordinates of the anchor node, wherein the method comprises the following steps: determining the current coordinate of the intelligent equipment by adopting an RSSI (received signal strength indicator) positioning algorithm according to the strength of the communication signal and the coordinate of the anchor node; sending the current coordinates of the intelligent equipment to an anchor node, and determining a current position label of the intelligent equipment through the anchor node; and receiving the current position label sent by the anchor node.
The number of the anchor nodes is multiple, and preferably, the number of the anchor nodes is 3 or 4; each anchor node corresponds to a communication signal; determining current coordinates of the smart device using an RSSI positioning algorithm, comprising: calculating the distance between each anchor node and the intelligent equipment according to the strength of each communication signal; and determining the current coordinate of the intelligent equipment by adopting a multi-point positioning algorithm according to the distance between each anchor node and the intelligent equipment and the coordinate of each anchor node. Determining current coordinates of the smart device using a multi-point location algorithm, comprising: and taking each anchor node as an origin, taking the distance between each anchor node and the intelligent equipment as a radius, obtaining a plurality of circles, and determining the intersection point of the circles as the current coordinate of the intelligent equipment.
Further, determining, by the anchor node, a current location tag of the smart device includes: the anchor node compares the current coordinates of the intelligent device with the regional information in the transmission range of the anchor node to obtain the current position label of the intelligent device, and sends the current position label to the intelligent device.
Before the anchor node compares the current coordinates of the intelligent device with the region information of the transmission range of the anchor node, the method further comprises the following steps: the anchor node receives the regional information of the self transmission range sent by the platform; the platform is an anchor node and an upper management end of the intelligent device, the platform acquires a space range where the intelligent device and the anchor node are located in advance, the space range is divided into a plurality of square areas, and each square area corresponds to one position tag; the area information of the self transmission range at least comprises: the center coordinates of a plurality of square areas contained in the self-transmission range, the corresponding position labels and the side lengths of the squares.
Preferably, the anchor node compares the current coordinate of the smart device with the area information of its own transmission range to obtain the current location tag of the smart device, and the method includes: determining the nearest central coordinate in the current coordinate of the intelligent device and the central coordinates of the plurality of square areas; judging whether the distance between the current coordinate of the intelligent equipment and the nearest center coordinate is smaller than the side length of the square or not; if so, determining that the position label of the square area where the nearest center coordinate is located is the current position label of the intelligent device.
In another preferred embodiment of the present invention, after obtaining the current location tag of the smart device, the method further includes: sending the current position label and the internal address of the intelligent device to a platform; the platform marks the intelligent equipment as a known node; the platform is further used for setting the known node closest to the anchor node as the anchor node when the number of the anchor nodes is smaller than the preset number.
In preferred embodiment 1 of the present invention, another intelligent device configuration method is further provided, where the intelligent device is a wireless intelligent device and is divided into an anchor node, a known node, and an unknown node. Except for the intelligent equipment end, the scheme also comprises a platform end. The platform needs to acquire a three-dimensional map of an indoor where the intelligent device is located in advance, and then the three-dimensional map is divided into a plurality of square areas with the same size according to the installation range of the intelligent device, so that the data volume can be greatly reduced, the size of each area can be set according to the minimum interval of intelligent device installation or the error range of signal intensity and distance, and two intelligent devices are prevented from being located in the same area. After the wireless intelligent device successfully accesses the network, the intelligent device enters a positioning mode to complete the point matching function of the intelligent device, and the anchor node only transmits positioning information to the intelligent device within the effective signal transmission range in the positioning mode. The flowchart of the intelligent device location acquisition method is shown in fig. 2, and includes the following steps S202-S210:
s202: the platform acquires coordinate information of the anchor node, and the platform sends area information of an effective transmission range of the anchor node signal to the anchor node, wherein the area information comprises a square area center coordinate, a square side length and a position label of the area. The location tag contains location information of the area, such as the third floor, room No. 1, area, and the developer can divide a room into a plurality of areas and digitally represent the areas, and the data generated by the smart device can be bound with the location tag.
S204: and after acquiring the regional information sent by the platform, the anchor node sends a positioning request to the unknown node in the effective transmission range of the anchor node.
S206: after an unknown node (namely intelligent equipment) receives data of at least 3 or 4 different anchor nodes, the coordinate of the unknown node is calculated through a multipoint positioning algorithm in an indoor positioning technology, the unknown node sends the coordinate of the unknown node to a nearest anchor node, the positioning principle is that the unknown node obtains the distance between the unknown node and four anchor nodes by obtaining the RSSI signal strength of the anchor nodes, four circles are respectively obtained by taking the anchor nodes as the origin and the distance as the radius, and the tangent points of the four circles are the coordinates of the unknown node.
S208: and the anchor node calculates the coordinates of the unknown node and the region information in the transmission range stored by the anchor node to obtain the region where the unknown node is located, and sends the position label of the region to the unknown node. The anchor node obtains the coordinates of the unknown node and then compares the coordinates with a plurality of area center coordinates in the area information in the transmission range of the anchor node, determines the area with the shortest distance, judges whether the distance between the areas is smaller than the side length of the square, if so, the unknown node is in the area, and then sends the position label of the area to the unknown node to enable the unknown node to know which area the anchor node is in.
S210: after obtaining the position label of the unknown node, the unknown node sends the coordinate, the position label and the internal address of the intelligent device to the platform, and the unknown node becomes the known node at the moment.
When the number of the anchor nodes in the signal transmission range of the unknown node in the network is less than 4, the nearest known node is made to be the anchor node, then the new anchor node can provide information for other unknown nodes, all wireless intelligent devices can obtain own coordinates and position labels through fewer anchor nodes to complete point matching.
After the intelligent equipment is maintained, the intelligent equipment with the wrong position installation can acquire the original data information of the position through equipment data exchange, and the situation that the intelligent equipment generates wrong data due to the fact that the positions of the intelligent equipment are different before and after maintenance is avoided. The intelligent device configuration flowchart is shown in fig. 3, and includes the following steps S302-S306:
s302: and after the intelligent equipment is maintained, the position label information of the intelligent equipment is obtained again. Firstly, the self-position label is obtained through the intelligent device configuration process. The position of the intelligent device is the installation position of the intelligent device after maintenance, and the original position is the installation position of the intelligent device before maintenance. Before maintenance, the intelligent device is installed at the position A, the position label of the position A is obtained, and the environment information measured by the intelligent device is the data of the position A. After maintenance, the intelligent device is installed at the position B and is inconsistent with the original position, and the position label of the position A carried by the intelligent device is inconsistent with the actual installation position, so that the position label needs to be obtained again.
S304: and the intelligent equipment acquires the new position label and then compares the new position label with the original position label in the data, if the new position label is different from the original position label, the intelligent equipment with the position label is searched in a broadcast mode in the network, and the original data is backed up. The intelligent device is provided with a storage chip, and only data needs to be backed up to the storage chip.
S306: and if YES is responded by the intelligent equipment, one-to-one communication is carried out with the intelligent equipment to acquire data corresponding to the position label, and if NO is responded, the alarm information with the new position label is reported to the platform, and the intelligent equipment cannot normally operate. For example, when the smart device is used to measure ambient temperature information, the locations of the smart device before and after maintenance are different, and the smart device needs to make the newly obtained temperature information and the temperature information of the historical data the same, it is necessary to obtain device data of the location before maintenance, and maintain the temperature of the same place measured before and after maintenance.
And if the data backed up by the intelligent equipment is acquired by other intelligent equipment, deleting and releasing the memory, otherwise, reporting the alarm information with the position label in the backed up data.
Through the embodiment, the scheme of the intelligent device configuration method for autonomously configuring the intelligent device is provided, and whether the current position label is the same as the original position label or not is determined by comparing the current position label of the intelligent device with the original position label of the intelligent device, namely whether the intelligent device changes the position or not is determined. If the intelligent device changes the position, whether other intelligent devices with the current position labels exist is searched, and when other intelligent devices with the current position labels exist, the device data of the other intelligent devices with the current position labels are obtained. Through the scheme, the intelligent equipment autonomously completes configuration, the configuration is not required to be carried out on the platform, and the contact is established between the intelligent equipment and the position, when the position is wrongly installed after the intelligent equipment is maintained, only the equipment data of the original position needs to be uploaded to the intelligent equipment, the inspection and the replacement are not required, the problem that the data generated by the equipment and the position are not matched due to the fact that the equipment is changed in position is simply and efficiently solved, the workload and the difficulty of the intelligent equipment maintenance are reduced, and the intelligent equipment maintenance cost is saved.
Example 2
Based on the intelligent device configuration method provided in embodiment 1, in a preferred embodiment 2 of the present invention, an intelligent device configuration apparatus is further provided, and specifically, fig. 4 shows an optional structural block diagram of the apparatus, as shown in fig. 4, the apparatus includes:
an obtaining module 402, configured to obtain a current location tag of the smart device; the position tag is used for representing the area where the intelligent equipment is located;
a determining module 404, connected to the obtaining module 402, configured to compare the current location tag with an original location tag of the smart device, and determine whether the current location tag is the same as the original location tag;
the backup module 406 is connected to the determining module 404, and configured to, if the current location tag is different from the current location tag, find whether there is another smart device with the current location tag, and obtain device data of the another smart device with the current location tag when there is another smart device with the current location tag.
In the foregoing embodiment, a solution for configuring an intelligent device autonomously is provided, where a current location tag of the intelligent device is obtained and compared with an original location tag of the intelligent device, so as to determine whether the current location tag is the same as the original location tag, that is, determine whether the intelligent device changes location. If the intelligent device changes the position, whether other intelligent devices with the current position labels exist is searched, and when other intelligent devices with the current position labels exist, the device data of the other intelligent devices with the current position labels are obtained. Through the scheme, the intelligent equipment autonomously completes configuration, the configuration is not required to be carried out on the platform, and the contact is established between the intelligent equipment and the position, when the position is wrongly installed after the intelligent equipment is maintained, only the equipment data of the original position needs to be uploaded to the intelligent equipment, the inspection and the replacement are not required, the problem that the data generated by the equipment and the position are not matched due to the fact that the equipment is changed in position is simply and efficiently solved, the workload and the difficulty of the intelligent equipment maintenance are reduced, and the intelligent equipment maintenance cost is saved.
Further, the apparatus further comprises: the monitoring module is used for monitoring whether the intelligent equipment is maintained or not before the current position label of the intelligent equipment is acquired; and if so, triggering to acquire the current position label of the intelligent device.
Wherein the device data is data related to the current location; the backup module 406 includes: the device comprises a searching unit and an obtaining unit, wherein the searching unit is used for searching whether other intelligent devices with current position labels exist or not if the intelligent devices with the current position labels are different, and the obtaining unit is used for obtaining the device data of the other intelligent devices with the current position labels when the other intelligent devices with the current position labels exist. The acquisition unit includes: the communication subunit is used for communicating with other intelligent equipment with the current position label and sending a request for acquiring equipment data; and the receiving subunit is used for receiving the device data sent by other intelligent devices with the current position tags.
Further, the search unit includes: broadcasting a search instruction to a network where a plurality of intelligent devices are located; if response data of the search instruction is received, determining that other intelligent equipment with the current position label exists; otherwise, determining that no other intelligent device with the current position label exists.
Further, the backup module 406 further comprises: and the reporting unit is used for reporting the alarm information with the current position label when other intelligent equipment with the current position label does not exist after searching whether other intelligent equipment with the current position label exists or not.
This device still includes: the clearing module is used for monitoring whether the equipment data of the intelligent equipment is acquired by other intelligent equipment; and if so, clearing the equipment data of the intelligent equipment.
The obtaining module 402 includes: the receiving submodule is used for receiving the communication signals sent by the anchor node and determining the strength of the communication signals; and the determining submodule is used for determining the current position label of the intelligent equipment according to the strength of the communication signal and the coordinates of the anchor node.
The determination submodule includes: the computing unit is used for determining the current coordinate of the intelligent equipment by adopting an RSSI (received signal strength indicator) positioning algorithm according to the intensity of the communication signal and the coordinate of the anchor node; the sending unit is used for sending the current coordinates of the intelligent equipment to the anchor node and determining the current position label of the intelligent equipment through the anchor node; and the receiving unit is used for receiving the current position label sent by the anchor node.
Furthermore, the number of the anchor nodes is multiple, and each anchor node corresponds to one communication signal; the calculation unit includes: the distance calculation subunit is used for calculating the distance between each anchor node and the intelligent device according to the strength of each communication signal; and the coordinate determining subunit is used for determining the current coordinate of the intelligent device by adopting a multi-point positioning algorithm according to the distance between each anchor node and the intelligent device and the coordinate of each anchor node. Wherein the coordinate determination subunit includes: and taking each anchor node as an origin, taking the distance between each anchor node and the intelligent equipment as a radius, obtaining a plurality of circles, and determining the intersection point of the circles as the current coordinate of the intelligent equipment.
Optionally, the sending unit includes: and the first sending subunit is used for comparing and calculating the current coordinate of the intelligent device and the area information in the transmission range of the anchor node to obtain a current position label of the intelligent device, and sending the current position label to the intelligent device. Further, the transmission unit includes: the receiving subunit is used for receiving the regional information of the self-transmission range sent by the platform by the anchor node before the anchor node compares and calculates the current coordinate of the intelligent device with the regional information of the self-transmission range; the platform is an anchor node and an upper management end of the intelligent device, the platform acquires a space range where the intelligent device and the anchor node are located in advance, the space range is divided into a plurality of square areas, and each square area corresponds to one position tag; the area information of the self transmission range at least comprises: the center coordinates of a plurality of square areas contained in the self-transmission range, the corresponding position labels and the side lengths of the squares.
Further, the first transmitting subunit includes: determining the nearest central coordinate in the current coordinate of the intelligent device and the central coordinates of the plurality of square areas; judging whether the distance between the current coordinate of the intelligent equipment and the nearest center coordinate is smaller than the side length of the square or not; if so, determining that the position label of the square area where the nearest center coordinate is located is the current position label of the intelligent device.
Further, the apparatus further comprises: the intelligent device comprises a setting module, a platform and a display module, wherein the setting module is used for sending a current position label and an internal address of the intelligent device to the platform after obtaining the current position label of the intelligent device; the platform marks the intelligent equipment as a known node; the platform is further used for setting the known node closest to the anchor node as the anchor node when the number of the anchor nodes is smaller than the preset number.
With regard to the apparatus in the above embodiments, the specific manner in which each unit and each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
Example 3
Based on the intelligent device configuration method provided in the above embodiment 1, in a preferred embodiment 3 of the present invention, there is also provided a storage medium containing computer executable instructions for performing the intelligent device configuration method as described above when executed by a computer processor.
In the foregoing embodiment, a solution for configuring an intelligent device autonomously is provided, where a current location tag of the intelligent device is obtained and compared with an original location tag of the intelligent device, so as to determine whether the current location tag is the same as the original location tag, that is, determine whether the intelligent device changes location. If the intelligent device changes the position, whether other intelligent devices with the current position labels exist is searched, and when other intelligent devices with the current position labels exist, the device data of the other intelligent devices with the current position labels are obtained. Through the scheme, the intelligent equipment autonomously completes configuration, the configuration is not required to be carried out on the platform, and the contact is established between the intelligent equipment and the position, when the position is wrongly installed after the intelligent equipment is maintained, only the equipment data of the original position needs to be uploaded to the intelligent equipment, the inspection and the replacement are not required, the problem that the data generated by the equipment and the position are not matched due to the fact that the equipment is changed in position is simply and efficiently solved, the workload and the difficulty of the intelligent equipment maintenance are reduced, and the intelligent equipment maintenance cost is saved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (16)
1. An intelligent device configuration method, comprising:
acquiring a current position label of the intelligent device; the position tag is used for representing the area where the intelligent equipment is located;
comparing the current position label with an original position label of the intelligent equipment to determine whether the current position label is the same as the original position label;
if the current position label is different from the current position label, searching whether other intelligent equipment with the current position label exists, and acquiring the equipment data of the other intelligent equipment with the current position label when the other intelligent equipment with the current position label exists; wherein the device data is data associated with the current location.
2. The method of claim 1, further comprising, prior to obtaining the current location tag of the smart device:
monitoring whether the intelligent equipment is maintained;
and if so, triggering the acquisition of the current position label of the intelligent equipment.
3. The method of claim 1, wherein obtaining device data for the other smart devices having the current location tag comprises:
communicating with the other intelligent devices with the current position tags and sending a request for acquiring the device data;
and receiving the device data sent by the other intelligent devices with the current position tags.
4. The method of claim 1, wherein finding whether there are other smart devices with the current location tag comprises:
broadcasting a search instruction to a network where a plurality of intelligent devices are located;
if response data of the search instruction is received, determining that other intelligent equipment with the current position label exists;
otherwise, determining that no other intelligent device with the current position label exists.
5. The method of claim 1, after finding whether there are other smart devices with the current location tag, further comprising:
and reporting the alarm information with the current position label when the other intelligent equipment with the current position label does not exist.
6. The method of claim 1, further comprising:
monitoring whether the equipment data of the intelligent equipment is acquired by other intelligent equipment;
and if so, clearing the equipment data of the intelligent equipment.
7. The method of claim 1, wherein obtaining a current location tag of the smart device comprises:
receiving a communication signal sent by an anchor node, and determining the strength of the communication signal;
and determining the current position label of the intelligent equipment according to the strength of the communication signal and the coordinates of the anchor node.
8. The method of claim 7, wherein determining the current location tag of the smart device based on the strength of the communication signal and the coordinates of the anchor node comprises:
determining the current coordinate of the intelligent equipment by adopting an RSSI (received signal strength indicator) positioning algorithm according to the strength of the communication signal and the coordinate of the anchor node;
sending the current coordinates of the intelligent equipment to the anchor node, and determining the current position label of the intelligent equipment through the anchor node;
and receiving the current position label sent by the anchor node.
9. The method of claim 8, wherein the number of anchor nodes is plural, each of the anchor nodes corresponding to one of the communication signals; determining current coordinates of the smart device using an RSSI positioning algorithm, comprising:
calculating the distance between each anchor node and the intelligent equipment according to the strength of each communication signal;
and determining the current coordinate of the intelligent equipment by adopting a multi-point positioning algorithm according to the distance between each anchor node and the intelligent equipment and the coordinate of each anchor node.
10. The method of claim 9, wherein determining current coordinates of the smart device using a multilateration algorithm comprises:
and taking each anchor node as an origin, taking the distance between each anchor node and the intelligent equipment as a radius, obtaining a plurality of circles, and determining the intersection point of the circles as the current coordinate of the intelligent equipment.
11. The method of claim 8, wherein determining, by the anchor node, the current location tag of the smart device comprises:
and the anchor node compares the current coordinate of the intelligent equipment with the regional information in the transmission range of the anchor node to obtain a current position label of the intelligent equipment, and sends the current position label to the intelligent equipment.
12. The method according to claim 11, before the anchor node compares the current coordinates of the smart device with the region information of its own transmission range, further comprising:
the anchor node receives the regional information of the self transmission range sent by the platform; the platform is an anchor node and an upper management end of the intelligent device, the platform acquires a space range where the intelligent device and the anchor node are located in advance, the space range is divided into a plurality of square areas, and each square area corresponds to one position tag; the area information of the self transmission range at least comprises: the center coordinates of a plurality of square areas contained in the self-transmission range, the position labels corresponding to the center coordinates and the side lengths of the squares.
13. The method of claim 12, wherein the comparing the current coordinates of the smart device with the area information of the transmission range of the anchor node to obtain the current location tag of the smart device comprises:
determining a center coordinate closest to a current coordinate of the smart device and center coordinates of the plurality of square regions;
judging whether the distance between the current coordinate of the intelligent equipment and the nearest center coordinate is smaller than the side length of the square or not;
if so, determining that the position label of the square area where the closest center coordinate is located is the current position label of the intelligent device.
14. The method of claim 12, after obtaining the current location tag of the smart device, further comprising:
sending the current location tag and the internal address of the smart device to the platform; wherein the platform marks the smart device as a known node; the platform is further used for setting a known node closest to the anchor nodes as the anchor nodes when the number of the anchor nodes is smaller than a preset number.
15. An intelligent device configuration apparatus, comprising:
the acquisition module is used for acquiring a current position label of the intelligent equipment; the position tag is used for representing the area where the intelligent equipment is located;
the determining module is used for comparing the current position label with an original position label of the intelligent equipment and determining whether the current position label is the same as the original position label;
the backup module is used for searching whether other intelligent equipment with the current position label exists or not if the intelligent equipment with the current position label is different, and acquiring the equipment data of the other intelligent equipment with the current position label when the other intelligent equipment with the current position label exists; wherein the device data is data associated with the current location.
16. A storage medium containing computer-executable instructions for performing the smart device configuration method of any one of claims 1 to 14 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010357567.XA CN111597833B (en) | 2020-04-29 | 2020-04-29 | Intelligent equipment configuration method and device for autonomous configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010357567.XA CN111597833B (en) | 2020-04-29 | 2020-04-29 | Intelligent equipment configuration method and device for autonomous configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111597833A CN111597833A (en) | 2020-08-28 |
CN111597833B true CN111597833B (en) | 2021-06-01 |
Family
ID=72189506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010357567.XA Active CN111597833B (en) | 2020-04-29 | 2020-04-29 | Intelligent equipment configuration method and device for autonomous configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111597833B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202445A (en) * | 2004-01-13 | 2005-07-28 | Hitachi Ltd | Asset management method |
CN105223549A (en) * | 2015-08-22 | 2016-01-06 | 东北电力大学 | The full mobile node positioning method of a kind of wireless sensor network based on RSSI |
CN107852568A (en) * | 2015-07-13 | 2018-03-27 | 乌贝库米有限公司 | System and method for positioning and tracking |
CN108031050A (en) * | 2017-12-11 | 2018-05-15 | 江苏卓尔美物联科技股份有限公司 | Firefighting supervision system based on Internet of Things |
CN108960449A (en) * | 2018-07-09 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of device location information maintaining method, device, system and cabinet |
CN109598321A (en) * | 2019-02-01 | 2019-04-09 | 沈阳宝通门业有限公司 | A kind of off normal part management system and control method based on UWB label |
CN110688534A (en) * | 2019-09-20 | 2020-01-14 | 北京禹数技术有限公司 | Equipment facility information collection method, storage medium, electronic equipment and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100982572B1 (en) * | 2008-08-01 | 2010-09-15 | 한국전자통신연구원 | Apparatus and Method for Equipment Inspection |
-
2020
- 2020-04-29 CN CN202010357567.XA patent/CN111597833B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202445A (en) * | 2004-01-13 | 2005-07-28 | Hitachi Ltd | Asset management method |
CN107852568A (en) * | 2015-07-13 | 2018-03-27 | 乌贝库米有限公司 | System and method for positioning and tracking |
CN105223549A (en) * | 2015-08-22 | 2016-01-06 | 东北电力大学 | The full mobile node positioning method of a kind of wireless sensor network based on RSSI |
CN108031050A (en) * | 2017-12-11 | 2018-05-15 | 江苏卓尔美物联科技股份有限公司 | Firefighting supervision system based on Internet of Things |
CN108960449A (en) * | 2018-07-09 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of device location information maintaining method, device, system and cabinet |
CN109598321A (en) * | 2019-02-01 | 2019-04-09 | 沈阳宝通门业有限公司 | A kind of off normal part management system and control method based on UWB label |
CN110688534A (en) * | 2019-09-20 | 2020-01-14 | 北京禹数技术有限公司 | Equipment facility information collection method, storage medium, electronic equipment and system |
Non-Patent Citations (1)
Title |
---|
基于移动锚节点的无线传感器网络;杨 锋;《中国优秀硕士学位论文全文数据库 信息科技辑》;20180410;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111597833A (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11586256B2 (en) | Server rack for improved data center management | |
US7362656B2 (en) | Ultrasonic locating system | |
US20130170378A1 (en) | Method and a system for localization in industrial wireless sensor network | |
KR100795990B1 (en) | Method and device for position determination | |
US20060013070A1 (en) | Ultrasonic tracking and locating system | |
US10492027B2 (en) | Supporting a surveillance of positions of devices | |
US9307369B2 (en) | Wireless position detection apparatus and storage medium | |
KR20090083105A (en) | Position determination service system of the wireless communication system and method for operating the same | |
GB2353910A (en) | Asset tracking using local beacons | |
CN103404189A (en) | Self-positioning of a wireless station | |
EP3285085B1 (en) | Method and system for identifying a location of a container within a group of containers | |
US20160006892A1 (en) | Systems and Methods for Location-Aware Electronic Devices | |
CN111928856A (en) | Indoor positioning navigation method and system and indoor power distribution equipment monitoring control system | |
EP3646646B1 (en) | Electronic devices with location coordinates obtained from mobile devices | |
US20100026514A1 (en) | System and method for providing self-locating wireless sensors | |
CN111597833B (en) | Intelligent equipment configuration method and device for autonomous configuration | |
JP2016218027A (en) | Positioning system and measurement terminal | |
JPH08107583A (en) | Method, system and device for detecting position of mobile station for mobile communication | |
CN108761480A (en) | Urban Underground piping lane positioning system | |
KR101853700B1 (en) | Indoor localization system in disaster relief and localization method thereof | |
US20220198178A1 (en) | Method and apparatus for identifying the floor of a building | |
US11888940B2 (en) | Intelligent lighting control system | |
JP6939239B2 (en) | Information processing equipment, information processing systems and programs | |
JP5331351B2 (en) | Cargo loading terminal and site entry / exit judgment method | |
JP2005164361A (en) | Position detection by means of intelligent gps and of ic tag intercommunication, and processing by gis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |