Equipment positioning method and device
By combining base stations and RFID tags, and utilizing signal strength indicators and three-dimensional coordinate system calculations, the problem of low retrieval efficiency caused by changes in device location has been solved, enabling rapid and accurate device positioning and retrieval.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI HANRUN AUTOMOTIVE ELECTRONICS CO LTD
- Filing Date
- 2023-06-25
- Publication Date
- 2026-06-30
AI Technical Summary
Equipment in large research institutions, factories, hospitals, and other units is often shared by multiple departments or users and its location changes frequently, resulting in low equipment retrieval efficiency.
By acquiring broadcast messages from multiple base stations based on RFID tags fixed on electronic devices, the received signal strength indication is determined, the distance from the base station to the device is calculated, and the device location is determined using a three-dimensional coordinate system.
This improves the efficiency of equipment retrieval, ensuring that equipment can be located and retrieved quickly and accurately.
Smart Images

Figure CN116684961B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of equipment management technology, and in particular relates to an equipment positioning method and device. Background Technology
[0002] Large research institutions, factories, hospitals, and other organizations possess a large number of instruments and equipment that can be shared by multiple departments or users. For example, electronic research institutes may have computers, monitors, voltage sources, oscilloscopes, signal generators, and spectrum analyzers; or hospitals may have ventilators, spectrum analyzers, defibrillators, and electrocardiogram monitors.
[0003] Because the aforementioned equipment can be shared by multiple departments or users and its location can change depending on the user's usage, the equipment is not always in a fixed position, resulting in low equipment retrieval efficiency. Summary of the Invention
[0004] This application provides a device positioning method and apparatus that can solve the problem of low device retrieval efficiency.
[0005] In a first aspect, embodiments of this application provide a device positioning method, including:
[0006] The system acquires a first received signal strength indication determined by multiple base stations based on broadcast messages from a first RFID tag, wherein the first RFID tag is fixed to a first electronic device.
[0007] Based on the first received signal strength indication, determine the distance from each of the multiple base stations to the first electronic device;
[0008] The location of the first electronic device is determined based on the distance from each base station to the first electronic device.
[0009] Secondly, embodiments of this application provide a device positioning apparatus, comprising:
[0010] The first acquisition module is used to acquire a first received signal strength indication determined by multiple base stations based on broadcast messages from the first radio frequency tag, wherein the first radio frequency tag is fixed on the first electronic device;
[0011] The first determining module is used to determine the distance from each of the multiple base stations to the first electronic device based on the first received signal strength indication;
[0012] The positioning module is used to determine the location of the first electronic device based on the distance from each base station to the first electronic device.
[0013] Thirdly, embodiments of this application provide a server, which includes a processor and a memory storing computer program instructions, wherein the processor executes the computer program instructions to implement the device positioning method of the first aspect.
[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the device positioning method of the first aspect.
[0015] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a server's processor, cause the server to perform the device positioning method as described in the first aspect.
[0016] In this embodiment, a first received signal strength indication determined by multiple base stations based on broadcast messages from a first RFID tag, wherein the first RFID tag is fixed to a first electronic device, is obtained. Based on the first received signal strength indication, the distance from each of the multiple base stations to the first electronic device is determined. Based on the distance from each base station to the first electronic device, the location of the first electronic device is determined. This allows for the determination of the location of the first electronic device, thereby improving the retrieval efficiency of the first electronic device. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the device positioning method provided in an embodiment of this application;
[0019] Figure 2 This is a schematic diagram of the structure of the radio frequency tag provided in the embodiments of this application;
[0020] Figure 3 This is a schematic diagram of the structure of the device positioning device provided in the embodiments of this application;
[0021] Figure 4 This is a schematic diagram of the server structure provided in an embodiment of this application;
[0022] Figure 5 This is a schematic diagram of the device positioning system provided in the embodiments of this application. Detailed Implementation
[0023] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0024] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0025] The device positioning method and apparatus provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios. The device positioning method and apparatus provided in this application are preferably applicable to a server, which is communicatively connected to multiple base stations pre-deployed in a target space. Each base station is communicatively connected to multiple radio frequency tags (RFID tags), and each RFID tag is fixed to an electronic device. The RFID tags in this application embodiment can be electronic tags based on Radio Frequency Identification (RFID) technology. The electronic devices in this application embodiment include, but are not limited to: mobile phones, tablets, laptops, monitors, voltage sources, oscilloscopes, signal generators, spectrum analyzers, ventilators, defibrillators, and electrocardiogram monitors. After deploying multiple base stations in the target space, the actual distance between any two base stations can be determined. The base stations in this application embodiment may include: a power supply module, a microprocessor module, a radio frequency antenna module, a radio frequency signal receiving module, and a WIFI communication module. The base stations in this application embodiment can be home base stations, which are base station devices used in home indoor environments, office environments, or other small coverage environments.
[0026] Figure 1 This is a flowchart illustrating the device positioning method provided in an embodiment of this application. Figure 1As shown, the device positioning method may include:
[0027] Step 101: Obtain the first received signal strength indication determined by multiple base stations based on the broadcast message from the first RFID tag, wherein the first RFID tag is fixed on the first electronic device.
[0028] In some possible implementations of this application, the transmission period of the broadcast messages of the RFID tag fixed to the electronic device can be determined based on the usage frequency of the electronic device. For example, if the electronic device is frequently used, the transmission period of the broadcast messages of the RFID tag fixed to the electronic device can be determined to be 10 minutes; if the electronic device is used infrequently, the transmission period of the broadcast messages of the RFID tag fixed to the electronic device can be determined to be 1 hour; if the electronic device is used occasionally, the transmission period of the broadcast messages of the RFID tag fixed to the electronic device can be determined to be 2 hours; and if the electronic device is rarely used, the transmission period of the broadcast messages of the RFID tag fixed to the electronic device can be determined to be 24 hours.
[0029] In some possible implementations of this application, the signal strength of the broadcast message of the RFID tag fixed to the electronic device can be determined according to the severity of signal obstruction in the usage scenario of the electronic device. For example, if the electronic device is used in an open room or other area with no signal obstruction, the signal strength of the broadcast message of the RFID tag fixed to the electronic device is determined to be 3 dBm. As another example, if the electronic device is used in an office area or other area with partial signal obstruction, the signal strength of the broadcast message of the RFID tag fixed to the electronic device is determined to be 5 dBm. And as yet another example, if the electronic device is used in a metal cabinet, warehouse, or other area with severe signal obstruction, the signal strength of the broadcast message of the RFID tag fixed to the electronic device is determined to be 7 dBm.
[0030] Once the transmission period and signal strength of the broadcast messages of the RFID tag attached to the electronic device are determined, these parameters can be stored in the RFID tag's non-volatile memory (NVM). When the RFID tag becomes active, it broadcasts messages using the determined transmission period and signal strength.
[0031] Each base station determines the RSSI corresponding to the broadcast message received from the first RFID tag, and then sends the RSSI to the server.
[0032] This application does not limit the method used by the base station to determine the RSSI corresponding to the broadcast message based on the broadcast message received from the first radio frequency tag. Any available method can be applied to this application.
[0033] Step 102: Determine the distance from each of the multiple base stations to the first electronic device based on the first received signal strength indication.
[0034] In some possible implementations of the embodiments of this application, in step 102, the distance from each of the multiple base stations to the first electronic device can be calculated according to the following formula (1):
[0035]
[0036] In formula (1), d i Let A be the distance from base station i to the first electronic device. i RSSI is the calibration value corresponding to base station i. i For base station i, the received signal strength indication is determined based on the broadcast message from the first RFID tag, n i Let be the environmental attenuation parameter corresponding to base station i, and abs() be the absolute value function. This calibration value represents the absolute value of the RRSI determined by the receiving node when the transmitting node is one meter away from the receiving node.
[0037] In some possible implementations of the embodiments of this application, before step 101, the device positioning method provided in the embodiments of this application may further include: obtaining the second received signal strength indication determined by multiple base stations based on broadcast messages from other base stations besides their own base stations and the distance between every two base stations among the multiple base stations, and calibrating the calibration value and environmental attenuation parameter corresponding to each base station based on the second received signal strength indication and the distance between every two base stations.
[0038] For example, the following explanation uses the calibration values and environmental attenuation parameters corresponding to three base stations as an example.
[0039] The three base stations are base station A, base station B, and base station C.
[0040] For base station A, base station A determines the RSSI corresponding to the broadcast message of base station B based on the broadcast message of base station B, and determines the RSSI corresponding to the broadcast message of base station C based on the broadcast message of base station C. Then, base station A sends the RSSI corresponding to the broadcast message of base station B and the RSSI corresponding to the broadcast message of base station C to the server.
[0041] The server determines the calibration value and environmental attenuation parameters corresponding to base station A based on the RSSI corresponding to the broadcast message of base station B, the RSSI corresponding to the broadcast message of base station C, the distance between base station A and base station B, and the distance between base station A and base station C.
[0042] Specifically, the server can substitute the RSSI corresponding to the broadcast message of base station B and the distance between base station A and base station B, and the RSSI corresponding to the broadcast message of base station C and the distance between base station A and base station C into the following formula (2), and then solve the two equations simultaneously to obtain the calibration value and environmental attenuation parameter corresponding to base station A.
[0043] A-10(lgd)n=RSSI (2)
[0044] In formula (2), A is the calibration value corresponding to the receiving node, d is the distance between the transmitting node and the receiving node, n is the environmental attenuation parameter corresponding to the receiving node, and RSSI is the RSSI value corresponding to the broadcast message of the transmitting node determined by the receiving node based on the broadcast message of the transmitting node.
[0045] Similarly, the calibration values and environmental attenuation parameters for base stations B and C can also be obtained.
[0046] Specifically, for the three base stations mentioned above: base station A, base station B, and base station C, when solving for the calibration value and environmental attenuation parameter corresponding to base station A, base station A is the receiving node, and base stations B and C are the transmitting nodes; when solving for the calibration value and environmental attenuation parameter corresponding to base station B, base station B is the receiving node, and base stations A and C are the transmitting nodes; when solving for the calibration value and environmental attenuation parameter corresponding to base station C, base station C is the receiving node, and base stations B and A are the transmitting nodes.
[0047] In this embodiment of the application, the calibration value and environmental attenuation parameter corresponding to each base station can comprehensively reflect the influence of the reflection, layout and signal attenuation of the wall in the current environment. It is equivalent to dynamically calibrating the calibration value and environmental attenuation parameter corresponding to each base station based on the influence of the reflection, interference and attenuation of the current space, so that the values of the calibration value and environmental attenuation parameter are more accurate.
[0048] Step 103: Determine the location of the first electronic device based on the distance from each base station to the first electronic device.
[0049] In some possible implementations of this application, a three-dimensional spatial coordinate system can be established with the location of any one of the multiple base stations as the origin. Then, the position of the first electronic device is solved according to the following formula (3).
[0050]
[0051] In formula (3), (X, Y, Z) represents the position of the first electronic device, (X... i Y i Z i Let d be the location of the i-th base station. i Let be the distance from the i-th base station to the first electronic device, where i is a positive integer greater than or equal to 3.
[0052] Specifically, the coordinates of each of the multiple base stations in the three-dimensional spatial coordinate system and the distance from each base station to the first electronic device can be substituted into the above formula (3) to obtain a set of equations including multiple equations. Solving the set of equations will yield the coordinates of the first electronic device in the three-dimensional spatial coordinate system, that is, the position of the first electronic device.
[0053] In some possible implementations of the embodiments of this application, the position of the first electronic device can be solved using the Gaussian elimination method.
[0054] In this embodiment, a first received signal strength indication (RSSI) of a broadcast message from a first RFID tag, determined by multiple base stations, is acquired. The first RFID tag is fixed to a first electronic device. Based on the RSI, the distance from each of the multiple base stations to the first electronic device is determined. Based on the distance from each base station to the first electronic device, the location of the first electronic device is determined. This allows for the determination of the location of the first electronic device, thereby improving the retrieval efficiency.
[0055] In some possible implementations of the embodiments of this application, when the positions of multiple sets of first electronic devices are obtained, the center position of the multiple sets of first electronic devices can be determined as the final position of the first electronic device, or the average value of the positions of the multiple sets of first electronic devices can be determined as the final position of the first electronic device.
[0056] For example, the positions of the three sets of first electronic devices are obtained, and the position coordinates of the three sets of first electronic devices are respectively (x... T1 ,y T1 ,z T1 ), (x T2 ,y T2 ,z T2 ) and (x T3 ,y T3 ,z T3 If we can determine the center of the circumcircle of the three points corresponding to the three coordinates, then we can determine the final position of the first electronic device.
[0057] For another example, the positions of the three sets of first electronic devices are obtained, and the position coordinates of the three sets of first electronic devices are respectively (x... T1 ,y T1 ,z T1), (x T2 ,y T2 ,z T2 ) and (x T3 ,y T3 ,z T3 ), then you can The final location of the first electronic device was determined.
[0058] In some possible implementations of the embodiments of this application, before step 103, the device positioning method provided in the embodiments of this application may further include: determining a target base station for determining the location of a first electronic device based on a first received signal strength indication; correspondingly, step 103 may include: determining the location of the first electronic device based on the distance from the target base station to the first electronic device.
[0059] In some possible implementations of the embodiments of this application, when determining the target base station for determining the location of the first electronic device based on the first received signal strength indication, the base station corresponding to the first received signal strength indication that is greater than the preset received signal strength indication can be determined as the target base station.
[0060] In some possible implementations of this application, when determining the target base station for determining the location of the first electronic device based on the first received signal strength indication, multiple first received signal strength indications can be sorted from largest to smallest, and the base stations corresponding to the first N first received signal strength indications in the sorted sequence can be selected as target base stations, where N is a positive integer greater than or equal to 3. Then, the coordinates of each target base station in the three-dimensional coordinate system and the distance from each target base station to the first electronic device are substituted into the above formula (3) to obtain a system of equations including multiple equations. Solving the system of equations yields the coordinates of the first electronic device in the three-dimensional coordinate system, that is, the location of the first electronic device.
[0061] In some possible implementations of the embodiments of this application, step 103 may include: for the first base station, determining a first weight value corresponding to the first base station based on the first received signal strength indication corresponding to the first base station and the change value of the received signal strength indication in two adjacent periods, wherein the first base station is any one of a plurality of base stations; determining a first distance step size corresponding to the first weight value based on the correspondence between the weight value and the distance step size; adjusting the distance from the first base station to the first electronic device based on the first distance step size; and determining the position of the first electronic device based on the adjusted distance from the first base station to the first electronic device.
[0062] In some implementations of the embodiments of this application, each distance step corresponding to a base station can correspond to a weight interval. Based on this, the distance step corresponding to the weight interval to which the weight value of the base station belongs can be determined as the distance step corresponding to the base station. For example, the weight interval [0, 0.4] corresponds to a distance step of 3 centimeters (cm), the weight interval (0.4, 0.7] corresponds to a distance step of 2 cm, the weight interval (0.7, 0.9] corresponds to a distance step of 1 cm, and the weight interval (0.9, 1] corresponds to a distance step of 0 cm.
[0063] In some possible implementations of the embodiments of this application, the weight value in the embodiments of this application can be determined by the base station based on the RSSI determined by the broadcast message from the first RFID tag and the change value of RSSI in two adjacent periods. The weight value can range from [0,1], and can be positively correlated with the magnitude of RSSI and negatively correlated with the magnitude of the change value of RSSI. That is, the larger the RSSI, the larger the weight value; the smaller the RSSI, the smaller the weight value; the larger the change value of RSSI, the smaller the weight value; and the smaller the change value of RSSI, the larger the weight value. The weight value reflects the credibility of the base station; the larger the weight value, the more credible the base station; the smaller the weight value, the less credible the base station.
[0064] In some possible implementations of the embodiments of this application, the change value of RSSI can be the difference between two RSSI determined by the base station in two adjacent transmission cycles of the radio frequency tag's broadcast message.
[0065] For example, the correspondence between the change value of RSSI, RSSI and weight value is shown in Table 1 below.
[0066] Table 1
[0067]
[0068] When a base station determines the current RSSI, the change value between the current RSSI and the previous RSSI can be used to determine the weight value of the base station by referring to the correspondence between the change value of RSSI, RSSI and weight value shown in Table 1 above. Then, according to the correspondence between the weight interval to which the weight value belongs and the distance step size, the distance step size of the base station can be determined.
[0069] In some possible implementations of the embodiments of this application, the precision of the coordinate set can be set. If the precision requirement has been met, the coordinate set at this time is considered the optimal solution. If the precision requirement has not been met, the distance can be adjusted and the coordinates recalculated. For example, if the precision of the coordinate set is set to 3 meters, and the calculated coordinates are within the range of 5 to 15 meters, the coordinates are recalculated using a step size of 2 cm. If the calculated coordinates are within the range of 3 to 5 meters, the coordinates are recalculated using a step size of 1 cm. If the calculated coordinates are within 3 meters, the coordinate set at this time is considered the optimal solution.
[0070] In some possible implementations of the embodiments of this application, after determining the distance step size corresponding to a certain base station, the distance from the base station to the first electronic device can be adjusted using the distance step size. For example, the distance from the base station to the first electronic device can be increased using the distance step size, and the increased distance can be substituted into the above formula (3) to solve for the position of the first electronic device.
[0071] For example, the distance step size corresponding to base station M is 2cm, and the original distance from base station M to the first electronic device is d. M After adjusting the distance from base station M to the first electronic device using a distance step size of 2cm, the distance from base station M to the first electronic device is d. M +2, the coordinates of base station M and the adjusted distance d from base station M to the first electronic device. M Substitute +2 into the above formula (3) to solve for the position of the first electronic device.
[0072] In some possible implementations of the embodiments of this application, the positioning method provided in the embodiments of this application may further include: receiving identification information sent by a first radio frequency tag, wherein the identification information is sent when the battery voltage of the first radio frequency tag is lower than a voltage threshold.
[0073] In some possible implementations of the embodiments of this application, the battery voltage of the first RFID tag can be detected by an analog-to-digital converter (ADC).
[0074] In this embodiment of the application, when the battery voltage of the first RFID tag is lower than the voltage threshold, the first RFID tag sends its identification information to the server so that the user can perform maintenance in a timely manner according to the RFID tag corresponding to the identification information received by the server.
[0075] In some possible implementations of this application, the radio frequency tag 200 provided in the embodiments of this application may include an antenna module 201, a radio frequency chip 202, a peripheral circuit module 203, and a battery power supply module 204. The radio frequency chip 202 includes a radio frequency baseband module 2021, a Gaussian frequency shift keying (GFSK) transmission module 2022, a non-volatile memory 2023, an ADC module 2024, a power management module 2025, and a watchdog module 2026. The peripheral circuit module 203 includes a power supply interface 2031 and a serial peripheral interface (SPI) 2032.
[0076] Antenna module 201 is connected to GFSK transmitter module 2023, which is also connected to RF baseband module 2021. RF baseband module 2021 is also connected to non-volatile memory 2023 and watchdog module 2026, respectively. Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of the radio frequency tag provided in the embodiments of this application.
[0077] The non-volatile memory 2023 is used to store the message transmission period, signal strength, and identification information of the RFID tag 200. The watchdog module 2026 is used to reset the RFID tag 200. The battery power supply module 204 supplies power to each module of the RFID tag 200 through the power supply interface 2031. The power management module 2025 is used to manage the battery of the RFID tag 200. The ADC module 2024 is used to detect the battery voltage of the RFID tag 200. The RFID tag 200 sends messages to the base station through the RF baseband module 2021, the GFSK transmission module 2023, and the antenna module 201 according to the message transmission period and signal strength stored in the non-volatile memory 2023.
[0078] This application also provides a device positioning apparatus, such as... Figure 3 As shown. Figure 3 This is a schematic diagram of the structure of the device positioning device provided in the embodiments of this application. The device positioning device 300 may include:
[0079] The first acquisition module 301 is used to acquire a first received signal strength indication determined by multiple base stations based on a broadcast message from a first radio frequency tag, wherein the first radio frequency tag is fixed on a first electronic device;
[0080] The first determining module 302 is used to determine the distance from each of the multiple base stations to the first electronic device based on the first received signal strength indication;
[0081] The positioning module 303 is used to determine the location of the first electronic device based on the distance from each base station to the first electronic device.
[0082] In this embodiment, a first received signal strength indication determined by multiple base stations based on broadcast messages from a first RFID tag, wherein the first RFID tag is fixed to a first electronic device, is obtained. Based on the first received signal strength indication, the distance from each of the multiple base stations to the first electronic device is determined. Based on the distance from each base station to the first electronic device, the location of the first electronic device is determined. This allows for the determination of the location of the first electronic device, thereby improving the retrieval efficiency of the first electronic device.
[0083] In some possible implementations of the embodiments of this application, the first determining module 302 may specifically be used for:
[0084] The distance from each of the multiple base stations to the first electronic device is calculated according to the above formula (1).
[0085] In some possible implementations of the embodiments of this application, the device positioning device 300 provided in the embodiments of this application may further include:
[0086] The second acquisition module is used to acquire the second received signal strength indication determined by multiple base stations based on broadcast messages from other base stations besides themselves, and the distance between every two base stations among the multiple base stations;
[0087] The calibration module is used to calibrate the calibration value and environmental attenuation parameter corresponding to each base station based on the second received signal strength indication and the distance between each pair of base stations.
[0088] In some possible implementations of the embodiments of this application, the positioning module 303 may specifically be used for:
[0089] The position of the first electronic device is determined according to the above formula (3).
[0090] In some possible implementations of the embodiments of this application, the positioning module 303 may specifically be used for:
[0091] Having obtained the positions of multiple sets of first electronic devices, the center position of the multiple sets of first electronic devices is determined as the final position of the first electronic device.
[0092] In some possible implementations of the embodiments of this application, the positioning module 303 may specifically be used for:
[0093] Given multiple sets of positions of the first electronic device, the average value of these positions is taken as the final position of the first electronic device.
[0094] In some possible implementations of the embodiments of this application, the device positioning device 300 provided in the embodiments of this application may further include:
[0095] The second determining module is used to determine the target base station for determining the location of the first electronic device based on the first received signal strength indication;
[0096] Accordingly, the positioning module 303 can be specifically used for:
[0097] The location of the first electronic device is determined based on the distance from the target base station to the first electronic device.
[0098] In some possible implementations of the embodiments of this application, the positioning module 303 may specifically be used for:
[0099] For the first base station, a first weight value corresponding to the first base station is determined based on the first received signal strength indication corresponding to the first base station and the change value of the received signal strength indication in two adjacent periods, wherein the first base station is any one of multiple base stations;
[0100] Based on the correspondence between weight values and distance step sizes, determine the first distance step size corresponding to the first weight value;
[0101] Adjust the distance between the first base station and the first electronic device according to the first distance step size;
[0102] The location of the first electronic device is determined based on the adjusted distance between the first base station and the first electronic device.
[0103] In some possible implementations of the embodiments of this application, the device positioning device 300 provided in the embodiments of this application may further include:
[0104] The receiving module is used to receive identification information transmitted by the first RFID tag, wherein the identification information is transmitted when the battery voltage of the first RFID tag is lower than a voltage threshold.
[0105] Figure 4 This is a schematic diagram of the server structure provided in an embodiment of this application.
[0106] The server 400 may include a processor 401 and a memory 402 storing computer program instructions.
[0107] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0108] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 402 may include removable or non-removable (or fixed) media. Where appropriate, memory 402 may be internal or external to server 400. In some specific embodiments, memory 402 is non-volatile solid-state memory.
[0109] In some specific embodiments, the memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the device positioning method provided according to embodiments of this application.
[0110] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement the device positioning method provided in the embodiments of this application.
[0111] In some embodiments, the server 400 may further include a communication interface 403 and a bus 410. For example, Figure 4 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.
[0112] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0113] Bus 410 includes hardware, software, or both, that couples the components of server 400 together. For example, and not limited to, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 410 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.
[0114] The server 400 can execute the device positioning method provided in the embodiments of this application, thereby achieving the corresponding technical effects of the device positioning method provided in the embodiments of this application.
[0115] In addition, in conjunction with the device positioning method in the above embodiments, this application also provides a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the device positioning method provided in this application. Examples of computer-readable storage media include non-transitory computer-readable media, such as ROM, RAM, magnetic disks, or optical disks.
[0116] This application provides a computer program product. When the instructions in the computer program product are executed by the processor of a server, the server executes the device positioning method provided in this application and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0117] This application also provides a device positioning system, such as... Figure 5 As shown. Figure 5 This is a schematic diagram of the device positioning system provided in this application embodiment. The device positioning system 500 includes: multiple user terminals 501, a server 400 provided in this application embodiment, multiple base stations 502 deployed in a target space, multiple electronic devices 503, and radio frequency tags 504 fixed on each electronic device 503. The user terminals 501 are signal-connected to the server 400, the server 400 is also signal-connected to the multiple base stations 502, and the base stations 502 are also signal-connected to the radio frequency tags 504.
[0118] First, select one base station 502 from multiple base stations 502 as the origin and establish a three-dimensional coordinate system.
[0119] Then, each base station 502 broadcasts a message. Each base station 502 sends the RSSI determined based on the messages broadcast by other base stations 502 to the server 400. The server 400 calibrates the calibration value and environmental attenuation parameter corresponding to each base station 502 based on the received RSSI and the distance between each pair of base stations 502.
[0120] When the RFID tag 504 on an electronic device 503 becomes active, it broadcasts a message with its corresponding message transmission period and signal strength. Each base station 502 sends the RSSI determined based on the received message broadcast by the RFID tag 504 to the server 400. The server 400 determines the distance from each base station 502 to the electronic device 503 based on the received RSSI, the calibration value corresponding to each base station 502, and the environmental attenuation parameters. Then, based on the distance from each base station 502 to the electronic device 503, the server determines the coordinates of the electronic device 503 in the established three-dimensional coordinate system, thus determining the position of the electronic device 503.
[0121] The server 400 will send the determined location of the electronic device 503 to the user terminal 501 used by the user or display the location of the electronic device 503 through the display unit of the server 400.
[0122] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0123] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0124] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0125] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0126] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A device positioning method characterized by, The method includes: A first received signal strength indication determined by multiple base stations based on broadcast messages from a first RFID tag is obtained, wherein the first RFID tag is fixed to a first electronic device; Based on the first received signal strength indication, determine the distance from each of the plurality of base stations to the first electronic device; The location of the first electronic device is determined based on the distance from each base station to the first electronic device; Determining the location of the first electronic device based on the distance from each base station to the first electronic device includes: For the first base station, a first weight value is determined based on the first received signal strength indication corresponding to the first base station and the change value of the received signal strength indication in two adjacent periods, wherein the first base station is any one of the plurality of base stations; Based on the correspondence between the weight value and the distance step size, determine the first distance step size corresponding to the first weight value; Adjust the distance between the first base station and the first electronic device according to the first distance step size; The location of the first electronic device is determined based on the adjusted distance between the first base station and the first electronic device.
2. The method according to claim 1, characterized in that, The step of determining the distance from each of the plurality of base stations to the first electronic device based on the first received signal strength indication includes: The distance from each of the plurality of base stations to the first electronic device is calculated according to the following formula: in, Let be the distance from base station i to the first electronic device. The calibration value corresponding to base station i. The received signal strength indication determined by base station i based on the broadcast message from the first RFID tag. Let abs() be the environmental attenuation parameter corresponding to base station i, and abs() be the absolute value function.
3. The method according to claim 2, characterized in that, Before obtaining the first received signal strength indication determined by multiple base stations based on the broadcast message from the first RFID tag, the method further includes: The second received signal strength indication determined by the plurality of base stations based on broadcast messages from other base stations besides themselves, and the distance between every two base stations among the plurality of base stations are obtained; Based on the second received signal strength indication and the distance between each pair of base stations, the calibration value and environmental attenuation parameter corresponding to each base station are calibrated.
4. The method according to claim 1, characterized in that, Determining the location of the first electronic device based on the distance from each base station to the first electronic device includes: The position of the first electronic device can be determined using the following formula: Where (X, Y, Z) is the position of the first electronic device, , , Let be the location of the i-th base station. Let be the distance from the i-th base station to the first electronic device, where i is a positive integer greater than or equal to 3.
5. The method according to claim 4, characterized in that, Having determined the positions of multiple sets of first electronic devices, the center position of the multiple sets of first electronic devices is determined as the final position of the first electronic device.
6. The method according to claim 4, characterized in that, When the positions of multiple sets of first electronic devices are obtained, the average value of the positions of the multiple sets of first electronic devices is determined as the final position of the first electronic device.
7. The method according to claim 1, characterized in that, Before determining the location of the first electronic device based on the distance from each base station to the first electronic device, the method further includes: Based on the first received signal strength indication, a target base station for determining the location of the first electronic device is determined; Determining the location of the first electronic device based on the distance from each base station to the first electronic device includes: The location of the first electronic device is determined based on the distance from the target base station to the first electronic device.
8. The method according to claim 1, characterized in that, The method further includes: The system receives identification information sent by the first RFID tag, wherein the identification information is sent when the battery voltage of the first RFID tag is lower than a voltage threshold.
9. A device positioning apparatus, characterized in that, The device includes: The first acquisition module is used to acquire a first received signal strength indication determined by multiple base stations based on a broadcast message from a first radio frequency tag, wherein the first radio frequency tag is fixed on a first electronic device; The first determining module is configured to determine the distance from each of the plurality of base stations to the first electronic device based on the first received signal strength indication; The positioning module is used to determine the location of the first electronic device based on the distance from each base station to the first electronic device; The positioning module is specifically configured to, for a first base station, determine a first weight value corresponding to the first base station based on the first received signal strength indication corresponding to the first base station and the change value of the received signal strength indication in two adjacent periods, wherein the first base station is any one of the plurality of base stations; determine a first distance step corresponding to the first weight value based on the correspondence between the weight value and the distance step; adjust the distance from the first base station to the first electronic device based on the first distance step; and determine the position of the first electronic device based on the adjusted distance from the first base station to the first electronic device.