High-rise building indoor height positioning method, device, system and electronic equipment
By installing barometers and thermometers in elevators to dynamically measure air pressure and temperature, an indoor height-air pressure mapping table is constructed. The air pressure value is then calibrated using the air pressure sensor on the user terminal, solving the problem of inaccurate height positioning in high-rise buildings and achieving higher positioning accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2023-07-10
- Publication Date
- 2026-06-09
Smart Images

Figure CN116817854B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method for locating the indoor height of a high-rise building, a device for locating the indoor height of a high-rise building, a system for locating the indoor height of a high-rise building, a computer-readable storage medium, and an electronic device. Background Technology
[0002] In the natural environment, atmospheric pressure is affected by various factors, such as changes in temperature, humidity, wind speed, and altitude, all of which cause corresponding changes in atmospheric pressure. Among these, altitude has the most significant impact, showing an inverse relationship with atmospheric pressure; for every 100 meters increase in altitude, atmospheric pressure decreases by 5 millimeters of mercury (0.67 kPa). Atmospheric pressure exhibits diurnal and annual variations. Throughout the year, atmospheric pressure is higher in winter than in summer. Within a single day, there is a maximum and a minimum atmospheric pressure, generally occurring between 9 and 10 AM and between 3 and 4 PM, with secondary maximum and minimum values occurring between 9 and 10 PM and between 3 and 4 AM, respectively. In short, atmospheric pressure is a variable value that changes with the environment.
[0003] In indoor positioning scenarios, the height and floor positioning inside high-rise buildings are often involved. The commonly used method is to use a barometer for height positioning. However, this method is easily affected by the environment, resulting in a large range of air pressure changes, which affects the accuracy of height measurement.
[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application. Summary of the Invention
[0005] The purpose of this application is to provide a method for locating the indoor height of a high-rise building, a device for locating the indoor height of a high-rise building, a computer-readable storage medium, and an electronic device, thereby improving the accuracy of indoor height positioning in high-rise buildings to at least a certain extent.
[0006] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0007] According to a first aspect of this application, a method for indoor height positioning in high-rise buildings is provided, applied to a user terminal with a barometric pressure sensor, comprising: detecting a barometric pressure value corresponding to a target indoor location using the barometric pressure sensor; calibrating the barometric pressure value based on the pressure difference between the barometric pressure sensor and a barometer in an elevator to obtain a target barometric pressure value; obtaining an indoor height-barometric pressure mapping table; matching the target barometric pressure value with the indoor height-barometric pressure mapping table to obtain floor information corresponding to the target barometric pressure value, wherein the indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the floor, and the calibration time; and determining the height corresponding to the target indoor location based on the floor information.
[0008] According to a second aspect of this application, a high-rise building indoor height positioning device is provided, configured in a user terminal with a barometric pressure sensor, comprising: a calibration module, used to detect a barometric pressure value corresponding to a target indoor location via the barometric pressure sensor, and calibrate the barometric pressure value based on the pressure difference between the barometric pressure sensor and the barometric pressure sensor in an elevator to obtain a target barometric pressure value; a matching module, used to obtain an indoor height-barometric pressure mapping table, and match the target barometric pressure value with the indoor height-barometric pressure mapping table to obtain floor information corresponding to the target barometric pressure value, wherein the indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the elevator, and the calibration time; and a determination module, used to determine the height corresponding to the target indoor location based on the floor information.
[0009] According to a third aspect of this application, a high-rise building indoor positioning height system is provided, comprising: a first barometer located in an elevator for detecting air pressure values when the elevator is at different floors; a first thermometer located in the elevator for detecting temperature values in the elevator; an elevator control device connected to the elevator, the first barometer, and the first thermometer for detecting the operating status of the elevator and acquiring the air pressure value detected by the first barometer and the temperature value detected by the first thermometer; a second thermometer located in a test area for detecting temperature values in the test area, wherein the test area is an area in the high-rise building excluding the elevator and the indoor area; and a positioning calculation server connected to the control device and the second thermometer. The system is connected to the positioning server and is used to determine a calibration pressure value based on the air pressure value detected by the first barometer, the temperature value detected by the first thermometer, and the temperature value detected by the second thermometer. It also constructs an indoor height-pressure mapping table based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration pressure value, and the calibration time. The user terminal is connected to the positioning server and is used to detect the air pressure value corresponding to the target indoor location, correct the air pressure value corresponding to the elevator location based on the pressure difference between the barometer and the first barometer to obtain the target air pressure value, determine the floor information corresponding to the target air pressure value based on the target air pressure value and the indoor height-pressure mapping table, and determine the altitude corresponding to the target indoor location based on the floor information.
[0010] According to a third aspect of this application, a computer storage medium is provided, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the above-described method for determining the indoor height of a high-rise building.
[0011] According to a fourth aspect of this application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described method for determining the indoor height of a high-rise building by executing the executable instructions.
[0012] As can be seen from the above technical solutions, the high-rise building indoor height positioning method, the high-rise building indoor height positioning system, the computer-readable storage medium, and the electronic device in the exemplary embodiments of this application have at least the following advantages and positive effects:
[0013] The high-rise building indoor height positioning method in this application is applied to a user terminal equipped with a barometer sensor. The barometer sensor detects the barometer value corresponding to the target indoor location and calibrates the barometer value based on the pressure difference between the target barometer and a barometer installed in the elevator to obtain the target barometer value. Then, an indoor height-barometer mapping table is obtained, and the target barometer value is matched with the mapping table to obtain the floor information corresponding to the target barometer value. Finally, the height corresponding to the target indoor location can be determined based on this floor information. This high-rise building indoor height positioning method dynamically measures and updates the floor height barometer value by installing a barometer in the elevator. Based on the updated barometer value, the elevator floor, the floor's altitude, and the barometer calibration time, an indoor height-barometer mapping table can be constructed. After detecting the target barometer value corresponding to the target indoor location, the user terminal can determine the corresponding floor information based on the target barometer value in the indoor height-barometer mapping table, and then determine the height corresponding to the target indoor location based on the floor information, thus improving the accuracy of indoor height positioning in high-rise buildings.
[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0016] Figure 1 The diagram illustrates the system architecture of an indoor height positioning system for high-rise buildings that utilizes the indoor height positioning method for high-rise buildings, as illustrated in the embodiments of this application.
[0017] Figure 2 The schematic diagram illustrates a flowchart of a method for determining the indoor height of a high-rise building in an embodiment of this application.
[0018] Figure 3 The schematic diagram illustrates the interface of the indoor height-barometric pressure mapping table in an embodiment of this application.
[0019] Figure 4 The schematic diagram illustrates the process of calculating the height corresponding to the target indoor location in an embodiment of this application.
[0020] Figure 5 The schematic diagram illustrates a flowchart of a method for determining the indoor height of a high-rise building in an embodiment of this application.
[0021] Figure 6 The diagram illustrates the interactive flowchart of the indoor height positioning method for high-rise buildings in an embodiment of this application.
[0022] Figure 7 The schematic diagram illustrates the structure of the indoor height positioning device for high-rise buildings in an embodiment of this application.
[0023] Figure 8 A schematic diagram of a computer system architecture suitable for implementing the embodiments of this application is shown. Detailed Implementation
[0024] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0025] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0026] The terms “a,” “an,” “the,” and “the” are used in this specification to indicate the presence of one or more elements / components / etc.; the terms “including” and “having” are used to indicate an open-ended inclusion and to mean that there may be other elements / components / etc. in addition to the listed elements / components / etc.; the terms “first” and “second” are used only as markings and are not a limitation on the number of objects.
[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0028] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0029] In related technologies in this field, barometers are typically used to directly determine altitude within high-rise buildings. However, because air pressure is easily affected by the environment—the higher the floor, the lower the atmospheric pressure—the inaccurate altitude calculations based on air pressure values can occur. Furthermore, in high-rise buildings, due to significant elevation differences and the influence of air conditioning, temperatures vary between floors. Therefore, relying solely on the barometer's own measurement of altitude under natural environmental conditions may result in substantial errors when using indoor positioning terminals.
[0030] To address the technical problems existing in related technologies, this application proposes a method for indoor height positioning in high-rise buildings to improve the accuracy of indoor height positioning in high-rise buildings. Before providing a detailed description of the technical solutions in this application, the technical terms that may be involved in this application will first be explained and clarified.
[0031] (1) Atmospheric pressure is the atmospheric pressure acting on a unit area, which is numerically equal to the weight of a vertical air column extending upward to the upper limit of the atmosphere on a unit area.
[0032] After introducing the technical terms that may be involved in the embodiments of this application, the method for locating the indoor height of high-rise buildings in this application will be described in detail.
[0033] Figure 1 The diagram illustrates the system architecture of an indoor height positioning system for high-rise buildings that utilizes the technical solution of this application.
[0034] like Figure 1As shown, the system architecture 100 of the indoor height positioning system for high-rise buildings may include a first barometer 101, a first thermometer 102, an elevator control device 103, a second thermometer 104, a positioning calculation server 105, a user terminal 106, and a network. The elevator system includes a first barometer 101, located inside the elevator, used to detect air pressure values when the elevator is on different floors. The first barometer 101 can be placed anywhere within the elevator, such as on a side wall 1 meter above the elevator floor. If placed in an easily accessible location, a protective device is required. A first thermometer 102, also located inside the elevator, is used to detect the temperature within the elevator. The first thermometer 102 can also be placed anywhere within the elevator. If placed in an easily accessible location, a protective device is required. An elevator control device 103, connected to the elevator, the first barometer 101, and the first thermometer 102, is used to detect the elevator's operating status and acquire the air pressure value detected by the first barometer 101 and the temperature value detected by the first thermometer 102. A second thermometer 104, located in a test area, is used to detect the temperature value in the test area, which is an area in a high-rise building other than the elevator and indoor areas, such as corridors. A positioning calculation server 105, connected to the elevator control device 103 and the second thermometer 104, is used to calculate the temperature based on the first air pressure value. The system determines the calibration pressure value based on the air pressure value detected by barometer 101, the temperature value detected by first thermometer 102, and the temperature value detected by second thermometer 104. It then constructs an indoor height-pressure mapping table based on the elevator's floor location, the corresponding altitude, the calibration pressure value, and the calibration time. User terminal 106, connected to positioning server 105, has a pressure sensor to detect the air pressure value corresponding to the target indoor location. It corrects the air pressure value corresponding to the elevator location based on the pressure difference between the user terminal and first barometer 101 to obtain the target air pressure value. It determines the floor information corresponding to the target air pressure value based on the target air pressure value and the indoor height-pressure mapping table, and determines the altitude corresponding to the target indoor location based on the floor information. The network provides data transmission pathways between first barometer 101 and elevator control device 103, first thermometer 102 and elevator control device 103, elevator and elevator control device 103, second thermometer 104 and positioning server 105, elevator control device 103 and positioning server 105, and positioning server 105 and user terminal 106.
[0035] The high-rise building indoor height positioning method in this application embodiment uses a barometer and thermometer installed in the elevator. Each time the elevator stops at a floor and the elevator door opens, the air pressure and temperature can be measured, thereby obtaining the near real-time air pressure value of each floor. The floor height at which the elevator stops can be accurately determined. Therefore, the air pressure value of each floor measured by the elevator can provide a dynamic reference for the air pressure measurement of other positioning terminals. The accurate height can be obtained by querying the indoor height-air pressure mapping table.
[0036] The technical solutions provided in this application embodiment can be applied to user terminal 106, elevator control device 103 or positioning calculation server 105, and of course can also be applied to user terminal 106, elevator control device 103 and positioning calculation server 105.
[0037] In an exemplary embodiment of this application, the location calculation server 105 can be set in a location calculation server. The server can be a standalone server or a server cluster. The server can also be a cloud server or a cloud server cluster. When location calculation is performed in a cloud server or a cloud server cluster, cloud storage and cloud computing are involved.
[0038] Cloud storage is a new concept that extends and develops from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of storage devices of various types (storage devices are also called storage nodes) in the network to work together through application software or application interfaces to provide data storage and business access functions to the outside world.
[0039] Currently, the storage method of storage systems is as follows: Logical volumes are created. During the creation of a logical volume, physical storage space is allocated to each logical volume. This physical storage space may consist of a single storage device or the disks of several storage devices. Clients store data on a logical volume, which means storing the data on the file system. The file system divides the data into many parts, each part being an object. Each object contains not only the data but also additional information such as a data identifier (ID, ID entity). The file system writes each object to the physical storage space of that logical volume and records the storage location information of each object. Therefore, when a client requests access to data, the file system can allow the client to access the data based on the storage location information of each object.
[0040] The process by which a storage system allocates physical storage space to a logical volume is as follows: the physical storage space is pre-divided into strips according to the capacity estimate of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of Redundant Array of Independent Disks (RAID). A logical volume can be understood as a strip, thus allocating physical storage space to the logical volume.
[0041] Cloud computing is a computing model that distributes computing tasks across a large pool of computers, enabling various application systems to access computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, resources in the "cloud" appear infinitely scalable, readily available, on-demand, and expandable, with payment based on usage.
[0042] As a provider of fundamental cloud computing capabilities, a cloud resource pool (referred to as a cloud platform, generally called an IaaS (Infrastructure as a Service) platform) is established. Various types of virtual resources are deployed in the resource pool for external customers to choose from. The cloud resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, and network devices.
[0043] Based on logical function, a PaaS (Platform as a Service) layer can be deployed on top of the IaaS (Infrastructure as a Service) layer, and a SaaS (Software as a Service) layer can be deployed on top of the PaaS layer. Alternatively, SaaS can be deployed directly on top of IaaS. PaaS is a platform for running software, such as databases and web containers. SaaS refers to various types of business software, such as web portals and bulk SMS senders. Generally speaking, SaaS and PaaS are upper layers compared to IaaS.
[0044] The indoor height positioning method for high-rise buildings in this application can be applied to any indoor height positioning scenario involving the interior of a high-rise building. The indoor height positioning method for high-rise buildings provided in this application will be described in detail below with reference to specific embodiments.
[0045] Figure 2 A flowchart illustrating a method for indoor height positioning in high-rise buildings is shown. This method is applied to a user terminal equipped with a barometric pressure sensor. The user terminal can be... Figure 1 User terminal 106 in the middle, such as Figure 2 As shown, the methods for determining the indoor height of high-rise buildings include:
[0046] Step S210: Detect the air pressure value corresponding to the target indoor location using the air pressure sensor, and calibrate the air pressure value based on the air pressure difference between the air pressure sensor and the air pressure gauge in the elevator to obtain the target air pressure value;
[0047] Step S220: Obtain an indoor height-barometric pressure mapping table, match the target barometric pressure value with the indoor height-barometric pressure mapping table to obtain floor information corresponding to the target barometric pressure value, wherein the indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the floor, and the calibration time.
[0048] Step S230: Determine the height corresponding to the target indoor location based on the floor information.
[0049] The high-rise building indoor height positioning method of this application is applied to a user terminal equipped with a barometric pressure sensor. The sensor detects the barometric pressure value corresponding to the target indoor location and calibrates it based on the pressure difference between the target pressure value and that of a barometer installed in the elevator to obtain the target barometric pressure value. Next, an indoor height-barometric pressure mapping table is obtained, and the target barometric pressure value is matched with the mapping table to obtain the floor information corresponding to the target barometric pressure value. Finally, the height corresponding to the target indoor location can be determined based on this floor information. This high-rise building indoor height positioning method dynamically measures and updates the floor height barometric pressure value by installing a barometer in the elevator. Based on the updated barometric pressure value, the elevator floor, the floor's altitude, and the barometric pressure calibration time, an indoor height-barometric pressure mapping table can be constructed. After detecting the target barometric pressure value corresponding to the target indoor location, the user terminal can determine the corresponding floor information based on the target barometric pressure value in the indoor height-barometric pressure mapping table, and then determine the height corresponding to the target indoor location based on the floor information, thus improving the accuracy of indoor height positioning in high-rise buildings.
[0050] Next, for Figure 2 The steps of the method for determining the indoor height of a high-rise building are explained in detail.
[0051] In step S210, the air pressure value corresponding to the target indoor location is detected by the air pressure sensor, and the air pressure value is calibrated according to the air pressure difference between the air pressure sensor and the air pressure gauge in the elevator to obtain the target air pressure value.
[0052] In an exemplary embodiment of this application, a barometric pressure sensor is installed in the user terminal. The user can use this sensor to measure the barometric pressure at any location indoors and determine the corresponding height based on the measured pressure value. Specifically, an indoor height positioning application can be installed on the user terminal. When it is necessary to locate the height of a certain position indoors, the application can be run. The application calls the barometric pressure sensor installed inside the user terminal to measure the height of the target indoor location and determines the actual height corresponding to the target indoor location based on the detected height. The user terminal can specifically be a handheld terminal device with an embedded barometric pressure sensor, such as a smartphone or tablet computer; this embodiment of the application does not specifically limit this type of device.
[0053] In the exemplary embodiments of this application, since this embodiment requires the detection of air pressure values at each floor when the elevator stops at each floor based on the barometer installed in the elevator, and then constructing an indoor height-air pressure mapping table based on the air pressure values, and determining the height corresponding to the user terminal based on the indoor height-air pressure mapping table, considering the error between the air pressure sensor in the user terminal and the barometer in the elevator, it is necessary to perform differential verification on the air pressure sensor in the user terminal and the barometer in the elevator before performing indoor height positioning, and calibrate the air pressure value detected by the air pressure sensor in the user terminal based on the air pressure difference value determined by the differential verification to obtain the target air pressure value.
[0054] In an exemplary embodiment of this application, during differential verification, the user terminal can be placed in the elevator at the same floor and height as the barometer to detect air pressure. After obtaining the air pressure value detected by the user terminal and the air pressure value detected by the barometer in the elevator, the difference between the two is calculated to obtain the air pressure difference value δP. It is worth noting that during differential verification, the measurement is usually performed when the elevator door is open and the internal environment of the elevator is the same as the external environment (e.g., the corridor). This can avoid the influence of environmental factors in the elevator, which could lead to incorrect determination of the air pressure difference value and thus affect the accuracy of indoor height positioning. In addition, the barometer in the elevator can be set in any position in the elevator, such as on the side wall or top of the elevator, or other positions. This embodiment of the application does not specifically limit this.
[0055] After obtaining the air pressure difference value, when performing indoor height positioning, it is necessary to calibrate the air pressure value detected by the user terminal based on the air pressure difference value to obtain the target air pressure value, which can be regarded as the air pressure value in the outdoor environment.
[0056] In step S220, an indoor height-barometric pressure mapping table is obtained, and the target barometric pressure value is matched with the indoor height-barometric pressure mapping table to obtain the floor information corresponding to the target barometric pressure value. The indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the floor, and the calibration time.
[0057] In an exemplary embodiment of this application, after calibrating the air pressure value detected by the barometer and obtaining the target air pressure value, an indoor height-barometric pressure mapping table can be obtained. The floor information corresponding to the target air pressure value is then determined by comparison. This indoor height-barometric pressure mapping table can be maintained and stored by a positioning calculation server. After the user terminal completes the calibration of the air pressure value and obtains the target air pressure value, it can send a mapping table retrieval request to the positioning calculation server. The positioning calculation server responds to the mapping table retrieval request by sending the latest indoor height-barometric pressure mapping table to the user terminal.
[0058] Figure 3 A schematic diagram of the interface of the indoor height-barometric pressure mapping table is shown, such as... Figure 3 As shown, the indoor height-barometric pressure mapping table includes an index, floor level, altitude, calibrated barometric pressure value, and time. The index can be sequentially labeled according to the floor order. For example, in a 40-story high-rise building with two lower floors, the floor order would be from B2 to floor 38. Accordingly, the index for floor B2 could be set to 1, the index for floor B1 to 2, and so on, with the index for floor 38 set to 40. The altitude corresponds to the floor level and is pre-configured based on the actual height of each floor in the high-rise building. For example, the altitude of floor B2 is 1.0 meter, and the altitude of floor B1 is 6.0 meters. The altitude of the first floor is 11.0 meters, etc.; the calibration air pressure value is obtained by calibrating the air pressure value detected when the elevator stops and opens the door at different floors. The reason for calibration instead of directly using the detection value of the barometer in the elevator is that the temperature inside the elevator and the temperature outside the elevator (corridor) may be different, and temperature will affect the air pressure value. Therefore, it is necessary to calibrate the air pressure value detected by the barometer. As shown in the table, the calibration air pressure value corresponding to the B2 floor is 1000.00 hectopascals, the calibration air pressure value corresponding to the B1 floor is 1000.35 hectopascals, and the calibration air pressure value corresponding to the 1st floor is 1000.72 hectopascals; the time is the calibration time.
[0059] The calibration of the air pressure value detected by the barometer in the elevator can be performed based on the temperature detected by the thermometer in the elevator and the temperature detected by the thermometer in the test area. For ease of description, the temperature detected by the thermometer in the elevator can be denoted as T1, the temperature detected by the thermometer in the test area can be denoted as T2, the air pressure value detected by the barometer in the elevator can be denoted as P1, and the air pressure value in the test area can be denoted as P2. During calibration, the calibration coefficient T2 / T1 is first determined based on the temperature value T1 detected by the thermometer in the elevator and the temperature value T2 in the test area. Then, the air pressure value P1 detected by the barometer in the elevator is calibrated based on this calibration coefficient, and the calibrated air pressure value P2 = P1 × T2 / T1 can be obtained.
[0060] In other words, the indoor height-barometric pressure mapping table is updated in real time. When one or more of the following changes occur: the barometer in the elevator detects the barometric pressure value of a certain floor, the thermometer in the elevator detects the temperature value of a certain floor, or the thermometer in the test area detects the temperature value of the floor it is on, the calibration barometric pressure value in the indoor height-barometric pressure mapping table must be updated.
[0061] In an exemplary embodiment of this application, after obtaining the indoor height-barometric pressure mapping table, the target barometric pressure value can be matched with the table to obtain the corresponding floor information. Since the target barometric pressure value may or may not exist in the mapping table, the obtained floor information differs depending on the situation. Specifically, when the target barometric pressure value exists in the mapping table, the altitude corresponding to that value is obtained. When the target barometric pressure value does not exist, the first and second barometric pressure values adjacent to the target value are obtained, along with the first altitude corresponding to the first barometric pressure value and the second altitude corresponding to the second barometric pressure value; wherein the target barometric pressure value is greater than the first barometric pressure value and less than the second barometric pressure value. For example, using... Figure 3 Taking the indoor height-barometric pressure mapping table as an example, when the target air pressure value is 1000.72 hPa, the target air pressure value exists in the indoor height-barometric pressure mapping table, so the altitude corresponding to the target air pressure value of 11.0 meters can be directly obtained. When the target air pressure value is 1000.50 hPa, the target air pressure value does not exist in the indoor height-barometric pressure mapping table, so 1000.35 hPa can be obtained as the first air pressure value, and 1000.72 hPa can be obtained as the second air pressure value. At the same time, the altitude corresponding to the first air pressure value of 6.0 meters and the altitude corresponding to the second air pressure value of 11.0 meters can be obtained.
[0062] In other words, the floor information in this application may be altitude, or it may be altitude and calibrated air pressure value.
[0063] In step S230, the height corresponding to the target indoor location is determined based on the floor information.
[0064] In an exemplary embodiment of this application, after obtaining floor information, the height corresponding to the target indoor location can be determined based on the floor information. Specifically, when the altitude corresponding to the target air pressure value is obtained, the altitude can be directly used as the height corresponding to the target indoor location. When the first air pressure value and the second air pressure value adjacent to the target air pressure value, as well as the corresponding first altitude and the second altitude, are obtained, the height corresponding to the target indoor location can be calculated based on the first air pressure value and the second air pressure value, as well as the corresponding first altitude and the second altitude.
[0065] Figure 4 This schematically illustrates a flowchart for calculating the height corresponding to the target indoor location, such as... Figure 4 As shown, in step S401, a first pressure difference is determined based on the target air pressure value and the first air pressure value, and a second pressure difference is determined based on the first air pressure value and the second air pressure value; in step S402, an altitude difference is determined based on the first altitude and the second altitude; in step S403, the altitude corresponding to the target indoor position is determined based on the first altitude, the altitude difference, the first pressure difference, and the second pressure difference.
[0066] To clearly describe this scheme, the target air pressure value is denoted as P, the first air pressure value as P1, the second air pressure value as P2, the first altitude as H1, and the second altitude as H2. These parameters satisfy the relationship shown in formula (1):
[0067] H=H1+((H2-H1)×(P1-P) / (P1-P2)) (1)
[0068] Taking the example in the above embodiment as an example, the height corresponding to the target indoor location can be calculated according to formula (1) as 6 + (5 × 0.15 / 0.37) ≈ 8.0 meters.
[0069] The above embodiments describe a user terminal acting as the execution subject, executing the high-rise building indoor height positioning method of this application. Of course, the high-rise building indoor height positioning method of this application can also be executed by a positioning calculation server or a control device.
[0070] Figure 5 The schematic diagram illustrates a flowchart of a method for determining the indoor height of a high-rise building. This method can be executed by a positioning calculation server, such as... Figure 5 As shown, the method includes:
[0071] Step S510: Obtain the first air pressure value, the first temperature value, and the second temperature value corresponding to the target floor. The first air pressure value is detected by the barometer in the elevator, the second temperature value is detected by the thermometer in the elevator, and the second temperature value is detected by the thermometer in the test area. The test area is the area in the target floor other than the elevator and the indoor area.
[0072] Step S520: Calibrate the first air pressure value according to the first temperature value and the second temperature value, obtain the calibration air pressure value corresponding to the target floor, and update the indoor height-air pressure mapping table according to the target floor, the altitude corresponding to the target floor, the calibration air pressure value and the calibration time;
[0073] Step S530: In response to the mapping table acquisition request sent by the user terminal, the indoor height-barrier mapping table is sent to the user terminal so that the user terminal can determine the height corresponding to the target indoor location based on the target barrier value corresponding to the target indoor location and the indoor height-barrier mapping table.
[0074] The high-rise building indoor height positioning method in this application can be applied to any scenario involving indoor height positioning. Next, taking the scenario where a user uses a mobile phone with a barometric pressure sensor to locate the height of their current position as an example, the interaction process of the high-rise building indoor height positioning method in this application will be explained.
[0075] Figure 6 This diagram illustrates the interactive flowchart of a method for determining the indoor height of a high-rise building. Figure 6As shown, in step S601, the altitude of each floor in the user's building is configured in the positioning calculation server, and an initial indoor height-pressure mapping table is constructed based on the floor, floor altitude, calibration air pressure value, and time; in step S602, the air pressure difference between the air pressure sensor in the user's mobile phone and the air pressure gauge in the elevator under the same environment is determined through the user's mobile phone; in step S603, the elevator control device monitors the elevator's operating status and determines whether the elevator has stopped normally and opened the elevator door; in step S604, when it is determined that the elevator has stopped normally and opened the elevator door, the first air pressure value and the first temperature value detected by the air pressure gauge and thermometer in the elevator are obtained; in step S605, the first air pressure value and the first temperature value are sent to the positioning calculation server. In step S606, the positioning calculation server obtains the second temperature value detected by the thermometer in the test area of the elevator's stopping floor; in step S607, the first air pressure value is calibrated according to the first temperature value and the second temperature value, and the initial indoor height-air pressure mapping table is updated according to the calibrated air pressure value; in step S608, the user's mobile phone is placed in the target indoor position, the corresponding air pressure value is detected, and the air pressure value is calibrated according to the air pressure difference to obtain the target air pressure value; in step S609, the indoor height-air pressure mapping table in the positioning calculation server is obtained; in step S610, the target air pressure value is matched with the indoor height-air pressure mapping table to obtain floor information, and the height corresponding to the target indoor position is determined according to the floor information.
[0076] The high-rise building indoor height positioning method in this application, when applied to a user terminal with a barometer sensor, detects the barometer value corresponding to the target indoor location and calibrates the barometer value based on the pressure difference between the target barometer value and the barometer installed in the elevator to obtain the target barometer value. Then, an indoor height-barometer mapping table is obtained, and the target barometer value is matched with the mapping table to obtain the floor information corresponding to the target barometer value. Finally, the height corresponding to the target indoor location can be determined based on this floor information. This high-rise building indoor height positioning method dynamically measures and updates the floor height barometer value by installing a barometer in the elevator. Based on the updated barometer value, the elevator floor, the floor's altitude, and the barometer calibration time, an indoor height-barometer mapping table can be constructed. After detecting the target barometer value corresponding to the target indoor location, the user terminal can determine the corresponding floor information based on the target barometer value in the indoor height-barometer mapping table, and then determine the height corresponding to the target indoor location based on the floor information, thus improving the accuracy of indoor height positioning in high-rise buildings.
[0077] This application also provides an indoor height positioning device for high-rise buildings. Figure 7A schematic diagram of an indoor height positioning device for high-rise buildings is shown. This device 700 is configured on a user terminal equipped with a barometric pressure sensor. Figure 7 As shown, the indoor height positioning device 700 for high-rise buildings may include a calibration module 701, a matching module 702, and a determination module 703, specifically:
[0078] The calibration module 701 is used to detect the air pressure value corresponding to the target indoor location through the air pressure sensor, and calibrate the air pressure value according to the air pressure difference between the air pressure sensor and the air pressure gauge in the elevator to obtain the target air pressure value.
[0079] The matching module 702 is used to obtain an indoor height-barometric pressure mapping table, match the target barometric pressure value with the indoor height-barometric pressure mapping table to obtain floor information corresponding to the target barometric pressure value, wherein the indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the floor and the calibration time.
[0080] The determination module 703 is used to determine the height corresponding to the target indoor location based on the floor information.
[0081] In an exemplary embodiment of this application, the pressure difference is determined based on the pressure values detected by the user terminal and the barometer at the same floor and the same height.
[0082] In an exemplary embodiment of this application, the matching module 702 includes: a first acquisition unit, configured to acquire the altitude corresponding to the target air pressure value when the target air pressure value exists in the indoor height-air pressure mapping table; and a second acquisition unit, configured to acquire a first air pressure value and a second air pressure value adjacent to the target air pressure value when the target air pressure value does not exist in the indoor height-air pressure mapping table, and simultaneously acquire a first altitude corresponding to the first air pressure value and a second altitude corresponding to the second air pressure value; wherein the target air pressure value is greater than the first air pressure value and less than the second air pressure value.
[0083] In an exemplary embodiment of this application, the determining module 703 includes: a first height determining unit, configured to use the altitude as the height corresponding to the target indoor location when the floor information is the altitude corresponding to the target air pressure value; and a second height determining unit, configured to determine the height corresponding to the target indoor location based on the first altitude, the second altitude, the target air pressure value, the first air pressure value, and the second air pressure value when the floor information is the first altitude corresponding to the first air pressure value and the second altitude corresponding to the second air pressure value.
[0084] In an exemplary embodiment of this application, the second altitude determination unit is configured to: determine a first pressure difference based on the target air pressure value and the first air pressure value; determine a second pressure difference based on the first air pressure value and the second air pressure value; determine an altitude difference based on the first altitude and the second altitude; and determine the altitude corresponding to the target indoor location based on the first altitude, the altitude difference, the first pressure difference, and the second pressure difference.
[0085] In an exemplary embodiment of this application, the matching module 702 is configured to: send a mapping table acquisition request to the positioning calculation server, and acquire an indoor height-barometric pressure mapping table sent by the positioning calculation server in response to the mapping table acquisition request; wherein, the calibration pressure value in the indoor height-barometric pressure mapping table is determined based on the pressure and temperature values detected by the barometer and thermometer in the elevator and the temperature value of the test area, the test area is the area in the high-rise building other than the elevator and the indoor area where the target indoor location is located, and the test area, the elevator and the target indoor location correspond to the same floor.
[0086] In an exemplary embodiment of this application, the calibration pressure value in the indoor height-pressure mapping table is determined based on the air pressure and temperature values detected by the barometer and thermometer in the elevator and the temperature value of the test area. The configuration is as follows: a calibration coefficient is determined based on the temperature value detected by the thermometer in the elevator and the temperature value of the test area; the air pressure value detected by the barometer in the elevator is calibrated based on the calibration coefficient to obtain the calibration pressure value.
[0087] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0088] Furthermore, although the steps of the method in this application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0089] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this application.
[0090] Figure 8 A schematic diagram of a computer system architecture for implementing an electronic device according to an embodiment of the present application is shown. The electronic device may be installed in an elevator control device 103, a positioning calculation server 105, or a user terminal 106.
[0091] It should be noted that, Figure 8 The computer system 800 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0092] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 802 or programs loaded from storage section 808 into random access memory (RAM). The random access memory 803 also stores various programs and data required for system operation. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output interface 805 (I / O interface) is also connected to the bus 804.
[0093] In some embodiments, the following components are connected to the input / output interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a local area network card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 810 as needed so that computer programs read from it can be installed into the storage section 808 as needed.
[0094] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by central processing unit 801, it performs various functions defined in the system of this application.
[0095] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable medium, or any combination of the above. A computer-readable medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0097] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0098] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause an electronic device to execute the method according to the embodiments of this application.
[0099] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for indoor height positioning in high-rise buildings, applied to a user terminal equipped with a barometric pressure sensor, characterized in that, include: The air pressure value corresponding to the target indoor location is detected by the air pressure sensor, and the air pressure value is calibrated according to the air pressure difference between the air pressure sensor and the air pressure gauge in the elevator to obtain the target air pressure value; wherein, the air pressure difference is the difference between the air pressure value detected by the user terminal and the air pressure value detected by the air pressure gauge in the elevator, and the air pressure difference is determined based on the air pressure values detected by the user terminal and the air pressure gauge at the same floor and the same height; An indoor height-barometric pressure mapping table is obtained, and the target barometric pressure value is matched with the indoor height-barometric pressure mapping table to obtain the floor information corresponding to the target barometric pressure value. The indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the floor, and the calibration time. The calibration barometric pressure value in the indoor height-barometric pressure mapping table is obtained by calibrating the barometric pressure value detected by the barometer in the elevator based on the temperature value detected by the thermometer in the elevator and the temperature value of the test area. The test area is the area in the high-rise building excluding the elevator and the indoor area where the target indoor location is located. The test area, the elevator, and the target indoor location correspond to the same floor. The height corresponding to the target indoor location is determined based on the floor information.
2. The method according to claim 1, characterized in that, The step of matching the target air pressure value with the indoor height-air pressure mapping table to obtain the floor information corresponding to the target air pressure value includes: When the target air pressure value exists in the indoor height-air pressure mapping table, obtain the altitude corresponding to the target air pressure value; When the target air pressure value is not found in the indoor height-air pressure mapping table, a first air pressure value and a second air pressure value adjacent to the target air pressure value are obtained, and a first altitude corresponding to the first air pressure value and a second altitude corresponding to the second air pressure value are obtained; wherein the target air pressure value is greater than the first air pressure value and less than the second air pressure value.
3. The method according to claim 2, characterized in that, Determining the height corresponding to the target indoor location based on the floor information includes: When the floor information is the altitude corresponding to the target air pressure value, the altitude is taken as the altitude corresponding to the target indoor location; When the floor information is the first altitude corresponding to the first air pressure value and the second altitude corresponding to the second air pressure value, the altitude corresponding to the target indoor location is determined based on the first altitude, the second altitude, the target air pressure value, the first air pressure value, and the second air pressure value.
4. The method according to claim 3, characterized in that, The step of determining the altitude corresponding to the target indoor location based on the first altitude, the second altitude, the target air pressure value, the first air pressure value, and the second air pressure value includes: A first pressure difference is determined based on the target air pressure value and the first air pressure value, and a second pressure difference is determined based on the first air pressure value and the second air pressure value. The altitude difference is determined based on the first altitude and the second altitude; The altitude corresponding to the target indoor location is determined based on the first altitude, the altitude difference, the first air pressure difference, and the second air pressure difference.
5. The method according to claim 1, characterized in that, The process of obtaining the indoor height-barometric pressure mapping table includes: Send a mapping table retrieval request to the positioning calculation server, and retrieve the indoor height-barometric pressure mapping table sent by the positioning calculation server in response to the mapping table retrieval request.
6. The method according to claim 5, characterized in that, Based on the temperature value detected by the thermometer in the elevator and the temperature value of the test area, the air pressure value detected by the barometer in the elevator is calibrated, including: The calibration coefficient is determined based on the temperature value detected by the thermometer in the elevator and the temperature value of the test area. The pressure value detected by the barometer in the elevator is calibrated according to the calibration coefficient to obtain the calibrated pressure value.
7. A height positioning device for indoor high-rise buildings, configured in a user terminal with a barometric pressure sensor, characterized in that, include: The calibration module is used to detect the air pressure value corresponding to the target indoor location through the air pressure sensor, and calibrate the air pressure value according to the air pressure difference between the air pressure sensor and the air pressure gauge in the elevator to obtain the target air pressure value; wherein, the air pressure difference is the difference between the air pressure value detected by the user terminal and the air pressure value detected by the air pressure gauge in the elevator, and the air pressure difference is determined based on the air pressure values detected by the user terminal and the air pressure gauge at the same floor and the same height; A matching module is used to obtain an indoor height-barometric pressure mapping table, and match the target barometric pressure value with the indoor height-barometric pressure mapping table to obtain the floor information corresponding to the target barometric pressure value. The indoor height-barometric pressure mapping table is constructed based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration barometric pressure value corresponding to the elevator, and the calibration time. The calibration barometric pressure value in the indoor height-barometric pressure mapping table is obtained by calibrating the barometric pressure value detected by the barometer in the elevator based on the temperature value detected by the thermometer in the elevator and the temperature value in the test area. The test area is the area in a high-rise building excluding the elevator and the interior of the target interior, and the test area, the elevator, and the target interior correspond to the same floor. The determination module is used to determine the height corresponding to the target indoor location based on the floor information.
8. A height positioning system for high-rise buildings, characterized in that, include: The first barometer, located in the elevator, is used to detect the air pressure value when the elevator is on different floors; A first thermometer, located in the elevator, is used to detect the temperature value in the elevator; An elevator control device is connected to the elevator, the first barometer, and the first thermometer, and is used to detect the operating status of the elevator and obtain the air pressure value detected by the first barometer and the temperature value detected by the first thermometer. A second thermometer is located in the test area and is used to detect the temperature value in the test area, which is the area in the high-rise building other than the elevator and the indoor area. A positioning calculation server, connected to the control device and the second thermometer, is used to determine a calibration pressure value based on the air pressure value detected by the first barometer, the temperature value detected by the first thermometer, and the temperature value detected by the second thermometer, and to construct an indoor height-air pressure mapping table based on the floor where the elevator is located, the altitude corresponding to the floor, the calibration pressure value, and the calibration time. The user terminal, connected to the positioning and calculation server, is used to detect the air pressure value corresponding to the target indoor location, correct the air pressure value corresponding to the elevator location based on the air pressure difference between the user terminal and the first barometer to obtain the target air pressure value, determine the floor information corresponding to the target air pressure value based on the target air pressure value and the indoor height-air pressure mapping table, and determine the height corresponding to the target indoor location based on the floor information; wherein, the air pressure difference is the difference between the air pressure value detected by the user terminal and the air pressure value detected by the barometer in the elevator, and the air pressure difference is determined based on the air pressure values detected by the user terminal and the barometer at the same floor and the same height.
9. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for determining the indoor height of a high-rise building as described in any one of claims 1 to 6.
10. An electronic device, characterized in that, include: processor; as well as Memory, used to store the controller's executable instructions; The processor is configured to execute the indoor height positioning method for high-rise buildings according to any one of claims 1 to 6 by executing the executable instructions.