Positioning fingerprint data generation method and device, equipment, medium and program product
By using multiple acquisition devices on a moving vehicle to collect and align sensor data, the method enhances indoor positioning fingerprint data generation efficiency and accuracy, addressing the inefficiencies and costs of manual data collection.
Patent Information
- Application Number
- CN202411579233.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2024-12-06
AI Technical Summary
Existing indoor positioning technologies face challenges with low data collection efficiency and high costs due to the need for manual data collection by personnel carrying special equipment, which also poses safety risks.
Collect sensor data using multiple acquisition devices mounted on a moving vehicle, such as a car, to generate positioning fingerprint data based on vehicle sensor data and trajectory data, aligning collection times and leveraging pre-measured installation parameters to enhance data coverage and accuracy.
Significantly improves data collection efficiency and reduces costs while ensuring safety by allowing simultaneous data collection across a larger area with enhanced accuracy and coverage.
Smart Images

Figure CN119085663A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of positioning technology, and in particular to a method, device, equipment, medium and program product for generating positioning fingerprint data. Background Art
[0002] Indoor positioning is an important technical branch of positioning technology. Since satellite signals are blocked indoors, it is impossible to locate devices (such as smartphones, smart watches, vehicles, etc.) based on Global Navigation Satellite System (GNSS) signals, such as Global Positioning System (GPS) signals and Beidou Positioning System signals. For this reason, existing indoor positioning technologies usually use solutions based on pre-built positioning fingerprint databases to locate devices. The positioning fingerprint database generally stores signal data of Wi-Fi, base stations, etc. and related location data.
[0003] Taking Wi-Fi and base stations as examples, the principle of indoor positioning technology can be simply understood as follows: when the positioned device (such as a smartphone) scans the signals of Wi-Fi, base stations, etc., the positioned device can send the scanned signal data of Wi-Fi, base stations, etc. to the indoor positioning service. The indoor positioning service determines the position of the positioned device based on the signal data of Wi-Fi and base stations uploaded by the positioned device and the data stored in the positioning fingerprint database. It can be seen that building a positioning fingerprint database is crucial to achieving indoor positioning.
[0004] However, the existing technology for building a positioning fingerprint database requires data collectors to use handheld data collection equipment to collect data in indoor areas, which has the problems of low collection efficiency and high cost. Summary of the invention
[0005] The present application provides a method, device, equipment, medium and program product for generating positioning fingerprint data, which can improve the efficiency of collecting positioning data, reduce the collection cost, and thus improve the efficiency of obtaining positioning fingerprint data during the fingerprint data construction process.
[0006] In a first aspect, the present application provides a method for generating positioning fingerprint data, the method comprising:
[0007] Acquire device sensor data that can be used for positioning and trajectory data of a moving vehicle collected by two or more acquisition devices, wherein the device sensor data is collected when the moving vehicle carries the two or more acquisition devices and moves in a target indoor area, and the trajectory data is generated in advance based on the vehicle sensor data collected when the moving vehicle carries the two or more acquisition devices and moves in the target indoor area;
[0008] Based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle, obtaining the positioning position of the target indoor area;
[0009] Generate positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area.
[0010] Optionally, when the sports vehicle carrying the two or more acquisition devices is moving in an indoor area, the working time standard of the device sensor integrated in the acquisition device and the working time standard of the vehicle sensor carried on the sports vehicle are the same.
[0011] Optionally, one piece of equipment sensor data corresponds to one collection time, and one piece of vehicle sensor data corresponds to one collection time. If the working times of the equipment sensor and the vehicle sensor are not synchronized, the method further includes:
[0012] Based on the collection time corresponding to the device sensor data and the collection time corresponding to the vehicle sensor, interpolation is performed in the collection time by linear interpolation to align the collection time of the device sensor data with the collection time of the vehicle sensor data;
[0013] Generate interpolated device sensor data or vehicle sensor data corresponding to the collection time based on the device sensor data and the collection time of the device sensor data and the vehicle sensor data, so that each collection time after alignment corresponds to one piece of device sensor data and one piece of vehicle sensor data;
[0014] The trajectory data is generated in advance based on vehicle sensor data collected when the moving vehicle carrying the two or more collection devices moves in the target indoor area and the collection time is aligned with the device sensor.
[0015] Optionally, the target indoor area includes at least an indoor plane area, the positioning position includes longitude and latitude coordinates and elevation, and the method further includes:
[0016] According to the elevation included in the positioning position, a positioning position located in the same indoor plane area is obtained;
[0017] Generating the positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position specifically includes:
[0018] According to the device sensor data and the positioning position located in the same indoor plane area, the positioning fingerprint data of the corresponding indoor plane area is obtained.
[0019] Optionally, the method further comprises:
[0020] Dividing the corresponding indoor plane area into geographic grids according to the positioning positions located in the same indoor plane area and a preset geographic grid size;
[0021] Acquiring positioning fingerprint data of the corresponding indoor plane area according to the device sensor data and the positioning position located in the same indoor plane area specifically includes:
[0022] The positioning fingerprint data of the corresponding indoor plane area is obtained according to the device sensor data, the positioning positions located in the same indoor plane area and the geographic grid of the corresponding indoor plane area.
[0023] Optionally, the target indoor area further includes: an indoor non-planar area, and the method further includes:
[0024] According to the elevation included in the positioning position, a positioning position located in the same indoor non-planar area is obtained;
[0025] According to the device sensor data and the positioning position located in the same indoor non-planar area, positioning fingerprint data of the corresponding indoor non-planar area is obtained.
[0026] Optionally, the acquisition device includes a first acquisition device and a second acquisition device, the first acquisition device and the second acquisition device are respectively installed on the left and right sides of the moving direction of the moving vehicle, the installation parameters include a first installation parameter of the first acquisition device and a second installation parameter of the second acquisition device, and the acquisition of the positioning position of the target indoor area based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle specifically includes:
[0027] Based on a series of trajectory positions corresponding to the collection time included in the trajectory data of the moving vehicle and the first installation parameter, the positioning position of the first collection device corresponding to the collection time is obtained by means of lever arm compensation;
[0028] Based on a series of trajectory positions corresponding to the collection time included in the trajectory data of the moving vehicle and the second installation parameter, the positioning position of the second collection device corresponding to the collection time is obtained by means of lever arm compensation;
[0029] Based on the positioning position of the first acquisition device corresponding to the acquisition time and the positioning position of the second acquisition device corresponding to the acquisition time, the positioning position of the target indoor area at each acquisition time is obtained.
[0030] In a second aspect, the present application provides a device for generating positioning fingerprint data, the device comprising:
[0031] An acquisition module, used to acquire device sensor data that can be used for positioning and track data of a moving vehicle collected by two or more acquisition devices, wherein the device sensor data is collected when the moving vehicle carries the two or more acquisition devices and moves in a target indoor area, and the track data is generated in advance based on the vehicle sensor data collected when the moving vehicle carries the two or more acquisition devices and moves in a target indoor area;
[0032] A processing module, configured to obtain a positioning position of the target indoor area based on the trajectory data of the moving vehicle and pre-measured installation parameters of the acquisition device on the moving vehicle;
[0033] A generating module is used to generate positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area.
[0034] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory; the processor is communicatively connected with the memory;
[0035] The memory stores computer instructions;
[0036] The processor executes the computer instructions stored in the memory to implement the method as described in any one of the first aspects.
[0037] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method for generating positioning fingerprint data as described in any one of the first aspects.
[0038] In a fifth aspect, the present application provides a computer program product, comprising a computer program or instructions, which, when executed by a processor, implements the method as described in any one of the first aspects.
[0039] The method, device, equipment, medium and program product for generating positioning fingerprint data provided by the present application first obtain the device sensor data and the trajectory data of the moving vehicle collected by more than two collecting devices that can be used for positioning; then, based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the collecting device on the moving vehicle, obtain the positioning position of the target indoor area; and then generate the positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area. Since the moving vehicle equipped with the collecting device in the present application can collect the vehicle sensor data and the device sensor data at one time when traveling in the target indoor area, compared with the method of collecting by manually holding the collecting device in the prior art, the collection efficiency of the sensor data of the target indoor area is significantly improved. Furthermore, since more than two collecting devices are carried at different positions of the moving vehicle, that is, different collecting devices have different installation parameters on the moving vehicle, therefore, based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the collecting device on the moving vehicle, the positioning position of the target indoor area obtained covers a larger position range of the target indoor area, which not only improves the efficiency of generating the positioning fingerprint data of the target indoor area, but also ensures the accuracy of the generated positioning fingerprint data. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 It is a schematic diagram of a positioning data collection method;
[0042] Figure 2 A schematic diagram of a scenario of a method for generating positioning fingerprint data provided in an embodiment of the present application;
[0043] Figure 3 A flowchart of a method for generating positioning fingerprint data provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of a flow chart of another method for generating positioning fingerprint data provided in an embodiment of the present application;
[0045] Figure 5 A flowchart of another method for generating positioning fingerprint data provided in an embodiment of the present application;
[0046] Figure 6 A flowchart of another method for generating positioning fingerprint data provided in an embodiment of the present application;
[0047] Figure 7 A flowchart of another method for generating positioning fingerprint data provided in an embodiment of the present application;
[0048] Figure 8 A flowchart of another method for generating positioning fingerprint data provided in an embodiment of the present application;
[0049] Fig. 9 A schematic diagram of the structure of a device for generating positioning fingerprint data provided in an embodiment of the present application;
[0050] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0051] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] In recent years, with the continuous development and enrichment of location-based services, the demand for positioning services has become increasingly prominent. At present, positioning services are usually provided based on GNSS positioning satellite signals outdoors, while indoors, since GNSS positioning satellite signals are blocked, positioning services are generally provided through network fusion positioning. The realization of network fusion positioning relies on indoor positioning fingerprint data, and the efficiency and cost of generating indoor positioning fingerprint data are the main reasons that determine the scope of promotion and application of indoor positioning technology. Traditional indoor positioning fingerprint data usually requires professional collectors to carry special equipment to collect data in indoor areas first, and then generate indoor positioning fingerprint data based on the collected data. Since existing technologies need to collect data at different locations for the same passable area indoors to improve the availability of the generated indoor positioning fingerprint data, such as Figure 1As shown in the figure, taking the data collection of an indoor road as an example, it is often necessary for the data collector to walk along the left, middle and right sides of the road and collect data respectively. This method obviously has the problems of low efficiency, high cost and personal safety of the data collector. The low efficiency and high cost of data collection also mean that generating indoor positioning fingerprint data based on the collected data also has the problems of low efficiency and high cost.
[0054] In view of this, the present application provides a method for generating positioning fingerprint data. Figure 2 A schematic diagram of a scenario provided in an embodiment of the present application, such as Figure 2 As shown, the method pre-uses the collection equipment carried by the moving vehicle (such as a car) at different positions of the moving vehicle. When the moving vehicle travels in an indoor passable area (such as a driving lane in a parking lot), the sensor data is collected by the sensor carried by the moving vehicle. At the same time, the sensor carried by the collection equipment collects sensor data related to positioning. Subsequently, based on the sensor data collected by the sensor carried by the moving vehicle, the trajectory data of the moving vehicle can be obtained. The trajectory data includes a series of trajectory positions formed when the moving vehicle travels in the passable area. Afterwards, based on the trajectory data and the sensor data related to positioning, the positioning fingerprint data is generated, which can significantly improve the data collection efficiency and reduce costs.
[0055] For the sake of distinction, this application refers to the sensors carried by a sports vehicle as vehicle sensors, and the sensor data collected by the sensors carried by a sports vehicle as vehicle sensor data; the sensors carried by a collection device are collectively referred to as device sensors, and the sensor data collected by the sensors carried by a collection device are collectively referred to as device sensor data.
[0056] Among them, the above-mentioned vehicle sensor data or device sensor data may include at least one of the following: wireless hotspot data, magnetic field data (such as geomagnetic data), visual data, etc. The above-mentioned wireless hotspot data may include, for example, any one or more of Wi-Fi signals, Bluetooth signals, communication signals, etc. The communication signal mentioned here may be, for example, any one or more of the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) signals, or the fourth generation mobile communication technology (4th Generation Mobile Communication Technology, 4G) signals, etc. The above-mentioned acquisition device may be any device that can collect sensor data that can be used for positioning, such as consumer electronic devices such as mobile phones and tablets, or it may be a hardware device designed by the manufacturer implementing the solution provided in this application, as long as the hardware device can collect the corresponding sensor data.
[0057] Taking device sensor data as an example, if the device sensor data includes magnetic field data, the collection device can, for example, collect the magnetic field data through a magnetometer; if the device sensor data includes visual data, the collection device can, for example, collect the visual data through a camera (such as a camera); if the device sensor data includes wireless hotspot data, taking the wireless hotspot data as a Wi-Fi signal as an example, the collection device can, for example, collect Wi-Fi data through its own Wi-Fi module.
[0058] It should be understood that the above is only an exemplary introduction to vehicle sensor data and equipment sensor data. The specific types of data included in the vehicle sensor data and equipment sensor data depend on the types of vehicle sensors and equipment sensors, and this application does not limit this.
[0059] Furthermore, the present application does not limit the number of acquisition devices. To improve acquisition efficiency, the present application preferably has at least two acquisition devices, and the acquisition devices are preferably installed on the left and right sides of the vehicle so as to collect data from both sides of the indoor traversable area (such as a road). Figure 2 The figure shows a schematic diagram of the scenario of the present application, in which the moving vehicle is a car equipped with three collection devices, such as mobile phones. In one collection process, the collection devices can collect data from the left side, right side and middle area of the passable area respectively. Compared with the existing technology that requires collection personnel to walk along the left side, right side and middle of the passable area respectively and collect data, the efficiency of data collection is significantly improved and the personal safety of collection personnel is ensured.
[0060] The technical solution of the present application is described in detail below in conjunction with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0061] Figure 3 A flow chart of a method for generating positioning fingerprint data provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the method may include the following steps:
[0062] S101. Obtain device sensor data and motion vehicle trajectory data that can be used for positioning and are collected by more than two collection devices.
[0063] Among them, the device sensor data is collected when a moving vehicle is equipped with two or more acquisition devices and is moving in the same target indoor area at the same time, and the trajectory data is generated in advance based on the vehicle sensor data. The vehicle sensor data is collected when a moving vehicle is equipped with two or more acquisition devices and is moving in the target indoor area at the same time.
[0064] The target indoor area may be, for example, an underground parking lot, an indoor parking building, or other area where a moving vehicle is allowed to move. As mentioned above, the device sensor data is data collected and acquired by the sensor carried by the acquisition device, and the vehicle sensor data is data collected and acquired by the sensor integrated on the moving vehicle or independent of the moving vehicle. Among them, the vehicle sensor may include, for example, any one or more of a laser radar, a camera, an inertial sensor, a wheel speed meter, etc. After the vehicle sensor collects the corresponding vehicle sensor data, the trajectory data of the moving vehicle can be obtained through the vehicle sensor data (the trajectory data consists of a series of trajectory positions with timestamps).
[0065] Exemplarily, the vehicle sensor data may include at least one of the following: Inertial Measurement Unit (IMU) data, wheel speed data, radar data, visual data, etc. Taking this as an example, if the vehicle sensor data only includes one of the above data, the trajectory position data of the moving vehicle can be obtained only based on the single data. For example, if the vehicle sensor data only includes IMU data, the trajectory position of the moving vehicle can be obtained only based on the IMU data by mechanical arrangement, and the trajectory data can be generated according to the trajectory position at different times. If the vehicle sensor data includes more than two data, the trajectory position data of the moving vehicle can be obtained based on the more than two data. For example, if the vehicle sensor data includes IMU data and wheel speed data, the trajectory position of the moving vehicle can be obtained by machine learning. For example, the IMU data and wheel speed data can be feature extracted, and the extracted features can be used as input to a pre-trained position prediction model to obtain the trajectory position of the moving vehicle. The above-mentioned position prediction model can be obtained by training a machine learning model with features extracted from historically acquired IMU data and wheel speed data as input and the corresponding trajectory position as output. The machine learning model mentioned here may be, for example, a convolutional neural network (CNN) model or a long short-term memory network (LSTM) model. The above is a brief description of obtaining trajectory data based on vehicle sensor data. The specific implementation process can refer to the prior art, and this application will not repeat it.
[0066] Optionally, the acquisition device can be a device independent of the moving vehicle, or it can be certain sensors carried by the moving vehicle. For example, when the device sensor data required for positioning is magnetic field data, if the moving vehicle itself is equipped with a magnetometer, the magnetometer is equivalent to the acquisition device of this application. If the moving vehicle itself is not equipped with a magnetometer, a collection device equipped with a magnetometer can be installed on the moving vehicle to collect magnetic field data, that is, the sensor carried by the collection device is generally differentiated from the sensor of the moving vehicle; or, even if the moving vehicle itself is equipped with a magnetometer, the collection device can also be equipped with a magnetometer, that is, the collection device and the moving vehicle can be equipped with the same type of sensor. In specific implementation, the data used to generate positioning fingerprint data can be selected based on the data quality of the same type of sensor, which does not affect the implementation of this application. For example, the data acquisition accuracy of the magnetometer carried by the acquisition device is higher than the data acquisition accuracy of the magnetometer carried by the moving vehicle itself. Then, by collecting magnetic field data through the magnetometer carried by the acquisition device, the data quality of the device sensor data can be improved, and the data quality of the positioning fingerprint data generated based on the device sensor data can be improved.
[0067] Optionally, the device sensor data acquired in step S101 of the present application may be device sensor data sent to the service side in real time through the network when the acquisition device is working in the target indoor area, or may be device sensor data sent to the service side through the network according to a certain time period when the acquisition device is working in the target indoor area; or, it may be device sensor data read in batches from the acquisition device after the acquisition device completes the acquisition of device sensor data for the target indoor area. The way in which the acquisition device transmits data does not affect the implementation of the present application. When executing the solution provided by the present application, the device sensor data collected by the acquisition device can be obtained.
[0068] S102: Based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle, the positioning position of the target indoor area is obtained.
[0069] The installation parameters (also called arm parameters) are parameters used to characterize the relative position relationship between the acquisition device and the motion vehicle. For example, the installation parameters may include the installation angle parameters, displacement vector parameters, rotation matrix, relative position vector, etc. of the acquisition device installed on the motion vehicle.
[0070] In one embodiment, the installation parameters may be the relative position parameters of the acquisition device relative to the GNSS positioning antenna module of the moving vehicle. Of course, the installation parameters may also be the relative position parameters of the acquisition device relative to other sensors carried by the moving vehicle. Considering that the GNSS positioning antenna module is usually located outside the moving vehicle, the parameters of the acquisition device relative to the GNSS positioning antenna module are relatively easy to measure. Therefore, the installation parameters preferably measure the relative position parameters of the acquisition device relative to the GNSS positioning antenna module of the moving vehicle.
[0071] Furthermore, the trajectory position in the trajectory data of the moving vehicle obtained in the present application can be equivalent to the trajectory position of the GNSS antenna of the moving vehicle. Therefore, based on the trajectory position in the trajectory data, the positioning position of the collection device corresponding to the trajectory position in the trajectory data can be obtained through arm compensation.
[0072] S103: Generate positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area.
[0073] In this step, the positioning fingerprint data of the target indoor area is obtained according to the device sensor data and the positioning position, so that the positioning fingerprint data of the target indoor area can be used to locate the device entering the target indoor area later.
[0074] The present application does not limit the type of fingerprint data generated. For example, it can be grid fingerprint data (fingerprint data represented in the form of a two-dimensional grid, with a structure of rows and columns. Each grid cell contains information related to the fingerprint features of the grid cell), or it can be one-dimensional fingerprint data (key features of the fingerprint, such as the position and type of feature points, are arranged in a one-dimensional sequence in a certain order). The specific type can be determined according to actual needs.
[0075] In this embodiment, firstly, the device sensor data and the trajectory data of the moving vehicle collected by more than two acquisition devices that can be used for positioning are obtained; then, based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle, the positioning position of the target indoor area is obtained; and then, based on the device sensor data and the positioning position of the target indoor area, the positioning fingerprint data of the target indoor area is generated. Since the moving vehicle equipped with the acquisition device in this application can collect the vehicle sensor data and the device sensor data at one time when traveling in the target indoor area, compared with the method of collecting by manually holding the acquisition device in the prior art, the collection efficiency of the sensor data of the target indoor area is significantly improved. Furthermore, since more than two acquisition devices are mounted at different positions of the moving vehicle, that is, different acquisition devices have different installation parameters on the moving vehicle, therefore, based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle, the positioning position of the target indoor area obtained covers a larger position range of the target indoor area, which not only improves the efficiency of generating the positioning fingerprint data of the target indoor area, but also ensures the accuracy of the generated positioning fingerprint data.
[0076] In a possible implementation, during the above Figure 3 Before using the method in, the device sensor and the vehicle sensor need to be calibrated to improve the accuracy of the generated positioning fingerprint data. For example, for the device sensor and / or the vehicle sensor, the initialization positioning data collected outdoors can be used for pre-calibration. The initialization positioning data can be, for example, GNSS positioning data, or any one or more of real-time dynamic carrier phase difference technology (Real Time Kinematic, RTK) positioning data. The specific calibration method is related to the type of device sensor and / or vehicle sensor. For example, if the IMU is calibrated, the initialization positioning data can be obtained by the moving vehicle equipped with the acquisition device performing an 8-shaped rotation outdoors or driving around a rectangle, and then the initialization positioning data collected outdoors is used to complete the calibration of the IMU; for the wireless hotspot module, for example, it can be calibrated by means of mean filtering. The calibration methods of different types of sensors can be implemented with reference to existing technologies and will not be repeated here.
[0077] Furthermore, when a moving vehicle is equipped with more than two acquisition devices and is traveling in an indoor area, the working time standard of the device sensor integrated in the acquisition device and the working time standard of the vehicle sensor carried on the moving vehicle need to be the same. Below, the working time of the device sensor and the vehicle sensor of the present application is described in detail.
[0078] The acquisition devices, the device sensors and the vehicle sensors can all be synchronized by clocks so that different devices and / or sensors use the same working time standard. The present application does not limit the specific type of working time standard. For example, the working time standard can uniformly use the Coordinated Universal Time (UTC) time. For example, the acquisition device and / or the sports vehicle can obtain the UTC time by accessing the Network Time Protocol (NTP) server to synchronize the working time of the acquisition device and / or the sports vehicle with the UTC time. Alternatively, the acquisition device and / or the sports vehicle are respectively equipped with GNSS receivers. Taking the GNSS receiver as a GPS receiver as an example, when the sports vehicle is in an outdoor area, the time is converted to UTC time after being timed by a GPS satellite, and the working time of the device can also be synchronized with the UTC time. Through this implementation method, the working time of the device sensor and the vehicle sensor can adopt the same working time standard, which can improve the generation efficiency and availability of positioning fingerprint data.
[0079] Specifically, one piece of device sensor data of the present application corresponds to one collection time, and one piece of vehicle sensor data corresponds to one collection time. Although the working time standards of the device sensor and the vehicle sensor are the same as mentioned above, the device sensor and the vehicle sensor still have the problem of asynchronous working time (for example, the period / frequency of data collection of different sensors is different or the starting time of data collection is different, etc.), which will cause the problem of misalignment of the collection time of the device sensor data and the vehicle sensor data. For example, the collection time of the device sensor data is 0 seconds, 1 second, 2 seconds, 3 seconds, and 4 seconds, and the collection time of the vehicle sensor data is 0 seconds, 2 seconds, 4 seconds, 6 seconds, and 8 seconds. The device sensor data has data with collection times of 1 second and 3 seconds, but the vehicle sensor data lacks data with collection times of 1 second and 3 seconds. Since the trajectory data is generated based on the vehicle sensor data of the vehicle sensor, and the vehicle sensor data lacks data with collection times of 1 second and 3 seconds, the generated trajectory data will lack the trajectory positions corresponding to the collection times of 1 second and 3 seconds, resulting in the inability to match the trajectory data corresponding to the same collection time for the device sensor data.
[0080] Therefore, the embodiment of the present application provides another method for generating positioning fingerprint data, which can align the collection time of device sensor data and vehicle sensor data to ensure the matching rate of device sensor data and trajectory data, and improve the accuracy of positioning fingerprint data. Figure 3 The same parts of the method shown will not be repeated. Figure 3 Compared with different parts such as Figure 4 As shown, Figure 4The steps shown are performed before step S101 of acquiring device sensor data that can be used for positioning and vehicle sensor data that are collected by the collection device and the vehicle sensor, and specifically include:
[0081] S201. Based on the collection time corresponding to the device sensor data and the collection time corresponding to the vehicle sensor, the collection time is interpolated by linear interpolation to align the collection time of the device sensor data with the collection time of the vehicle sensor data.
[0082] In one possible implementation, the collection time corresponding to any one of the device sensor data or the vehicle sensor data can be used as a reference to perform a linear interpolation operation on the collection time of the other data to obtain the collection time of the other data that is not aligned with the reference. Alternatively, the device sensor data and the vehicle sensor data are used as references to align the collection time.
[0083] Exemplarily, taking the case where the collection time of the device sensor data includes 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, and 5 seconds, and the collection time of the vehicle sensor data includes 0 seconds, 2 seconds, 4 seconds, 6 seconds, and 8 seconds, assuming that the collection time of the device sensor data is used as a reference, the collection time of the vehicle sensor data can be interpolated to obtain the collection time of the interpolated vehicle sensor data of 1 second, 3 seconds, and 5 seconds, thereby achieving alignment of the collection time of the device sensor data and the vehicle sensor data. Alternatively, if the collection time of the device sensor data and the collection time of the device sensor data are used as a reference, the collection time of the vehicle sensor data is interpolated to obtain the collection time of the interpolated vehicle sensor data of 1 second, 3 seconds, and 5 seconds, and the collection time of the device sensor data is interpolated to obtain the collection time of the interpolated device sensor data of 6 seconds and 8 seconds. It should be understood that this example is to more intuitively illustrate the present application and should not be regarded as a limitation to the present application.
[0084] Another possible implementation method is to use a pre-set collection time as a reference to perform linear interpolation operations on the collection time of the device sensor data and the vehicle sensor data to align the collection time of the device sensor data and the vehicle sensor data. Among them, the pre-set collection time can be determined according to actual needs, and this application does not limit this. For example, the collection time of the device sensor data includes 0 seconds, 2 seconds, 4 seconds, and 6 seconds, and the collection time of the vehicle sensor data includes 0 seconds, 3 seconds, 5 seconds, and 7 seconds. The pre-set collection time is 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, and 7 seconds. Then, the pre-set collection time can be used as a reference to perform difference calculation on the device sensor data to obtain the collection time of the device sensor data interpolation of 1 second, 3 seconds, 5 seconds, and 7 seconds; the pre-set collection time can be used as a reference to perform difference calculation on the vehicle sensor data to obtain the collection time of the vehicle sensor data interpolation of 2 seconds, 4 seconds, and 6 seconds. It should be understood that this example is to more intuitively illustrate the present application and should not be regarded as a limitation on the present application.
[0085] S202. Based on the device sensor data and the collection time of the device sensor data and the vehicle sensor data and the collection time of the vehicle sensor, generate the device sensor data or the vehicle sensor data corresponding to the collection time obtained by interpolation, so that each collection time after alignment corresponds to a piece of device sensor data and a piece of vehicle sensor data.
[0086] Continuing with the previous example, for example, if the interpolated collection time of the vehicle sensor data is the time corresponding to 1 second, then the interpolated vehicle sensor data corresponding to the collection time 1 second can be generated based on at least the vehicle sensor data of the vehicle sensor at the collection time 0 seconds and the collection time 2 seconds. That is, the collection time 1 second corresponds to both a piece of equipment sensor data and a piece of vehicle sensor data. The specific process of generating the interpolated sensor data at the collection time can refer to the existing technology, and this application does not limit it.
[0087] The above is an embodiment of the method provided by the present application including a collection time alignment step. In this embodiment, the trajectory data is generated in advance based on the vehicle sensor data collected when a moving vehicle carrying two or more collection devices is moving in a target indoor area and the collection time is aligned with the device sensors. This ensures the matching rate of the trajectory position in the trajectory data and the device sensor data.
[0088] Continuing with the previous example, for example, the collection moments after interpolation of vehicle sensor data include 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, and 8 seconds, and the collection moments after interpolation of device sensor data also include 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, and 8 seconds. Based on the vehicle sensor data corresponding to the collection moments 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, and 8 seconds after interpolation of vehicle sensor data, trajectory positions corresponding to the collection moments 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, and 8 seconds can be generated. Each collection moment corresponds to a trajectory position, that is, the trajectory data includes trajectory positions corresponding to the collection moments 0 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, and 8 seconds, and these trajectory positions all have device sensor data corresponding to the same moment.
[0089] The above is a method embodiment provided by an embodiment of the present application. This embodiment implements the same working time standard for the device sensor and the vehicle sensor, and when the collection time of the device sensor and the vehicle sensor are not synchronized, uses linear interpolation to align the collection time of the device sensor data and the collection time of the vehicle sensor data, and generates trajectory data based on the vehicle sensor data after the collection time is aligned, thereby ensuring the matching rate of the trajectory position in the device sensor data and the trajectory data, and improving the availability of the positioning fingerprint data generated based on the device sensor data and the trajectory data.
[0090] Furthermore, the trajectory position in the trajectory data of the present application has a corresponding collection time, which enables the positioning position of the target indoor area obtained by the present application based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the collection device on the moving vehicle to also have a corresponding collection time. For example, if the positioning position is generated based on the trajectory position corresponding to the collection time 0 seconds in the trajectory data, the collection time of the positioning position is also 0 seconds. Therefore, the present application generates the positioning fingerprint data of the target indoor area based on the device sensor data and the positioning position of the target indoor area, and the following implementation method can be adopted:
[0091] First, for the target indoor area, a mapping relationship between the device sensor data at the same collection time and the positioning position of the target indoor area, the positioning position and the device sensor data are established as the positioning fingerprint data of the target indoor area;
[0092] Second, according to the positioning position of the target indoor area, the target indoor area is divided into grids (also called geographic grids), and the size of the grid can be pre-set; the device sensor data belonging to the same grid is aggregated to generate the positioning fingerprint data of the grid. Among them, when aggregating, different aggregation methods can be used according to the type of device sensor. For example, magnetic field data belonging to the same grid but collected by different acquisition devices does not need to be fused, only a mapping relationship with the grid needs to be established, but Bluetooth data belonging to the same grid and collected by different acquisition devices can be fused. The specific aggregation method needs to be determined according to actual needs and the type of sensor, and this application does not limit this.
[0093] The target indoor area of the present application may include at least an indoor plane area, but if the target indoor area is an indoor parking lot or a parking building, in most cases, the indoor parking lot or parking building has more than one floor, that is, the target indoor area includes both an indoor plane area and an indoor non-plane area. The indoor plane area may be, for example, the area on the same floor of a multi-story underground parking lot, and the indoor non-plane area may be, for example, a corridor area connecting two adjacent floors. In the corridor area, the movement direction of the moving vehicle is usually regular. For example, for a certain corridor, the moving vehicle usually has two movement directions, upward movement and downward movement, so as to pass through the corridor to the adjacent floor. In the plane area, the movement direction of the moving vehicle is usually more complicated. Therefore, in order to improve the positioning accuracy of different target indoor areas, the present application determines whether different positioning positions belong to the indoor plane area or the indoor non-plane area based on the elevation information of the positioning position, and determines whether different positioning positions belong to the same indoor plane area. For indoor plane areas and indoor non-plane areas, different methods are adopted to obtain positioning fingerprint data to obtain more accurate positioning fingerprint data. Specifically, an embodiment of the present application provides another method for generating positioning fingerprint data, such as Figure 5 As shown, the method has the same technical means as the existing embodiment, which will not be repeated here. The difference between this embodiment and the existing embodiment is that a preferred embodiment is provided for the case where the target indoor area includes an indoor plane area. The difference between this embodiment and the existing embodiment is that the positioning position of the target indoor area includes longitude and latitude coordinates and elevation, and the method further includes:
[0094] S301. Obtain a positioning position located in the same indoor plane area according to the elevation included in the positioning position.
[0095] Among them, the positioning position of the target indoor area of the present application is obtained based on the trajectory data of the motion vehicle and the pre-measured installation parameters of the acquisition device on the motion vehicle, and the elevation of the trajectory position in the trajectory data can be obtained based on the elevation sensor data carried by the motion vehicle. In general, the elevation of the positioning position is usually the same as the elevation of the trajectory position corresponding to the positioning position in the trajectory data, that is, based on the trajectory data of the motion vehicle and the pre-measured installation parameters of the acquisition device on the motion vehicle, when obtaining the positioning position of the target indoor area, the latitude and longitude coordinates of the positioning position of the target indoor area can be determined based on the latitude and longitude coordinates of the trajectory position in the trajectory data and the pre-measured installation parameters of the acquisition device on the motion vehicle, and the elevation of the trajectory position is directly used as the elevation of the positioning position. For example, if the positioning position is generated based on the trajectory position corresponding to the acquisition time 0 seconds in the trajectory data, the latitude and longitude coordinates of the positioning position are generated based on the latitude and longitude coordinates and installation parameters of the trajectory position corresponding to the acquisition time 0 seconds, and the elevation of the trajectory position corresponding to the acquisition time 0 seconds is used as the elevation of the positioning position.
[0096] Specifically, the elevations of the positioning positions in the target indoor area may be compared, and positioning positions with the same elevation or a difference less than a set difference threshold may be determined as positioning positions belonging to the same indoor plane area.
[0097] Step S103 is implemented according to step S302, specifically:
[0098] S302: Acquire positioning fingerprint data of a corresponding indoor plane area according to device sensor data and a positioning position located in the same indoor plane area.
[0099] Figure 5 The embodiment shown determines the positioning positions belonging to the same indoor plane area according to the elevation of the positioning positions of the target indoor area, and then obtains the positioning fingerprint data of the indoor plane area according to the positioning positions located in the same indoor plane area and the device sensor data corresponding to the positioning positions. That is, when generating the positioning fingerprint data, this embodiment can generate special positioning fingerprint data for the indoor plane area, thereby ensuring the availability of the positioning fingerprint data.
[0100] As mentioned above, the present application provides two embodiments for generating positioning fingerprint data for the target indoor area. The first embodiment is to establish a mapping relationship between the device sensor data at the same collection time and the positioning position of the target indoor area as the positioning fingerprint data of the target indoor area. For the indoor plane area, the mapping relationship established is specifically:
[0101] For the positioning positions located in the same indoor plane area, and the device sensor data corresponding to these positioning positions, a mapping relationship between these positioning positions and the device sensor data is established, and the mapping relationship between the positioning positions and the device sensor data, the positioning positions, and the device sensor data corresponding to the positioning positions are used as the positioning fingerprint data of the indoor plane area.
[0102] The second embodiment is to divide the target indoor area into grids (also called geographic grids) according to the positioning position of the target indoor area, and the size of the grid can be preset; the device sensor data belonging to the same grid is aggregated to generate the positioning fingerprint data of the grid. For this purpose, the embodiment of the present application provides another method for generating positioning fingerprint data, such as Figure 6 As shown, this method is Figure 5 The difference of the method shown is that the method further comprises the following steps:
[0103] S401: Divide the corresponding indoor plane area into geographic grids according to the positioning positions located in the same indoor plane area and the preset geographic grid size.
[0104] The preset geographic grid size is the size of the geographic grid, for example, a rectangular geographic grid with a length and a width of 0.5 meters. The geographic grid size can be set according to actual needs, and this application does not limit this.
[0105] In this case, a possible implementation method is to divide the indoor plane area into geographic grids according to the positioning positions located in the same indoor plane area and the preset geographic grid size, which can be implemented as follows:
[0106] The positioning position is used as the center position of the geographic grid, and the position range of the corresponding geographic grid is determined based on the preset geographic grid size and the center position of the geographic grid.
[0107] S402: Acquire positioning fingerprint data of the corresponding indoor plane area according to device sensor data, positioning positions located in the same indoor plane area, and a geographic grid of the corresponding indoor plane area.
[0108] In this embodiment, according to the positioning positions located in the same indoor plane area, the device sensor data corresponding to these positioning positions are divided according to the geographical grid, that is, the device sensor data corresponding to these positioning positions are divided into the geographical grid where the positioning positions fall. Then, according to the positioning positions located in the geographical grid stored in the geographical grid and the device sensor data corresponding to the positioning positions, the positioning fingerprint data of the indoor plane area is obtained.
[0109] The method for determining the geographic grid into which the positioning position falls may be, for example, the ray method, the dichotomy method, etc. The specific implementation method may refer to the prior art and will not be described in detail here.
[0110] Figure 6 In the illustrated embodiment, the indoor plane area is divided into geographic grids, and then positioning fingerprint data is generated for the geographic grids, which can make the positioning process based on the positioning fingerprint data more efficient and accurate.
[0111] Further, as mentioned above, in addition to the indoor plane area, some target indoor areas also include indoor non-planar areas. For this reason, the embodiment of the present application provides another method for generating positioning fingerprint data, such as Figure 7 As shown, this method is Figure 6 The difference of the method shown is that it can also include the following steps:
[0112] S501. Obtain a positioning position located in the same indoor non-planar area according to the elevation included in the positioning position of the target indoor area.
[0113] In specific implementation, the following method can be used to obtain the positioning position in the same indoor non-planar area:
[0114] The first one is to determine the positioning positions whose elevation difference exceeds the set difference threshold but the interval between the collection times meets the set conditions as the positioning positions belonging to the same indoor non-planar area.
[0115] The second method is to first determine the set of positioning positions belonging to the same indoor plane area (for example, the respective positioning position sets of the plane areas corresponding to the two different floors in the indoor parking building) and the positioning positions that do not belong to any indoor plane area based on the elevations in the positioning positions. Then, based on the elevations of the positioning positions in the positioning position set, determine the elevation value interval of the two adjacent indoor plane areas as the elevation value interval of the indoor non-plane area connecting the two indoor plane areas. Finally, based on the elevations included in the positioning positions that are not located in any indoor plane area, determine the elevation value interval that these positioning positions that are not located in the indoor plane area fall into, and the positioning positions whose elevation values are in the same elevation value interval are the positioning positions located in the same indoor non-plane area.
[0116] For example, assuming that the target indoor area is a three-story underground parking lot, the corresponding positioning position sets of the first underground floor, the second underground floor, and the third underground floor are determined according to the elevation. According to the positioning position set, the average elevation values determined are -3 meters, -6 meters, and -9 meters, respectively. For positioning positions that are not located in the indoor plane area, the positioning positions with elevations in the elevation value interval of (-3 meters, -6 meters) belong to the same indoor non-plane area (i.e., the first corridor area between the first underground floor and the second underground floor); the positioning positions with elevations in the elevation value interval of (-6 meters, -9 meters) belong to the same indoor non-plane area (i.e., the second corridor area between the second underground floor and the third underground floor).
[0117] S502: Acquire positioning fingerprint data of a corresponding indoor non-planar area according to device sensor data and a positioning position located in the same indoor non-planar area.
[0118] In specific implementation, the positioning fingerprint data of the corresponding indoor non-planar area is obtained according to the device sensor data and the positioning position located in the same indoor non-planar area. The two aforementioned implementation methods for obtaining the positioning fingerprint data of the indoor planar area can be adopted, namely, the first method generates the positioning fingerprint data of the indoor non-planar area based on the mapping relationship between the positioning position and the device sensor data, the positioning position, and the device sensor data corresponding to the positioning position. The second method is to divide the indoor non-planar area into geographic grids and generate positioning fingerprint data for the geographic grids. For a detailed description of these two implementation methods, please refer to the relevant parts of the previous text, which will not be repeated here.
[0119] In this embodiment, first, based on the elevation included in the positioning position located in the target indoor area, the positioning position located in the same indoor non-planar area is obtained. Then, based on the positioning position located in the same indoor non-planar area and the device sensor data corresponding to the positioning position of the same indoor non-planar area, the positioning fingerprint data corresponding to the indoor non-planar area is obtained. Through this implementation method, positioning fingerprint data adapted to the indoor non-planar area can be established according to the characteristics of the indoor non-planar area to obtain more accurate positioning fingerprint data. Subsequently, when the positioning fingerprint data is applied to the positioning scenario, the positioning fingerprint data corresponding to the indoor non-planar area can be used to locate the device entering the indoor non-planar area, thereby improving the accuracy of positioning in the indoor non-planar area.
[0120] The above are several method embodiments of the embodiments of the present application. As mentioned above, the present application preferably has at least two acquisition devices. The following takes the example that the acquisition device includes a first acquisition device and a second acquisition device, and the first acquisition device and the second acquisition device are respectively installed on the left and right sides of the moving direction of the moving vehicle, and the installation parameters include the first installation parameters of the first acquisition device and the second installation parameters of the second acquisition device as an example. How to obtain the positioning position of the target indoor area based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle in the aforementioned step S102 is described in detail. Figure 8 A flowchart of another method for generating positioning fingerprint data provided in an embodiment of the present application is shown as follows: Figure 8 As shown, the method may specifically include the following steps:
[0121] S601. Based on the trajectory data of the moving vehicle including a series of trajectory positions corresponding to the collection time and the first installation parameter, the positioning position of the first collection device corresponding to the collection time is obtained by means of lever arm compensation.
[0122] S602: Based on the trajectory data of the moving vehicle including a series of trajectory positions corresponding to the collection time and the second installation parameters, the positioning position of the second collection device corresponding to the collection time is obtained by means of lever arm compensation.
[0123] Since the trajectory position and installation parameters are known quantities, the specific implementation method of obtaining the positioning position through lever arm compensation can refer to the existing technology and will not be repeated here.
[0124] S603: Obtain the positioning position of the target indoor area corresponding to each collection moment based on the positioning position of the first collection device corresponding to the collection moment and the positioning position of the second collection device corresponding to the collection moment.
[0125] Among them, the positioning position of the target indoor area at each collection time includes the positioning position of the first collection device corresponding to the collection time and the positioning position of the second collection device corresponding to the collection time. When the positioning fingerprint data is subsequently generated, a mapping relationship between the positioning position of the first collection device corresponding to the collection time and the device sensor data collected by the first collection device at the collection time is constructed, and a mapping relationship between the positioning position of the second collection device corresponding to the collection time and the device sensor data collected by the second collection device at the collection time is constructed, so that the positioning fingerprint data of multiple collection devices corresponding to the trajectory positions in the trajectory data can be generated.
[0126] In this embodiment, first, according to a series of trajectory positions and first installation parameters corresponding to the collection time included in the trajectory data of the moving vehicle, the positioning position of the first collection device corresponding to the collection time is obtained by means of arm compensation, and correspondingly, the positioning position of the second collection device corresponding to the collection time is obtained based on the second installation parameters by the same method. Then, according to the positioning position corresponding to the collection time of the first collection device and the positioning position corresponding to the collection time of the second collection device, the positioning position of the target indoor area at each collection time is obtained. Since the trajectory position of the moving vehicle represents the position of the moving vehicle, for example, the trajectory position is located on the center line of the moving direction of the moving vehicle, therefore, the positioning position obtained according to the trajectory position and the first installation parameters of the first collection device can cover one side area in the moving direction of the moving vehicle, and the positioning position obtained according to the trajectory position and the second installation parameters of the second collection device can cover the other side area in the moving direction of the moving vehicle. The method of the present application can simultaneously obtain the positioning positions on the center line of the moving direction of the moving vehicle, the left area of the moving vehicle, and the right area of the moving vehicle without the need for manual collection. The moving vehicle only needs to travel once in the target indoor area while carrying the first collection device and the second collection device, thereby improving the efficiency of obtaining the positioning position of the target indoor area, thereby improving the efficiency of generating positioning fingerprint data in the present application. In addition, if the motion trajectory of the moving vehicle is applied to the production of roads in the target indoor area, the positioning fingerprint data generated by the present application and the roads can be self-matched, further improving the usability of the generated positioning fingerprint data.
[0127] Fig. 9 This is a schematic diagram of the structure of a device for generating positioning fingerprint data provided in an embodiment of the present application. Fig. 9 As shown, the device for generating positioning fingerprint data includes: an acquisition module 11, a processing module 12, and a generation module 13.
[0128] The acquisition module 11 is used to obtain device sensor data that can be used for positioning and trajectory data of a moving vehicle collected by more than two acquisition devices. The device sensor data is collected when the moving vehicle is equipped with more than two acquisition devices and is moving in a target indoor area. The trajectory data is generated in advance based on the vehicle sensor data collected when the moving vehicle is equipped with more than two acquisition devices and is moving in a target indoor area.
[0129] The processing module 12 is used to obtain the positioning position of the target indoor area based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle.
[0130] The generating module 13 is used to generate positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area.
[0131] Optionally, when a moving vehicle is equipped with two or more acquisition devices and is traveling in an indoor area, the working time standard of the device sensors integrated in the acquisition devices and the working time standard of the vehicle sensors carried by the moving vehicle are the same.
[0132] Optionally, one piece of device sensor data corresponds to one collection moment, and one piece of vehicle sensor data corresponds to one collection moment. If the working moments of the device sensor and the vehicle sensor are not synchronized, the processing module 12 is also used to interpolate in the collection moment by linear interpolation based on the collection moment corresponding to the device sensor data and the collection moment corresponding to the vehicle sensor, so as to align the collection moments of the device sensor data and the vehicle sensor data. Based on the collection moments of the device sensor data and the device sensor data and the collection moments of the vehicle sensor data and the vehicle sensor, the device sensor data or the vehicle sensor data corresponding to the interpolated collection moment is generated, so that each aligned collection moment corresponds to one piece of device sensor data and one piece of vehicle sensor data. Among them, the trajectory data is generated in advance based on the vehicle sensor data collected when the moving vehicle carries more than two collection devices and moves in the target indoor area, and the collection moment is aligned with the device sensor.
[0133] Optionally, if the target indoor area includes at least an indoor plane area, and the positioning position includes latitude and longitude coordinates and elevation, the processing module 12 is further used to obtain the positioning position located in the same indoor plane area according to the elevation included in the positioning position. The generation module 13 is specifically used to obtain the positioning fingerprint data of the corresponding indoor plane area according to the device sensor data and the positioning position located in the same indoor plane area.
[0134] Optionally, the processing module 12 is further used to divide the corresponding indoor plane area into geographic grids according to the positioning positions located in the same indoor plane area and the preset geographic grid size. The generating module 13 is specifically used to obtain the positioning fingerprint data of the corresponding indoor plane area according to the device sensor data, the positioning positions located in the same indoor plane area and the geographic grid of the corresponding indoor plane area.
[0135] Optionally, if the target indoor area also includes: an indoor non-planar area, the processing module 12 is further used to obtain a positioning position located in the same indoor non-planar area according to the elevation included in the positioning position. The generating module 13 is specifically used to obtain the positioning fingerprint data of the corresponding indoor non-planar area according to the device sensor data and the positioning position located in the same indoor non-planar area.
[0136] Optionally, if the acquisition device includes a first acquisition device and a second acquisition device, and the first acquisition device and the second acquisition device are respectively installed on the left and right sides of the moving direction of the moving vehicle, and the installation parameters include the first installation parameters of the first acquisition device and the second installation parameters of the second acquisition device, then the processing module 12 is specifically used to obtain the positioning position of the first acquisition device corresponding to the acquisition moment by means of lever arm compensation based on a series of trajectory positions and first installation parameters corresponding to the acquisition moment included in the trajectory data of the moving vehicle. Based on a series of trajectory positions and second installation parameters corresponding to the acquisition moment included in the trajectory data of the moving vehicle, the positioning position of the second acquisition device corresponding to the acquisition moment is obtained by means of lever arm compensation. Based on the positioning position of the first acquisition device corresponding to the acquisition moment and the positioning position of the second acquisition device corresponding to the acquisition moment, the positioning position of the target indoor area at each acquisition moment is obtained.
[0137] The data processing device provided in the embodiment of the present application can execute the method for generating positioning fingerprint data in the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here. Fig. 9 The division of the modules shown is only a schematic diagram, and the present application does not limit the division of the modules and the naming of the modules.
[0138] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device 1000 may include: at least one processor 1001 and a memory 1002 .
[0139] The memory 1002 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions.
[0140] The memory 1002 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0141] The processor 1001 is used to execute the computer-executable instructions stored in the memory 1002 to implement the method for generating the positioning fingerprint data in the aforementioned method embodiment. The processor 1001 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0142] The electronic device 1000 may also include a communication interface 1003, so that it can communicate and interact with an external device through the communication interface 1003, and the external device may be, for example, a terminal (e.g., a computer, a tablet). In a specific implementation, if the communication interface 1003, the memory 1002, and the processor 1001 are implemented independently, the communication interface 1003, the memory 1002, and the processor 1001 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0143] Optionally, in a specific implementation, if the communication interface 1003, the memory 1002 and the processor 1001 are integrated on a chip, the communication interface 1003, the memory 1002 and the processor 1001 can communicate through an internal interface.
[0144] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used in the method for generating positioning fingerprint data in the above embodiment.
[0145] The present application also provides a computer program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of the navigation system can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the navigation system implements the method for generating positioning fingerprint data provided by the various embodiments described above.
[0146] The term "plurality" in this article refers to two or more than two. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0147] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for generating positioning fingerprint data, It is characterized in that The method comprises: Acquire device sensor data that can be used for positioning and trajectory data of a moving vehicle collected by two or more acquisition devices, wherein the device sensor data is collected when the moving vehicle carries the two or more acquisition devices and moves in a target indoor area, and the trajectory data is generated in advance based on the vehicle sensor data collected when the moving vehicle carries the two or more acquisition devices and moves in the target indoor area; Based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle, obtaining the positioning position of the target indoor area; Generate positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area.
2. The method according to claim 1, It is characterized in that When the moving vehicle carrying the two or more acquisition devices is moving in an indoor area, the working time standard of the device sensor integrated in the acquisition device and the working time standard of the vehicle sensor carried on the moving vehicle are the same.
3. The method according to claim 2, It is characterized in that One piece of equipment sensor data corresponds to one collection time, and one piece of vehicle sensor data corresponds to one collection time. If the working time of the equipment sensor and the vehicle sensor are not synchronized, the method further includes: Based on the collection time corresponding to the device sensor data and the collection time corresponding to the vehicle sensor, interpolation is performed in the collection time by linear interpolation to align the collection time of the device sensor data with the collection time of the vehicle sensor data; Generate interpolated device sensor data or vehicle sensor data corresponding to the collection time based on the device sensor data and the collection time of the device sensor data and the vehicle sensor data, so that each collection time after alignment corresponds to one piece of device sensor data and one piece of vehicle sensor data; The trajectory data is generated in advance based on vehicle sensor data collected when the moving vehicle carrying the two or more collection devices moves in the target indoor area and the collection time is aligned with the device sensor.
4. The method according to claim 3, It is characterized in that The target indoor area at least includes an indoor plane area, the positioning position includes longitude and latitude coordinates and elevation, and the method further includes: According to the elevation included in the positioning position, a positioning position located in the same indoor plane area is obtained; Generating the positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position specifically includes: According to the device sensor data and the positioning position located in the same indoor plane area, the positioning fingerprint data of the corresponding indoor plane area is obtained.
5. The method according to claim 4, It is characterized in that The method further comprises: Dividing the corresponding indoor plane area into geographic grids according to the positioning positions located in the same indoor plane area and a preset geographic grid size; Acquiring positioning fingerprint data of the corresponding indoor plane area according to the device sensor data and the positioning position located in the same indoor plane area specifically includes: The positioning fingerprint data of the corresponding indoor plane area is obtained according to the device sensor data, the positioning positions located in the same indoor plane area and the geographic grid of the corresponding indoor plane area.
6. The method according to claim 4, It is characterized in that The target indoor area also includes: an indoor non-planar area, and the method further includes: According to the elevation included in the positioning position, a positioning position located in the same indoor non-planar area is obtained; According to the device sensor data and the positioning position located in the same indoor non-planar area, positioning fingerprint data of the corresponding indoor non-planar area is obtained.
7. The method according to any one of claims 3 to 6, It is characterized in that The acquisition device includes a first acquisition device and a second acquisition device, the first acquisition device and the second acquisition device are respectively installed on the left and right sides of the moving direction of the moving vehicle, the installation parameters include a first installation parameter of the first acquisition device and a second installation parameter of the second acquisition device, and the positioning position of the target indoor area is obtained based on the trajectory data of the moving vehicle and the pre-measured installation parameters of the acquisition device on the moving vehicle, specifically including: Based on a series of trajectory positions corresponding to the collection time included in the trajectory data of the moving vehicle and the first installation parameter, the positioning position of the first collection device corresponding to the collection time is obtained by means of lever arm compensation; Based on a series of trajectory positions corresponding to the collection time included in the trajectory data of the moving vehicle and the second installation parameters, the positioning position of the second collection device corresponding to the collection time is obtained by means of lever arm compensation; Based on the positioning position of the first acquisition device corresponding to the acquisition time and the positioning position of the second acquisition device corresponding to the acquisition time, the positioning position of the target indoor area at each acquisition time is obtained.
8. A device for generating positioning fingerprint data, It is characterized in that The device comprises: An acquisition module, used to acquire device sensor data that can be used for positioning and track data of a moving vehicle collected by two or more acquisition devices, wherein the device sensor data is collected when the moving vehicle carries the two or more acquisition devices and moves in a target indoor area, and the track data is generated in advance based on the vehicle sensor data collected when the moving vehicle carries the two or more acquisition devices and moves in a target indoor area; A processing module, configured to obtain a positioning position of the target indoor area based on the trajectory data of the moving vehicle and pre-measured installation parameters of the acquisition device on the moving vehicle; A generating module is used to generate positioning fingerprint data of the target indoor area according to the device sensor data and the positioning position of the target indoor area.
9. An electronic device, It is characterized in that include: Processor and memory; The processor is communicatively connected to the memory; The memory stores computer instructions; The processor executes the computer instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method for generating positioning fingerprint data according to any one of claims 1 to 7.
Citation Information
Patent Citations
Indoor positioning method, server, positioning client, equipment and storage medium
CN112672297A
Method and system for detecting adverse road conditions using radar
CN115366886A
Robot positioning method and device and computer readable storage medium
CN117367419A
Non-magnetic trolley for indoor information acquisition
CN209525447U
Neural network—instantiated lightweight calibration of RSS fingerprint dataset
US10641610B1
Cited By
Positioning fingerprint data generation method and apparatus, device, medium, and program product
WO2026098014A1
